
114
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
>
Parameters of the inputs
14964
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
allowed = 1...127 = 0x01...0x7F
The COB ID of the SDO is calculated from the node ID + 0x600
IDX
WORD
index in object directory
SUBIDX
BYTE
sub-index referred to the index in the object directory
LEN
DWORD
number of data bytes to be transmitted in DATA
allowed = 1...2 048 = 0x0000 0001...0x0000 0800
DATA
DWORD
Address of the data zone for reading of the data to be transmitted
Input is without function for devices with file system (Linux).
FILE
STRING(80)
Path and file name for reading of the data to be transmitted in binary
format
Input without function for device without file system
(BasicSystem).
SegmentedTransfer
(optional use of the parameter)
BOOL := FALSE
TRUE:
Segmented SDO transfer
FALSE:
SDO block transfer
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
>
Parameters of the outputs
14968
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
16
10
Transmission is active as a segmented download
17
11
Transmission is active as a block download
32
20
SDO transmission aborted by client or server
(SDO abort code 0x80)
33
21
TIMEOUT elapsed
65
41
Error: File could not be opened
242
F2
Error: setting is not possible
Содержание BasicController CR0431
Страница 228: ...228 10 Notizen Notes Notes...