EcatState (FB)
FUNCTION_BLOCK EcatState
Function block to get coupler’s current state of synchronisation
- InOut:
Scope
Name
Type
Initial
Comment
Input
ExecuteBOOLDeviceIDeviceCM579EtherCATCM579-ECAT coupler device
Output
DoneBOOLBusyBOOLErrorBOOLErrorIDERROR_IDError code describing error condition
AddErrNoUDINTAdditional error code for detailed error description, will be set if ErrorID = ERROR_ID.ADDITIONAL_ERROR_INFO.
CommStateUDINT0
Communication state
CommErnoUDINT0
Communication error
NumErrBYTE0
Number of errors occured since power up