99
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
CANOPEN_SDOREAD
7791
= SDO read
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7793
CANOPEN_SDOREAD is an easy function block for editing "Expedited SDOs", i.e. SDOs with max.
4 bytes of user data. This type usually represents the bigger part of the SDO communication.
Expedited SDO = Expedited Service Data Object
A considerable amount of memory space can be saved due to the limitation of the data volume to
max. 4 bytes of user data, as this FB only needs to reserve 4 bytes as buffer storage and does not
create a large data array itself.
>
Parameters of the inputs
7794
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
NODE
BYTE
ID of the node
permissible values = 1...127 = 0x01...0x7F
IDX
WORD
index in object directory
SUBIDX
BYTE
sub-index referred to the index in the object directory
Timeout
(optional use of the parameter)
TIME := T#10ms
waiting time of the FB for the response
when the time has elapsed, the FB stops waiting.
value = 0: use value from the configuration