EPICS Home

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  2016  2017  2018  2019  2020  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Failed connection using e3-s7plc to Siemens S7-1500
From: "Hartman, Steven via Tech-talk" <tech-talk at aps.anl.gov>
To: Mateusz Nabywaniec <mateusz.nabywaniec at s2innovation.com>
Cc: Dominik Domagała <Dominik.Domagala at s2innovation.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 28 Oct 2021 15:29:51 +0000


On Oct 28, 2021, at 9:41 AM, Mateusz Nabywaniec via Tech-talk <tech-talk at aps.anl.gov> wrote:

10/28/21 08:44:00.763 s7plcConnect cpu1: background connect to 192.168.0.1:2000 failed: Connection refused


The error message “Connection refused” tells you that it was unable to establish a network connection to the TCP socket specified. That error is typically the result of attempting to connect to a port that does not have a server listening, but could also be the result of a firewall blocking the connection.

Verify that the PLC is indeed using IP address 192.168.0.1 and that port 2000 is correct from the documentation. From the host running the IOC, try ’telnet 192.168.0.1 2000’. If that is also showing “Connection refused” then the IOC won’t do any better. 

-- 
Steven Hartman
hartmansm at ornl.gov




References:
Failed connection using e3-s7plc to Siemens S7-1500 Mateusz Nabywaniec via Tech-talk

Navigate by Date:
Prev: Failed connection using e3-s7plc to Siemens S7-1500 Mateusz Nabywaniec via Tech-talk
Next: Re: Failed connection using e3-s7plc to Siemens S7-1500 Miklós Boros 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Failed connection using e3-s7plc to Siemens S7-1500 Mateusz Nabywaniec via Tech-talk
Next: Re: Failed connection using e3-s7plc to Siemens S7-1500 Miklós Boros 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  <20212022  2023  2024