Jetter AG
151
JVM-407B
SAE J1939 STX API
STX function SAEJ1939AddRx()
Calling up the function
SAEJ1939AddRx ()
prompts the JVM-407B to receive
a specific message. This message is sent from another bus node. The
address of this bus node is transferred to this function as a bySA parameter. If
the message is not sent, the value received last remains valid. Cyclical
reading continues until the function
SAEJ1939Init ()
is called up again.
Function SAEJ1939AddRx (
CANNo:Int,
IPGN:Long,
bySA:Byte,
BytePos:Int,
BitPos:Int,
DataType:Int,
DataLength:Int,
const ref
VarAddr,
ref
stJ1939:TJ1939Rx
EventTime: Int,
InhibitTime: Int,
) :Int;
The
SAEJ1939AddRx ()
function comprises the following parameters:
Parameter
Description
Value
CANNo
CAN channel number
1 ... CANMAX
IPGN
PGN
Parameter Group Number
0 ... 0x3FFFF
bySA
Source Address of message
sender
0 ... 253
BytePos
Starting position of bytes of data
to be received
1 ... n
BitPos
Starting position of bits of data to
be received
1 ... 8
DataType
Data type of data to be received 1 ... 3, 10 ... 16
DataLength
Volume of data for the global
variable VarAddr
VarAddr
Global variable into which the
received value is entered
TJ1939Rx
Control structure
EventTime
Time lag between two telegrams
(> Inhibit Time)
Default value: 1,000 ms
InhibitTime
Minimum time lag between two
telegrams received
(< EventTime)
Default value: 100 ms
This function transfers the following return values to the higher-level program.
Introduction
Function declaration
Function parameters
Return value
Содержание 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: ......