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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Question about the softioc connection refused ?
From: lzfneu <[email protected]>
To: "[email protected]" <[email protected]>
Date: Sat, 19 Mar 2016 12:26:52 +0000
hi,

I have encountered another softioc connection problem:

I have insatlled modbus-R2-8, and want to run test example (file named Koyo1.cmd)  in the iocTest folder.

I edited the Koyo1.cmd file to change the ip address in function with two conditions:

1) drvAsynIPPortConfigure("Koyo1","127.0.0.1:5065",0,0,1)
where 127.0.0.1:5065 is my localhost ip address.

2) drvAsynIPPortConfigure("Koyo1","192.168.1.255:5065",0,0,1)
where 192.168.1.255:5065 is my broadcast ip address that obtained by command ifconfig.

after starting the ioc:
$ modbusApp Koyo1.cmd

the results are both two ip address cannot connect the Koyo1, the error messages are shown below:

1) drvAsynIPPortConfigure("Koyo1","127.0.0.1:5065",0,0,1)
2016/03/19 19:40:19.158 Can't connect to 127.0.0.1:5065: Connection refused Koyo1 -1 autoConnect could not connect

2) drvAsynIPPortConfigure("Koyo1","192.168.1.255:5065",0,0,1)
2016/03/19 20:19:49.083 Can't connect to 192.168.1.255:5065: Network is unreachable Koyo1 -1 autoConnect could not connect

I am new in epics, could you plesase help me and thanks in advance.

Best regards

Zhefu


Replies:
RE: Question about the softioc connection refused ? Mark Rivers

Navigate by Date:
Prev: MOTOR record / Struck SIS1100/SIS3100 / MaxV communication Tonia Batten
Next: RE: Question about the softioc connection refused ? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MOTOR record / Struck SIS1100/SIS3100 / MaxV communication Tonia Batten
Next: RE: Question about the softioc connection refused ? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·