Ability to write to address 0
### Describe the requested feature
Hello,
I'm trying to communicate with a Circuit Breaker from Chint (NB2LE-40ZT), I can read and write all the main registers, but in order to be able to send an open or close command I need to be able to write to the address 0, as specified in the instruction manual of the circuit breaker.
The instructions are the following: _Command operations use the 0x10 command, write the address 0x0000, and write the data as special command code and parameters_
I can send the commands correctly using a software like Device Monitoring Studio, and the circuit breaker answers as expected.
For example, the data sent to open the circuit breaker is the following: 0A 10 00 00 00 01 02 00 07 94 A2
The syntax is:
- 1 byte, device address
- 1 byte, function code
- 2 byte, starting address
- 2 byte, number of registers to write (N)
- 1 byte, data bytes (Nx2)
- Nx2 bytes, the data to write
- 2 bytes, CRC16
Right now if I send this command: {"unitid":10,"fc":16,"address":0,"quantity":1,"value":7}
I get an error: "Quantity should be less or equal to register payload array length: undefined Addr: 0 Q: 1"
Thanks
Luca
### Motivation
This will allow to send the remote open and close commands to the Circuit Breakers from Chint (for example the NB2LE-40ZT, https://www.chintglobal.com/global/en/products/low-voltage/iec/final-power-distribution/nb2le-40zt.html).
1 条评论