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: | Cannot communicate with S7-400 |
From: | "Antal, Szabolcs" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Tue, 12 Sep 2017 05:51:07 +0000 |
Dear Folks, I’m trying to set up an Ethernet send/recv communcation between a S7 417-4 CPU with CP443-1 communication interface and a simple EPICS IOC. To create the S7 project I followed the instructions from this page http://epics.web.psi.ch/software/s7plc/ and also I use the device driver provided here. My S7 project compiles and can be downloaded to the PLC and runs without any problem. From the IOC side I did build the s7plc device driver and also configured it in the st.cmd script together with the substitution and template files. After starting the IOC with softIoc st.cmd command, it’s being successfully initialized and is running, but then the communication timeout elapses and I get the following error messages: s7plcWaitForInput PLC1: select(5, 2.000000 sec) timed out s7plcReceiveThread PLC1: read error after 0 of 4 bytes: Connection timed out I’m sending a single float and also expecting another single float variable to recieve that’s why I set a length of 4 bytes. Also when I ping the PLC from the EPICS VM’s terminal I got responses without any loss so the communication should be fine between the systems. I guess I’m missing some settings or maybe I’m completely doing it wrong as I’m kinda new to EPICS so any help would be appreciated! I can also send the S7 project and the EPICS IOC files for further troubleshooting if required! Thank you all! Yours truly, ____________________ Szabolcs Antal Software Developer evopro systems engineering Kft. member of the evopro group HU-4031, Debrecen, Köntösgátsor 1-3. Daniella Ipari Park Mobile: +36 30 310 0367 Ez az e-mail (ideértve annak bármely mellékletét) bizalmas információkat tartalmaz és jogi védelem alatt áll. Az üzenet kizárólag
a címzett(ek)nek szól. Amennyiben Ön nem a küldemény címzettje, úgy a téves kézbesítést kérjük haladéktalanul jelezze e-mailben a feladónak és a teljes küldeményt helyreállíthatatlanul törölje. Amennyiben Ön nem az üzenet címzettje, kérjük ne készítsen másolatot
az üzenetről, ne továbbítsa, ne tárja fel és ne tegye hozzáférhetővé azt más személy(ek) számára, továbbá semmilyen célra ne használja fel a bizalmas információt: ezen magatartások bármelyike a levéltitok megsértésének minősül. Information in this e-mail (including any attachment hereto) is confidential and may be legally privileged. It is intended solely
for the attention of the addressee(s). If you received this message in error, please immediately notify the sender by return e-mail and irrecoverably delete the whole message. If you received this e-mail in error, please do not copy it, do not forward, disclose
or make it available to other person(s), and do not use the confidential information for any purpose: any such action is regarded as a breach of confidence. |