EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Modbus
From: Zenon Szalata <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 6 Aug 2013 10:29:59 -0700
Thank you for your suggestion.  I will pursue this.
Zen

On 08/06/13 10:06, Andrew Johnson wrote:
Hi Zen,

On 08/06/2013 11:47 AM, Zenon Szalata wrote:
I ran the same IOC on two different computers which have access to the
same "public restricted" sub-net where the Beckhoff is connected.  In
both cases the computers are more powerful and IO fails sometimes very
often at other time not so often.  "public restricted" is a sub-net
configured such that it is only accessible from two public sub-nets here
at SLAC.  Other than that, it is supposed to be a normal sub-net.

When the IOC fails to do IO, it is the read in the write-read that
fails.  As best as I can tell, the read fails immediately after the
write completes.  This is based on observing the print statements in
both the write and read routines, which makes rather subjective.

The error printed is:

2013/08/05 08:55:14.982 modbusAsyn::doModbusIO port BKH15 error
calling writeRead, error=sioc-esb-bkh15:502 timeout: Resource
temporarily unavailable, nwrite=6/6, nread=0


Is it some kind of networking issue?
That error message does suggest so.  I would suspect that when the
Beckhoff is on your "public restricted" subnet it may be getting swamped
by broadcast packets from other devices on that network, all of which
have to be examined and thrown away by the network stack.  If the device
doesn't have very much CPU power this could easily explain the problem;
ask your network guys for the statistics on the volume of traffic being
fed to it.  Do you have any other similar "public restricted" subnets
you could move it into to see whether the same effect occurs there?

- Andrew


References:
Modbus Zenon Szalata
RE: Modbus Mark Rivers
Re: Modbus Zenon Szalata
RE: Modbus Mark Rivers
Re: Modbus Zenon Szalata
RE: Modbus Mark Rivers
Re: Modbus Zenon Szalata
Re: Modbus Andrew Johnson

Navigate by Date:
Prev: Wireshark CA plugin Eric Williams
Next: Re: Wireshark CA plugin Miha Vitorovic
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Modbus Andrew Johnson
Next: Re: Modbus Zenon Szalata
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·