GearBox()
![GearBox() 1:](Images/jpg/16278622987__Web.jpg)
This method can be used to configure a rotary transmission factor of the gearbox.
![]() | Effects on the actual position The gear methods are used to determine the moment of inertia and the encoder weighting. Check the resulting |
Syntax:
METHOD GearBox : I_SimAxGear
VAR_INPUT
fRatioIn: LREAL;
fRatioOut: LREAL;
END_VAR
Return value
Name | Type | Description |
---|---|---|
GearBox | I_SimAxGear | Gear interface on the axis to configure a chaining of gearboxes. |
Inputs
Name | Type | Description |
---|---|---|
fRatioIn | LREAL | Number of teeth of the gearbox input. |
fRatioOut | LREAL | Number of teeth of the gearbox output. |
![]() | Mathematical relationship of the inputs
|
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.55 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v3.12.5.0) Tc3_PlasticNc (>= v3.12.5.0) |