# Modbus timeout problem

**URL:** <https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672>\
**Category:** Ignition\
**Created:** [February 22, 2011, 9:31pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672 "2011-02-22T21:31:49Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [February 22, 2011, 9:31pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/1 "2011-02-22T21:31:49Z")

</div>

Hi

We have one mobile device which is connected Ignition by Edge connection for using Modbus driver.  
Basically it is working really nicely but we have found that when we power down mobile device for few minutes Ignition does not restart communication. When making “fast” \<2 min power loss communication comes back nicely.  
We got error message every 30 second in Console where is increasing read request key number.  
Here is error message:

Read request with key “64” failed due to timeout. // 64 is number which is increasing by two for each errors  
ModbusDriver.salkku.RequestCycle.TimeoutDaemon

If we go gateway configuration and disable/enable device , communication comes back right away.  
Also changing something on modbus device configuration fields and saving changes makes things work.  
This is quite nasty problem because this makes our mobile device datalogging unstable.

I have not seen this problem before never even we have made lot of testing with modbus in Ignition  
We are using Ignition 7.2.3 (b6630)

Br  
Tommi Vahtera  
THT Control Oy

---

<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:** [February 22, 2011, 10:19pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/2 "2011-02-22T22:19:10Z")

</div>

This sounds like a bug that we have already addressed in 7.2.4. If you’d like me to get you a beta version that includes the fix let me know.

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [February 23, 2011, 5:09pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/3 "2011-02-23T17:09:40Z")

</div>

Hi Kevin

I downloaded latest dev version but at least in this version error still occur.  
Now I can see that error number is not increasing but communication does not come back unless I disable/enable device in gateway configuration.

Br  
Tommi Vahtera  
THT Control Oy

---

<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:** [February 23, 2011, 6:38pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/4 "2011-02-23T18:38:01Z")

</div>

Just curious if you grabbed beta2 or beta3 because the potential fix I mentioned was not in beta2. Beta3 is up on the website as of about 15 minutes ago (10:00am PST).

---

<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:** [February 23, 2011, 9:19pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/5 "2011-02-23T21:19:19Z")

</div>

This might require some more intensive troubleshooting. Could you call in and talk to our support guys some time? Maybe set up a GoToMeeting? It would be particularly helpful to do so while the problem is happening.

In the mean time, if you have any logs from a period where this was happening you could send them to [support@inductiveautomation.com](mailto:support@inductiveautomation.com). You can find the log files in “C:\Program Files\Inductive Automation\Ignition”. They are named wrapper.log and wrapper.logN if there are more than one. You should be able to zip them down to a small size.

I cannot reproduce anything like this, even on 7.2.3.

---

<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:** [February 23, 2011, 10:53pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/6 "2011-02-23T22:53:58Z")

</div>

As an update, I was able to get something similar to happen, though it’s only a condition present in 7.2.4-beta1-3. 7.2.4-beta4 will fix it.

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [February 24, 2011, 6:24pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/7 "2011-02-24T18:24:04Z")

</div>

Hi

Just tried latest beta but problem seems to be in this version also.  
I send log files on support mail.

BR  
Tommi Vahtera  
THT Control Oy

---

<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:** [February 24, 2011, 7:33pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/8 "2011-02-24T19:33:31Z")

</div>

I assume you mean 7.2.4-beta4?

Also, I have not received your email yet. Have you sent it?

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [February 24, 2011, 8:04pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/9 "2011-02-24T20:04:03Z")

</div>

Hi

Yes, 7.2.4-beta4.  
You should now have my log files on mail.

Tommi

---

<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:** [February 24, 2011, 8:41pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/10 "2011-02-24T20:41:18Z")

</div>

You are sending it to [support@inductiveautomation.com](mailto:support@inductiveautomation.com)? What is your email address? I still don’t see anything.

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [February 24, 2011, 8:48pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/11 "2011-02-24T20:48:53Z")

</div>

Now send it again, should be there soon.

Tommi

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [March 7, 2011, 8:20am UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/12 "2011-03-07T08:20:51Z")

</div>

Did you get my log files?

Br  
Tommi

---

<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:** [March 7, 2011, 4:22pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/13 "2011-03-07T16:22:23Z")

</div>

Yes, sorry I haven’t responded yet. It’s hard to see what’s going on but we made one small change that should make it into 7.2.4 that may fix the problem.

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [March 9, 2011, 6:27am UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/14 "2011-03-09T06:27:38Z")

</div>

Hi  
I will test it today and report results.

Br  
Tommi

---

<div class="post-metadata">

**Author:** ![vahterto](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vahterto](https://forum.inductiveautomation.com/u/vahterto)\
**Post date:** [March 9, 2011, 12:14pm UTC](https://forum.inductiveautomation.com/t/modbus-timeout-problem/2672/15 "2011-03-09T12:14:10Z")

</div>

Hi

It seems to be working now?  
What changes you made, I thing that problem can still be in PLC side.  
Maybe there is missing exception error when having timeout?

Br  
Tommi
