Hi all,
I’m new to all this so having some trouble figuring out the best way to get the following done:
I have a system containing a Mitsubishi FX5U PLC. My goal is to connect this to a IoT website (thingsboard) and display the current status or readouts there as well as allow for interactions such as stop, start, reset etc.
I currently have this all partially working
The FX5U has a RS485 connection output which communicates in MODBUS RTU and which I have plugged into the RUT956.
In the RUT956 I have configured a MODBUS Serial Client and setup a MODBUS device with appropriate register mappings.
I also setup the Data To Server settings to connect to and write a JSON data package which is sent to Thingsboard via MQTT.
In Thingsboard I can see these and I have a profile to process the JSON data for display on a dashboard.
My problem is that I can’t understand how to return information. I want to send controls from Thingsboard to the PLC via the RUT956.
Using MQTT, I believe this would mean I need to connect to a Request and Response topic.
However this is something the “Data to Server” setting does not have. It only has a Topic?
I assume I should use the MQTT MODBUS Gateway instead. But doing so means I can’t configure the Modbus Serial client to translate MODBUS RTU signals first.
I can reconfigure the PLC to send MODBUS TCP, but if I then setup a MODBUS TCP Client, I still don’t see how I can send that to the MQTT MODBUS gateway as that setting only seems to support RS485 or RS232 connections?
I’ve been going through all sorts of documentation but I seem to be missing something between the very high level connection diagram and the detailed configuration of the options.
Can someone provide options on how to do what I want?
I’m happy to make all sorts of changes but don’t really know what I should aim at.