EasyManua.ls Logo

IFM Electronic CR0451 - J1939_Rx

IFM Electronic CR0451
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
137
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN units acc. to SAE J1939
J1939_RX
7724
Unit type = function block (FB)
Contained in the library: ifm_J1939_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n
Symbol in CoDeSys:
J1939_RX
ENABLE
SA
CHANNEL
PRIO
PGN
LEN
DATA
RESULT
Description
7725
J1939_RX is the easiest method for receiving single frame messages. The message read last on the
CAN bus is returned.
Parameters of the inputs
7726
Parameter Data type Description
ENABLE BOOL TRUE: unit is executed
FALSE: unit is not executed
> POU inputs and outputs are not active
CHANNEL BYTE CAN interface (1...n) depending on the device
PGN DWORD PGN = Parameter Group Number
NOTE: The PGN = 0 is not used.
Parameters of the outputs
7727
Parameter Data type Description
SA BYTE Source address of the transmitter
PRIO BYTE message priority (0…7)
LEN WORD number of the bytes received (0...8)
DATA ARRAY [0...7] OF BYTE received data, (1...8 bytes)
RESULT BYTE feedback of the function block
(possible messages following table)
Possibly values for RESULT:
Value
dec | hex
Description
000 00 function block is not active
001 01 function block execution completed without error
005 05 FB is active – no data received yet
009 09 CAN is not active
242 F2 Error: setting is not possible

Table of Contents