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
Refer to documentation of the drive for a description of the homing method. |
VHome |
DINT |
Value range: 1...3000 Default value: 60 Target velocity for searching the switch in rpm. |
VOutHome |
DINT |
Value range: 1...3000 Default value: 6 Target velocity for moving away from switch in rpm. |
POutHome |
DINT |
Value range: 0...2147483647 Default value: 0 Maximum distance for searching the switching point in user-defined units.
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: 1...2147483647 Default value: 200 Distance from switching point in user-defined units. The distance from the switching point is defined as the reference point. The parameter is only effective during a reference movement without index pulse. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
CommandAborted |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
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. |