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 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
<== Date ==> <== Thread ==>

Subject: s7plc with S7-1200
From: "Saleh, Ibrahim via Tech-talk" <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 8 Jan 2020 23:19:54 +0000

Hello,

 

Does anyone use s7plc EPICS support with SIEMENS S7-1200 CPU? I am using CP 1243-1 to establish communication through TCP connection using TSEND_C and TRCV_C instructions.

When I run the IOC I got the following messages:

 

## Register all support components

dbLoadDatabase "dbd/s7-1200.dbd"

s7_1200_registerRecordDeviceDriver pdbbase

#var s7plcDebug 0

s7plcConfigure("s7-1200","192.168.0.2",2000,240,240,1,5000,50)

## Load record instances

dbLoadRecords("db/dio.db")

iocInit

Starting iocInit

############################################################################

## EPICS R3.14.12.8

## EPICS Base built Dec  4 2019

############################################################################

01/03/20 11:24:56.417 s7plcConnect s7-1200: connected to 192.168.0.2:2000

01/03/20 11:25:01.423 s7plcWaitForInput s7-1200: timeout after 5 seconds.

01/03/20 11:25:01.423 s7plcReceiveThread s7-1200: waiting for input failed: Connection timed out

01/03/20 11:25:01.423 s7plcCloseConnection s7-1200

 

It is shown that IOC is connected but I am not sure if the PLC code configuration in the TIA Portal is correct or not.

Any ideas?

 

Thanks.

Ibrahim

 


Navigate by Date:
Prev: Re: EPICS release series after 7.0: 7.1 or 8.0? J. Lewis Muir via Tech-talk
Next: Can't import PyEpics on CentOS 7 Chiang, Liang-Chih [江良志] 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
Navigate by Thread:
Prev: Re: "st.cmd" internal code question Mark Rivers via Tech-talk
Next: Can't import PyEpics on CentOS 7 Chiang, Liang-Chih [江良志] 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
ANJ, 08 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·