I have a ConnectPort X4. I would like to set up a custom DIA device to speak modbus TCP/IP to a bunch of PLCs, collect all the data, and put it out into the iDigi cloud. I figure this is the sort of thing that has been done before, but can’t seem to put my finger on a good example. Can someone point me in the right direction?
My client code will poll (pull) remote words in via Modbus, then parse these into Dia channels. It uses the IA engine, which adds a bit of config work, but allows it to support any collection of Modbus/TCP, UDP, RTU and ASCII via Ethernet, serial or even XBee RS232/485 adapters.
The IA engine support 802.15.4, Zigbee, and DigiMesh - but Dia currently only works with Zigbee.
I had seen the Category:Modubs page, but there is a lot of information there and I was having a hard time finding what I needed.
The Modbus Dia client is exactly what I was hoping to find (and hadn’t). However I have a simple question. Is the source code for driver: devices.modbus.mbus_udp_device:MBusUDPDevice available? Surely this is where the UDP modbus requests are made and the channels are defined.
This includes both the server and client, but the dia.zip will only contain the files required. There should be some readme’s in the ZIP, plus the ZIP include sub-directories so it is designed to copy on top of your Dia source files.