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  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: About checksum error
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, 李姣赛 <ljs at impcas.ac.cn>
Date: Fri, 25 Mar 2022 13:57:47 +0000
Do you mean that you are using the EPICS modbus module?  If so, it is not possible to ignore the checksum, if it is wrong it will always generate an error.  If the checksum is wrong then there is probably something wrong with your communications line or the device firmware and you should try to fix it.

I believe that with StreamDevice you can just skip the checksum and it will not be an error.

Mark


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of 李姣赛 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, March 24, 2022 2:31 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: About checksum error
 

Hi all,


I found it would be parse the response first no matter the checksum is right or error, no matter StreamDevice or modbus. Is there a good way to ignore the response or parse the record value as 0 when there happens checksum error?


Thanks in advance,

Jiaosai Li


Replies:
Re: About checksum error Maren Purves via Tech-talk
References:
About checksum error 李姣赛 via Tech-talk

Navigate by Date:
Prev: How to integrate libcas fdManager with application's native main loop? Dmitry Yu. Bolkhovityanov via Tech-talk
Next: ADViewer, EPICS_NTNDA_Viewer.java compilation Tomasz Brys via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: About checksum error 李姣赛 via Tech-talk
Next: Re: About checksum error Maren Purves via Tech-talk
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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·