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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | modbus TCP |
From: | liuxiaomin via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 22 Sep 2021 14:45:49 +0800 |
Hi, I am trying to use modbus on debian system to control device, The st.cmd files is as follows: drvAsynIPPortConfigure("CAT1","192.168.1.163:502",0,0,1) modbusInterposeConfig("CAT1",0,2000,0) drvModbusAsynConfigure("CAT_AI1R","CAT1",0,3,0008,2,0,100, "CAT") The db files is as follows: record(ai, "$(DEVNAME):IN1") { field(DTYP,"asynInt32") field(INP,"@asynMask(CAT_AI1R 0 16)INT16") field(PREC,"1") field(SCAN,"I/O Intr") }
When I execute the st.cmd file,it shows the following error: drvStreamInit: Warning! STREAM_PROTOCOL_PATH not set. Defaults to "." TEST:CAT1:IN1 devAsynInt32::initCommon connectDevice failed asynManager:connectDevice port CAT_AI1R not found How can I solve this problem? Thanks, Xiaomin 从 Windows 版邮件发送 |