soura
I am using UNO R4 wifi(i already understand R4 is different as compared to Uno and not supported with OpenPLC yet, I updated the driver to be able to compile and transfer code. Serial port access might possible need more driver updates).

I would like to connect to another device on serial port, request data(ASCII) and send the data recieved to a MQTT broker using structured text with OpenPLC. Would that be possible with Uno? Let me know if its possible with any other PLC or device as well. Thanks!
Reply 0 0
thiagoralves
It should be possible if WiFi works on the R4 with OpenPLC. It is very likely it will require some tweaks for the WiFi to work as every board is a little different. But if you get it working (enable Modbus TCP on the upload dialog) then you can use MQTT blocks to send your data. As for serial stuff, most likely you will need to write an arduino extension for that
Reply 0 0
Reply