151
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
J1939_RX_MULTI
7736
= J1939 RX multiframe message
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7741
J1939_RX_MULTI enables receipt of multi-frame messages.
>
Parameters of the inputs
7743
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
PGN DWORD PGN = Parameter Group Number
Permissible = 0...262 143 = 0x00000000...0x0003FFFF
The PGN = 0 is not used.
>
Parameters of the outputs
7744
SA BYTE Source address of the transmitter
PRIO BYTE message priority (0…7)
LEN WORD number of the bytes received
permissible values = 0000 0000...0000 06F9
16
= 0...1 785
10
DATA ARRAY [0..1784] OF BYTE data to be sent (1...1785 bytes)
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
5 05 FB is active – no data received yet
242 F2 Error: setting is not possible