Jetter AG
149
JVM-407B
SAE J1939 STX API
STX function SAEJ1939SetSA()
The function
SAEJ1939SetSA
lets you change the own SA (Source Address)
during runtime.
Function SAEJ1939SetSA (
CANNo:Int,
mySA:Byte,
) :Int;
The SAEJ1939SetSA () function comprises the following parameters:
Parameter
Description
Value
CANNo
CAN channel number
1 ... CANMAX
mySA
New SA
0 ... 253
This function transfers the following return values to the higher-level program.
Return value
0
OK
-1
Error when checking parameters
This parameter specifies the number of the SAEJ1939 interface. CANNo = 1
is assigned to the first interface. The number of SAEJ1939 interfaces depends
on the device. For information on the maximum number of SAEJ1939
interfaces (CANMAX) refer to the chapters
Technical Specifications
and
Quick
Reference
in the corresponding manual.
Changing the SA during runtime.
Result := SAEJ1939SetSA(1, 20);
Messages are immediately sent/received using the new SA.
Introduction
Function declaration
Function parameters
Return value
Parameter CANNo
How to use this function
Important note!
Содержание 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: ......