Joris97
For data collection, I need to do for my graduation assignment I'm looking for a way to read sensor information and send it to an IOT gateway. We have a monitoring PC that is connected to multiple devices that can send their data via Modbus, also a PLC is connected. We want to gather this data collect it and send it, all collected, to an IOT gateway via Modbus to get the data in a database. in this way, we can analyze and display real-time information.
Is this possible via OpenPLC and what is the best way to do this?
 
Greetings Joris
Reply 0 0
thiagoralves
I don't think OpenPLC is the right tool for this. OpenPLC is an industrial controller (PLC), not a data aggregator. You can program it to do what you want it to do, but it will be like using a sledgehammer on a nail to hang a picture on your wall
Reply 1 0
Joris97
Thanks for the quick answer, I already started to get the idea this was the case. Any better software to try this on?
Reply 0 0
thiagoralves
I’m sorry, but I don’t know, you will have to look around. I believe maybe HMI softwares could be good options 
Reply 0 0
reccles
Hi, You do not state whether the devices to be monitored are connected via Serial RS485 or TCP/IP ? If they are 
RS485 then this type of device M100 manufactured by PUSR could be a good solution. These are known as Edge devices.
The device has 2x RS485 ports and the web interface can be used to add and configure multiple Slave devices.
It can also be setup to communicate with a MQTT server. 
Smart I/O Controller_Remote I/O_Ethernet I/O_Modular I/O
Reply 1 0
Joris97
Two devices are modbus and TCP/IP devices that I am now working on connecting to Telegraf and InfluxDB . However there is also PLC data that is read by software via a kind of proprietary protocol that we want access to. It seems like this communicates via ADS from Beckhof by serial but can also be TCP/IP, this is connected to the same pc together with the other two devices (sensor and camera with output values).
Thanks for the suggestion, going to look further into that!
Reply 0 0
reccles
To clarify, modbus can communicate on RS485 or Ethernet. Which are you using? The M100 can only be used with Modbus RS485 slaves.
If all your devices are Modbus TCP then you can use a software solution. 
The ADS TwinCat is a very specific comms protocol. Perhaps you should be looking at a OPC UA server? with modules for Modbus and TwinCat?
Reply 0 0
reccles
Also, take a look at this....
 
Reply 0 0
Joris97
It is an ethernet connection so yes there must be some software, the main problem is collecting all the different signals, I'll take a look at the given suggestions. Thank you for the information, as said we have the modbus almost figured out and now looking at the beckhoff, so will take a look. thanks!
Reply 0 0
Reply