Hi,
Sorry I did not see your second message before I answered your first one.
The st.cmd looks OK to me. Please send the complete output when the IOC boots.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of liuxiaomin via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, September 22, 2021 1:45 AM
To: tech-talk at aps.anl.gov
Subject: modbus TCP
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 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送
- Replies:
- 回复: modbus TCP liuxiaomin via Tech-talk
- References:
- modbus TCP liuxiaomin via Tech-talk
- Navigate by Date:
- Prev:
Re: modbusTCP Mark Rivers via Tech-talk
- Next:
Re: Quartz crystal microbalance readout SQC-310c device support Yendell, Gary (DLSLtd, RAL, LSCI) 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:
modbus TCP liuxiaomin via Tech-talk
- Next:
回复: modbus TCP liuxiaomin 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
|