EcatSync (FB)

FUNCTION_BLOCK EcatSync

Function block to get coupler’s current state of synchronisation

InOut:

Scope

Name

Type

Initial

Comment

Input

Execute

BOOL

Device

IDeviceCM579EtherCAT

CM579-ECAT coupler device

Output

Done

BOOL

Busy

BOOL

Error

BOOL

ErrorID

ERROR_ID

Error code describing error condition

AddErrNo

UDINT

Additional error code for detailed error description, will be set if ErrorID = ERROR_ID.ADDITIONAL_ERROR_INFO.

ErrInCnt

BYTE

0

Number of input process data handshake errors

ErrOutCnt

BYTE

0

Number of output process data handshake errors