UNICOS: Object relationships

28
UNICOS: Object relationships 11/02/14 UNICOS 1 CERN, EN/ICE, UNICOS Team

description

UNICOS: Object relationships. CERN, EN/ICE, UNICOS Team. Outline. I/O objects connectivity Field objects connectivity and priorities Controlled object connectivity PCO objects Run Order Controlled stop PCO options. Connectivity between objects. Framework connectivity - PowerPoint PPT Presentation

Transcript of UNICOS: Object relationships

Page 1: UNICOS: Object relationships

UNICOS 1

UNICOS: Object relationships

11/02/14

CERN, EN/ICE, UNICOS Team

Page 2: UNICOS: Object relationships

UNICOS 2

Outline

• I/O objects connectivity• Field objects connectivity and priorities• Controlled object connectivity• PCO objects

• Run Order• Controlled stop• PCO options

11/02/14

Page 3: UNICOS: Object relationships

UNICOS 3

Connectivity between objects

• Framework connectivityThe objects are linked automatically when specified in the specs file (xml/xls)

• User connectivityThe links are established by the user at the process control logic development time

11/02/14

Page 4: UNICOS: Object relationships

DI Object Connectivity

11/02/14 UNICOS 4

I/O Devices

Field Devices

Process Control Devices

DI

AnalogOnOff

Local

DI

Interlock Logic

Process Logic

DI

I/O Boards

Status of DI Objects may be

used by all objects

anywhere in the program.

OnOff

Hardware Feedback

Position Status

User connectivityFramework connectivity

User connectivity at the process control logic development time.

Framework connectivity: automatically set when specified in the specs file

Logic containers are represented by dashed boxes.DI

PCO

Page 5: UNICOS: Object relationships

DO Object Connectivity

11/02/14 UNICOS 5

I/O Devices

Field Devices

Process Control Devices

DO

OnOff

Process Logic

I/O Boards

DO Objects receive their

orders only from Field Devices

(OnOff & Anadig, AnaDO)

OpenClose

Anadig

DO

Hardware Output Order

Auto Position Request

User connectivityFramework connectivity

PCO

Page 6: UNICOS: Object relationships

AI Object Connectivity

11/02/14 UNICOS 6

I/O Devices

Field Devices

Process Control Devices

AI

OnOffAnalog

Anadig

AI

Interlock Logic

Process Logic

AI

I/O Boards

Status of AI Objects may be

used by all objects anywhere in the program.

PID

GT

AI

MV

Hardware Feedback

Position Status

User connectivityFramework connectivity

PCO

Page 7: UNICOS: Object relationships

AO Object Connectivity

11/02/14 UNICOS 7

I/O Devices

Field Devices

Process Control Devices

AO

Analog

Process Logic

I/O Boards

AO Objects receive their orders only from Field Device Analog

Position Request

Analog

AO

Controller

Hardware Output Order

Auto Position Request

User connectivityFramework connectivity

PCO

Page 8: UNICOS: Object relationships

Forced Mode and Position Status of I/O Objects

11/02/14 UNICOS 8

Forced Mode (“expert” privilege): For AI & DI Objects, when the operator forces

the value, the Position Status may become different from the Hardware Feedback.

For DO & AO Objects, when the operator forces the object, the Output Order sent to the process may be different from the Auto Position Request of the process.

Forced Mode may be useful for: Electrical tests Program simulation Degraded operation!

Auto

Program Load & First Start

Forced

Operator request

Operator request (if Not inhibited by program)

Page 9: UNICOS: Object relationships

UNICOS 9

Outline

• I/O objects connectivity• Field objects connectivity and

priorities• Controlled object connectivity• PCO objects

• Run Order• Controlled stop• PCO options

11/02/14

Page 10: UNICOS: Object relationships

Local Object Connectivity

11/02/14 10

I/O Devices

Field Devices

Process Control Devices

DI

Local

Process Logic

DI

I/O Boards

Status of Local Objects may be used by all objects anywhere in

the program.

OpenClosed

Valve Position

User connectivityFramework connectivity

PCO

Page 11: UNICOS: Object relationships

OnOff Object Connectivity

11/02/14 UNICOS 11

I/O Devices

Field Devices

Process Control Devices

DI

OnOff

Process Logic

DI

I/O Boards

OpenClosed

Valve Position

DI

LocalDrive

PCOMaste

r

Run Order

Object Dependent Logic

Object Interlock Logic

OpenClose

DO

Start/StopInterlock

