Serial Gateway
Posted: 12 May 2020, 07:56
Dear all,
I have browsed through this forum and some of the documentation on the Serial Gateway, e.g.: "https://www.kunbus.com/serial-rx-gateway-module.html", and the Scripter, e.g.: "https://www.kunbus.com/files/media/scri ... -UM-EN.pdf".
In our application we have to read multiple times each second a value from modbus and send it through a serial interface to a PID controller. We use the RevPi Core 3+ Modbus RTU Master with an USB-to-RS485 adapter. The serial interface works through another USB-to-RS485 adapter supplied by the manufacturer. Now, we have also the possibility to directly connect to RS485 on the PID controller.
Could we use a Serial Gateway to connect to that PID controller?
The manufacturer of the PID controller has a rather complex format to be send via serial. It is still just a string of bytes, but combines a lot of different informations, e.g., a sequence counter which is incremeneted on each call and a CRC checksum.
Is it possible to do this with the scripter?
Would this gateway give us access to the data similar to a DIO/AIO module? We use revpiomodio2 in python, i.e., we access those values by "revpimodio.io.O_1.value".
Best, Robert
I have browsed through this forum and some of the documentation on the Serial Gateway, e.g.: "https://www.kunbus.com/serial-rx-gateway-module.html", and the Scripter, e.g.: "https://www.kunbus.com/files/media/scri ... -UM-EN.pdf".
In our application we have to read multiple times each second a value from modbus and send it through a serial interface to a PID controller. We use the RevPi Core 3+ Modbus RTU Master with an USB-to-RS485 adapter. The serial interface works through another USB-to-RS485 adapter supplied by the manufacturer. Now, we have also the possibility to directly connect to RS485 on the PID controller.
Could we use a Serial Gateway to connect to that PID controller?
The manufacturer of the PID controller has a rather complex format to be send via serial. It is still just a string of bytes, but combines a lot of different informations, e.g., a sequence counter which is incremeneted on each call and a CRC checksum.
Is it possible to do this with the scripter?
Would this gateway give us access to the data similar to a DIO/AIO module? We use revpiomodio2 in python, i.e., we access those values by "revpimodio.io.O_1.value".
Best, Robert