[foxboro] PID Tuning
- From: "Sieling, Marcel" <Marcel.Sieling@xxxxxxxxxxxx>
- To: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx>
- Date: Wed, 28 May 2003 11:40:18 -0400
Hi,
> Your task is to do this recursively for all your CPs.
Maybe this is helpful:
#!/bin/sh
AP=3D`uname -n`
CPS=3D`cat /etc/cplns`
grep $AP /usr/fox/sp/sldb |
while read STATION HOST SYSHOST SYSNAME
do
for CP in $CPS
do
if [ "$CP" =3D "$STATION" ]
then
...do whatever needs to be done for CP $CP...
fi
done
done
# end of script
You simply copy this script to all CP hosts in your system and start it
without any modification on each host. The script only checks for those =
CPs,
MGs, and GWs hosted by the local machine. This also minimizes LAN =
interface
loading (important on big systems).
Duc is definetely right:
> Warning: Know what you're doing before running the ICC Driver Task.
Especially take care for error handling in case the ICC driver reports
problems (scan output if driver task for "FAIL" messages) at least you
should write it in a log file and regularly check it. Keep in mind that =
ICC
driver calls are ICC sessions like opening the normal ICC. Ensure that
nobody has opened an ICC session at the time this script runs, or it =
will
fail because the database of that CP is locked.
Good luck! ;-)
Best regards -
Marcel Sieling
Systems Technologies
Invensys Systems GmbH
Heerdter Lohweg 53 - 55
40549 Duesseldorf
Germany
Tel.: +49 (0)30-267-15542
Tel.: +49 (0)211 5966-171
Fax: +49-(0)172-50-2673077
Mobile: +49-(0)172-2673077
Email: <mailto:msieling@xxxxxxxxxxx>=20
Homepage: <http://www.invensys-process-systems.de>=20
Visit my private (german) homepage: <http://www.powerslider.de>=20
Wir m=F6chten auf unsere Veranstaltung hinweisen:=20
Invensys Anwender Symposium 16. und 17. Juni in Bonn
<http://www.foxboro-deutschland.de/as2003_bonn/index.htm>
> -----Urspr=FCngliche Nachricht-----
> Von: duc.do@xxxxxxxxxxxxxx [mailto:duc.do@xxxxxxxxxxxxxx]
> Gesendet: Mittwoch, 28. Mai 2003 14:24
> An: foxboro@xxxxxxxxxxxxx
> Betreff: Re: [foxboro] PID Tuning
>=20
>=20
> You could do something like this ICCAPI script:
>=20
> 16AW01-dmdo> more 16CP11tuning.icc
> OPEN 16CP11 READ byDuc
> GET *:* SUBSET PID*
> NAME
> DESCRP
> PBAND
> INT
> DERIV
> KD
> END
> CLOSE
> EXIT
>=20
> to run this iccdrvr.tsk command list on an AW-51:
>=20
> cd /opt/fox/ciocfg/api
> ./iccdrvr.tsk -i /home/dmdo/16CP11tuning.icc -d=20
> /var/tmp/16CP11tuning
>=20
> Your task is to do this recursively for all your CPs.
>=20
> Warning: Know what you're doing before running the ICC Driver Task.
>=20
> Duc
>=20
> --=20
> Duc M. Do
> Dow Corning Corp.
> Carrollton Plant
> Carrollton, KY, US
>=20
>=20
> -----Original Message-----
> From: Ghodhbani, Hafedh [mailto:hafedh.ghodhbani@xxxxxxxxxxxx]
> Sent: Wednesday, May 28, 2003 7:26 AM
> To: 'foxboro@xxxxxxxxxxxxx'
> Subject: [foxboro] PID Tuning
>=20
> Hi list,
> Is there a script that records in a file all the=20
> PID/PIDA/PIDX blocks in all
> CPs the
> tuning parameters Pband, int, deriv and kd. I need to run=20
> this script once a
> week to see
> changes on them. You understand that manually it takes a lot of time.
> Please advise
> Thanks
> Hafedh Ghodhbani
> C&I engineer
> BG group, Tunisia
> +216 74 259 250
> =20
> =20
> ______________________________________________________________
> _________
> This mailing list is neither sponsored nor endorsed by=20
> Invensys Process
> Systems (formerly The Foxboro Company). Use the info you=20
> obtain here at
> your own risks. Read=20
http://www.thecassandraproject.org/disclaimer.html
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
Other related posts: