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
Содержание JVM-407B-HMI
Страница 1: ...User Manual JVM 407B HMI 60879892 We automate your success...
Страница 14: ......
Страница 26: ...26 Jetter AG 2 Product description and design Rear view...
Страница 34: ......
Страница 80: ......
Страница 98: ...98 Jetter AG 5 Initial commissioning Initial commissioning in JetViewSoft see page 86 Related topics...
Страница 106: ......
Страница 144: ......
Страница 168: ......
Страница 178: ......
Страница 182: ......
Страница 196: ...196 Jetter AG 10 Programming If Merker1 Then Inc Status_LEDs Delay T 100ms End_If End_Loop End_Task...
Страница 220: ...220 Jetter AG 10 Programming Topic Page Programming 221 Registers 233 Sample programs 238 Contents...
Страница 258: ......
Страница 268: ......
Страница 274: ......
Страница 294: ...294 Jetter AG Appendix Rear view...
Страница 299: ......