EasyManua.ls Logo

IFM CR0452 - Page 95

IFM CR0452
209 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
95
ifm Programming Manual BasicDisplay CR0452 v03.02 05 / 2018
ifm function elements ifm function elements for the device CR0452
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

Table of Contents

Related product manuals