Post on 17-Jan-2016
Unicos Object Library Programming Templates
IOError / IOSimu for I/O object
IOError --> Hardware Electrical failure (i.e. 4-20 mA open IOError --> Hardware Electrical failure (i.e. 4-20 mA open loop). Detected within the premium firmware of the I/O loop). Detected within the premium firmware of the I/O cards.cards.
IOSimu --> Hardware channel of the I/O object forced with IOSimu --> Hardware channel of the I/O object forced with PL7 programming tool.PL7 programming tool.
I/O ObjectFirmware
Hardware Failure IOError IOErrorW
Hardware value forced by programmer with PL7
IOSimu IOSimuW
Status sent to higher level & supervision
Example: Hardware channel --> %IW101.0 Hardware channel IO Error --> %I101.0.ERR Hardware channel IO Simulated --> %MW101.0.2:X13
Unicos Object Library Programming Templates
IO Error / IO Simulated for OnOff, Analog & Local Object (Field Object)
IOError --> IO Error Warning (IOErrorW) from a dependent objectIOError --> IO Error Warning (IOErrorW) from a dependent object IOSimu --> IO Simulated Warning (IOSimuW) or Forced Mode (FoMoSt) from a IOSimu --> IO Simulated Warning (IOSimuW) or Forced Mode (FoMoSt) from a
dependent object.dependent object.
I/O Objects
IOErrorW
IOSimuW
Field Object
IOError IOErrorW
IOSimu IOSimuW
Status sent to higher level & supervisionIOErrorW
IOSimuW
OR
OR
Dependent Objects
FoMoSt
FoMoSt
Unicos Object Library Programming Templates
Local Object Connectivity
The Local Object is used to represent the position of a The Local Object is used to represent the position of a hardware device that can only be manipulated locally (i.e. hardware device that can only be manipulated locally (i.e. hand valves).hand valves).
The Local Object is generally connected with one or two The Local Object is generally connected with one or two Digital Input Objects.Digital Input Objects.
Digital Input Objects
Local Object
HFOn
OnStHFOff
OffSt
Status sent to higher level & supervision
HV110
PHFOn
PHFOffTrue
True
PosSt
PosStGH110
GL110
HFPos
HFPos
Effective position from hardware
Unicos Object Library Programming Templates
Local Object Instanciation
Unicos Object Library Programming Templates
OnOff Object Connectivity
The OnOff Object is used to represent a hardware device The OnOff Object is used to represent a hardware device having two positions On/Off (i.e. Pressure Valve, Pump).having two positions On/Off (i.e. Pressure Valve, Pump).
The OnOff Object is connected with one Digital Output The OnOff Object is connected with one Digital Output Object and one or two Digital Input Objects.Object and one or two Digital Input Objects.
DI Objects
PosSt
OnOff Object
HFOn
OnSt
HFOff
OffSt
Status sent to higher level & supervisionPosSt
PV100
GH100
GL100
POnOff (structure)
Declaration of the hardware feedback
DO Object
PV100DO OutOV
ARequest
OutOV Digital Output Order to hardware device
HFPos
HFPos
Effective position from hardware
Unicos Object Library Programming Templates
On-Off Object Instanciation
Unicos Object Library Programming Templates
Analog Object Connectivity
The Analog Object is used to represent a hardware device having a The Analog Object is used to represent a hardware device having a position moving between a fixed range (i.e. Control Valve, Heater).position moving between a fixed range (i.e. Control Valve, Heater).
The Analog Object is generally connected with one Analog Output The Analog Object is generally connected with one Analog Output Object and one Analog Input Objects (*). Range Max/Min have to be Object and one Analog Input Objects (*). Range Max/Min have to be equal for the three objects.equal for the three objects.
AI Object
PosSt
Analog Object
HFPosOnStOffSt
Status sent to higher level & supervision
1CV120
1GT120
PAnalog (structure)Feedback Declaration
AO Object
1CV120AO AOutOV
AuPosROutOV Analog Output Order to hardware device
HFPos
Effective position from hardware
* The Analog Object can also be connected with Digital Input Objects for digital hardware feedback
PMaxRan
PMinRan
Range Max
Range Min
PMaxRan
PMinRan
Range Max
Range Min
PMaxRan
PMinRan
Range Max
Range Min
Unicos Object Library Programming Templates
Analog Object Instanciation
Unicos Object Library Programming Templates
OnOff/Analog Fail Safe Open
The Fail Safe Position of a hardware device is either The Fail Safe Position of a hardware device is either Off/Closed or On/Opened according to the positive logic Off/Closed or On/Opened according to the positive logic (i.e 24VDC power cut --> the valve opens-->Fail Safe (i.e 24VDC power cut --> the valve opens-->Fail Safe Position=Open/On). When the Fail Safe Position is Position=Open/On). When the Fail Safe Position is On/Open, the output the Analog/OnOff object is inverted.On/Open, the output the Analog/OnOff object is inverted.
Output Object
OnOff/Analog Object
POnOff/Analog (structure)Declaration of the Fail Safe Position
OutOV
AuPosR
AuOnR
AuOffR
SR
Q
OutOV Output Order to hardware device
Unicos Object Library Programming Templates
OnOff/Analog Local Mode
Some hardware device can be driven locally with manual Some hardware device can be driven locally with manual switches (i.e. a pump with an Auto/Manual switch). When switches (i.e. a pump with an Auto/Manual switch). When Manual Mode is selected locally, a Digital Input Object can Manual Mode is selected locally, a Digital Input Object can be connected to the OnOff/Analog Object. Doing this, the be connected to the OnOff/Analog Object. Doing this, the object “knows” that its request are not active. The Local object “knows” that its request are not active. The Local Mode is also reported to the supervision where the manual Mode is also reported to the supervision where the manual request are disabled.request are disabled.
DI Objects
PosSt
OnOff/Analog Object
HFLD LDStStatus sent to higher level & supervision
P338
P338LDOn
POnOff/Analog (structure)Declaration of the Local Mode
HFPos
Position of the Auto/Manual Switch
Unicos Object Library Programming Templates
OnOff Hardware Digital Output (HDOut)
When an On-Off device has no digital hardware feedback, When an On-Off device has no digital hardware feedback, the position status of the Digital Output may be used to the position status of the Digital Output may be used to determine the position status of the object (On/Off). The determine the position status of the object (On/Off). The status of the Digital Output is generally a hardware contact status of the Digital Output is generally a hardware contact of a contactor or a coil.of a contactor or a coil.
OnOff Object
OnStHDOut
OffSt
Status sent to higher level & supervisionPosSt
PV100PV100DOSt
POnOff (structure)
Declaration of the hardware digital Output
DO Object
PV100DOOutOV
ARequest
OutOV Digital Output Order to hardware device
HFPos
Hardware status of digital output
Rem: If no hardware feedback are declared (HFOn, HFOff, HDOut), the position status of the object is determined with the Output Order Value Status.
Unicos Object Library Programming Templates
Controller Object Connectivity
The Controller (PID) Object is used to regulate a process value (HMV) The Controller (PID) Object is used to regulate a process value (HMV) by moving a hardware analog device.by moving a hardware analog device.
The Controller Object is connected with one Analog Input Object The Controller Object is connected with one Analog Input Object (HMV) and one Analog Objects (*). Range Max/Min of the controller (HMV) and one Analog Objects (*). Range Max/Min of the controller have to be equal to the Range Max/Min of the hardware measured have to be equal to the Range Max/Min of the hardware measured value.value.
AI Objects
PosSt
Controller Object
HMV
1PC620PT130
OutO
HFPos
Process Value from hardware
* The Controller object can also be connected with two Analog Output Objects for split range action
PMaxRan
PMinRan
Range Max
Range Min
PMaxRan
PMinRan
1CV620AO
AuPosROutOV
Analog Object
AuPosR
1CV620
AOutOV
Analog Output Order to hardware device
PosSt
HOutO
Unicos Object Library Programming Templates
Controller Object Instanciation
Unicos Object Library Programming Templates
PID Parameters Initialization
When in Regulation Mode, the following PID Parameters can be When in Regulation Mode, the following PID Parameters can be modified either by the program or the operator: SP, SP Limit modified either by the program or the operator: SP, SP Limit High, SP Limit Low, Kp, Ti, Kd, Td, Output Limit High, Output High, SP Limit Low, Kp, Ti, Kd, Td, Output Limit High, Output Limit Low.Limit Low.
For each parameters there is an enabling bit. If the enabling bit is For each parameters there is an enabling bit. If the enabling bit is set to 1, the program value is taken into account, else the set to 1, the program value is taken into account, else the operator can modify the correspondant parameter by a manual operator can modify the correspondant parameter by a manual request.request.
Generally default program parameters are loaded in dependent Generally default program parameters are loaded in dependent PID object when starting and stopping the PCO.PID object when starting and stopping the PCO.
Unicos Object Library Programming Templates
PID Parameters Initialization
Section Dependent Logic PID (Parameters Initialization)
RunOStManual Request
On ManReg
Order From Higher Level
AuOnR
StrSP.EnableHighStrSP.EnableLowStrPar.EKpStrPar.ETiStrPar.EKdStrPar.ETdStrOut.EnableHigh
OR
AuESPo
StrSP.HighLimitStrSP.LowLimitStrPar.KpStrPar.TiStrPar.KdStrPar.TdStrOut.HighLimit
AuSPo
StrOut.EnableLow
StrOut.LowLimit
Default Program Values
MSPoHMSPoLMKpMTiMKdMTdMOutOH
MSPo
MOutOL
Manual Request Values
Enabling Bits
AtSPoHAtSPoLAtPSt.KpAtPSt.TiAtPSt.KdAtPSt.TdAtOutH
AtSPo
AtOutL
Active Parameters
Values
Unicos Object Library Programming Templates
PID Dependent Logic (Parameters Initialization)
Unicos Object Library Programming Templates
IO Error / IO Simulated and Tracking for Controller Object (PID)
IOError --> IO Error Warning (IOErrorW) from the Hardware IOError --> IO Error Warning (IOErrorW) from the Hardware measured value (Analog Input Object from Premium) or IO Error measured value (Analog Input Object from Premium) or IO Error Warning from the Controlled Object (Analog Object in Quantum)Warning from the Controlled Object (Analog Object in Quantum)
IOSimu --> IO Simulated Warning (IOSimuW) or Forced Mode IOSimu --> IO Simulated Warning (IOSimuW) or Forced Mode (FoMoSt) from the Hardware measured value (Analog Input (FoMoSt) from the Hardware measured value (Analog Input Object from Premium) or IO Error Warning (IOErrorW) or Forced Object from Premium) or IO Error Warning (IOErrorW) or Forced Mode (FoMoSt) or Manual Mode (MMoSt) from the Controlled Mode (FoMoSt) or Manual Mode (MMoSt) from the Controlled Object (Analog Object in Quantum) or Forced Mode (FoMoSt) Object (Analog Object in Quantum) or Forced Mode (FoMoSt) from Analog Output Object .from Analog Output Object .
Auto Tracking Request (AuTR) input of the Controller Object is Auto Tracking Request (AuTR) input of the Controller Object is activated when the Controlled Analog Object is in Manual or activated when the Controlled Analog Object is in Manual or Forced Mode or when the Analog Output Object is in Forced Forced Mode or when the Analog Output Object is in Forced Mode (FoMoSt). The PID output tracks then the Hardware Analog Mode (FoMoSt). The PID output tracks then the Hardware Analog Output Order (HOutO) requested by the operator. This avoids Output Order (HOutO) requested by the operator. This avoids bump on the Output Order when the Forced Object is released in bump on the Output Order when the Forced Object is released in Auto Mode. Analog Output Order is connected to Position Status Auto Mode. Analog Output Order is connected to Position Status of the Analog Output Object.of the Analog Output Object.
Unicos Object Library Programming Templates
IO Error for Controller Object (PID)
IOErrorW
PID Controller Object
IOError IOErrorW
IOSimu IOSimuW
Status sent to higher level & supervision
OR
Dependent Objects
AuTR TSt
Hardware Measured Value (AI Object)
Analog Controlled Object
IOErrorW
PT130
1CV620
1PC620
AO Object
1CV620AO
FoMoSt
FoMoSt
FoMoSt
MMoSt
IOSimuW
IOSimuW
Unicos Object Library Programming Templates
IO Simulated for Controller Object (PID)
IOErrorW
PID Controller Object
IOError IOErrorW
IOSimu IOSimuW
Status sent to higher level & supervision
OR
Dependent Objects
AuTR TSt
Hardware Measured Value (AI Object)
Analog Controlled Object
IOErrorW
PT130
1CV6201PC620
AO Object
1CV620AO
FoMoSt
FoMoSt
FoMoSt
MMoSt
IOSimuW
IOSimuW
Unicos Object Library Programming Templates
Tracking for Controller Object (PID)
IOErrorW
PID Controller Object
IOError IOErrorW
IOSimu IOSimuW
Status sent to higher level & supervision
OR
Dependent Objects
AuTR TSt
Hardware Measured Value (AI Object)
Analog Controlled Object
IOErrorW
PT130
1CV6201PC620
AO Object
1CV620AO
FoMoSt
FoMoSt
FoMoSt
MMoSt
IOSimuW
IOSimuW
Unicos Object Library Programming Templates
IO Error / IO Simulated for PCO
IOError --> All IO Error Warning (IOErrorW) from dependent IOError --> All IO Error Warning (IOErrorW) from dependent objects + IO Error Warning from other objects used in the PCO objects + IO Error Warning from other objects used in the PCO logic.logic.
IOSimu --> All IO Simulated Warning (IOSimuW) from dependent IOSimu --> All IO Simulated Warning (IOSimuW) from dependent objects + IO Simulated Warning from other objects used in the objects + IO Simulated Warning from other objects used in the PCO logic.PCO logic.
PCO Object
IOError IOErrorW
IOSimu IOSimuW
Status sent to higher level & supervision
OR
IOSimuW from all dependent objects
WCSCT
OR
IOErrorW from all dependent objects
IOErrorW other objects used in logic
IOSimuW other objects used in logic
Unicos Object Library Programming Templates
PCO Configuration Logic
IntermediatePCO Configuration Logic
The configuration Logic is the program section where the state of The configuration Logic is the program section where the state of a PCO is defined (Feedback On or Feedback Off). a PCO is defined (Feedback On or Feedback Off).
The Feedback On or Off of a PCO is always calculated with the The Feedback On or Off of a PCO is always calculated with the position status of its dependent objects and with other conditions position status of its dependent objects and with other conditions according to the process logic.according to the process logic.
Generally the Controlled Stop Finished and Feedback Off Generally the Controlled Stop Finished and Feedback Off conditions are equal .conditions are equal .
Process Logic
OnSt
OffStStatus sent to higher level & supervision
Top Level PCO Configuration Logic
FOn
FOff
OnStOffSt
CStopOSt
FOnFOff
CStopFin
OnStOffSt
FOnFOff
Process Logic
CStopOStCStopFin
CStopOStCStopFin
Dependent Object Status
Other dependentObjects
Unicos Object Library Programming Templates
PCO Configuration Logic
Unicos Object Library Programming Templates
PCO Run Order
AuOnRRunOStAuOnR
AuOffR
IntermediatePCO Dependent
ObjectLogic Field Object
Dependent Logic
A process part is started with a Manual On Request at the top A process part is started with a Manual On Request at the top level PCO. The Run Order Status is then used to start the level PCO. The Run Order Status is then used to start the intermediate level (Auto On Request) according to the process intermediate level (Auto On Request) according to the process logic. Finally, the Run Order Status of the last level PCOs is used logic. Finally, the Run Order Status of the last level PCOs is used to drives the field objects.to drives the field objects.
When the Run Order is zero, all the dependent objects should When the Run Order is zero, all the dependent objects should receive an Auto Off Request.receive an Auto Off Request.
RunOSt
MOffR
MOnR
Process Logic
Manual Request On
Manual Request Off
S Q
R
Process Logic
AuOffR
RunOStAuOnR
AuOffR
S Q
R
S Q
R
AuPosRAuRegR
AuOnR
Process Logic
AuOffR
AuPosRAuRegR
Other dependent Objects
Unicos Object Library Programming Templates
PCO Object Instanciation
Unicos Object Library Programming Templates
PCO Controlled Stop
Analog
On-Off
Controller
AuOnR
Manual Request Controlled Stop
CStopOStMCOffR
RunOSt
AuCOffR CStopOSt
AuOnR
AuOffR
IntermediatePCO Dependent
ObjectLogic Field Object
Dependent Logic
To stop a process part with a PCO, you can stop directly with a To stop a process part with a PCO, you can stop directly with a Off request (manual or automatic) or initiate a Controlled Off request (manual or automatic) or initiate a Controlled Stop.The controlled Stop is also propagated between PCO.Stop.The controlled Stop is also propagated between PCO.
The Run Order Status is reset when the Controlled Stop is The Run Order Status is reset when the Controlled Stop is finished (CStopFin=true).finished (CStopFin=true).
RunOSt
MOffR
MOnR
Process Logic
Manual Request On
Manual Request Off
S Q
R
S Q
R Process Logic
AuOffR
AuOnR
AuOffR
AuOnR
AuOffR
CStopFinProcess Logic
CStopFin
Other dependent Objects
Unicos Object Library Programming Templates
Auto Mode Request Propagation
When starting a process part using high level PCO, all dependent When starting a process part using high level PCO, all dependent objects have to be in Auto Mode. If some objects are in manual or objects have to be in Auto Mode. If some objects are in manual or forced mode, they will not respond to the program request.forced mode, they will not respond to the program request.
PCO Objects have the possibility to propagate the Auto Mode PCO Objects have the possibility to propagate the Auto Mode Request to the dependent objects with the output AuDeSt. Request to the dependent objects with the output AuDeSt. AuDeSt is the result of either a Manual Request from the AuDeSt is the result of either a Manual Request from the faceplate in supervision or the input AuDeR of the PCO.faceplate in supervision or the input AuDeR of the PCO.
In general, the dependent object are also requested to Auto Mode In general, the dependent object are also requested to Auto Mode by the PCO in the following conditions(*): by the PCO in the following conditions(*):
- rising and falling edge of the PCO RunOSt (Run - rising and falling edge of the PCO RunOSt (Run Order) Order) - rising edge of the PCO - rising edge of the PCO CStopOSt (Controlled Stop Order)CStopOSt (Controlled Stop Order)
This feature when programmed correctly allows an operator to This feature when programmed correctly allows an operator to put in Auto Mode all objects (except forced) of a whole process put in Auto Mode all objects (except forced) of a whole process part (PCO + dependent objects). part (PCO + dependent objects).
* Other conditions may be defined
Unicos Object Library Programming Templates
Auto Mode Propagation (Example)
Analog
On-Off
Controller
AuAuMoR
AuAuMoR
AuAuMoRAuDeR
Manual Request Force Dependent
AuDeSt
ManReg
Order From Higher Level
RunOSt
AuCOffR
Manual Request Controlled Stop
CStopOSt
ManReg
Order From Higher Level
AuOnR
Manual Request On ManReg
Order From Higher Level
OR
AuDeR
Manual Request Force Dependent
AuDeSt
ManReg
RunOSt
AuCOffRCStopOSt
ManReg
Order From Higher Level
AuOnR
Manual Request On ManReg
Order From Higher Level
OR
AuAuMoR
Manual Request Controlled Stop
Common Dependent ObjectLogic of top
level PCO
Common Dependent ObjectLogic of
intermediate PCO
Other Dependent Objects
Unicos Object Library Programming Templates
PCO Common Dependent Object Logic (AuDeR)
Unicos Object Library Programming Templates
PCO Common Dependent Object Logic (AuAuMoR)
Unicos Object Library Programming Templates
Alarm Acknowledge Propagation
The Output of the PCO, Alarm Not Acknowledged (AlUnAck), may The Output of the PCO, Alarm Not Acknowledged (AlUnAck), may be used to acknowledge the interlocks of all the dependent be used to acknowledge the interlocks of all the dependent object. OnOff, Analog and Alarm objects have interlocks inputs (I, object. OnOff, Analog and Alarm objects have interlocks inputs (I, StopI, Start I). They also have an Auto Alarm Acknowledge input StopI, Start I). They also have an Auto Alarm Acknowledge input (AuAlAck) that is connected to AlUnAck. Each object can be (AuAlAck) that is connected to AlUnAck. Each object can be acknowledged separately by a Manual Request.acknowledged separately by a Manual Request.
Analog
On-Off
AuAlAck
AuAlAck
ManReg AlUnAck
OR
Manual Request Alarm Acknowledge
Section Common Dependent
ObjectLogic ofPCO
Alarm
AuAlAck
Section PCO Interlock
Manual Request Alarm Acknowledge
ManReg
Manual Request Alarm Acknowledge
ManReg
Manual Request Alarm Acknowledge
ManReg
Unicos Object Library Programming Templates
PCO Common Dependent Object Logic (AuAlAck)
Unicos Object Library Programming Templates
PCO Dependent Logic