Hello
I have a hard time getting started with Modbus on a HVS 450.
1. In the "Connection" section, I configured Serial Port 1 for my application(Modbus RTU Master, 9600bps, No parity, 1 Stop bit)
2. Under Serial Port 1, I created a Modbus device by clicking "Add Modbus Device". The device is named Remote Slave Device
3. In the Modbus Device, I created a mapping group (named ConsumptionQ) and I created a variable referring to Modbus address 40000 and I am reading a 32 bit long holding register.
4. I reused the "Blink Light" example an inserted Modbus->RefreshMapping Group(Remote Slave Device.ConsumptionQ) in one of the blinking states of the state machine
5. When the program is uploaded I start the blinking but no data is sent from the RS-485 pins on Port D
I do not understand what is missing at this point.
Thanks
Charles
Modbus on HVS 450
- cmassicot
- Posts: 5
- Joined: Mon May 12, 2014 10:20 am
Modbus on HVS 450
- Attachments
-
- State Machine.jpg (255.01 KiB) Viewed 137 times
-
- Modbus.jpg (228.95 KiB) Viewed 137 times
- cmassicot
- Posts: 5
- Joined: Mon May 12, 2014 10:20 am
Re: Modbus on HVS 450
OK I found the problem, the Modbus Address was not entered correctly, it works now.
Thanks
Charles
Thanks
Charles
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: Modbus on HVS 450
Hi Charles,
Thank you for letting us know that you found the problem.
Thank you for letting us know that you found the problem.
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls
- gcsupport
- Posts: 21
- Joined: Mon Oct 07, 2013 8:15 pm
Re: Modbus on HVS 450
Hi Charles,
If you have sample config file which uses MODBUS and serial port configuration , please provide the sample here.
If you have sample config file which uses MODBUS and serial port configuration , please provide the sample here.