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  <20142015  2016  2017  2018  2019  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 
<== Date ==> <== Thread ==>

Subject: asyndriver : Multiple drvAsynIPPort
From: Patel Jignesh <Jignesh.Patel@iter.org>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
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 
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 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·