147
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
J1939_SPEC_REQ_MULTI
15033
= J1939 Specific Request Multiframe Message
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
15036
J1939_SPECIFIC_REQUEST requests and receives a specific multiframe message from another
controller.
>
Parameters of the inputs
15037
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
allowed = 1...??? = 0x00000001...0x???
DA BYTE J1939 address of the requested device
>
Parameters of the outputs
15038
PRIO BYTE message priority (0…7)
LEN WORD Number of data bytes to be transmitted
allowed = 1...1 785 = 0x0001...0x06F9
DATA ARRAY [0..1784] OF BYTE Received data (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