Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

ModbusMaster: Writing a single bit to a coil


Vitaly.Avilov Apr 21, 2019 06:23 AM

Hello.

I am trying to control fan and heater of SR30-D1 pyranometer through a ModbusMaster instruction. 

Since I able to communicate and read registers using Modbus function 3, I have problems with writing to a coils (Modbus function 5).  Please, could you suggest how should look ModbusVariable parameter in CR basic to write either 0xFF00 or 0x0000 to a coil?  

Thank you.

Log in or register to post/reply in the forum.