1
Support Questions / Re: Reading and writing to %MW holding register
« on: September 26, 2020, 07:08:03 AM »If you check the following the page, can you confirm that your Modbus addressing is correct (as %MW range should be 41024 to 42047):
https://www.openplcproject.com/reference/modbus-slave/
The picture seems to go like this:
- vtime to IN of the INT_TO_TIME whose OUT is going to PT of TOF2
- stime1 to IN of the INT_TO_TIME whose OUT is going to PT of TOF0
- stime2 to IN of the INT_TO_TIME whose OUT is going to PT of TOF1
It is possible that program is writing the original values back every time the PLC cycles.
Found the problem, I had the wrong ModBus entries, corrected (41025,41026,41027) and it works like a charm.
Thanks to everyone for the patience and input.