Download presentation
Presentation is loading. Please wait.
Published byLily Webster Modified over 9 years ago
1
Unicos Object Library Programming Templates IOError / IOSimu for I/O object IOError --> Hardware Electrical failure (i.e. 4-20 mA open loop). Detected within the premium firmware of the I/O cards. IOSimu --> Hardware channel of the I/O object forced with PL7 programming tool. I/O ObjectFirmware Hardware Failure IOErrorIOErrorW Hardware value forced by programmer with PL7 IOSimuIOSimuW 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
2
Unicos Object Library Programming Templates IO Error / IO Simulated for OnOff, Analog & Local Object (Field Object) IOError --> IO Error Warning (IOErrorW) from a dependent object IOSimu --> IO Simulated Warning (IOSimuW) or Forced Mode (FoMoSt) from a dependent object. I/O Objects IOErrorW IOSimuW Field Object IOErrorIOErrorW IOSimuIOSimuW Status sent to higher level & supervision IOErrorW IOSimuW OR Dependent Objects FoMoSt
3
Unicos Object Library Programming Templates Local Object Connectivity The Local Object is used to represent the position of a hardware device that can only be manipulated locally (i.e. hand valves). The Local Object is generally connected with one or two Digital Input Objects. Digital Input Objects Local Object HFOn OnSt HFOff OffSt Status sent to higher level & supervision HV110 PHFOn PHFOff True PosSt GH110 GL110 HFPos Effective position from hardware
4
Unicos Object Library Programming Templates Local Object Instanciation
5
Unicos Object Library Programming Templates OnOff Object Connectivity The OnOff Object is used to represent a hardware device having two positions On/Off (i.e. Pressure Valve, Pump). The OnOff Object is connected with one Digital Output Object and one or two Digital Input Objects. DI Objects PosSt OnOff Object HFOn OnSt HFOff OffSt Status sent to higher level & supervision PosSt PV100 GH100 GL100 POnOff (structure) Declaration of the hardware feedback DO Object PV100DO OutOV ARequest OutOV Digital Output Order to hardware device HFPos Effective position from hardware
6
Unicos Object Library Programming Templates On-Off Object Instanciation
7
Unicos Object Library Programming Templates Analog Object Connectivity The Analog Object is used to represent a hardware device having a position moving between a fixed range (i.e. Control Valve, Heater). The Analog Object is generally connected with one Analog Output Object and one Analog Input Objects (*). Range Max/Min have to be equal for the three objects. AI Object PosSt Analog Object HFPos OnSt OffSt Status sent to higher level & supervision 1CV120 1GT120 PAnalog (structure) Feedback Declaration AO Object 1CV120AO AOutOV AuPosR OutOV 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
8
Unicos Object Library Programming Templates Analog Object Instanciation
9
Unicos Object Library Programming Templates OnOff/Analog Fail Safe Open The Fail Safe Position of a hardware device is either Off/Closed or On/Opened according to the positive logic (i.e 24VDC power cut --> the valve opens-->Fail Safe Position=Open/On). When the Fail Safe Position is 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 S R Q OutOV Output Order to hardware device
10
Unicos Object Library Programming Templates OnOff/Analog Local Mode Some hardware device can be driven locally with manual switches (i.e. a pump with an Auto/Manual switch). When Manual Mode is selected locally, a Digital Input Object can be connected to the OnOff/Analog Object. Doing this, the object “knows” that its request are not active. The Local Mode is also reported to the supervision where the manual request are disabled. DI Objects PosSt OnOff/Analog Object HFLDLDSt Status sent to higher level & supervision P338 P338LDOn POnOff/Analog (structure) Declaration of the Local Mode HFPos Position of the Auto/Manual Switch
11
Unicos Object Library Programming Templates OnOff Hardware Digital Output (HDOut) When an On-Off device has no digital hardware feedback, the position status of the Digital Output may be used to determine the position status of the object (On/Off). The status of the Digital Output is generally a hardware contact of a contactor or a coil. OnOff Object OnSt HDOut OffSt Status sent to higher level & supervision PosSt PV100 PV100DOSt POnOff (structure) Declaration of the hardware digital Output DO Object PV100DO OutOV 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.
12
Unicos Object Library Programming Templates Controller Object Connectivity The Controller (PID) Object is used to regulate a process value (HMV) by moving a hardware analog device. The Controller Object is connected with one Analog Input Object (HMV) and one Analog Objects (*). Range Max/Min of the controller have to be equal to the Range Max/Min of the hardware measured value. AI Objects PosSt Controller Object HMV 1PC620 PT130 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 AuPosR OutOV Analog Object AuPosR 1CV620 AOutOV Analog Output Order to hardware device PosSt HOutO
13
Unicos Object Library Programming Templates Controller Object Instanciation
14
Unicos Object Library Programming Templates PID Parameters Initialization When in Regulation Mode, the following PID Parameters can be modified either by the program or the operator: SP, SP Limit High, SP Limit Low, Kp, Ti, Kd, Td, Output Limit High, Output Limit Low. 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 operator can modify the correspondant parameter by a manual request. Generally default program parameters are loaded in dependent PID object when starting and stopping the PCO.
15
Unicos Object Library Programming Templates PID Parameters Initialization Section Dependent Logic PID (Parameters Initialization) RunOSt Manual Request On ManReg Order From Higher Level AuOnR StrSP.EnableHigh StrSP.EnableLow StrPar.EKp StrPar.ETi StrPar.EKd StrPar.ETd StrOut.EnableHigh OR AuESPo StrSP.HighLimit StrSP.LowLimit StrPar.Kp StrPar.Ti StrPar.Kd StrPar.Td StrOut.HighLimit AuSPo StrOut.EnableLow StrOut.LowLimit Default Program Values MSPoH MSPoL MKp MTi MKd MTd MOutOH MSPo MOutOL Manual Request Values Enabling Bits AtSPoH AtSPoL AtPSt.Kp AtPSt.Ti AtPSt.Kd AtPSt.Td AtOutH AtSPo AtOutL Active Parameters Values
16
Unicos Object Library Programming Templates PID Dependent Logic (Parameters Initialization)
17
Unicos Object Library Programming Templates IO Error / IO Simulated and Tracking for Controller Object (PID) IOError --> IO Error Warning (IOErrorW) from the Hardware measured value (Analog Input Object from Premium) or IO Error Warning from the Controlled Object (Analog Object in Quantum) IOSimu --> IO Simulated Warning (IOSimuW) or Forced Mode (FoMoSt) from the Hardware measured value (Analog Input Object from Premium) or IO Error Warning (IOErrorW) or Forced Mode (FoMoSt) or Manual Mode (MMoSt) from the Controlled Object (Analog Object in Quantum) or Forced Mode (FoMoSt) from Analog Output Object. Auto Tracking Request (AuTR) input of the Controller Object is activated when the Controlled Analog Object is in Manual or Forced Mode or when the Analog Output Object is in Forced Mode (FoMoSt). The PID output tracks then the Hardware Analog Output Order (HOutO) requested by the operator. This avoids bump on the Output Order when the Forced Object is released in Auto Mode. Analog Output Order is connected to Position Status of the Analog Output Object.
18
Unicos Object Library Programming Templates IO Error for Controller Object (PID) IOErrorW PID Controller Object IOErrorIOErrorW IOSimuIOSimuW Status sent to higher level & supervision OR Dependent Objects AuTRTSt Hardware Measured Value (AI Object) Analog Controlled Object IOErrorW PT130 1CV620 1PC620 AO Object 1CV620AO FoMoSt MMoSt IOSimuW
19
Unicos Object Library Programming Templates IO Simulated for Controller Object (PID) IOErrorW PID Controller Object IOErrorIOErrorW IOSimuIOSimuW Status sent to higher level & supervision OR Dependent Objects AuTRTSt Hardware Measured Value (AI Object) Analog Controlled Object IOErrorW PT130 1CV620 1PC620 AO Object 1CV620AO FoMoSt MMoSt IOSimuW
20
Unicos Object Library Programming Templates Tracking for Controller Object (PID) IOErrorW PID Controller Object IOErrorIOErrorW IOSimuIOSimuW Status sent to higher level & supervision OR Dependent Objects AuTRTSt Hardware Measured Value (AI Object) Analog Controlled Object IOErrorW PT130 1CV620 1PC620 AO Object 1CV620AO FoMoSt MMoSt IOSimuW
21
Unicos Object Library Programming Templates IO Error / IO Simulated for PCO IOError --> All IO Error Warning (IOErrorW) from dependent objects + IO Error Warning from other objects used in the PCO logic. IOSimu --> All IO Simulated Warning (IOSimuW) from dependent objects + IO Simulated Warning from other objects used in the PCO logic. PCO Object IOError IOErrorW IOSimuIOSimuW 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
22
Unicos Object Library Programming Templates PCO Configuration Logic IntermediatePCO Configuration Logic The configuration Logic is the program section where the state of a PCO is defined (Feedback On or Feedback Off). The Feedback On or Off of a PCO is always calculated with the position status of its dependent objects and with other conditions according to the process logic. Generally the Controlled Stop Finished and Feedback Off conditions are equal. Process Logic OnSt OffSt Status sent to higher level & supervision Top Level PCO Configuration Logic FOn FOff OnSt OffSt CStopOSt FOn FOff CStopFin OnSt OffSt FOn FOff Process Logic CStopOStCStopFin CStopOStCStopFin Dependent Object Status Other dependentObjects
23
Unicos Object Library Programming Templates PCO Configuration Logic
24
Unicos Object Library Programming Templates PCO Run Order AuOnR RunOStAuOnR AuOffR IntermediatePCO Dependent ObjectLogic Field Object Dependent Logic 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 intermediate level (Auto On Request) according to the process logic. Finally, the Run Order Status of the last level PCOs is used to drives the field objects. When the Run Order is zero, all the dependent objects should receive an Auto Off Request. RunOSt MOffR MOnR Process Logic Manual Request On Manual Request Off SQ R Process Logic AuOffR RunOStAuOnR AuOffR SQ R SQ R AuPosR AuRegR AuOnR Process Logic AuOffR AuPosR AuRegR Other dependent Objects
25
Unicos Object Library Programming Templates PCO Object Instanciation
26
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 Off request (manual or automatic) or initiate a Controlled Stop.The controlled Stop is also propagated between PCO. The Run Order Status is reset when the Controlled Stop is finished (CStopFin=true). RunOSt MOffR MOnR Process Logic Manual Request On Manual Request Off SQ R SQ R Process Logic AuOffR AuOnR AuOffR AuOnR AuOffR CStopFin Process Logic CStopFin Other dependent Objects
27
Unicos Object Library Programming Templates Auto Mode Request Propagation 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 forced mode, they will not respond to the program request. PCO Objects have the possibility to propagate the Auto Mode Request to the dependent objects with the output AuDeSt. AuDeSt is the result of either a Manual Request from the faceplate in supervision or the input AuDeR of the PCO. In general, the dependent object are also requested to Auto Mode by the PCO in the following conditions(*): - rising and falling edge of the PCO RunOSt (Run Order) - rising edge of the PCO CStopOSt (Controlled Stop Order) This feature when programmed correctly allows an operator to put in Auto Mode all objects (except forced) of a whole process part (PCO + dependent objects). * Other conditions may be defined
28
Unicos Object Library Programming Templates Auto Mode Propagation (Example) Analog On-Off Controller AuAuMoR AuDeR 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 AuCOffR CStopOSt 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
29
Unicos Object Library Programming Templates PCO Common Dependent Object Logic (AuDeR)
30
Unicos Object Library Programming Templates PCO Common Dependent Object Logic (AuAuMoR)
31
Unicos Object Library Programming Templates Alarm Acknowledge Propagation The Output of the PCO, Alarm Not Acknowledged (AlUnAck), may be used to acknowledge the interlocks of all the dependent object. OnOff, Analog and Alarm objects have interlocks inputs (I, StopI, Start I). They also have an Auto Alarm Acknowledge input (AuAlAck) that is connected to AlUnAck. Each object can be acknowledged separately by a Manual Request. Analog On-Off AuAlAck ManRegAlUnAck 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
32
Unicos Object Library Programming Templates PCO Common Dependent Object Logic (AuAlAck)
33
Unicos Object Library Programming Templates PCO Dependent Logic
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.