Class CompPID_Fo
Version 1.0
Modified 18-MAY-2006 14:49:24.32
Code rt_plc_bcomp.c
 Plc function object to CompPID.


 Connect the function object to an object of class or subclass of
 CompPID.

See also



RtBody attributes pwr_sClass_CompPID_Fo
Float32 ProcVal PV Specifies the process value.
Float32 SetVal SV Specifies the set point value. This input is in general
connected to the corresponding output of a Mode object.
Float32 Bias BIS Specifies the feed forward value. The value may be
changed in the more info form of the Pid object.
Float32 ForcVal FOV Specifies which value is to be used when Force is TRUE.
When Force is TRUE OutVal is equal to ForcVal. This
input is in general connected to the corresponding
output of a Mode object.
Boolean Force for Specifies whether forced or MANUAL control is selected
or not. FALSE means none; TRUE means that either forced
or MANUAL control has been selected. This input is in
general connected to the corresponding output of a Mode
object.
Boolean IntOff iof Specifies whether to enable or disable the integration.
FALSE means that the integration is on; TRUE switches
the integration off.

The value may be changed in the more info form of the
Pid object.
Pointer to Float32 ScanTime   Pointer to program cycle.
AttrRef PlcConnect   The main object connected to this object.
Pointer to Char PlcConnectP   Contains a pointer to the connected main object.
Float32 OutVal OUT The controller's control signal. The value is based
either on the algorithm's current result, a value set
by the operator in MANUAL mode, or a forced value.
Float32 OutChange OC Changes in the control signal between two consecutive
scans; i.e. OutVal(t) - OutVal(t-1).
Float32 ControlDiff DIF Control error (= ProcVal - SetVal).
Boolean EndMax max Specifies if OutVal at this scanning has been limited
against any of the limit values in the interval {
MinOut, MaxOut } or not. If a limitation is done
against

-- MinOut, then EndMin is set TRUE
-- MaxOut, then EndMax is set TRUE
else they are FALSE.

EndMin /EndMax can only be set in AUTO or CASCADE
control mode, i.e. not in MANUAL mode for example. See
also EndHys below.
Boolean EndMin min

DevBody attributes 
pwrs:Class-$PlcNode PlcNode  


GraphPlcNode
object_type 11
parameters[0] 6
parameters[1] 3
parameters[2] 5
parameters[3] 0
graphmethod 0 (standard, individual attributes)
graphindex 0
default_mask[0] 27
default_mask[1] 1
segname_annotation 1
compmethod 35
compindex 0
tracemethod 0
traceindex 0
connectmethod 10
executeordermethod 2
objname CompPID_Fo
graphname CompPID_Fo


Template Object


Attributes detail


ProcVal Input
Class Input
Type Float32
Flags State|Noedit
GraphName PV
Body RtBody
 Specifies the process value.

SetVal Input
Class Input
Type Float32
Flags State|Noedit
GraphName SV
Body RtBody
 Specifies the set point value. This input is in general
 connected to the corresponding output of a Mode object.

Bias Input
Class Input
Type Float32
Flags State|Noedit
GraphName BIS
Body RtBody
 Specifies the feed forward value. The value may be
 changed in the more info form of the Pid object.

ForcVal Input
Class Input
Type Float32
Flags State|Noedit
GraphName FOV
Body RtBody
 Specifies which value is to be used when Force is TRUE.
 When Force is TRUE OutVal is equal to ForcVal. This
 input is in general connected to the corresponding
 output of a Mode object.

Force Input
Class Input
Type Boolean
Flags State|Noedit|Noinvert
GraphName for
Body RtBody
 Specifies whether forced or MANUAL control is selected
 or not. FALSE means none; TRUE means that either forced
 or MANUAL control has been selected. This input is in
 general connected to the corresponding output of a Mode
 object.

IntOff Input
Class Input
Type Boolean
Flags State|Noedit|Noinvert
GraphName iof
Body RtBody
 Specifies whether to enable or disable the integration.
 FALSE means that the integration is on; TRUE switches
 the integration off.

 The value may be changed in the more info form of the
 Pid object.

ScanTime Intern
Class Intern
Type Pointer to Float32
Flags Pointer|Invisible|Private
Body RtBody
 Pointer to program cycle.

PlcConnect Intern
Class Intern
Type AttrRef
Flags
Body RtBody
 The main object of class CompPID (or a subclass of this class).
 This attribute is set when the object is connected to the main object
 with the connect function in the plc editor.

PlcConnectP Intern
Class Intern
Type Pointer to Char
Flags Pointer|Invisible|Private
Body RtBody
 Contains a pointer to the connected main object.

OutVal Output
Class Output
Type Float32
Flags ReduTransfer|State|Noedit
GraphName OUT
Body RtBody
 The controller's control signal. The value is based
 either on the algorithm's current result, a value set
 by the operator in MANUAL mode, or a forced value.

OutChange Output
Class Output
Type Float32
Flags ReduTransfer|State|Noedit
GraphName OC
Body RtBody
 Changes in the control signal between two consecutive
 scans; i.e. OutVal(t)  - OutVal(t-1).

ControlDiff Output
Class Output
Type Float32
Flags ReduTransfer|State|Noedit
GraphName DIF
Body RtBody
 Control error (= ProcVal - SetVal).

EndMax Output
Class Output
Type Boolean
Flags ReduTransfer|State|Noedit
GraphName max
Body RtBody
 Specifies if OutVal at this scanning has been limited
 against any of the limit values in the interval {
 MinOut, MaxOut } or not. If a limitation is done
 against

 --  MinOut, then EndMin is set TRUE
 --  MaxOut, then EndMax is set TRUE
 else they are FALSE.

 EndMin /EndMax can only be set in AUTO or CASCADE
 control mode, i.e. not in MANUAL mode for example. See
 also EndHys below.

EndMin Output
Class Output
Type Boolean
Flags ReduTransfer|State|Noedit
GraphName min
Body RtBody

PlcNode Buffer
Class Buffer
Type pwrs:Class-$PlcNode
Flags Invisible
Body DevBody