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,
Modbus RTU
- Josh.b@ST
- Posts: 18
- Joined: Tue Dec 06, 2011 10:00 am
- jmorgan
- Enovation Controls Development
- Posts: 15
- Joined: Tue May 10, 2011 9:47 am
Re: Modbus RTU
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
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
- Posts: 15
- Joined: Tue May 10, 2011 9:47 am
Re: Modbus RTU
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
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?
Have you got a version that will open in 7 for a 780 please?
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: Modbus RTU
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.
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.
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls