![background image](http://html.mh-extra.com/html/ifm/ecomat-100-mobile-cr0301/ecomat-100-mobile-cr0301_programming-manual_620659104.webp)
104
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
457
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
CONFIG
BOOL
TRUE (in the 1st cycle):
configure data object
FALSE:
during further processing of the program
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!
RPT
TIME
Monitoring time
Within this time window the messages must be received
cyclically.
> Otherwise, there will be an error message.
RPT = T#0s
no monitoring
Once RPT has been set it can no longer be modified!
LIFE
BYTE
tolerated number of J1939 messages not received
>
Parameters of the outputs
458
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
DEVICE
BYTE
J1939 address of the sender
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
3
03
Error, no data received during monitoring time
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......