# Bad Quality on Modbus RTU over Serial link

**URL:** <https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989>\
**Category:** Ignition\
**Created:** [July 10, 2024, 1:12am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989 "2024-07-10T01:12:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nov\_Khan](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nov\_Khan](https://forum.inductiveautomation.com/u/Nov_Khan)\
**Post date:** [July 10, 2024, 1:12am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/1 "2024-07-10T01:12:04Z")

</div>

Hi ignition

I have been doing a trial on your Software. But I just couldn’t get a simple modbus rtu connection going.  
If you can explain how it works, I believe I can convince my company to invest in your softwares.

Step1: Base on your instruction, I have set OPC Item Path to “[Modbus]1.HR1  
The Value doesn’t appears. Result :  
Value = “BAD”  
Quality = BAD

 ![1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/c/4ceafe7be59a3f873af5cc740d8dbae72174d286.png)

![2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/b/7bdef6515749d200873885550818c9593255f458.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 10, 2024, 1:29am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/2 "2024-07-10T01:29:37Z")

</div>

Well just to get it out of the way: if you're evaluating for commercial use then you should be using the standard version of Ignition. You can reset the 2 hour trial as many times as you want.

Have you looked for errors in the Ignition logs? Are you sure the serial settings are correct? That there's data at this address? A device at the other end of the serial line turned on and configured to respond?

---

<div class="post-metadata">

**Author:** ![Nov\_Khan](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nov\_Khan](https://forum.inductiveautomation.com/u/Nov_Khan)\
**Post date:** [July 10, 2024, 9:52am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/3 "2024-07-10T09:52:02Z")

</div>

Hi Kevin

Below are the Ignition Logs

 ![4](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/7/57a8fcf222ed11861aa9ac54af6dd2c92de9e892.png)  
 ![3](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/df23d570c66f1b15caaf9c63e283c38f3a945ab1.png)

---

<div class="post-metadata">

**Author:** ![Nov\_Khan](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nov\_Khan](https://forum.inductiveautomation.com/u/Nov_Khan)\
**Post date:** [July 10, 2024, 9:52am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/4 "2024-07-10T09:52:57Z")

</div>

Below are the serial settings

 ![5](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/9/69b2ee62df35a3b452415faf85ac1c97bc0f6db8.png)

 ![6](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/3/3329b051434f9998ca9c4efc1e74f0ca217c25da.png)

---

<div class="post-metadata">

**Author:** ![Nov\_Khan](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nov\_Khan](https://forum.inductiveautomation.com/u/Nov_Khan)\
**Post date:** [July 10, 2024, 9:54am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/5 "2024-07-10T09:54:18Z")

</div>

And i have confirmed using Modscan that there's data at this address.  
And the device at the other end of the serial line turned on and Modscan is able to retrieve data from it presently.

 ![7](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3b1e8d4f4af62ae432296a99ff1be04c424563a9.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 10, 2024, 12:14pm UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/6 "2024-07-10T12:14:17Z")

</div>

Are you sure parity is "None" ? That is not normal for Modbus RTU.

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://forum.inductiveautomation.com/u/peter)\
**Post date:** [July 10, 2024, 1:13pm UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/7 "2024-07-10T13:13:25Z")

</div>

In order to educate myself, I did some googling and found [this](https://www.modbus.org/docs/Modbus_over_serial_line_V1_02.pdf) document from Modbus that says (For both RTU and ASCII modes):

> **Even parity is required** , other modes ( odd parity, no parity ) may also be used. In order to ensure a maximum compatibility with other products, it is recommended to support also No parity mode. The default parity mode must be even parity.
> 
> Remark : the use of no parity requires 2 stop bits.

So No Parity is acceptable (depending on what you are talking to), but the number of stop bits shown above doesn't match the Modbus requirements.

Personally I'd throw some sort of serial capture device on the test rig and see what Modscan is actually sending down the wire.

---

<div class="post-metadata">

**Author:** ![Nov\_Khan](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nov\_Khan](https://forum.inductiveautomation.com/u/Nov_Khan)\
**Post date:** [July 11, 2024, 2:51am UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/8 "2024-07-11T02:51:58Z")

</div>

Hi Pturmel

I have tried a couple of settings from Parity: Even/Mark/None/Odd/Space  
the result is still the same.  
Quality : Bad

 ![8](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/c/7c7d81a5a892ad3130666d049f0eb7daf64d8aa5.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 11, 2024, 12:17pm UTC](https://forum.inductiveautomation.com/t/bad-quality-on-modbus-rtu-over-serial-link/92989/9 "2024-07-11T12:17:11Z")

</div>

I think you need a serial port sniffer to see what traffic you are getting, both for Modscan, and for Ignition, so you can compare.
