1
I am looking for some fairly basic source code for Windows so that I can poll my PLC registers about every 10s to get around 100 tags.
Then I just want to save them off into a file.
There seems to be lots of Modbus C++ code for Linux, but was looking for something I could use on Windows 10.
Not being very familiar with any Socket type functions it is a bit daunting. My C++ code is limited to processing files, so the whole getting data over Modbus is new to me in this environment.
(Generally I use Modbus between devices such as PLC to Scree, or PLC to Drive etc, but not back to a PC).
Any suggestions would be appreciated.
Then I just want to save them off into a file.
There seems to be lots of Modbus C++ code for Linux, but was looking for something I could use on Windows 10.
Not being very familiar with any Socket type functions it is a bit daunting. My C++ code is limited to processing files, so the whole getting data over Modbus is new to me in this environment.
(Generally I use Modbus between devices such as PLC to Scree, or PLC to Drive etc, but not back to a PC).
Any suggestions would be appreciated.