This function block starts the operating mode Electronic Gear with the method position synchronization.
In the operating mode Electronic Gear, movements are carried out synchronously according to externally supplied reference value signals. A position reference value is calculated on the basis of these external reference values plus an adjustable gear ratio. The reference value signals can be A/B signals or P/D signals.
A movement can be made using one of two methods:
oPosition synchronization without compensation movement
Reference value signals supplied during an interruption caused by a halt command or by a detected error of error class 1 are not taken into account.
oPosition synchronization with compensation movement
Reference value signals supplied during an interruption caused by a halt command or by a detected error of error class 1 are taken into account and compensated for.
Refer to the documentation of the drive for additional information on compensation movements and error classes.
Library name: GMC Independent Lexium
Namespace: GILXM
Input |
Data type |
Description |
---|---|---|
Execute |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE. This function block can be restarted while it is executed. The target values are overwritten by the new values at the point in time the rising edge occurs. |
SyncMode |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. Compensation movement: oFALSE: With compensation movement oTRUE: Without compensation movement |
RatioNumerator |
DINT |
Value range: 1...2147483647 Default value: 1 Gear ratio: Numerator of gear ratio. |
RatioDenominator |
DINT |
Value range: 1...2147483647 Default value: 1 Gear ratio: Denominator of gear ratio. |
Output |
Data type |
Description |
---|---|---|
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Function block is not being executed. oTRUE: Function block is being executed. |
CommandAborted |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Execution has not been aborted. oTRUE: Execution has been aborted by another function block. |
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Execution of the function block is running, no error has been detected. oTRUE: An error has been detected in the execution of the function block. |
ErrorID |
WORD |
Returns the value of a diagnostic code. Refer to Library Diagnostic Codes. If the value is 0 and if the output Error of this function block is set to TRUE, then the diagnostic code can be read with the output AxisErrorID of the function block MC_ReadAxisError. |
InGear |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oTRUE: If the adjusted gear ratio is reached for the first time in the operating mode Electronic Gear. |
Input/Output |
Data type |
Description |
|
---|---|---|---|
Axis |
Axis_Ref |
Reference to the axis (instance) for which the function block is to be executed (corresponds to the name of the axis). The name of the axis must be defined in the EcoStruxure Machine Expert Devices tree. |
The velocity of the compensation movement can be limited via parameter settings.
The enabled direction of movement in the operating mode Electronic Gear is set via the drive parameter Gear.dirEnGear, 38:13.
Once the operating mode is active, the compensation movement must not exceed the maximum permissible position deviation. If the required compensation movement exceeds the maximum permissible position deviation, an error is detected.
Refer to the documentation of the drive for more details.