stephane / libmodbus

A Modbus library for Linux, Mac OS, FreeBSD and Windows
http://libmodbus.org
GNU Lesser General Public License v2.1
3.29k stars 1.71k forks source link

Setting the coil address to 0 as 1 will immediately be set to 0 #730

Open yanzhang920817 opened 6 months ago

yanzhang920817 commented 6 months ago

I built a Modbus TCP slave station and ran it on several devices. One of the devices used Modbus pull software to write a value of 1 to the coil with address 0, but it was immediately set to 0. Is there a bug like this?