Documente Academic
Documente Profesional
Documente Cultură
Vijeo Citect
SCADA
Definition of SCADA
Supervisory Control and Data Acquisition
a computer system for gathering and analyzing real
time data.
Source: http://www.webopedia.com/TERM/S/SCADA.html
Definition of SCADA
A SCADA system gathers information, such as where a leak on a
pipeline has occurred, transfers the information back to a central
site, alerting the home station that the leak has occurred, carrying
out necessary analysis and control, such as determining if the leak
is critical, and displaying the information in a logical and organized
fashion.
or complex
such as a system that monitors all the activity in a nuclear power plant
or the activity of a municipal water system.
Source: http://www.webopedia.com/TERM/S/SCADA.html
SCADA
Network
Citect Configuration Environment
Chapter 2
The Vijeo Citect Environment
Divided into two distinct parts:
Runtime System
Configuration Environment
Citect Explorer
Project Editor
Cicode Editor
Minimum Hardware
Pentium 500MHz
128MB RAM
Preferred Hardware
Pentium 1GHz
512MB RAM
Licensing
Point Count
75, 150, 500, 1500, 5000, 15000, unlimited
1 point = 1 variable tag linked to an external device
that is used in the project
Main Project
Auto- Indent
Syntax Colouring
KeyWord Case
Managing Projects
Chapter 3
New Projects
Up to 64 characters
Best not to use any special characters:
Forbidden:
“*|\[]:<>?/;‘
Probably bad:
!@#$%^&()+=}{~,
Underscore _ is OK
Clusters and Servers
Every Vijeo Citect project must have an I/O
server, an Alarm, Report & Trend server and a
display client
Even though we are configuring to run on a single
PC, we must still define this cluster
Computer Setup Wizard
Defines Vijeo Citect communications
and PC hardware
Run on each computer running Vijeo
Citect to define its role
Client
Server and Client
Manager Client (no control, full
monitoring)
Ports Ports
Devices
Communications Database Files
Database files (*.dbf)
Can be viewed in Excel
PC memory PC Disk
10101010
10101010
Internal Disk, External I/O Dev
Area_Type_Occurrence_Attribute
Simplifies maintenance and allows creation of sophisticated genies
Excel opens
Right click &
Save/Close DBF
in C:\temp\ as
variable_new.dbf
The save_dbf Macro
Duplicate libraries in
multiple projects are
merged
ActiveX Controls
Microsoft standard
Separate component
Developed by Citect
and integrated into
Vijeo Citect
Can be developed
(and supported)
by 3rd parties
ActiveX Controls
ActiveX properties unique
to each control
Insert ActiveX control just
like any other object
Meters
Menus
Calendars
Control Panels
Importing Graphics Images
Create Images from External sources
Import many file types
BMP
DXF
EPS
JPG
PCX
PNG
TIF
WMF
Vijeo Citect
Configuration V7
Day 2
Commands and Controls
Chapter 6
Slider Controls
Paste Symbol
Designate input variable Tag property
Input wrt the symbol - Physical output in this case
Calculate an appropriate offset size in Pixels
Symbol Slider(vertical)
Touch Commands
Paste Symbol
Designate Input(Touch) command
Designate variable Tag property
Start
Device
Keyboard Commands
Some Vijeo Citect Keys Pre-defined
Define Keyboard Key
Select symbol to be used
Use Input (keyboard commands)
properties
Define function to be performed
Define action Hit F5
Go Backward To go
Forward
Go to Forward
Keyboard Command Levels
Object level
Page level
System Level
Understanding ArgValue
Group together
graphical objects
From standard symbols
Define combined
properties and actions
Provide values or
operations for the tags
What is a Genie?
A group of symbols that can be re-used
Numeric Properties
numeric expression | <numeric expression>
### Format | ### EU
Genie
variable
%privilege%
Popup Pages and
Super Genies
Chapter 8
Super Genies
Dynamic pages (usually pop-ups), to which you can pass
information when the page is displayed in the runtime system
OFF 80 C
AssWin(sPage, X, Y,
Mode, sTag1..8)
OK
Cicode function within Genie
controller - calls the popup,
Super Genie pop-up
controls where and how it is
controller
placed
Anatomy of a Pop-up Page
Mode
Wintitle()
?1?=1 ON ?1?
Close
OK
WinFree()
?datatype number?
0 - Normal page.
1 - Page child window. The window is closed when a new page is displayed, e.g. when the PageDisplay() or
PageGoto() function is called. The parent is the current active window.
2 - Window child window. The window is closed automatically when the parent window is freed with the WinFree()
function. The parent is the current active window.
4 - No re-size. The window is displayed with thin borders and no maximize/minimize icons. The window cannot be
re-sized.
8 - No icons. The window is displayed with thin borders and no maximize/minimize or system menu icons. The
window cannot be re-sized.
16 - No caption. The window is displayed with thin borders, no caption, and no maximize/minimize or system menu
icons. The window cannot be re-sized.
32 - Echo enabled. When enabled, all keyboard echo, prompts, and error messages are displayed on the parent
window. This mode should only be used with child windows (e.g. Mode 1 and 2).
64 - Always on top.
128 - Open a unique window. This mode prevents this window from being opened more then once.
256 - Display the entire window. This mode ensures that no parts of the window will appear off the screen
512 - Open a unique Super Genie. This mode prevents a Super Genie from being opened more than once (at the
same time). However, the same Super Genie with different associations can be opened.
1024 - Disables dynamic resizing of the new window, overriding the setting of the [Page]DynamicSizing parameter.
Popup Pages
By default,
maximum of 3
concurrent
popup pages
Chapter Summary
Defined OPC
Set up an OFS Server
Set up an OPC Client
Set up an OPC Access Path
Devices
Chapter 10
What are Devices?
An output mechanism to
deliver data from your Vijeo
Citect system
Can output to
RTF files
Rich text format (Microsoft
standard)
ASCII files
Plain text files Device
dBASE databases
SQL databases
Via database connection driver
Printers
Add New Devices
System | Devices
Period allows monthly,
yearly logging periods
[data] path variable in
citect.ini file
Specifies folder
Device History Files
Define
pathname:filename
File type
No. of files
0 – no files
-1 keep adding to 1 file
n files
Default 10
Events
Chapter 11
Configuring Events
Events can trigger an action, such as a command or set
of commands
Sleep(n)
Pauses the current thread for the specified number of seconds
SleepMS(n)
Pauses the current thread for the specified number of milli-
seconds
Entering Cicode
Comment complex Cicode events
64 character limit in action field
Alarms
Chapter 12
Alarm State Diagram
ON UnAck
OFF Ack
Alarm Types
Analog Hardware
High High Pre-configured in
High Vijeo Citect system
Deviation
Low Advanced
Low Low Action on Cicode
Rate of Change program
Alarm_name Property
AlarmName.H
AlarmName.L
Alarm Properties as Tags
Multi-state
Enter
Alarm.property
Trends
Chapter 13
Displaying Trends
Periodic
A trend that is sampled continuously at a specified
interval (eg every 1 second, every 10 seconds)
Event
A single sample is taken whenever a trigger action
switches on
Periodic Event
Samples are taken according to a predetermined
rate only while a trigger value is true
Trend History Logging
24:00
Sun
Trend Tag
start stop
Sample 1
Sample 2
Sample 4
Sample 5
Sample 3
Sample n
Event
Trend History Management
Change
Archive and delete existing files
before starting new config
Change file location – move files or
new files created
Security
Perform scheduled backup on old
trend files
Process Analyst
Chapter 14
Configure Process Analyst
Place anywhere on page
Configurable at runtime
Displaying in Process Analyst
1. Main toolbar: Contains commands for performing general operations in 6. Vertical axis: Analog pens have a vertical axis on the left-hand side of the
the Process Analyst, such as opening views, printing reports pane to indicate data values.
2. Pens: A Process Analyst pen represents your trend and/or alarm data. 7. Cursor: A cursor allows an Operator to determine value at a given point
The Process Analyst supports three types of pen: analog, digital, and alarm in time by dragging the cursor line to the point required.
pen.
3. Panes: Panes are used to group pens visually in the Process Analyst 8. Cursor labels: Display the value where the cursor intersects the trend
and are stacked vertically on the Process Analyst display. value line
4. Chart background: The panes are drawn over the chart background. 9. Navigation toolbar: Contains commands to allow an Operator to travel
Depending on the layout of the pens, the background may be partially forward or backward through trends, as well as other navigation-related
visible
5. Date/time axis: Located at the top of a pane, the date/time axis tasks.
10. Object View: When displayed, the Object View appears under the
displays the date or time (or both) of the data for the primary selected pen navigation toolbar and displays information about your Process Analyst
within a pane pens.
Process Analyst vs Trends
Unacknowledged
P4A Alarm
P4A Alarm
Acknowledged at
P4A (Advanced Alarm)
this point
P4<=75deg
Cursor & Labels
Periodic
Triggered
Triggered during a period
System | Reports
Output to a Device
Template
Viewing Documents
In page based on File template
Use Cicode functions
PageFile()
PageRichTextFile()
DspRichTextScroll(AN,3,5)
DspRichTextPgScroll(AN,3)
3=up, 4=down
5=number of lines to scroll
Security
Chapter 17
Plant Security
Privilege Levels:
1: Primary Plant Control
2: Secondary Plant Control
3: Shutdown Privilege
Example of Areas and Privilege
Milk Receiving Pasteurisation Bottling
(Area 1) (Area 2) (Area 3)
Viewable: Yes Viewable: Yes Viewable: Yes
Privilege 1: Yes Privilege 1: No Privilege 1: No
Operator 1
Privilege 2: Yes Privilege 2: Yes Privilege 2: No
Privilege 3: Yes Privilege 3: Yes Privilege 3: Yes
Viewable: Yes Viewable: Yes Viewable: Yes
Privilege 1: No Privilege 1: Yes Privilege 1: No
Operator 2
Privilege 2: Yes Privilege 2: Yes Privilege 2: Yes
Privilege 3: Yes Privilege 3: Yes Privilege 3: Yes
Viewable: Yes Viewable: Yes Viewable: Yes
Privilege 1: No Privilege 1: No Privilege 1: Yes
Operator 3
Privilege 2: No Privilege 2: Yes Privilege 2: Yes
Privilege 3: Yes Privilege 3: Yes Privilege 3: Yes
Privilege 1 = Primary Control Privilege 2 = Secondary Control Privilege 3 = Shutdown Privilege
For the Purposes of the Exercise, Areas
Note - Manager
Has read-only permission in Areas 1 & 2
This could be achieved by installing a manager licence
Configuring Users
System | Users
Represent individuals
Class of Users
To View
F2
Viewable Areas
Set Viewable Areas
Set Areas for privileges 1-8
Global Privileges
User X
Global Privileges 2 3 4 5 6 7
Area 1 Privileges 2
1 8
Area 2 Privileges 3 5
Area 3 Privileges 7