![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933101.webp)
101
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CANOPEN_READOBJECTDICT
7933
= Read object directory
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7935
CANOPEN_READOBJECTDICT reads up to 4 bytes of configuration data from the object directory of
the device for use in the application program.
>
Parameters of the inputs
7936
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
IDX
WORD
index in object directory
SUBIDX
BYTE
sub-index referred to the index in the object directory
>
Parameters of the outputs
7937
Parameter
Data type
Description
DATA
DWORD
parameter value
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
40
28
object directory entry is invalid
242
F2
Error: setting is not possible
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...