120
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CANOPEN_SETSYNCSTATE
7883
= Set SYNC state
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7884
With CANOPEN_SETSYNCSTATE, the SYNC functionality is switched on and off.
>
Parameters of the inputs
7886
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
SYNC
BOOL
status of the SYNC functionality
TRUE:
SYNC is activated:
In the master mode SYNC telegrams are generated according to the
settings in the configuration, and synchronous PDOs are transmitted
and received.
In the slave mode SYNC telegrams are received and accordingly
processed.
FALSE:
SYNC is not active
>
Parameters of the outputs
7887
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
function block execution completed without error
8
08
function block not yet executed
38
26
SYNC could not be activated
242
F2
Error: setting is not possible
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...