
Page 21 / 21
adeunis
®
Manage & optimize your assets & services
283, rue louis Néel 38920 CROLLES, France
Tél : +33 (0)4 76 92 07 77 E-mail : [email protected]
www.adeunis.com
1.6.5 Set registers (0x41)
This frame (0x41) allows you to change the value of requested S3XX registers.
Offset
(in byte)
Data
Description
0
0x41
Frame code
1
CONFID1 Index of the register to be changed.
The corresponding register is “300 + CONFID1“
2
Value of
CONF ID 1
Value to set
In this example, its value is contained in 1 byte
3
CONFID2 Index of the register to be changed.
The corresponding register is “300 + CONFID2”
4-5
Value of
CONF ID 2
Value to set
In this example, its value is contained in 2 bytes
…
Following the sending of the downlink 0x41, the associated uplink 0x33 is immediately returned. If the update of the
register(s) went well, the device will perform a backup and begin its restart procedure automatically. In addition, the
Config bit of the status byte will be set to 1 in the next scheduled uplink frame (periodic or alarm or keep alive frame) if
everything went well.
Coding example:
Offset
(in byte)
Data
Description
0
0x41
Frame code
1
0x14
Register to modify is S320
2-3
0x00AA Value to set in S320 is 170 (S320 is a 2-byte register)
4
0x1D
Register to modify is S329
5
0x02
Value to set in S330 is 2 (S329 is a 1-byte register)
…