![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933118.webp)
118
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CANOPEN_GETSYNCSTATE
7871
= Get SYNC state
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7872
CANOPEN_GETSYNCSTATE reads...
• the setting of the SYNC functionality (active / not active),
• the error state of the SYNC functionality (SyncError).
If the PLC CAN runs as CANopen slave, it is signalled via this FB whether SYNC signals are absent or
appear regularly.
Synchronous PDOS etc. are handled in the CAN stack. CANOPEN_GETSYNCSTATE, however,
provides the error state so that the application program can react accordingly.
>
Parameters of the inputs
7874
Parameter
Data type
Description
EXECUTE
BOOL := FALSE
FALSE
TRUE (edge):
execute function element once
otherwise: function element is not active
A function element already started is processed.
CHANNEL
BYTE
CAN interface (1...n) depending on the device
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...