OpenClose

User connectivityFramework connectivity

Page 12: UNICOS: Object relationships

Analog Object Connectivity (no PID)

11/02/14 UNICOS 12

I/O Devices

Field Devices

Process Control Devices

DI

Analog

Process Logic

DI

I/O Boards

OpenClosed

Valve Position

DI

LocalDrive

PCOMaste

r

Run Order

Object Dependent Logic

Object Interlock Logic

Position Request

AO

Start/StopInterlock

Position Request

AI

Analog Feedback

User connectivityFramework connectivity

Page 13: UNICOS: Object relationships

Anadig Object Connectivity (no PID)

UNICOS

I/O Devices

Field Devices

Process Control Devices

DI

Anadig

Process Logic

DI

I/O Boards

OpenClosed

Valve Position

DI

LocalDrive

PCOMaste

rRun

Order

Object Dependent Logic

Object Interlock Logic

Position Request

DO

Start/StopInterlock

Position Increas

eAI

Analog Feedba

ckDO

Position Decrease

Operator

1311/02/14

User connectivityFramework connectivity

Page 14: UNICOS: Object relationships

Operator takes Forced Mode and

forces the AO/DO Objects to a position.

What are the priorities?Example with AO/DO

11/02/14 UNICOS 14

I/O Devices

Field Devices

Process Control Devices

Analog, Anadig,AnaDO ONOFF

I/O Boards

Object Interlock Logic

Position Request

from Higher Level

Start/StopInterlock Position

Request

AO/DOAuto Inhibit

Forced Mode

•This action overrides all the logic (safety) !!

•Possibility to inhibit the forced mode by program parameter

1

2

X priority order

3PCOMaste

r

Operator

User connectivityFramework connectivity

Page 15: UNICOS: Object relationships

Operator takes Manual or Forced

Mode and sets the Field Objects

to a position.

What are the priorities?

11/02/14 UNICOS 15

I/O Devices

Field Devices

Process Control Devices

Analog, Anadig,AnaDO ONOFF

I/O Boards

Object Interlock Logic

Position Request

from Higher Level

Start/StopInterlock

Position Request

AO

Auto Inhibit Forced Mode

• This action overrides the position request coming from higher level, but the interlock logic has higher priority.

• Auto Mode may be requested by Higher level if Manual Mode

• Possibility to inhibit the forced/manual mode by program parameter

Auto Auto Mode

Request from higher

Level

Auto Inhibit Manual Mode

1

3

2 (Forced Mode)

4 (Manual Mode)

PCOMaste

r

User connectivityFramework connectivity

Page 16: UNICOS: Object relationships

11/02/14 UNICOS 16

Operator on field is stronger

I/O Devices

Field Devices

Process Control Devices

Analog, Anadig,AnaDO, ONOFF

I/O Boards

Object Interlock

Logic

Position Request

from Higher Level

Start/StopInterlock

Position Request

AOAuto Inhibit

Forced Mode

1

2

4

3

Operator on Control Room

Operator on field

Operator takes on Manual

User connectivityFramework connectivity

Operator overrides hardware

Page 17: UNICOS: Object relationships

UNICOS 17

Outline

• I/O objects connectivity• Field objects connectivity and priorities• Controller object connectivity• PCO objects

• Run Order• Controlled stop• PCO options

11/02/14

Page 18: UNICOS: Object relationships

Controller Object Connectivity

11/02/14 UNICOS 18

I/O Devices

Field Devices

Process Control Devices

Analog

Process Logic

I/O Boards

Active Mode

PCOMaste

r

Run Order

Object Dependent Logic

Object Interlock Logic

Position Request

AO

Start/StopInterlock Position

Request

AI

Analog Feedback

PID

AI

Measured Value

Regulation, Position Request, PID Parameters

User connectivityFramework connectivity

Page 19: UNICOS: Object relationships

11/02/14 UNICOS 19

Controller Object Tracking

I/O Devices

Field Devices

Process Control Devices

Analog

Process Logic

I/O Boards

Active Mode

PCOMaste

r

Run Order

Object Dependent Logic

Object Interlock

Logic

Position Request

AO

Start/StopInterlock

Position Request

AI

Analog Feedback

PID

AI

Measured Value

Regulation or Position Request

•Operator takes on Manual or Forced Mode the controlled Analog Object• If in Regulation Mode, the PID will move to tracking•When the analog is released, no bump.

PID OUT=Analog OUTSetpoint=Measured

