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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | s7plc with S7-1200 |
From: | "Saleh, Ibrahim via Tech-talk" <[email protected]> |
To: | "[email protected]" <[email protected]> |
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 |