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: streamDevice configuration issues with serial ports |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | LONG FENG <feng98716 at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 29 Oct 2024 17:46:59 +0000 |
You should also enable asynTrace on the underlying RS-485 port so you can see all the communications. The fact that you don’t receive any response suggests that you could have a wiring problem in addition
to software problems. Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of LONG FENG via Tech-talk Hi all, I have a sensor that communicates via RS485 with the Modbus RTU protocol. I want to use streamDevice to read the sensor values, but I've found that there is no data transmission between the system and the sensor, and the following
issues have occurred: epics> 2024/10/28 21:00:05.370941 SI Sensor:Data: No reply within 10000 ms to "<01><04><00><00><00><06>p<08><0d><0a>" My protocol(RS485Test.proto) file is written like this: Terminator = CR LF; Record(RS485Test.db): record(ai, "Sensor:Data") IOC st.cmd: #!../../bin/linux-x86_64/dataProcessing
Is there anything wrong with these? |