Value

Tracking

User connectivityFramework connectivity

Page 20: UNICOS: Object relationships

UNICOS 20

Outline

• I/O objects connectivity• Field objects connectivity and priorities• Controlled object connectivity• PCO objects connectivity

• Run Order• Controlled stop• PCO options

11/02/14

Page 21: UNICOS: Object relationships

11/02/14 UNICOS 21

PCO Object Connectivity

I/O Devices

Field Devices

Process Control Devices

Analog

I/O Boards

PCORun Order

PCO Dep. Log.

AOAI

PID

OnOff

DI DI DO

Obj. Int. Log.

Obj. Dep. Log.

Obj. Int. Log.

Obj. Dep. Log.

PCO Int. Log.

PCO

Anadig OnOff

PCO

Several Level of PCOs

Run Order to Lower PCO

Run OrderPCO Dep. Log.

Run Order from Higher PCO

PCO Int. Log.

PCO PCO

PCO Int. Log.

User connectivityFramework connectivity

Page 22: UNICOS: Object relationships

11/02/14 UNICOS 22

Run Order, Dependent & Interlock Logic Run Order is the Start Request of the PCO to all

the dependent objects

Run Order Auto

On

RequestAuto

Off

Request

Slave Object Dependent Logic

Slave Object

PCOMaster

Slave Object Interlock Logic

ANDProcess Logic

of Start NOT

Start Interlock

Stop Interlock

Full Stop Interlock

Interlock Logic

RunOrder, On/Open, Off/Close To lower level

1

X priority order

2

Page 23: UNICOS: Object relationships

11/02/14 UNICOS 23

PCO Run Order propagation

I/O Devices

Field Devices

Process Control Devices

Analog

I/O Boards

PCO Run Order

PCO Dep. Log.

AOAI

PID

OnOff

DI DI DO

Obj. Int. Log.

Obj. Dep. Log.

Obj. Int. Log.

Obj. Dep. Log.

PCO Int. Log.

PCO

Anadig OnOff

PCO

Several PCOs

Run Order to Lower PCO

Run OrderPCO Dep. Log.

Run Order from Higher PCO

PCO Int. Log.

ON Request

Full Stop PCO Int. Log.

User connectivityFramework connectivity

Page 24: UNICOS: Object relationships

11/02/14 UNICOS 24

PCO Control Stop Order• The control stop order is used to initiate a

sequenced stop• When a PCO receives a control stop, the

RunOrder remains ON until the Control Stop ends

Run Order

Auto On

Reques

t

Auto Off

Reques

t

Slave Object Dependent Logic

Slave Object

PCOMaster

ANDProcess Logic

of Start

NOT

RunOrder, On/Open, Off/CloseTo lower level

Process Logic

of Control Stop

AND

Control Stop Order

NOT

Page 25: UNICOS: Object relationships

11/02/14 UNICOS 25

Control Stop Order propagation

I/O Devices

Field Devices

Process Control Devices

I/O Boards

PCO Run Order

PCO Dep. Log.

OnOff

DI DI DO

Obj. Int. Log.

Obj. Dep. Log.

PCO

PCO

Several PCOs

Run Order to Lower PCO

Run Order

PCO Dep. Log.

Run Order from Higher PCO

Control Stop

All Dependent Objects Stopped

Control Stop Finished

All Dependent PCO Stopped

All Dependent PCO Stopped

Page 26: UNICOS: Object relationships

11/02/14 UNICOS 26

PCO Option The PCO Option allows the implementation of separate sets of logic. The option is selected by the operator.

Run Order

Auto On

Reques

t

Auto Off

Reques

t

Slave Object Dependent Logic

Slave Object

PCOMaster

ANDProcess Logic

For Option 1

NOT

RunOrder, On/Open, Off/Close To lower level

Process Logic

For Option 2

AND

Option 1

Active

Option 2

Active Run Order

Option 1Selected

Option 2Selected

Page 27: UNICOS: Object relationships

When a PCO Object is started or stopped, all dependent objects are requested to Auto Mode

11/02/14 UNICOS 27

Auto Mode Propagation

I/O Devices

Field Devices

Process Control Devices

Analog

I/O Boards

PCORun Order

AOAI

PID

OnOff

DI DI DO

PCO

Anadig OnOff

PCO

PCO PCOAuto Mode Request

Auto Position Mode Request

Auto Mode Request

1

0

Logical connectivityPhysical connectivity

Page 28: UNICOS: Object relationships