PLC Home | Components | Ports | Classes | Functions | Enumeratives | Global variables

PLC.PID



COMPONENT PID

ICON:


DESCRIPTION:
PID controller

PORTS:
NAME  TYPE  PARAMETERS  DIRECTION  CARDINALITY  DESCRIPTION  
Kp_in PORTS_LIB.analog_signal  (n = 1)  IN   Kp 
MAN_AUTO PORTS_LIB.bool_signal  (n = 1)  IN   Manual Mode = FALSE 
Out PORTS_LIB.analog_signal  (n = 1)  OUT   output 
Outmax PORTS_LIB.analog_signal  (n = 1)  IN   Min Output 
Outmin PORTS_LIB.analog_signal  (n = 1)  IN   Min Output 
PV PORTS_LIB.analog_signal  (n = 1)  IN   Process Value 
PosR PORTS_LIB.analog_signal  (n = 1)  IN   Position Requested when tracking mode activated 
SP PORTS_LIB.analog_signal  (n = 1)  IN   Set Point 
TR_S PORTS_LIB.bool_signal  (n = 1)  IN   Tracking mode set 
Ti_in PORTS_LIB.analog_signal  (n = 1)  IN   Ti (ms) 

DATA:
NAME  TYPE  DEFAULT  RANGE  DESCRIPTION  UNITS  
DEADBAND REAL  0.1  Deadband value for taking into value new PID output  
Kd REAL   Filter for PID  
Out_init REAL   Initial Output  
PMaxRan REAL  1000  Max range of process value  
PMinRan REAL   Min range of process value  
RA BOOLEAN   FALSE   Reverse Action enabled  
Td REAL   Derivative time for PID [ms]  

DECLS:
NAME  TYPE  INITIAL  RANGE  DESCRIPTION  UNITS  
AtOutH REAL    Max range of process value  
AtOutL REAL    Min range of output value  
D_new REAL      
D_old REAL      
Kp REAL    Gain for PID  
OutD REAL    output increment  
OutO REAL    Output Order after limitation  
OutO_old REAL    Previous Output Order after limitation  
Out_old REAL    Previous output  
Outc REAL    output before limitation  
PVScaled REAL    Process Value Scaled  
SPScaled REAL    Setpoint Value Scaled  
TermD REAL    Derivative Action  
TermD_old REAL    Previous Derivative Action  
TermI REAL    Integral Action  
TermP REAL    Proportional Action  
Ti REAL    Integration time for PID [ms]  
dev REAL    deviation : error PV-SP  
dev_old REAL    previous error PV-SP  
dt REAL    Time between 2 sample time in ms  
frac REAL    sampling  
sense REAL    control setting, Reverse action  
start REAL    starting time  
FORMULATION:




NOTE: click [+] for accessing the source code file
(Document generated automatically with EcosimPro Version 5.0.6 Date: 2012:11:12 Time: 19:39:44)