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

Subject: asyndriver : Multiple drvAsynIPPort
From: Patel Jignesh <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 22 Oct 2014 15:19:38 +0000

Hi,

 

For asyn based Siemens PLC driver development, currently I am using IP Port driver with below configuration and primary development is working good with block data transfer.

 

drvAsynIPPortConfigure("PLC_SAMPLE_CPU_2000", "10.130.1.109:2000", 0, 0, 1)

drvS7synConfigure("P0_cfg", "PLC_SAMPLE_CPU_2000", 128, 66, 50, "PLCSample 0")

 

Now to handle the redundant PLC configuration, I have to connect to two PLCs, and I will process/pass the data from any one plc out of two, so I am thinking like, to open two connection using IPPort driver and use them both in my driver like below,

 

drvAsynIPPortConfigure("PLC_SAMPLE_CPU0_2000", "10.130.1.109:2000", 0, 0, 1)

drvAsynIPPortConfigure("PLC_SAMPLE_CPU1_2000", "10.130.1.110:2000", 0, 0, 1)

 

drvS7synConfigure("P0_cfg","PLC_SAMPLE_CPU0_2000", "PLC_SAMPLE_CPU1_2000", 128, 66, 50, "PLCSample 0")

 

In this case  I will have problem with registering the port and interfaces for my driver. So will above method will work ? or please suggest the good way to tackle this problem.

 

Thanks and best regards,

Jignesh

 

iterlogo 
Jignesh PATEL
Control Systems Integration Technician
CODAC Section

 
ITER Organization, Building 72/286, CHD, Control System Division
Route de Vinon-sur-Verdon - CS 90 046 - 13067 St Paul Lez Durance Cedex – France
Phone: +33 4 42 17 84 72
Get the latest ITER news on http://www.iter.org/whatsnew


Replies:
RE: asyndriver : Multiple drvAsynIPPort Mark Rivers

Navigate by Date:
Prev: RE: Interface Labview and EPICS kathryn.baker
Next: Re: AsynPortDriver setting DRVH of ao? Scott Baily
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: compile on Windows XP with MinGW Jani Hakala
Next: RE: asyndriver : Multiple drvAsynIPPort Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024