sigfox MODBUS MASTER - Guide utilisateur / User guide version V1.0.0
In the example in grey this gives:
•
Bytes 2 to 3: the Modbus register 0x1518 of slave 0x01 is 0x1234
•
Bytes 4 to 5: the Modbus register 0x1519 of slave 0x01 is 0x5A20
•
Bytes 6 to 7: the Modbus register 0x0ED8 of slave 0x57 is 0x3F41
•
Bytes 8 to 9: the Modbus register 0x0ED9 of slave 0x01 is 0x6D72
•
Bytes 10 to 11: the Modbus register 0x0EDA of slave 0x01 is 0xE042
4.1.7 Alarm frame
This frame (0x45) is sent during the appearance or disappearance of a threshold exceeding alarm (depending on the configuration of registers
340 to 389).
0
Code
Status
0x45
Cf Status
0x45
0xB1
Its size has a maximum of 9 bytes when the register is compared to a 32-bit threshold, else the last column (bytes 7 to 8) is empty.
Description of the frame:
•
Byte 2: Modbus slave address
•
Bytes 3 to 4: Modbus register address
•
Bytes 5 to 6: Value of Modbus register 1
•
Bytes 7 to 8: Value of Modbus register 2 (if the register is compared to a 32-bit threshold)
In the example in grey this gives:
•
Byte 2: Modbus slave address is 0x0A
•
Bytes 3 to 4: Modbus register address is 0x1068
•
Bytes 5 to 6: Value of Modbus register 1 is 0x0001
•
Bytes 7 to 8: Value of Modbus register 2 is 0xD4CF
The compared register, recomposed on 32 bits, is 0x0001D4CF ie 120,015 in decimal.
4.1.8 Summary of the conditions of the transmission of the uplink frames
The table below summarizes the conditions of the transmission of the different uplink frames:
Code
0x10
Frames of information on the product confi-
guration
0x20
Frames of information on the network
configuration
0x30
Keep Alive frame
0x31
Reply frame to a register value request
0x44
Periodic data frame
0x45
Alarm frame
1
2
Modbus slave
address
0x0A
Description
3 to 4
5 to 6
PAYLOAD
Modbus register
Value of Modbus
address
register 1
0x1068
0x0001
Sending conditions
•
Product start-up
•
Exit from the configuration mode (AT Command)
•
Reception of a downlink frame 0x01
•
Product start-up
•
Exit from the configuration mode (AT Command)
•
Reception of a downlink frame 0x02
•
Product start-up
•
Périodically if no periodic data configured. The reference
period is defined by register 300.
•
Reception of a downlink frame 0x40
•
Product start-up
•
Transmission period reached (period defined by register S301)
•
During the appearance or disappearance of a threshold
exceeding alarm (depending on the configuration of registers
340 to 389).
(7 to 8)
(Value of Modbus
register 2)
0xD4CF
Page
65
of 80
FR
EN