Modbus RTU

Discuss issues and ideas you have to configuring displays with PowerVision
Josh.b@ST
Posts: 18
Joined: Tue Dec 06, 2011 10:00 am

Modbus RTU

Post by Josh.b@ST » Mon Oct 21, 2013 7:29 am

Hello,

I am working with the HVS450, using it as a gateway between a CANbus and a MODbus RTU.

One of the requirements is that the display can transmit some modbus data cyclicly, aswell as when requested.

The display will be working as a MODbus slave.

Thanks,
jmorgan
Enovation Controls Development
Enovation Controls Development
Posts: 15
Joined: Tue May 10, 2011 9:47 am

Re: Modbus RTU

Post by jmorgan » Tue Oct 22, 2013 1:38 pm

Hi Josh,

If I understand correctly, you are trying to receive data from J1939 and transmit the information on modbus RTU. Attached is a small 450 demo that hopefully illustrates these concepts. There are several good resources online for Modbus if you have additional questions regarding the protocol, but for this demo the config is setup as a modbus RTU slave (address=1, baud=115200, parity=odd, 1 stop bit). This will require an external connection to a corresponding modbus RTU master with 5 holding registers (I used mdbus for testing). The demo will also require connecting to a J1939 device that transmits PGN 61444 (I used cancapture to simulate the J1939 data).
The idea behind the demo is that it takes data from a variety of sources and transmits these as a modbus slave. The data comes from;
1. J1939 CAN data (Engine Speed on PGN 61444),
2. Local parameter (TestVar),
3. 3 additional parameters that can be controlled from the Modbus master.

Take the attached 2.6.20023 murphyConfig and generate a full install. Download the full install to your device and connect to J1939 and modbus master. Follow the instructions on the screen to modify the values and verify that the modbus parameters are correctly monitored and controlled.

Regards,
John Morgan
Test Engineer
Enovation Controls
jmorgan
Enovation Controls Development
Enovation Controls Development
Posts: 15
Joined: Tue May 10, 2011 9:47 am

Re: Modbus RTU

Post by jmorgan » Tue Oct 22, 2013 1:40 pm

Here is the murphy config.
Attachments
Canbus to Modbus Demo1.zip
zip file for murphyConfig
(750.11 KiB) Downloaded 35 times
Griffon
Posts: 5
Joined: Fri Sep 13, 2013 9:58 am

Re: Modbus RTU

Post by Griffon » Tue Apr 07, 2015 8:14 am

Hi This config will not open for me on 2.3,6 or 7.
Have you got a version that will open in 7 for a 780 please?
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: Modbus RTU

Post by stalley » Tue Apr 07, 2015 10:42 am

Hello,

The configuration from the other zip has been imported to Powervision Configuration Studio 2.7.10475 and changed to a PV450. It can be changed to a particular hardware by using the link, PV450 (8-Key), in the black ribbon found just below the buttons near the left side.
Canbus to Modbus Demo1 - Imported.zip
(689.6 KiB) Downloaded 25 times
Sara Talley
Software Engineer
Enovation Controls