SMC_CheckAxisCommunication (FB)
FUNCTION_BLOCK SMC_CheckAxisCommunication
Returns the current communication state of an axis.
InOut:
Scope |
Name |
Type |
Comment |
Inout |
Axis |
||
Input |
bEnable |
BOOL |
TRUE: Starts the check |
Output |
bValid |
BOOL |
TRUE: The outputs are valid |
bError |
BOOL |
TRUE: Error has occurred. |
|
eErrorID |
SMC_ERROR |
Error identification |
|
bOperational |
BOOL |
TRUE: The communication state is operational (100). |
|
eComState |
The communication state, abstracted as an enumeration. |
||
wComState |
WORD |
The raw value of parameter 1013 (wCommunicationState) |