EasyManua.ls Logo

IFM CR0452 - Page 143

IFM CR0452
209 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...
143
ifm Programming Manual BasicDisplay CR0452 v03.02 05 / 2018
ifm function elements ifm function elements for the device CR0452
J1939_TX
7688
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7689
J1939_TX is the easiest method for transmitting single frame messages.
>
Parameters of the inputs
7690
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
DA
BYTE := 249
DA = Destination Address of the ECU
PGN > 61139: parameter DA is ignored
PGN
DWORD
PGN = Parameter Group Number
permissible = 0...262 143 = 0x00000000...0x0003FFFF
DATA
ARRAY [0..7] OF BYTE
data to be sent (1...8 bytes)
>
Parameters of the outputs
7693
Parameter
Data type
Description
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
function block execution completed without error
242
F2
Error: setting is not possible
250
FA
Error: FiFo is full – data was lost

Table of Contents