156
Jetter AG
7 SAE J1939 STX API
var_Fueltemp,
struct_TJ1939Tx_EngineTemperatureTbl,
1500,
120);
Redefining the priority.
Priority value 0 has the highest priority, priority value 7 has the lowest priority.
A message with priority 6 can be superseded by a message with priority 4 (if
the messages are sent at the same time). The parameters
InhibitTime
and
EventTime
are not explicitly specified when calling up the function. In this
case, the default values are used.
#Include
"SAEJ1939.stxp"
Var
bySAEJ1939Channel : Byte;
own_Source_Address : Byte;
// PGN 65262 Engine Temperature 1
Fueltemp : Byte;
EngineTemperatureTbl : TJ1939Tx;
End_Var
;
Task
main
autorun
// Initializing CAN 1
bySAEJ1939Channel :=
1
;
own_Source_Address :=
20
;
SAEJ1939Init (bySAEJ1939Channel, own_Source_Address);
// PGN 65262 Engine Temperature
// Setting a new priority
EngineTemperatureTbl.byPriority :=
6
;
SAEJ1939AddTx (bySAEJ1939Channel,
65262
,
0x00
,
2
,
1
, SAEJ1939_BYTE,
sizeof(Fueltemp), Fueltemp, EngineTemperatureTbl);
End_Task
;
For information on the data (priority, PGN, SA and data byte structure) refer to
the manual provided by the engine manufacturer.
JetSym STX program
Engine manufacturer's
manual
Summary of Contents for JVM-407B-HMI
Page 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Page 14: ......
Page 26: ...26 Jetter AG 2 Product description and design Rear view...
Page 34: ......
Page 80: ......
Page 106: ......
Page 144: ......
Page 168: ......
Page 178: ......
Page 182: ......
Page 258: ......
Page 268: ......
Page 274: ......
Page 294: ...294 Jetter AG Appendix Rear view...
Page 299: ......