IFM Electronic CR0403 Programming Manual page 126

Hide thumbs Also See for CR0403:
Table of Contents

Advertisement

ifm
Programming Manual
ecomatmobile
ifm function elements
>
CANOPEN_SETSYNCSTATE
= Set SYNC state
Unit type = function block (FB)
Unit is contained in the library ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
With CANOPEN_SETSYNCSTATE, the SYNC functionality is switched on and off.
>
Parameters of the inputs
Parameter
EXECUTE
CHANNEL
SYNC
>
Parameters of the outputs
Parameter
RESULT
Possible results for RESULT:
Value
Description
dec | hex
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
BasicController (CR0403) Runtime System V03.02
Data type
BOOL := FALSE
BYTE
BOOL
Data type
BYTE
126
ifm function elements for the device CR0403
Description
FALSE  TRUE (edge):
execute function element once
otherwise: function element is not active
A function element already started is processed.
CAN interface (1...n) depending on the device
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
Description
feedback of the function block
(possible messages → following table)
2015-04-01
7883
7884
7886
7887

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents