_EnableSyncService (FUN)¶
FUNCTION _EnableSyncService : ERROR
Unmanaged implementation of EnableSyncService
- InOut:
Scope
Name
Type
Comment
Return
_EnableSyncService
ERROR.NO_ERROR or appropriate error code
Input
hDriver
CAA.HANDLE
handle of CAN interface
cobID
CL2I.COBID
id of SYNC message
xSyncProducer
BOOL
TRUE: sync producer; FALSE: consumer
xEnableSyncEvent
BOOL
TRUE: fire event
udiSyncCycle
UDINT
SYNC cycle
udiSyncWindowLength
UDINT
SYNC window
udiSyncForewarnTime
UDINT
SYNC forewarn time in µs