88
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
>
Parameters of the inputs
7861
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
Node ID = ID of the node (0...127)
Device as CANopen master:
Value = 0:
The changes only refer to the device itself.
Value not 0:
Node ID of a node in the network the parameters of which are to be
changed. The established settings are only adopted for this node (not
for the device).
Device as CANopen slave:
In slave mode, the node ID of the slave can be set via this input.
Value = 0:
no action
Value not 0:
The function block adopts this value as the new node ID of the device.
GlobalStart
(optional use of the parameter)
BOOL := TRUE
Requirement: FB must be called immediately after starting the IEC
program. This setting overwrites the setting of the configuration.
TRUE:
Start all participants simultaneously
FALSE:
Start all participants one after the other
CfgTimeout
(optional use of the parameter)
TIME := T#0ms
set configuration timeout for a node:
Value = 0:
no action – retain configuration data
Value not 0:
overwrite data from the configuration with the new value
InitNoSdos
(optional use of the parameter)
BOOL := FALSE
To the node indicated in NODE, during initialisation,...
TRUE:
do not send configuration data
FALSE:
send configured SDOs
>
Parameters of the outputs
7862
Parameter
Data type
Description
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
FB execution completed without error
– data is valid
8
08
FB is active
– not yet processed
242
F2
Error: setting is not possible