Leafy
Searching (OpenPLC forum and Google) hasn't really provided too much information in terms of the ability to use OpenPLC as an interface via a RS232 port. Before I head down this rabbit hole, I'm looking for some high level info to make sure I'm not trying to do something that is not possible.

I'm a Software Engineer helping a friend's business build an interface that will allow them to view and control third-party hardware via a RS232 port. The serial port allows the reading and writing of data.

Instead of developing a whole new solution, will OpenPLC provide everything needed to process read/write data via the RS232 port and build the corresponding interface?

Thanks!
Leafy
Reply 0 0
thiagoralves
Yes, it will work as long as the devices you’re planning to talk to understand the Modbus protocol (most industrial devices do). All you have to do is to configure all the devices you have under the Slave Devices page (on OpenPLC). Use the Generic Modbus RTU option and manually add all the registers you want to read/write
Reply 0 0
Leafy
Thanks thiagoralves!. The hardware does have an option to set the communication format to MODBUS RTU. Time now to get OpenPLC installed and "play around". I'm new to PLC development, but hoping my development experience can help a friend out who would like a better interface to the hardware.

Leafy
Reply 0 0
thiagoralves
Let me know if you get stuck somewhere in the process.
Reply 0 0
Reply