![background image](http://html.mh-extra.com/html/ifm/ecomat-100-mobile-cr0301/ecomat-100-mobile-cr0301_programming-manual_620659102.webp)
102
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
463
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
PRIO
BYTE
message priority (0…7)
PG
BYTE
Data page
Value of defined PGN (Parameter Group Number)
allowed = 0...1 (normally = 0)
PF
BYTE
PDU format byte
Value of defined PGN (Parameter Group Number)
PDU2 (global)
= 240...255
PS
BYTE
PDU specific byte
Value of defined PGN (Parameter Group Number)
GE (Group Extension) = 0...255
DST
DWORD
destination address
Determine the address by means of the operator ADR and
assigne it to the FB!
Info
PGN = [Page] + [PF] + [PS]
PDU = [PRIO] + [PGN] + [J1939 address] + [data]
>
Parameters of the outputs
464
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
SA
BYTE
J1939 address of the answering device
LEN
WORD
number of received bytes
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
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......