Author Topic: Modbus converter  (Read 7127 times)

Offline sverreo

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +1/-0
Modbus converter
« on: September 29, 2023, 03:29:59 PM »
Has anyone any good ideas for a Modbus to CAN converter that is easy to use and setup?

I need a sensor not available on CAN, so i need to use Modbus and convert to CAN.

Offline ZanInno

  • PLUS+1 Developer
  • ***
  • Posts: 17
  • Karma: +3/-0
Re: Modbus converter
« Reply #1 on: September 30, 2023, 11:46:39 PM »
I have programmed a Danfoss HMI with an RS232 port to be a gateway between CAN and Modbus. It took some effort but it worked in sharing about 1000 values.

Offline sverreo

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +1/-0
Re: Modbus converter
« Reply #2 on: November 16, 2023, 09:50:59 PM »
ZanInno, would you be able to share some more information on this?

I have a DM430 with RS232 - then a RS232/RS485 converter - and a MODBUS sensor at the end.

I'm struggling to fint the right commands/array values to read the registers.

F.ex. the  sensor has address=1 and i want to read the register "3026". What would be the correct string command or array?

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 220
  • Karma: +7/-0
Re: Modbus converter
« Reply #3 on: November 22, 2023, 12:33:21 AM »
Sverreo

Use a RENU modbus to CAN gateway, it is a low cost and simple to use the only thing is that it just works with 29bit CAN messages

I have sued that in several applications with no issue.

Regards