
EN
sigfox MODBUS MASTER - Guide utilisateur / User guide version V1.0.1
62
Page
of 80
FR
4.1.1.02
Status byte
The status byte is broken down in the following way:
Alarm Status
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Frame Counter
Read error
Config error
HW
Reserved
Config
No Error
0x00 to 0x07
0
0
0
X
0
Configuration
done
0
0
0
X
1
HW Error
0
0
1
X
0
Modbus
config error
0
1
0
X
0
Slave read
error
1
0
0
X
0
Details of the fields:
• Frame counter: Frame counter, it increments at each transmission and allows the user to see quickly if a frame has been lost. It counts
from 0 to 7 before looping back.
• HW: This bit is set to 1 when a hardware error has occurred, for example a writing problem in the EEPROM, a reading problem on the
ADC, etc. The product must be returned to the service dept.
• Confg: bit at 1 if a configuration was carried out during the last downlink frame, otherwise 0. This bit returns to 0 as from the next frame
• Config error : bit set to 1 to indicate that the application configuration is wrong. For example, the total number of Modbus registers is
more than 5 in the periodic setup.
• Read error : bit set to 1 to indicate a Modbus read error. For example, a slave that does not respond to the master request.
E.g.:
A VALUE of the status byte equal to 0xB1 (= 10110001 in binary) gives:
• Bit 7 at 5 = 101 = 0x05 i.e. a frame counter at 5
• Bit 4 at 0 = 10001 (binary) ie a read error on a slave and the validation of the configuration.
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 configuration of the product is transmitted:
0
1
2
3 and 4
5
6 and 7
8
9
Code
Status
PAYLOAD
0x10
Cf Status
S300
S301
S306
S320
S321
S322
0x10
0xB1
0x48
0x00B4
0x01
0x00B4
0x44
0xC8
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
Содержание LoRaWAN MODBUS MASTER ARF8240AA
Страница 5: ...FR sigfox MODBUS MASTER Guide utilisateur User guide version V1 0 1 FR 5 Page of 80 FRANCAIS ...
Страница 41: ...EN sigfox MODBUS MASTER Guide utilisateur User guide version V1 0 1 41 Page of 80 FR ENGLISH ...
Страница 76: ...sigfox MODBUS MASTER Guide utilisateur User guide version V1 0 1 76 Page of 80 DE FR DEUTSCH Vorschriften ...