96
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
625
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
DATA
DWORD
Addresse of the receive data array
valid length = 0...255
Determine the address by means of the operator ADR and
assigne it to the FB!
>
Parameters of the outputs
626
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
LEN
WORD
length of the entry in "number of bytes"
The value for LEN must not be greater than the size of the receive
array. Otherwise any data is overwritten in the application.
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, no data received during monitoring time
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......