110
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
439
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)
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)
SRC
DWORD
start address in source memory
Determine the address by means of the operator ADR and
assigne it to the FB!
LEN
WORD
number of data bytes to be transmitted
allowed = 1...1 785 = 0x0001...0x06F9
RPT
TIME
Repeat time during which the data messages are to be transmitted
cyclically
RPT = T#0s
sent only once
Info
PGN = [Page] + [PF] + [PS]
PDU = [PRIO] + [PGN] + [J1939 address] + [data]
>
Parameters of the outputs
440
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: ......