I have a ConnectPort X4 and a RS-485 Adapter with 2 current sensors connected.
I made what says this tutorial (Modbus Bridge on CPX4
) but I don't know what to do next.
I tried to create a socket to send and get the Modbus requests and responses but it seen it is not working.
How I can collect data from the sensor with a python script?
I wrote python code for other project that get the data by rci and send it to a server and a Dia application that show the sensor data on the web, but the serial adapter has no Dia support.
Thanks for your help.