IFM Electronic CR0403 Programming Manual page 150

Hide thumbs Also See for CR0403:
Table of Contents

Advertisement

ifm
Programming Manual
ecomatmobile
ifm function elements
>
J1939_RX_FIFO
= J1939 RX with FIFO
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
J1939_RX_FIFO enables receipt of all specified messages and their successive reading from a FIFO.
>
Parameters of the inputs
Parameter
ENABLE
CHANNEL
PGN
The PGN = 0 is not used.
>
Parameters of the outputs
Parameter
SA
PRIO
LEN
DATA
MORE_DATA_AVAILABLE
RESULT
Possible results for RESULT:
Value
Description
dec | hex
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
BasicController (CR0403) Runtime System V03.02
Data type
BOOL
BYTE
DWORD
Data type
BYTE
BYTE
BYTE
ARRAY [0..7] OF BYTE
BOOL
BYTE
150
ifm function elements for the device CR0403
Description
TRUE:
execute this function element
FALSE: unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
CAN interface (1...n) depending on the device
PGN = Parameter Group Number
Permissible = 0...262 143 = 0x00000000...0x0003FFFF
Description
Source address of the transmitter
message priority (0...7)
number of the bytes received (0...8)
received data, (1...8 bytes)
TRUE:
further received data available in the FiFo
FALSE:
no further data available in the FiFo
feedback of the function block
(possible messages → following table)
2015-04-01
7732
7733
7734
7735

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents