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 2025 | 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 2025 |
<== 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 |