148
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm function elements for the device CR0452
J1939_TX_ENH_MULTI
7699
= J1939 TX enhanced multiframe message
Unit type = function block (FB)
Unit is contained in the library
ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7705
The transmission of multi-frame messages is carried out via J1939_TX_ENH_MULTI.
The FB corresponds to
J1939_TX_ENH
(
). In addition, it can be determined whether the
transmission shall be executed as BAM (
B
roadcast
A
nnounce
M
essage).
>
Parameters of the inputs
7712
Parameter
Data type
Description
EXECUTE
BOOL := FALSE
FALSE
TRUE (edge):
execute function element once
otherwise: function element is not active
A function element already started is processed.
CHANNEL
BYTE
CAN interface (1...n) depending on the device
DA
BYTE := 249
DA = Destination Address of the ECU
PGN > 61139: parameter DA is ignored
Prio
(optional use of the parameter)
BYTE := 3
message priority
permissible values = 0…7
PGN
DWORD
PGN = Parameter Group Number
permissible = 0...262 143 = 0x00000000...0x0003FFFF
Len
(optional use of the parameter)
BYTE := 8
number of the bytes to be transmitted
permissible values = 0...8
DATA
ARRAY [0..1784] OF BYTE
data to be sent (1...1785 bytes)
Bam
(optional use of the parameter)
BOOL := FALSE
BAM = Broadcast Announce Message = message to all participants
TRUE:
multi-frame transmission as BAM
message to all participants
FALSE:
automatic; message only to target address