This function block configures and starts a reference movement.
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. A rising edge at the input Execute is not permitted while the function block is being executed. |
Position |
DINT |
Value range: -2147483648...2147483647 Default value: 0 Position in user-defined units. HomingMode 1...34: Position at reference point HomingMode 35: Position for position setting |
HomingMode |
UINT |
Value range: 1...35 Default value: 17 Specifies the homing method o1: LIMN with index pulse o2: LIMP with index pulse o7: REF+ with index pulse, inverted, outside o8: REF+ with index pulse, inverted, inside o9: REF+ with index pulse, not inverted, inside o10: REF+ with index pulse, not inverted, outside o11: REF- with index pulse, inverted, outside o12: REF- with index pulse, inverted, inside o13: REF- with index pulse, not inverted, inside o14: REF- with index pulse, not inverted, outside o17: LIMN o18: LIMP o23: REF+, inverted, outside o24: REF+, inverted, inside o25: REF+, not inverted, inside o26: REF+, not inverted, outside o27: REF-, inverted, outside o28: REF-, inverted, inside o29: REF-, not inverted, inside o30: REF-, not inverted, outside o33: Index pulse in negative direction o34: Index pulse in positive direction o35: Position setting Refer to documentation of the drive for a description of the homing method. |
VHome |
DINT |
Value range: 1...2147483647 Default value: 60 Target velocity for searching the switch in user-defined units. |
VOutHome |
DINT |
Value range: 1...2147483647 Default value: 6 Target velocity for moving away from switch in user-defined units. |
POutHome |
DINT |
Value range: 0...2147483647 Default value: 0 Maximum distance for searching the switching point in user-defined units. o0: Search distance monitoring disabled o>0: Maximum distance After detection of the switch, the drive starts to search for the defined switching point. If the defined switching point is not found within the distance defined here, an error is detected and the reference movement is canceled. |
PDisHome |
DINT |
Value range: 0...2147483647 Default value: 200 Maximum search distance after overtravel of switch in user-defined units. o0: Search distance monitoring disabled o>0: Search distance The switch must be activated again within this search distance; otherwise the reference movement is canceled. |
Acceleration |
DINT |
Value range: 1...2147483647 Default value: 600 Acceleration ramp in user-defined units. |
Deceleration |
DINT |
Value range: 1...2147483647 Default value: 600 Deceleration ramp in user-defined units. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Execution has not been started, or an error has been detected. oTRUE: Execution terminated without an error detected. |
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. |
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 inputs Acceleration and Deceleration are only taken into account if you use the fieldbuses EtherNet/IP or Modbus TCP.