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  2025  2026  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  2025  2026 
<== Date ==> <== Thread ==>

Subject: Re: About checksum error
From: Maren Purves via Tech-talk <[email protected]>
To: Mark Rivers <[email protected]>
Cc: 李姣赛 <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 25 Mar 2022 12:31:55 -1000
That's not what I understand to be the intention, but setting the
value to 0 if the checksum is invalid, which should be relatively
simple if the modbus module separates the value from the checksum by
just setting the value to 0 depending on the value (or validity) of
the checksum in a calc record, or would that not work?

Maren Purves,
East Asian Observatory/JCMT

On Fri, Mar 25, 2022 at 3:58 AM Mark Rivers via Tech-talk
<[email protected]> wrote:
>
> 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 <[email protected]> on behalf of 李姣赛 via Tech-talk <[email protected]>
> Sent: Thursday, March 24, 2022 2:31 AM
> To: [email protected] <[email protected]>
> 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 Ralph Lange via Tech-talk
References:
About checksum error 李姣赛 via Tech-talk
Re: About checksum error Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] phoebus 4.6.6 in windows can't start editor Kasemir, Kay via Tech-talk
Next: RE: cross-compiling Base 7.0.6 for win32 Freddie Akeroyd - STFC UKRI 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  2025  2026 
Navigate by Thread:
Prev: Re: About checksum error Mark Rivers via Tech-talk
Next: Re: About checksum error Ralph Lange 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  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·