108
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
445
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)
DA
BYTE
J1939 address of the requested device
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)
PDU1 (specific)
= 0...239
PDU2 (global)
= 240...255
PS
BYTE
PDU specific byte
Value of defined PGN (Parameter Group Number)
If PF = PDU1
PS = DA (Destination Address)
(DA = J1939 address of external device)
If PF = PDU2
PS = GE (Group Extension)
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
446
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
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: ......