Hi! There might be similar “Topics” on here but i can’t seem to find exactly what i am looking for.
So the trouble i am having with Codesys and connecting factory i/o over the modbus TCP/IP Client. I have been able to follow the guide on the factory i/o site: (Setting up CODESYS Modbus TCP - Factory I/O - Documentation, up to the point so that i have been able to get a connection between codesys and factoryio, but only by setting the slave ID to 0 and/or 255. The problem i’m having is reading and writing values and therefore not able to run my code.
I am not familiar with setting up the codesys modbus slave and what parameters/addresses i need to configure as i have only used Siemens TIA portal and connecting to factoryio with PLCsim in school before and now i want to continue programming privately.
If needed i can provide pictures and more info
Any help is greatly appreciated!