Quantcast
Channel: Modicon / Telemecanique / Schneider Electric Latest Topics
Viewing all articles
Browse latest Browse all 446

Write single coil to Modicon TM218 Plc Using Easymodbus

$
0
0

Hello, I am using Easymodbus library to Communicate with Modicon TM218 PLC. Reading and Writing of Holding Registers working fine. But coming to writing of single bit in data register i am facing Problem. Need to know how we find coil address of a data register. e.g I have to write bit 1 to MW70.1 address. How we do that. Right now i am reading complete MW70 Register and Manipulating it using bit manipulation techniques and again Writing using Write single Register Function. It's working but some times because of reading problem it writes some garbage values. At that time complete system effecting. 

 

Please provide me any solution.

Thanks in Advance. 


Viewing all articles
Browse latest Browse all 446

Trending Articles