Hi everyone,
I’m working on a project using the WAGO 750-8208 controller, and I’m currently stuck at a critical point.
Previously, while using e!COCKPIT, I was able to use the Modbus Serial Master library to read data from Modbus devices over the serial port without much trouble.
Now, I’ve moved to CODESYS 2.3, and I’m trying to achieve the same thing—read data from a Modbus serial device—but I’m not sure if the equivalent library exists in CODESYS 2.3 or how to implement it. I’ve looked around, but couldn’t find a clear answer or example.
Once I can successfully read the data, my next step is to send that data to the cloud (exact method/API still to be decided), but I can’t proceed until I can reliably access the serial data.
Has anyone here worked with Modbus Serial in CODESYS 2.3, especially on the 750-8208?
- Is there a compatible Modbus Serial Master library?
- Any example projects, documentation, or tips you could share?
- Bonus: If you’ve sent this kind of data to the cloud, how did you handle that?
Really appreciate any help or direction you can provide. Thanks in advance!
Hi,
there is the Modb_l05.lib with similar function blocks.
For Codesys 2.3 Wago has also implemented a modbus configurator. There should be also a document on wago site.
In Codesys go to the Ressources tab, then PLC Configuration. Under Modbus-Master[FIX] you will find the configurator.
Thank you for the response…
If you are talking about this then it will take lot of time to use as single register again and again.
Any help regarding cloud connectivity
Hi,
on context menu of the variable you can find ‘number of items’, with this you define an array.
With the modbus configurator you need to declare a task for your main program. PLC_PRG will only run automatically if no other task is configured.
With cloud connectivity I have no experience.
For Cloud connectivity you have some sample program on the WAGO Website:
and there is this library on the site too but i have no idea if this one is not older than what you already have:
Thank You @WagoIcard for the reply.
I am facing this error while downloading the program on the PFC
What FW are you running in the PFC200 ?
in the main web page of the PFC200 you should have a FW number something like this:
I have firmware 22 running on the controller.