1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 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 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: asyn trace masks on modbus reconnect |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | John Dobbins <john.dobbins at cornell.edu> |
Cc: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
Date: | Fri, 1 Apr 2022 03:43:31 +0000 |
Hi John,
> Am I correct in assuming that if this was because the IOC lost its connection to the plc, this would be reported as an error in the IOC console [asynTraceMask is not explicitly set
so it is the default value of 1?]
Yes. Starting in Modbus R2-17 (September 2017) each Modbus asyn port driver
prints a single error message when a read operation from the PLC returns an error, and a single message when a read operation succeeds again.
Here is an example from when we were having some network issues recently:
[Tue Dec 21 12:06:01 2021] 2021/12/21 12:06:01.027 drvModbusAsyn::doModbusIO port K1_Yn_In_Bit writeRead status back to normal having had 1 errors, nwrite=6/6, nread=6
Mark
From: John Dobbins <john.dobbins at cornell.edu>
Sent: Thursday, March 31, 2022 7:54 PM To: Mark Rivers <rivers at cars.uchicago.edu>; Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> Subject: Re: asyn trace masks on modbus reconnect
No documentation directory but if I look at modbusInterpose.c I see that it matches commits up to June 28,2019 which would make it 3-0 !
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, March 31, 2022 8:33 PM To: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> Cc: John Dobbins <john.dobbins at cornell.edu> Subject: Re: asyn trace masks on modbus reconnect If ii is older look in release notes in documentation directory.
Sent from my iPhone
On Mar 31, 2022, at 7:24 PM, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote:
|