sigfox MODBUS MASTER - Guide utilisateur / User guide version V1.0.0
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
PAYLOAD
0x20
Cf Status
S202
0x20
0xB1
0x02
Its size is of 3 bytes.
Description of the frame:
•
Byte 2 : Register S202 : Number of repetitions (in the case of a uplink frame associated with a downlink frame)
In the example in grey this gives:
•
Byte 2=0x02 : the number of repetitions is 2
4.1.4 Keep Alive frame
This frame (0x30) is transmitted only in the event mode at the frequency defined by register 300.
0
1
Code
Status
0x30
Cf Status
0x30
0xB1
Its size is of 2 bytes.
It contains only the code byte (0x30) and the status byte.
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 downlinl frame 0x40.
Example :
•
Frame (0x40) sent to the product (downlink):
0
1
Code
Status
0x40
CONFID1
CONFID2
The CONFIDX (8bits) fields represent the indices of the registers to be sent. The corresponding register is 300 + CONFIDX value.
2
2
3
4
PAYLOAD
CONFID3
X
5
...
7
X
X
CONFID8
FR
EN
Page
63
of 80