Re: [foxboro] PID MODE in "PI": URGENT INFORMATION!

Hi,
This is my first post, so I'm kind of practicing...
How about that:
BI01 = MA bit
BI02 = LR bit
IN BI01
IN BI02
IN 2
MUL
ADD
OUT IO01
That would be: 0=ML, 1=AL, 2=MR, 3=AR



Pedro, off the top of my head I see two ways to do this; one in the I/A use
a calc block and some logic to output a 1 through 4 for the states, then use
PI to pickup the output.
Or use a PI performance equation to perform the logic on the points.
The Foxboro Logic could look like:
BI01 = MA bit
BI02 = LR bit
1       AND ~BI01 ~BI02  (M/L)
2       BIT 20
3       AND ~BI01 BI02   (M/R)
4       BIT 25
5       AND BI01 ~BI02   (A/L)
6       BIT 30
7       AND BI01 BI02    (A/R)
.
.
.
20      in m01   ( where M01 is your desired numerical value for M/L state)
21      out IO01
22      exit
23
24
25      in m02   ( where M02 is your desired Numerical value for M/R state)
26      out IO01
27      exit
28
29
30      in M03 ( where M03 is your desired numerical value for the A/L
state)
31      out IO01 
32      exit
33
34
35      in m04 ( where M04 is your desired numerical value for the A/R
state)
36      out IO01
37      exit

.
then just setup the IO01 parameter in the PI system as an Integer.  Or you
could perform the above logic within a performance equation in the PI system
itself.  
Good luck
Sean Meltvedt
Process Control Systems Engineer
Williams Alaska Petroleum Inc.


-----Original Message-----
From: pharizna@xxxxxxxxxxxxx [<mailto:pharizna@xxxxxxxxxxxxx>]
Sent: Tuesday, December 04, 2001 9:32 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] PID MODE in "PI": URGENT INFORMATION!




Hi:

I need configurate a "PI" TAG with the PID Controller Mode but I don't know
how to....

I'm looking for a number (numeric data) and not one (or two) "boolean" data
and I'd like to diferenciate between the states:

M/L
M/R
A/L
A/R

How can I have this info ?

Thanks

Pedro Hernandez
pharizna@xxxxxxxxxxxxx
REPSOL-YPF Quimica
13500 Puertollano (C.Real)
SPAIN

 
 
_______________________________________________________________________
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: