Frames Of Information On The Product Configuration; Frame Of Information On The Network Configuration - ADEUNIS LoRaWAN MODBUS MASTER Guide Utilisateur

Masquer les pouces Voir aussi pour LoRaWAN MODBUS MASTER:
Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN MODBUS MASTER - Guide utilisateur / User guide version V1.0.0

4.1.2 Frames of information on the product configuration

Following reception of a downlink frame with the code 0x01 or on switching to the operating mode (from the Park or Command Mode), the
next frame (0x10) representing the application confguration of the product is transmitted:
0
1
Code
Status
0x10
Cf Status
S300
0x10
0xB3
0x48
Its size is of 10 bytes.
Description of the frame:
Byte 2 : register 300, Keep Alive frame period
Bytes 3 and 4 : register 301, periodicity of transmission (periodic mode), expressed in twenty of seconds
Byte 5 : register 306, product mode (Park, Standard (production), Test or REPLI)
Bytes 6 and 7 : register 320, data acquisition period for alarm
Byte 8 : register 321, Modbus link configuration
Byte 9 : register 322, configuration of supply time of the external load (slave) before the Modbus request
In the example in grey this gives:
Byte 2 : register 300, Keep Alive frame period = 72x10 = 720min ie 12h.
Bytes 3 and 4 : register 301, periodicity of transmission (periodic mode) = 180x20=3600s ie 1h
Byte 5 : register 306, product mode is PRODUCTION
Bytes 6 and 7 : register 320, data acquisition period for alarm = 180x20=3600s ie 1h
Byte 8 : register 321=0x44, Modbus link configuration is:
• Bit 0 = 0 : RS485
• Bit 1 = 0 : 1 stop bit
• Bits 2 and 3 = 01 : the parity is even
• Bits 4 to 7 = 0100 : the baudrate is of 19200
Byte 9 : register 322= 0xC8, configuration of supply time of the external load (slave) before the Modbus request is of 200x100=20 000 ms
ie 20 secondes

4.1.3 Frame of information on the network configuration

Following reception of a downlink frame with the code 0x02 or on switching to the operating mode (from the Park or Command Mode), the
next frame (0x20) representing the network confguration of the product is transmitted:
0
1
Code
Status
0x20
Cf Status
S220
0x20
0xB3
0x05
Its size is of 4 bytes.
Description of the frame:
Byte 2 : register S220 : Activation of Adaptative Data Rate
Byte 3 : register S221 : connexion mode
In the example in grey this gives:
Byte 2=0x05 : Adaptative Data Rate is activated
Byte 3=0x01 : connexion mode is OTAA
2
3 et 4
5
PAYLOAD
S301
S306
0x00B4
0x01
2
3
PAYLOAD
S221
0x01
6 et 7
8
9
S320
S321
S322
0x00B4
0x44
0xC8
FR
EN
Page
65
of 80

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8240aa

Table des Matières