RevPi Connect 5 as CANBUS to MODBUS/TCP translator?
Posted: 24 Apr 2025, 22:54
Hello. I have a device that is only capable of communicating via CANBUS ("device A"), and another which is only capable of communicating via MODBUS/TCP ("device B"). I would like to use a RevPi Connect 5 as an intermediary to take commands from device A over CAN, and forward them on to device B over MODBUS/TCP. I also need to be able to forward responses from device B back to device A. I'll need to do a bit of processing on the commands, such as simple multiplication and division, but it shouldn't be too complicated.
My question is if there are any examples of this kind of setup using python? In particular, are there any python examples for how to use CANBUS? The RevPi Connect 5 model we ordered was 100419, with WLAN, 8GB RAM, 1 CAN FD, and one RS485 port. I'm primarily a python developer with limited PLC experience, so that's my preferred toolchain, but if there are other options it would be helpful to see those as well. Thanks!
My question is if there are any examples of this kind of setup using python? In particular, are there any python examples for how to use CANBUS? The RevPi Connect 5 model we ordered was 100419, with WLAN, 8GB RAM, 1 CAN FD, and one RS485 port. I'm primarily a python developer with limited PLC experience, so that's my preferred toolchain, but if there are other options it would be helpful to see those as well. Thanks!