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  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: Failed connection using e3-s7plc to Siemens S7-1500
From: Mateusz Nabywaniec via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Dominik Domagała <Dominik.Domagala at s2innovation.com>, "dirk.zimoch at psi.ch" <dirk.zimoch at psi.ch>, "timo.korhonen at ess.eu" <timo.korhonen at ess.eu>
Date: Thu, 28 Oct 2021 13:41:52 +0000

Hello,

 

Together with @Dominik  Domagała we are trying to connect with Siemens S7-1500 using e3-s7plc module (https://gitlab.esss.lu.se/e3/wrappers/communication/e3-s7plc) created by ESS.

 

We have EPICS 7.0.5 installed on CentOS 7 VM as well as E3 modules.

Here is our start cmd based on : http://epics.web.psi.ch/software/s7plc/YHLhtcPLCa.pdf

 

‘’’

require s7plc

epicsEnvSet("TOP","$(E3_CMD_TOP)/..")

s7plcConfigure cpu1,192.168.0.1,2000,240,240,1,2000,500

dbLoadRecords ("$(TOP)/db/records.db")

iocInit

‘’’

 

Unfortunetely we have the error:

`s7plcConnect cpu1: background connect to 192.168.0.1:2000 failed: Connection refused.`

 

The firewall on VM and host side are disabled.

 

PLC Program configuration:

 

-Full Access.

-Enabled PUT/GET connections.

-Data blocks ale with full access , not optimized

-TCON in stand by with status BUSY

 

TCON configuration:

-Active Est. ON

-Unspecified partner with IP address (E3 address)

-TCP connection type by port 2000.

 

When we are starting E3 server we are getting information as below

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

We can’t get why E3-s7plc does not work on our machine. Does anybody had similar issue or successfully connected using e3-s7plc with Siemens S7-1513-1?

 

Thanks in advance,

Mateusz Nabywaniec 


S2Innovation, Cracow, Poland



Replies:
Re: [EXTERNAL] Failed connection using e3-s7plc to Siemens S7-1500 Hartman, Steven via Tech-talk
Re: Failed connection using e3-s7plc to Siemens S7-1500 Miklós Boros via Tech-talk

Navigate by Date:
Prev: Re: IOC in Docker not responding to caget from another host Lucas Russo via Tech-talk
Next: Re: [EXTERNAL] Failed connection using e3-s7plc to Siemens S7-1500 Hartman, Steven 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: Re: IOC in Docker not responding to caget from another host Pete Jemian via Tech-talk
Next: Re: [EXTERNAL] Failed connection using e3-s7plc to Siemens S7-1500 Hartman, Steven 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 
ANJ, 28 Oct 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·