Reply Frame To A Register Value Request In A Downlink Frame; Data Frame - ADEUNIS LoRaWAN 863-870 ANALOG PWR Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN 863-870 ANALOG PWR - Guide utilisateur / User guide version V2.0.2
In the example in grey this gives:
• Byte 2=0x02: register 320, channel A configured for a 4-20mA sensor
• Bytes 3 to 5=0x0C3500=800,000 in decimal i.e. A value measured on channel A of: 800,000,x10=8,000,000nA i.e. 8mA
• Byte 6=0x01: register 322, channel B configured for a 0-10V sensor
• Bytes 7 to 9=0x4C4B40=5,000,000 in decimal i.e. a value measured on channel B of: 5,000,000 µV i.e. 5V

4.1.5 Reply frame to a register value request in a downlink frame

Following reception of a downlink frame with the code 0x40, the frame 0x31 is transmitted.
It contains all the values of the registers requested in the downlink frame 0x40.
Frame (0x40) sent to the product (downlink) :
0
1
Code
0x40
CONF ID1
CONF ID2
The CONF IDX (8bits) fields represent the index of the registers to be sent. The corresponding register is 300 + CONF IDX value.
Response frame (0x31) from the product:
0
1
Code
Status
0x31
Cf. Status
VALUE1
In this example: CONF ID1 is a 2-byte register, CONF ID2 a 1-byte register and CONF ID3 a 2-byte register.
If an error is detected in the request, the returned 0x31 frame will be empty.

4.1.6 Data Frame

This frame (0x42) contains the values measured on the different sensors
0
1
Code
Status
0x42
Cf Status
S320
0x42
0x42
0x02
Description of the frame:
• Byte 2: Type of the sensor on channel A. Configured by the user (register 320).
• Bytes 3 to 5: Value measured on channel A.
• If the type of sensor is 0-10V: The value is expressed in µV
• If the type of sensor is 4-20mA: The value is expressed in nA
• Byte 6: Type of the sensor on channel B. Configured by the user (register 322).
• Bytes 7 to 9: Value measured on channel B.
• If the type of sensor is 0-10V: The value is expressed in µV
• If the type of sensor is 4-20mA: The value is expressed in nA
In the example in grey this gives:
• Byte 2=0x02: register 320, channel A configured for a 4-20mA sensor
• Bytes 3 to 5=0x0C3500=800,000 in decimal i.e. A value measured on channel A of: 800,000,x10=8,000,000nA i.e. 8mA
• Byte 6=0x01: register 322, channel B configured for a 0-10V sensor
• Bytes 7 to 9=0x4C4B40=5,000,000 in decimal i.e. a value measured on channel B of: 5,000,000 µV i.e. 5V
2
3
4
PAYLOAD
CONF ID3
X
2
3
4
PAYLOAD
VALUE1
VALUE2
2
3
4
Value read on the channel A sensor
0x0C3500
5
...
n
X
X
CONF IDn
5
...
11
VALUE3
VALUE3
X
5
6
7
PAYLOAD
S322
Value read on the channel B sensor
0x01
8
9
10
X
0x4C4B40
Page
73
FR
EN
of 87

Publicité

Table des Matières
loading

Table des Matières