MC_AbortPassiveHoming
Inputs
VAR_INPUT
Execute : BOOL;
Options : ST_Home_Options;
END_VARName | Type | Description |
|---|---|---|
Execute | BOOL | The command is executed with a rising edge at the Execute input. |
Options | ST_Home_Options | Currently not used. |
Inputs/Outputs
VAR_IN_OUT
Axis : AXIS_REF;
END_VARName | Type | Description |
|---|---|---|
Axis | Axis data structure of the type AXIS_REF, which uniquely addresses an axis in the system. Among other parameters it contains the current axis status, including position, velocity or error state. |
Outputs
VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Active : BOOL;
CommandAborted : BOOL;
Error : BOOL;
ErrorID : UDINT;
END_VARName | Type | Description |
|---|---|---|
Done | BOOL | Becomes TRUE if the command was completed successfully. |
Busy | BOOL | The Busy output becomes TRUE when the command is started with Execute and remains TRUE for as long as the command is processed. When Busy becomes FALSE again, the function block is ready for a new order. At the same time one of the outputs, Done, CommandAborted, or Error, is set. |
Active | BOOL | Indicates that the command is executed. |
CommandAborted | BOOL | Becomes TRUE, if the command could not be fully executed. |
Error | BOOL | Becomes TRUE as soon as an error occurs. |
ErrorID | UDINT | If the error output is set, this parameter supplies the error number. |