98
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
Parameters of the inputs
619
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
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
WORD
length of the entry in "number of bytes"
The value for LEN must not be greater than the size of the transmit
array. Otherwise any data is sent.
DATA
DWORD
Address of the transmit data array
permissible length = 0...255
Determine the address by means of the operator ADR and
assigne it to the FB!
>
Parameters of the outputs
620
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
2
02
function block is active (action not yet completed)
3
03
Error, data cannot be transmitted
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......