MC_CommandHandle
This function block provides a handle to a motion command, allowing to observe its execution state.
Syntax
Definition:
FUNCTION_BLOCK MC_CommandHandle
VAR_OUTPUT
CommandType : ECommandType;
Queued : BOOL;
Done : BOOL;
Active : BOOL;
CommandAborted : BOOL;
Error : BOOL;
ErrorId : UDINT;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
CommandType | Type of motion command associated with this handle. | |
Queued | BOOL | Command is queued for execution. |
Done | BOOL | Command completed without error. |
Active | BOOL | Function block has active control on the axis. |
CommandAborted | BOOL | Command is aborted by another command. |
Error | BOOL | Error occurred within function block. |
ErrorId | UDINT | Error identifier |
Methods
|
Name |
Description |
|---|---|
|
Copies this command handle state to another MC_CommandHandle instance. |