Provided there is no error, the response will be:
Byte
0
1
2
3
4
5
6
7
•
Write to a register using a mask
Write to register by masks allows you to operate through two masks and thus work at the
bit level on a register. The first mask performs a logical multiplication (AND) on the register
and the second one a logical addition (OR).
The AND mask indicates the bits of the register that will be modified. The bits that have the
value "1" in the mask will remain unchanged; while those that have a "0" will take this value.
The value that the bits that are going to be modified will take will be the value that said bits
have in the OR mask.
Byte
0
1
2
3
4
5
6
7
8
Provided no error occurs, the response must be in exactly the same format as the write
command.
Field
System address (1-247) (0: Broadcast)
Write to multiple registers (16)
Zone address
Start register address
Number of registers to write (N)
CRC
Field
System address (1-247) (0: Broadcast)
Write to a single register by mask (22)
Zone address
Register address
AND mask
OR mask
CRC
EN
17