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
<tech-talk at aps.anl.gov> 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 <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 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
<2022>
2023
2024
- 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
<2022>
2023
2024
|