
EN
sigfox MODBUS MASTER - Guide utilisateur / User guide version V1.0.1
64
Page
of 80
FR
• Response frame (0x31) from the product:
0
1
2
3
4
5
...
11
Code
PAYLOAD
PAYLOAD
0x31
Status
VALUE 1
VALUE 1
VALUE 2
VALUE 3
VALUE 3
X
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 Periodic data frame
This frame (0x46) is transmitted at the frequency defined in register S301 and contains all the configured Modbus periodic data.
The organization of the bytes in this frame therefore depends on the configuration of the user by following the scheduling of the defined
MODBUS frames.
This frame has a maximum of 5 2-byte registers.
0
1
2 to 3
4 to 5
6 to 7
8 to 9
10 à 11
Code
PAYLOAD
PAYLOAD
0x44
Cf Status
Modbus
register 1
Modbus
register 2
Modbus
register 3
Modbus
register 4
Modbus
register 5
Its size is of 12 bytes.
Description of the frame :
• Bytes 2 to 3 : VALUE of the first register in the order of the configuration defined in registers 330 to 334
• Bytes 4 to 5 : VALUE of the second register in the order of the configuration defined in registers 330 to 334
• …
• Bytes 10 to 11 : VALUE of the fifth register in the order of the configuration defined in registers 330 to 334
Using the configuration example in paragraph 2.2.1 as follows:
Register
VALUE encoding
VALUE
Result
S301
Decimal
180
Periodic mode with a period of 180x20s = 3600 seconds =
1h
S322
Decimal
200
The supply time of the external load (slave) before the
Modbus request is 200x100 = 20000ms ie 20s
S330
Hexadecimal
0x01151802
Periodic data 1 configuration:
• Slave address = 0x01
• First register address = 0x1518
• Modbus registers type : holding registers
• Number of registers = 2
S331
Hexadecimal
0x570ED814
Periodic data 2 configuration:
• Slave address = 0x57
• First register address = 0x0ED8
• Modbus registers type : input registers
• Number of registers = 3
The result frame is:
0
1
2 to 3
4 to 5
6 to 7
8 to 9
10 to 11
Code
Status
PAYLOAD
0x44
Cf Status
Modbus register
0x1518 of slave
0x01
Modbus register
0x1519 of slave
0x01
Modbus register
0x0ED8 of slave
0x57
Modbus register
0x0ED9 of slave
0x57
Modbus register
0x0EDA of slave
0x57
0x44
0xB1
0x1234
0x5A20
0x3F41
0x6D72
0xE042
Содержание 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 ...