> 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.
I don't understand why you will have a problem registering the port and interfaces for your driver. The fact that your S7 driver is now talking to 2 underlying asynIPPort drivers should not affect registering your driver and interfaces.
Maybe I am missing something?
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Patel Jignesh [[email protected]]
Sent: Wednesday, October 22, 2014 10:19 AM
To: [email protected]
Subject: asyndriver : Multiple drvAsynIPPort
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]<http://www.iter.org/>
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
![JPEG image](jpgGgo0Qf5N6y.jpg)
- References:
- asyndriver : Multiple drvAsynIPPort Patel Jignesh
- Navigate by Date:
- Prev:
Re: Discussion about licenses, copyrights, business, and source code Johnson, Andrew N.
- Next:
Re: order of rules in Makefile Johnson, Andrew N.
- 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
- Navigate by Thread:
- Prev:
asyndriver : Multiple drvAsynIPPort Patel Jignesh
- Next:
Discussion about licenses, copyrights, business, and source code Emmanuel Mayssat
- 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
|