![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933111.webp)
111
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CANOPEN_SDOWRITE
7825
= SDO write
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7826
CANOPEN_SDOWRITE is an easy function block for editing "Expedited SDOs", i.e. SDOs with max.
4 bytes 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 because this FB only needs to reserve 4 bytes as buffer storage and does
not create a large data array itself.
>
Parameters of the inputs
7828
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
LEN
BYTE
number of the data bytes to be transmitted
permissible values = 1...4 = 0x01...0x04
DATA
ARRAY [0..3] OF BYTE
data area (1...4 bytes)
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
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...