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!
I am using the Trial version of factory i/o if there is any limitations to this version.
My first project is getting the waring light to light up when pressing a button just as a
“getting it to work project” so nothing advanced.
I looked into the situation you described, and from what I could gather there doesn’t seem to be any way to delete the device user and create a new one without logging in first. My recommendation is that you try to contact Codesys regarding the issue to see if they can help you.
I’m having a similar problem and I’m unable to find any answers online.
I’m creating a super simple scene where I have two buttons, one in order to make a pusher go forward, and another one in order to make it go back (a biestable pusher).
I’m using codesys and after configurating the modbus there, getting online and charging my program to the virtual PLC, the only way I’m able to communicate with factory IO is by forcing the variables in my program. If I force them, the pusher moves in factory IO, but when I push the buttons that I created in factory IO, codesys doesn’t change the value of those variables.
Anyone could tell me please what could I do? I can’t seem to find anything and I don’t know what to do at all.