EasyManua.ls Logo

IFM Electronic CR0403 - Page 150

IFM Electronic CR0403
233 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...
150
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_FIFO
7732
= J1939 RX with FIFO
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7733
J1939_RX_FIFO enables receipt of all specified messages and their successive reading from a FIFO.
>
Parameters of the inputs
7734
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
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
7735
Parameter
Data type
Description
SA BYTE Source address of the transmitter
PRIO BYTE message priority (0…7)
LEN BYTE number of the bytes received (0...8)
DATA ARRAY [0..7] OF BYTE received data, (1...8 bytes)
MORE_DATA_AVAILABLE BOOL TRUE: further received data available in the FiFo
FALSE: no further data available in the FiFo
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
250 FA Error: FiFo is full – data was lost

Table of Contents