Top Banner
Click to edit Master title style Revision History 6-12/09/05 - IR Add revision history page Re-paginate and sort chapters Re-colour Arrows to avoid bleached effect on data projector Change screen shots to Win2000 Time scheduler added Add page for Keyboard Command Levels Add Alarm Category explanation Add Report Process 12-13/09/05 – DH Set all font-sizes (32/20 in header bars, 28 in main text) Added chapter marker slides, intro & summary slides Added exercise marker slides Additional slides in Navigation and Process Analyst chapters 13/10/05 – DH Added ‘intro to SCADA’ slides 23/01/06 - DH Extra slides for colour theory, genies, Cicode login code explanation Regular slides to remind students to backup their work Other minor fixes 7/02/06 - DH Add page numbers to exercise slides Convert to v6.1 Re-number pages for removal of Scheduler chapter 29/05/06 - DH Added ‘Training Agreement’ Fix various typos Add Day-2 revision Insert day-break slides Added end-of-chapter summary questions 27/06/06 - DH Added ergonomics slide 25/08/06 – PW Added Schneider Electric Logo to each page Centered Heading in each page Added Chapter 9 – OFS Server Renumbered chapters following Chapter 9 Adjusted Definition of SCADA Removed Appendix’s Changed picture on slide 50 to Vijeo Citect 03/09/06 Added slides detailing licencing & others Copied recent updates from Citect slide-set Removed all centred slide titles
321
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Vijeo Basic

Click to edit Master title styleRevision History6-12/09/05 - IR

Add revision history pageRe-paginate and sort chaptersRe-colour Arrows to avoid bleached effect on data projectorChange screen shots to Win2000Time scheduler addedAdd page for Keyboard Command LevelsAdd Alarm Category explanationAdd Report Process

12-13/09/05 – DHSet all font-sizes (32/20 in header bars, 28 in main text)Added chapter marker slides, intro & summary slidesAdded exercise marker slidesAdditional slides in Navigation and Process Analyst chapters

13/10/05 – DHAdded ‘intro to SCADA’ slides

23/01/06 - DHExtra slides for colour theory, genies, Cicode login code explanationRegular slides to remind students to backup their workOther minor fixes

7/02/06 - DHAdd page numbers to exercise slidesConvert to v6.1

Re-number pages for removal of Scheduler chapter

29/05/06 - DHAdded ‘Training Agreement’Fix various typosAdd Day-2 revisionInsert day-break slidesAdded end-of-chapter summary questions

27/06/06 - DHAdded ergonomics slide

25/08/06 – PWAdded Schneider Electric Logo to each pageCentered Heading in each pageAdded Chapter 9 – OFS ServerRenumbered chapters following Chapter 9Adjusted Definition of SCADARemoved Appendix’sChanged picture on slide 50 to Vijeo Citect

03/09/06Added slides detailing licencing & othersCopied recent updates from Citect slide-setRemoved all centred slide titles

Page 2: Vijeo Basic

Vijeo CitectBasic Configuration V6.1

Hands-On Course, presented by David Heath

Page 3: Vijeo Basic

Click to edit Master title styleObjectives (pg1-3)

Good understanding & competent in use of Vijeo Citect

Able to communicate with PLC using Vijeo Citect

Apply learning to your own site or project

Troubleshoot problems and take appropriate action

Maximise performance of your Vijeo Citect application

Use the on-line help and Knowledge Base effectively

Page 4: Vijeo Basic

Click to edit Master title styleAgenda - Day 1 (pg1-4)

Welcome

Client Configuration

Managing Projects

Setting up Communications

Graphics

Page 5: Vijeo Basic

Click to edit Master title styleAgenda - Day 2 (pg1-4)

Commands and Controls

Genies

Pop-up Pages and Super Genies

OFS Server

Devices

Events

Alarms

Page 6: Vijeo Basic

Click to edit Master title styleAgenda - Day 3 (pg1-4)

Trends

Process Analyst

Navigation

Reports

Security

Page 7: Vijeo Basic

Click to edit Master title styleTraining Facilities

Emergency Exits

Ladies’ & Gents’

Kitchen

Breaks / lunch

Mobile Phones

Compendium

Page 8: Vijeo Basic

Click to edit Master title styleWelcome

Introduce trainer

Students introduce selfName

Employer

Current Citect experience

Expected outcomes from training

Page 9: Vijeo Basic

Click to edit Master title styleTraining Agreement

It’s OK to….Express ideas

Challenge the facilitator

Offer examples

Question

Relax

Page 10: Vijeo Basic

Click to edit Master title styleTraining Agreement

Trainer’s roleStart and end on time

Professionally facilitate the exchange of information and knowledge

Allow time for (and encourage) input

Listen non-defensively

Help you learn

Page 11: Vijeo Basic

Click to edit Master title styleTraining Agreement

Your roleBe on time

Participate

Learn in your own way

Provide honest open feedback

Enjoy yourself

Page 12: Vijeo Basic

Click to edit Master title styleErgonomics

Desks and chairsAdjust to your comfort level

Relocate screen, keyboard, mouse as required

Environmental conditionsLighting

Air conditioning

Rest and relaxationRegular movement

Eye strain

Page 13: Vijeo Basic

Introduction to SCADA

Page 14: Vijeo Basic

Click to edit Master title styleDefinition of SCADA

Supervisory Control and Data Acquisition

a computer system for gathering and analyzing real time data.

Used to monitor and control a plant or equipment in industries such as telecommunications, water and waste control, energy, oil and gas refining and transportation.

Source: http://www.webopedia.com/TERM/S/SCADA.html

Page 15: Vijeo Basic

Click to edit Master title styleDefinition 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.

Can be relatively simple

such as one that monitors environmental conditions of a small office building

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

Page 16: Vijeo Basic

Click to edit Master title styleSCADA

Supervisory Control And Data AcquisitionSupervisory control

NOT Control

Data acquisitionIn real-time

Network

Page 17: Vijeo Basic

Click to edit Master title styleSCADA in the ‘Real World’

Group DiscussionWhere is SCADA used?

Where could it be used?

What should it be used for vs. what it should not?

Page 18: Vijeo Basic

Click to edit Master title styleCitect’s SCADA Product

Market shareAround 50% - 60% Australian market share

Closer to 5% worldwide

Age & maturity of the productFirst version released in the mid-1980s

Currently v6.10, v7.00 due end of 2006

StrengthsFlexibility to support PLCs from nearly ALL vendors

Robust development environment

Page 19: Vijeo Basic

Vijeo Citect Configuration Environment

Chapter 2

Page 20: Vijeo Basic

Click to edit Master title styleVijeo Citect Environment

Chapter OverviewSystem requirements

Vijeo Citect Explorer

Include Projects

Vijeo Citect Project Editor

Vijeo Citect Graphics Builder

Cicode Editor

Page 21: Vijeo Basic

Click to edit Master title styleThe Vijeo Citect Environment

Divided into two distinct parts: Runtime System

Configuration Environment

Citect Explorer

Project Editor

Citect Graphics Builder

Cicode Editor

Citect Help

Page 22: Vijeo Basic

Click to edit Master title styleSystem Requirements (pg2-2)

Review your hardware requirements if upgrading from previous versions

Minimum Hardware – False economy

Process Analyst – very intensive graphics

Standard Business PC has low-end graphics capability

Windows 95, 98, ME, NT no longer supported

Page 23: Vijeo Basic

Click to edit Master title styleSystem Requirements (pg2-2)

Operating SystemWindows 2000

Windows XP-SP2

Windows Server 2003

Minimum HardwarePentium 500MHz

128MB RAM

Preferred HardwarePentium 1GHz

512MB RAM

Page 24: Vijeo Basic

Click to edit Master title styleLicensing (pg2-3)

Point Count75, 150, 500, 1500, 5000, 15000, unlimited

1 point = 1 variable tag linked to an external device that is used in the project

Client Access Licences (CALs)Full: Server or Display Client

Manager: Read only (not for servers)

Internet Display, Internet Manager

Server-side (floating) licences

Page 25: Vijeo Basic

Click to edit Master title styleRuntime System (pg2-2)

The runtime system consists ofRuntime Application

Vijeo Citect Kernel

Cicode Debugger

At runtime Vijeo Citect will communicate with I/O Devices

Process Alarms

Symbols

Page 26: Vijeo Basic

Click to edit Master title styleCitect Explorer (pg 2-4)

Automagically starts and stops Project Editor and Graphics Builder

Project selection and management

Backup and Restore

Start other applications

Page 27: Vijeo Basic

Click to edit Master title styleInclude Projects (pg2-5)

Include up to 240 projects (including system projects)

Any modifications in Citect supplied Include projects will be overwritten in upgrades

Create your own Include project for cross project needs

Main Project

Plant Section #1 Plant Section #2CSV_ Include

(XP Style)Include

(Pre V5.5 Objects)

Page 28: Vijeo Basic

Click to edit Master title styleProject Editor (pg2-6)

Create and manage the Vijeo Citect database containing the configuration information for your Vijeo Citect project

Does not manage graphics pages

View all Vijeo Citect project database records

dbfDatabase files

Page 29: Vijeo Basic

Click to edit Master title styleCicode Editor (pg2-8)

Auto- IndentSyntax Colouring

KeyWord Case

Page 30: Vijeo Basic

Hands-on Exercise

Exercise 2.1

Exploring the Environment

Page 2-9

Page 31: Vijeo Basic

Click to edit Master title styleChapter 2Summary Questions

Name the four separate programs comprising the Vijeo Citect Configuration Environment.

Which component is also known as the controlling configuration application?

Which program must be started separately?

Page 32: Vijeo Basic

Click to edit Master title styleCitect Configuration Environment

Chapter SummarySystem requirements

Vijeo Citect Explorer

Include Projects

Vijeo Citect Project Editor

Vijeo Citect Graphics Builder

Cicode Editor

Page 33: Vijeo Basic

Managing ProjectsChapter 3

Page 34: Vijeo Basic

Click to edit Master title styleManaging Projects

Chapter OverviewCreate a New Project

Computer Setup Wizard

Backup and Restore a Project

Including Projects

Page 35: Vijeo Basic

Click to edit Master title styleNew Projects (pg3-2)

Up to 64 characters

Best not to use any special characters:Forbidden:

“ * | \ [ ] : < > ? / ; ‘

Probably bad:! @ # $ % ^ & ( ) + = } { ~ ,

Underscore _ is OK

Page 36: Vijeo Basic

Hands-on Exercise

Exercise 3.1

Create a New Project

Page 3-4

Page 37: Vijeo Basic

Click to edit Master title styleComputer Setup Wizard (pg3-5)

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)

Set up alarms, reports, trends & events

Select options that affect the runtime application

Outside of Citect computer set-up wizard

Controllers

Page 38: Vijeo Basic

Hands-on Exercise

Exercise 3.2

Computer Setup Wizard

Page 3-6

Page 39: Vijeo Basic

Click to edit Master title styleBackup & Restore (pg3-9)

From Vijeo Citect Explorer

Backup

Restore

Page 40: Vijeo Basic

Click to edit Master title styleBackup Options (pg3-9)

Compiled – unnecessaryincreases size of backup

EncryptionRelatively pointless, given the wide availability of ‘cracking’ tools

Save system filesFor support purposes onlySaves Windows config filesDon’t normally use this

Save sub-directoriesYes! (we’ll come back to this)

Page 41: Vijeo Basic

Click to edit Master title styleBackup to Removable (p 3-9)

New with v6.10, Vijeo Citect no longer blanks removable media prior to backup!

When the disk or memory stick contains files, the following additional message appears:

Page 42: Vijeo Basic

Click to edit Master title styleBackup is a Zip File (pg3-9)

You can change the suffix of “ctz” to “zip” and view the contents of the backup

Page 43: Vijeo Basic

Click to edit Master title styleBackup Management (pg3-9)

Change Log

Version Control

Be able to back-track

Page 44: Vijeo Basic

Click to edit Master title styleRestore as New Project (pg3-12)

Restore as a current project overwrites existing project with the same name

Page 45: Vijeo Basic

Hands-on Exercise

Exercise 3.3

Backing Up, Restoring and Deleting a Project

Page 3-10

Page 46: Vijeo Basic

Click to edit Master title style

View New Selection

Include Projects (pg3-13)

Milk Treatment Selected

from Explorer

Page 47: Vijeo Basic

Hands-on Exercise

Exercise 3.4

Including Projects

Page 3-14

Page 48: Vijeo Basic

Click to edit Master title styleSummary Questions

In which directory is each project created and stored?

What is the name of the pre-configured project that is installed with each new project?

Which Wizard allows you to setup and customise your computer?

Why should backups be taken of your project?

Page 49: Vijeo Basic

Click to edit Master title styleManaging Projects

Chapter SummaryCreate a New Project

Computer Setup Wizard

Backup and Restore a Project

Including Projects

Page 50: Vijeo Basic

Setting Up Communications

Chapter 4

Page 51: Vijeo Basic

Click to edit Master title styleSetting Up Communications

Chapter OverviewExpress communications wizard

Communications dialogs

Variable tags

Forms

Testing communications

Structured tag names

Using Excel to add variable tags

Page 52: Vijeo Basic

Click to edit Master title styleVijeo CitectSCADA I/O (pg4-2)

Vijeo Citect

Vijeo Citect I/O Server

I/O BoardsI/O Boards

PortsPorts

Devices

Express Communication

Wizard

Page 53: Vijeo Basic

Click to edit Master title styleCommunications Wizard (pg4-2)

Defines communications with respect to the Vijeo Citect software

Select Project

Page 54: Vijeo Basic

Click to edit Master title styleCommunications Wizard (pg4-2)

Page 55: Vijeo Basic

Click to edit Master title styleExpress Communication (p4-3)

Page 56: Vijeo Basic

Hands-on Exercise

Exercise 4.1

Express Communication Wizard

Page 4-3

Page 57: Vijeo Basic

Click to edit Master title styleCommunications Files (pg4-10)

Database files (*.dbf)Can be viewed in Excel

I/O Server --scanner.dbf

Boards --boards.dbf

Ports -- ports.dbfI/O Devices -- unit.dbf

Page 58: Vijeo Basic

Click to edit Master title styleI/O Device Types (pg4-11)

External I/O Device

Manufacturer

Protocol

Address

Memory I/O DeviceDoes not retain data

Specify protocol

Disk I/O DeviceSpecify data file location

Retains data

Specify protocol

1010101010101010

PC memory PC Disk

Page 59: Vijeo Basic

Click to edit Master title styleI/O Device Configuration (pg4-11)

Hit <F2> Key to view extra options

Click Help for field information

Page 60: Vijeo Basic

Click to edit Master title styleAfter the I/O Wizard (pg4-11)

Page 61: Vijeo Basic

Hands-on Exercise

Exercise 4.2

Communication Dialogs

Page 4-11

Page 62: Vijeo Basic

Click to edit Master title styleForms (pg4-13)

Create a new record with the current details

Update an existing record with the current details

Delete the current record

Access help on the currently selected function

Page 63: Vijeo Basic

Click to edit Master title styleShow Deleted Entries (pg4-13)

Deleted items are “flagged for deletion”

File | Pack deletes items

DeletedItemsVisible

ShowDeletedItems

Page 64: Vijeo Basic

Click to edit Master title styleTest Communications (pg4-14)

Create variable tag called “Test”Use graphics builder to create simple pageAssociate buttons and text label to “TEST” tagCompile, run, and watch the magic

Page 65: Vijeo Basic

Hands-on Exercise

Exercise 4.3

Testing Communications

Page 4-14

Page 66: Vijeo Basic

Click to edit Master title styleStructured Tag Names (pg4-22)

Area_Type_Occurrence_Attribute

Simplifies maintenance and allows creation of sophisticated genies

Area section identifies a plant area, number, or name – can be omitted if not needed

Type section identifies the Type of parameter, process equipment, or control hardware. The ISA standard naming system is recommended

Occurrence section identifies the loop number

Attribute section identifies the attribute or particular parameter that is associated with the loop

ISA Standards Link

Page 67: Vijeo Basic

Click to edit Master title styleStructured Tag Names (pg4-23)

Variable Tag Meaning

Area

B1_bbb_ccc_dd Boiler 1

B2_bbb_ccc_dd Boiler 2

Type

aa_TIC_ccc_dd Temperature Indicating Controller

aa_FIV_ccc_dd Flow Indicating Controller

aa_VALVE_ccc_dd Valve

Occurence

aa_TIC_101_dd Temperature Indicating Controller 101

aa_FIV_102_dd Flow Indicating Controller 102

Attribute

aa_bbb_ccc_PV Process variable

aa_bbb_ccc_SP Set Point

aa_bbb_ccc_CMD Command Signal

Page 68: Vijeo Basic

Click to edit Master title styleTag Naming (pg4-23)

Up to 79 characters

Do not start names with a digit

Best not to use any special characters:Forbidden:

* | \ [ ] : < > ? / ; , “

Probably bad:! @ # $ % ^ & ( ) + = } { ~ `

Underscore _ is OK

Structured tags allow text string substitution in genies and super genies

Avoids entering full tag names

Page 69: Vijeo Basic

Hands-on Exercise

Exercise 4.4

Milk Treatment Plant Variable Tags

Page 4-24

Page 70: Vijeo Basic

Click to edit Master title styleBackup & Think Again (pg4-25)

Danger!! Always backup your original <name>.dbf file!!

Vijeo Citect can be made inoperable by changing these files outside of the application

Page 71: Vijeo Basic

Click to edit Master title styleSave DBF Macro (pg4-25)

Handy to use Excel to make mass changes or view multiple records

In c:\Citect\bin is a macro that you can run and add in this functionality

Excel will open dbf files but not save them as dbf files easily

Must set Excel security to “low” and restart Excel

Page 72: Vijeo Basic

Click to edit Master title styleAdd Tags using Excel (pg4-26)

Open Variable.dbf

Excel opensRight click & Save/Close DBF in C:\temp\ as

variable_new.dbf

Page 73: Vijeo Basic

Hands-on Exercise

Exercise (optional)

Using Microsoft Excel to Add Variable Tags

Page 4-25

Page 74: Vijeo Basic

Click to edit Master title style Summary Questions

What is the minimum number of I/O servers required?

What information is configured through the Express Communications Wizard?

What information is stored within a variable tag?

How are the communications tested?

What sections comprise the naming standard for tags?

Page 75: Vijeo Basic

Click to edit Master title styleSetting Up Communications

Chapter SummaryExpress communications wizard

Communications dialogs

Variable tags

Forms

Testing communications

Structured tag names

Using Excel to add variable tags

Page 76: Vijeo Basic

GraphicsChapter 5

Page 77: Vijeo Basic

Click to edit Master title styleGraphics

Chapter OverviewCreate pages

CSV_Include project

Drawing basic objects

Runtime properties

Creating symbols

ActiveX

True colour graphics

Page 78: Vijeo Basic

Click to edit Master title styleInclude Templates (pg5-3)

Retain link to template when used in project

Page 79: Vijeo Basic

Hands-on Exercise

Exercise 5.1

Creating a New Page

Page 5-6

Page 80: Vijeo Basic

Click to edit Master title style

Process Analyst

Genie

Drawing Objects (pg5-7)

Free hand

Rectangle

Polygon

Text tool

Button

Active X Control

Symbol

Line

Oval

Pipe

Numeric

Symbol Set

Cicode ObjectTrend

Database Exchange

Page 81: Vijeo Basic

Click to edit Master title styleDrawing Objects (pg5-7)

Objects can also be selected from “Objects” on the pull-down menu

Page 82: Vijeo Basic

Click to edit Master title styleObject Properties (pg5-7)

Appearance (General)

Quick reference to altered properties

Alter a property and a appears in the tab

Appearance

General

Page 83: Vijeo Basic

Click to edit Master title stylePasteuriser Layout (pg5-9)

Page 84: Vijeo Basic

Hands-on Exercise

Exercise 5.2

Drawing the Milk Treatment Graphics Page

Page 5-10

Page 85: Vijeo Basic

Click to edit Master title styleUseful Drawing Tips (pg5-12)

‘Lasso’ several objects

Group Objects

Send to Back

Bring to Front

Copy: <ctrl> d / <ctrl> drag

Mouse-down + arrow keys

‘Enter’ + arrow keys

Page 86: Vijeo Basic

Hands-on Exercise

Exercise 5.3

Rectangles, Squares, Ellipses and Circles

Page 5-14

Page 87: Vijeo Basic

Hands-on Exercise

Exercise 5.4

Pipes, Polylines and Polygons

Page 5-16

Page 88: Vijeo Basic

Click to edit Master title styleExpression Wizard (pg5-18)

Avoid typos – use Expression Wizard!

Page 89: Vijeo Basic

Click to edit Master title styleRuntime Object Display (pg5-18)

MyNewObject

MultiState

On / Off

Array

Threshold

Page 90: Vijeo Basic

Hands-on Exercise

Exercise 5.5

Displaying Objects in Different Colours at Runtime

Page 5-18

Page 91: Vijeo Basic

Hands-on Exercise

Exercise 5.6

Displaying a Bar Graph

Page 5-20

Page 92: Vijeo Basic

Hands-on Exercise

Exercise 5.7

Displaying Numbers at Runtime

Page 5-22

Page 93: Vijeo Basic

Hands-on Exercise

Exercise 5.8

Displaying Text at Runtime

Page 5-23

Page 94: Vijeo Basic

Click to edit Master title styleSymbol Sets (pg5-25)

Symbol sets Multiple or sequential graphics indicate change of statesArrays – change colour with values inputAnimation – movement responding to input

Page 95: Vijeo Basic

Hands-on Exercise

Exercise 5.9

Using Symbol Sets

Page 5-25

Page 96: Vijeo Basic

Click to edit Master title styleSymbol Set Libraries (pg5-27)

From Include Projects

Add your own libraryAvoids being overwritten on upgrading CitectHMI/SCADA

Valve_Solenoid.up_small_green

Duplicate libraries in multiple projects are merged

Symbol setlibraries

Library Name Object Name

Page 97: Vijeo Basic

Hands-on Exercise

Exercise 5.10

Creating Symbols

Page 5-30

Page 98: Vijeo Basic

Click to edit Master title styleTroubleshooting Tip

When was the last time you backed up your project?

Page 99: Vijeo Basic

Click to edit Master title styleActiveX Controls (pg5-32)

Microsoft standard

Separate component

Developed by Citect and integrated into Vijeo CitectHMI/SCADA

Can be developed(and supported)by 3rd parties

Page 100: Vijeo Basic

Click to edit Master title styleActiveX Controls (pg5-32)

ActiveX properties unique to each control

Insert ActiveX control just like any other object

Meters

Menus

Calendars

Control Panels

Page 101: Vijeo Basic

Hands-on Exercise

Exercise 5.11

Add an ActiveX Object

Page 5-33

Page 102: Vijeo Basic

Click to edit Master title styleImporting Graphics (pg5-37)

Create Images from External sourcesImport many file types, including

BMPDXFEPSJPGPCXPNGTIFWMF

Page 103: Vijeo Basic

Hands-on Exercise

Exercise 5.12

Importing Graphics Images

Page 5-38

Page 104: Vijeo Basic

Click to edit Master title styleAdjust Colours (pg5-41)

From Hue rangePick up a range of colours

To Hue rangeStart point of replacement colours

Hue

Page 105: Vijeo Basic

Click to edit Master title styleLuminance vs. Saturation

WhiteBlack

(Selected Colour)

50%

Shade of Grey

Satu

rati

on

Luminance

R G B

172 60 140

160 76 136

148 92 132

136 108 128

124 124 124

Saturation

R G B

0 0 0

86 30 70

172 60 140

214 157 198

255 255 255

Luminance

Page 106: Vijeo Basic

Hands-on Exercise

Exercise 5.13

Adjust Colours

Page 5-41

Page 107: Vijeo Basic

Click to edit Master title styleCreate Image as Background (pg5-43)

Lock Background ImagesCannot select background image

Edit | Lock Object

Page 108: Vijeo Basic

Hands-on Exercise

Exercise 5.14

Set an Image as the Background

Page 5-43

Page 109: Vijeo Basic

Click to edit Master title styleSummary Questions

Which project is automatically configured with new projects?

What do libraries contain?

What steps do you take to test modifications to the project page?

Why are True Colour Graphics used?

Which program is used to import these graphic files?

Page 110: Vijeo Basic

Click to edit Master title styleGraphics

Chapter SummaryCreate pages

CSV_Include project

Drawing basic objects

Runtime properties

Creating symbols

ActiveX

True colour graphics

Page 111: Vijeo Basic

Click to edit Master title styleEnd of Day One

Congratulations – We Survived!!

Page 112: Vijeo Basic

Click to edit Master title styleEnd of Day One

What have we covered?The Citect Environment (Chapter 2)

ExplorerProject EditorGraphics BuilderCicode Editor

Managing Projects (Chapter 3)Creating ProjectsBacking Up & Restoring ProjectsComputer Setup WizardIncluding Projects

Page 113: Vijeo Basic

Click to edit Master title styleEnd of Day One

What have we covered?Communications (Chapter 4)

Express Communications Wizard

I/O Devices etc

Testing Communications

Structured Tag Names

Using Excel

Graphics (Chapter 5)Building the Pasteuriser Page

Variable Colours and Appearance

Symbol Sets and Simple Animation

Creating Symbols, ActiveX

Page 114: Vijeo Basic

Click to edit Master title styleClosing Thought

It has been for me a glorious day, like giving to a blind man eyes, he is overwhelmed by what he sees and cannot justly comprehend it. Such are my feelings, and such may they remain.

- Charles Darwin (January 16th 1832)

Page 115: Vijeo Basic

Vijeo Citect Basic Configuration V6

Day 2

Page 116: Vijeo Basic

Commands and Controls

Chapter 6

Page 117: Vijeo Basic

Click to edit Master title styleCommands and Controls

Chapter OverviewSlider Controls

Touch Commands

Keyboard Commands

Creating a Privileged User

Page 118: Vijeo Basic

Click to edit Master title styleSlider Controls (pg6-2)

Paste SymbolDesignate input variable Tag property

Input wrt the symbol - Physical output in this caseCalculate an appropriate offset size in Pixels

Symbol Slider(vertical)

Page 119: Vijeo Basic

Hands-on Exercise

Exercise 6.1

Slider Controls

Page 6-2

Page 120: Vijeo Basic

Click to edit Master title styleTouch Commands (pg6-5)

Paste Symbol

Designate Input(Touch) command

Designate variable Tag property

StartDevice

Page 121: Vijeo Basic

Hands-on Exercise

Exercise 6.2

Touch Commands

Page 6-5

Page 122: Vijeo Basic

Click to edit Master title styleKeyboard Commands (pg6-9)

Some Vijeo Citect Keys Pre-definedDefine Keyboard KeySelect symbol to be usedUse Input (keyboard commands)propertiesDefine function to be performedDefine action

Go BackwardGo to Forward

Hit F5To go

Forward

Page 123: Vijeo Basic

Click to edit Master title styleKeyboard Commands (pg6-9)

Object level

Page level

System Level

Page 124: Vijeo Basic

Hands-on Exercise

Exercise 6.3

Keyboard Commands

Page 6-10

Page 125: Vijeo Basic

Click to edit Master title styleUnderstanding ArgValue (p6-14)

Citect will refuse to directly connect keyboard entry to a variable tag

ArgValue is an internal variable which accepts ‘numeric’ keystrokes

Once the operator presses ‘enter’ the typed value is copied to the PLC tag

Page 126: Vijeo Basic

Click to edit Master title styleUser Privileges (pg6-15)

By default, privileges are non-hierarchical (i.e. users with privilege 3 only have access to commands with classification 3)

Non-hierarchical privileges add flexibility to your system, especially when used with the area facility

Hierarchical privileges set by parameter in citect.ini

[Privilege]Exclusive = 0

To allocate all privileges, you would only need to specify privilege 8

8 - Highest

1 - Lowest

Page 127: Vijeo Basic

Click to edit Master title styleUser Privileges (pg6-15)

Part of security framework

Object Level Access

UsersAlso Areas

User Logins

Page 128: Vijeo Basic

Hands-on Exercise

Exercise 6.4

Create a Privileged User

Page 6-16

Page 129: Vijeo Basic

Click to edit Master title styleSummary Questions

Name the three types of commands and controls.

Which control allows the value of an analog variable to be changed?

Which command enables the operator to execute a command (or series of commands) by clicking on an object with the mouse?

Why are privileges set?

Page 130: Vijeo Basic

Click to edit Master title styleCommands and Controls

Chapter SummarySlider Controls

Touch Commands

Keyboard Commands

Creating a Privileged User

Page 131: Vijeo Basic

Genies Chapter 7

Page 132: Vijeo Basic

Click to edit Master title styleGenies

Chapter Overview

Pasting a Genie from Libraries

Creating a New Genie

Modifying a Genie

Genie Syntax

Page 133: Vijeo Basic

Click to edit Master title styleGenies (pg7-2)

Group together graphical objectsFrom standard symbols

Define combined properties and actions

Provide values or operations for the tags

Page 134: Vijeo Basic

Click to edit Master title styleDeveloping a Genie

On When

Off Symbol

On Symbol

Tooltip:

Toggle:

Key:

F5

Toggle(Valve_Cool_CMD)

Press F5 to change Valve_Cool_CMD

Valve_Cool_CMD

F5

F5

Toggle(%Tag%)

Toggle(Valve_%Name%_CMD)

Press F5 to change %Tag%

Press F5 to change Valve_%Name%_CMD

%Tag%

Valve_%Name%_CMD

Page 135: Vijeo Basic

Click to edit Master title styleWhat is a Genie? (pg7-2)

A group of symbols that can be re-used

Symbol Set PropertiesOn Symbol TAG | <set when used on a page>On Symbol | Green_PumpOff Symbol | Red_pump

Numeric Propertiesnumeric expression | <numeric expression>Format | ### EU###

The power of a Genie is that objects are defined only once

Every time you place the Genie onto a page, you will only have to specify the <substitution> information.

Page 136: Vijeo Basic

Hands-on Exercise

Exercise 7.1

Pasting a Genie from the Libraries

Page 7-3

Page 137: Vijeo Basic

Click to edit Master title styleViewing Genie Properties (pg7-2)

Double clicking a genie shows the tags for variables to be entered<ctrl> Double click shows the genie propertiesLinks to source of genie make properties read only

Page 138: Vijeo Basic

Click to edit Master title styleCreating Genies (pg7-5)

In Graphics Builder

Do not save in Include project library

Update task required to propagate changes when modified

Page 139: Vijeo Basic

Click to edit Master title styleSubstitutions for Genies (pg7-6)

You are not restricted to using only variable tags as substitution strings

Any expression can be substituted, such as constants or labels

Only fields that accept text can have Genie tag substitutions

Symbol Set PropertiesOn Symbol TAG | %status TAG%On Symbol | Green_PumpOff Symbol | Red_pump

Numeric Propertiesnumeric expression | %Speed Tag%Format | ### EU

###

Page 140: Vijeo Basic

Click to edit Master title styleSubstitutions in Genies (pg7-6)

You can specify variables or constants in Genies

Enclose in % .. %

Define them when you use them

Genie variable

%name%

Genie variable

%privilege%

Page 141: Vijeo Basic

Hands-on Exercise

Exercise 7.2

Creating a New Genie

Page 7-7

Page 142: Vijeo Basic

Click to edit Master title styleLocating the Genies

Page 143: Vijeo Basic

Click to edit Master title styleTroubleshooting Tip

When was the last time you backed up your project?

Page 144: Vijeo Basic

Click to edit Master title styleSummary Questions

What is a genie?

Page 145: Vijeo Basic

Click to edit Master title styleGenies

Chapter SummaryPasting a Genie from Libraries

Creating a New Genie

Modifying a Genie

Genie Syntax

Page 146: Vijeo Basic

Popup Pages and Super Genies

Chapter 8

Page 147: Vijeo Basic

Click to edit Master title stylePopup Pages

Chapter OverviewCreating Popup Pages

Calling Popup Pages from Symbols

Calling Popup Pages from Genies

Creating Super Genies

Page 148: Vijeo Basic

Click to edit Master title styleThis is really easy!

Page 149: Vijeo Basic

Click to edit Master title styleSuper Genies (pg8-2)

Dynamic pages (usually pop-ups), to which you can pass information when the page is displayed in the runtime system

You can use Super Genies for pop-up type controllers Control a process, or a single piece of plant floor equipment

OFF

ON

80 C

OK

AssWin(sPage, X, Y, Mode, sTag1..8)

Genie controller. Calls a Super Genie Cicode function, which performs the substitutions and displays the popup.

Cicode function within Genie controller - calls the popup, controls where and how it is placed Super Genie pop-up

controller

Page 150: Vijeo Basic

Click to edit Master title styleAnatomy of a Pop-up (pg8-2)

OFF

ON

80 C

OK

?1?=1

?1?=0 ?2?

?1?

CloseWinFree()

Mode

AssWin(sPage, X, Y, Mode, dTag1,iTag2)

Wintitle()

Page 151: Vijeo Basic

Click to edit Master title styleSuper Genie vs Popup (pg8-2)

Super Genies are transportable

Saved into library as file <sgeniename>.ctm

Popup pages saved as page in project

Page 152: Vijeo Basic

Click to edit Master title styleSubstitution of Variables (pg8-3)

Variable Tags can be substituted at runtime by enclosing in ? …. ?

?datatype number?

AssWin(sPage, X, Y, Mode, sTag1,sTag2,STag3 …)

Page Name to be called

X,YCo-ord

Mode sTag1 convention for string, iTag for integer etc

String, Integer, Digital, Real

Tag1Tag1 Tag2 Tag3

Page 153: Vijeo Basic

Hands-on Exercise

Exercise 8.1

Creating Popup Pages

Page 8-4

Page 154: Vijeo Basic

Click to edit Master title styleViewing System Pages (p8-7)

Click on Tools | Options

Check List System Pages

Allows pages beginning with ! to be displayed

Page 155: Vijeo Basic

Click to edit Master title styleHELP - AssWin Modes (pg8-8)

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 screen512 - 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.

Page 156: Vijeo Basic

Hands-on Exercise

Exercise 8.2

Calling Popup Pages from Symbols

Page 8-8

Page 157: Vijeo Basic

Hands-on Exercise

Exercise 8.3

Calling Popup Pages from Genies

Page 8-9

Page 158: Vijeo Basic

Click to edit Master title styleAnimation Points (pg8-11)

The points on a graphics page where an object displays when you add an object to your page

an animation number (AN) is automatically allocatedlocation of the object

Super Genie format automatically allocates:AN1 +1 keyboard input

AN2 +2 Prompt information

Do not remove these objectsSimply move them out of the visible area of the genieThey are still saved when you do this

Page 159: Vijeo Basic

Click to edit Master title styleUsing the Cicode Editor (pg8-11)

When complex terms are used in genies use the Cicode editor

Select New and Cicode program

Colour coding! Copy & Paste into form

Page 160: Vijeo Basic

Hands-on Exercise

Exercise (optional)

Creating Super Genies

Page 8-11

Page 161: Vijeo Basic

Click to edit Master title styleSummary Questions

What are popup pages and super genies?

Can popup pages be opened using the Page controls?

Page 162: Vijeo Basic

Click to edit Master title stylePopup Pages

Chapter SummaryCreating Popup Pages

Calling Popup Pages from Symbols

Calling Popup Pages from Genies

Creating Super Genies

Page 163: Vijeo Basic

OFS ServerChapter 9

Page 164: Vijeo Basic

Click to edit Master title styleOFS Server

Chapter OverviewWhat is OPC?

OFS Server

Vijeo Citect OPC Client

OPC Access Paths

Page 165: Vijeo Basic

Click to edit Master title styleWhat is OPC? (pg9-2)

Industry standard interface mechanism based on OLE for extracting or sending data to or from a SCADA system to another application

Page 166: Vijeo Basic

Click to edit Master title styleOFS Server (pg9-3)

Acts as a gateway between the I/O Device and the application that wants to read the values

I/O Device OFS Server Vijeo Citect

Page 167: Vijeo Basic

Hands-on Exercise

Exercise 9.1

Set up a simulation usingthe OFS Configuration tool

Page 9-4

Page 168: Vijeo Basic

Hands-on Exercise

Exercise 9.2

Run the OFS Serverin Simulation mode

Page 9-8

Page 169: Vijeo Basic

Click to edit Master title styleVijeo Citect OPC Client (pg9-14)

The software that connects to an OPC Server is called the OPC Client

I/O Device OFS Server OPC Client

Page 170: Vijeo Basic

Hands-on Exercise

Exercise 9.3

Connecting a project tothe simulator using OPC

Page 9-15

Page 171: Vijeo Basic

Click to edit Master title styleOPC Access Paths (pg9-23)

Sets up path for the OPC Server to access a particular item.

Perhaps multiple modems are connected to the Server, if one modem is faster, we can get the Server to use this modem by setting up an OPC Access Path

Page 172: Vijeo Basic

Click to edit Master title styleOPC Access Paths (pg9-23)

Page 173: Vijeo Basic

Hands-on Exercise

Exercise 9.4

Set an OPC Access Path

Page 9-24

Page 174: Vijeo Basic

Hands-on Exercise

Exercise 9.5

Run the MilkOPC Project

Page 9-25

Page 175: Vijeo Basic

Click to edit Master title styleExercise 9-5 (pg9-25)

Once the OPC Factory Server Simulator is running, run the MilkOPC project and open the Pasteuriser page

Page 176: Vijeo Basic

Click to edit Master title styleOFS Server

Chapter SummaryDefined OPC

Set up an OFS Server

Set up an OPC Client

Set up an OPC Access Path

Page 177: Vijeo Basic

Devices Chapter 10

Page 178: Vijeo Basic

Click to edit Master title styleDevices

Chapter OverviewWhat are Devices?

Setting up Devices

Using Device History Files

Set up a Device

Page 179: Vijeo Basic

Click to edit Master title styleWhat are Devices? (pg10-3)

An output mechanism to deliver data from your Vijeo Citect systemCan output to

RTF filesRich text format (Microsoft standard)

ASCII filesPlain text files

dBASE databasesSQL databases

Via database connection driver

Printers

Device

Page 180: Vijeo Basic

Click to edit Master title styleAdd New Devices (pg10-4)

System | Devices

Period allows monthly, yearly logging periods

[data] path variable in citect.ini file

Specifies folder

Page 181: Vijeo Basic

Click to edit Master title styleDevice History Files (pg10-5)

Define pathname:filename

File type

No. of files0 – no files

-1 keep adding to 1 file

n files

Default 10

Page 182: Vijeo Basic

Hands-on Exercise

Exercise 10.1

Setup a Device

Page 10-7

Page 183: Vijeo Basic

Click to edit Master title style

No logging!CommandLog

Why Doesn’t it Work?

F5 !Valve

Page 184: Vijeo Basic

Click to edit Master title styleSummary Questions

What is a device?

Why are devices used?

Why are device history files used?

Page 185: Vijeo Basic

Click to edit Master title styleDevices

Chapter SummaryWhat are Devices?

Setting up Devices

Using Device History Files

Set up a Device

Page 186: Vijeo Basic

Events Chapter 11

Page 187: Vijeo Basic

Click to edit Master title styleEvents

Chapter Overview

Define Events

Enable Events

Page 188: Vijeo Basic

Click to edit Master title styleConfiguring Events (pg11-2)

Events can trigger an action, such as a command or set of commands

An operator can be notified when:Process is complete

Series of instructions can be executed when process reaches certain stage

Note: Events do not provide a service with redundancyIf you want to run an event with redundancy, use reports

Page 189: Vijeo Basic

Click to edit Master title styleConfiguring Events (pg11-2)

Events must be enabled for events to run

Use the Vijeo Citect Computer Setup Wizard (Custom setup) to enable Events.

You can process events on any Vijeo Citect computer but only one computer for each event

Page 190: Vijeo Basic

Click to edit Master title styleGlobal vs Named Events (pg11-2)

Events do not need unique name

Vijeo Citect on a network and want to run an event on all computers

Use GLOBAL for event name

Run event on specific computers

Specify an event name

Citect Computer Setup Wizard (Custom setup)

Specify Vijeo Citect computer(s) to run event

Page 191: Vijeo Basic

Click to edit Master title styleCicode Functions Used (pg11-3)

Use Citect Help to look up the new functions

Rand(n)Generates a random number between 0 and a specified maximum number less one. Syntax:

Rand(Maximum)

Maximum: The maximum number. This number must be between 2 and

32767 (inclusive).

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

Page 192: Vijeo Basic

Click to edit Master title styleEntering Cicode (pg11-3)

Comment complex Cicode events

64 character limit in action field

Page 193: Vijeo Basic

Hands-on Exercise

Exercise 11.1

Defining and Enabling Events

Page 11-3

Page 194: Vijeo Basic

Click to edit Master title styleSummary Questions

Why are events used?

Name two types of event.

Page 195: Vijeo Basic

Click to edit Master title styleEvents

Chapter SummaryDefine Events

Enable Events

Page 196: Vijeo Basic

Alarms Chapter 12

Page 197: Vijeo Basic

Click to edit Master title styleAlarms

Chapter OverviewConfiguring Alarms

Alarm Categories

Logging Alarms to a Printer

Displaying Alarms

Alarm Groups

Audible Alarms

Using Alarm Properties as Tags

Defining an Alarm I/O Device

Page 198: Vijeo Basic

Click to edit Master title styleAlarm State Diagram (pg12-1)

ON

ON OFF

OFF

UnAck

UnAckAck

Ack

Page 199: Vijeo Basic

Click to edit Master title styleAlarm Types (pg12-2)

AnalogHigh High High DeviationLowLow LowRate of Change

DigitalOne or Two Tags (ANDed)

HardwarePre-configured in Vijeo Citect system

AdvancedAction on Cicode program

Time StampedLike Digital but with a time stamp derived from the PLC

Page 200: Vijeo Basic

Click to edit Master title styleCreate Alarms (pg12-2)

Via Explorer or Project EditorMax: 79

characters

Page 201: Vijeo Basic

Hands-on Exercise

Exercise 12.1

Configure Alarms

Page 12-4

Page 202: Vijeo Basic

Click to edit Master title styleAlarm Categories (pg12-7)

For each category:Set alarm display details (font and page type)

Logging details (printer or data file)

Action to be taken when an alarm in the category is triggered (e.g., activating an audible alarm)

Can have an associated priority

Order alarm displays

Filtering for the operator

You can configure up to 16376 alarm categories16 character names

Category 0 is the default category

Category 254 reserved for user-created alarm summary

Category 255 is reserved for hardware alarms

Page 203: Vijeo Basic

Click to edit Master title styleAlarm Categories (pg12-7)

Define alarm

Categorize Alarms – what we will do with an alarm

Device – where the info will go

Page 204: Vijeo Basic

Click to edit Master title styleAlarm Categories (pg12-7)

For Instance…

1000-series: Milk Receiving Area1001 – Critical Alarms

1002 – Urgent Alarms

Etc

2000-series: Pasteurisation Area2001 – Critical Alarms

2002 – Urgent Alarms

Etc

3000-series: Bottling Area

Page 205: Vijeo Basic

Hands-on Exercise

Exercise 12.2

Alarm Categories

Page 12-8

Page 206: Vijeo Basic

Click to edit Master title styleLogging to a Printer (pg12-14)

Most printers are ‘page printers’

Difficult to issue line-by-line alarm messages

Page 207: Vijeo Basic

Click to edit Master title styleDevice Groups (pg12-15)

Logging Alarms to more than one deviceHardware – printer(s), SMS gateway, file(s)

System | Groups

Page 208: Vijeo Basic

Click to edit Master title styleAlarm Pages (pg12-16)

Right click alarm to see details

Page 209: Vijeo Basic

Click to edit Master title styleStandard Alarm Pages (pg12-16)

Standard Pages in CSV_Include projectAlarm

All configured alarms

HardwarePre-configured hardware alarms

SummaryHistory of alarm activity from event log

DisabledManually-disabled alarms

Page 210: Vijeo Basic

Hands-on Exercise

Exercise 12.3

Displaying Alarms

Page 12-17

Page 211: Vijeo Basic

Click to edit Master title styleAlarm Groups (pg12-20)

Digital

Analog

Time Stamped

Digital time-stamped

Analog time-stamped

Advanced

Configure alarm groups in the runtime system

Page 212: Vijeo Basic

Hands-on Exercise

Exercise 12.4

Alarm Groups

Page 12-21

Page 213: Vijeo Basic

Click to edit Master title styleAudible Alarms (pg11-24)

Category Priority

Advanced 1

Digital 2

Analog 3

1

2

3

[Alarm]

Sound1 = c:\courses\AdvAlarm.wav

Page 214: Vijeo Basic

Hands-on Exercise

Exercise 12.5

Audible Alarms

Page 12-24

Page 215: Vijeo Basic

Click to edit Master title styleAlarm Property Tags (pg12-27)

Alarms can be combined with their properties to form an Alarm Property TagAllows alarms to be fed into graphical pages to give a visual indication

AlarmName.HAlarmName.L

An Alarm I/O Device will need to be set up to use alarm property tags

Use alarm protocol alarm as the port name

The Alarm server must be the same computer as the IO server

Alarm_name Property

Page 216: Vijeo Basic

Click to edit Master title styleUsing Property Tags (pg12-27)

Enter alarm.property

Text to be displayed on given condition

EnterAlarm.property

Multi-state

Page 217: Vijeo Basic

Click to edit Master title styleTroubleshooting Tip

When was the last time you backed up your project?

Page 218: Vijeo Basic

Hands-on Exercise

Exercise 12.6

Alarm Properties as Tags

Page 12-28

Page 219: Vijeo Basic

Click to edit Master title styleSummary Questions

Why are alarms used?

Name the two types of alarms.

What are alarm categories?

Why are audible alarms used?

Page 220: Vijeo Basic

Click to edit Master title styleAlarms

Chapter SummaryConfiguring Alarms

Alarm Categories

Logging Alarms to a Printer

Displaying Alarms

Alarm Groups

Audible Alarms

Using Alarm Properties as Tags

Defining an Alarm I/O Device

Page 221: Vijeo Basic

Click to edit Master title styleEnd of Day Two

What Have We Covered?Commands and Controls (Chapter 6)

Sliders

Touch Commands

Keyboard Commands

Privileged User

Genies (Chapter 7)Using Existing Genies

Creating Genies

Page 222: Vijeo Basic

Click to edit Master title styleEnd of Day Two

What Have We Covered?Popups and Super Genies (Chapter 8)

Creating & Using PopupsCalling Popups from Symbols and GeniesCreating Super Genies

OFS Server (Chapter 9)Defining OPC Setting up an OFS Server and a Vijeo Citect OPC ClientSetting up OPC Access Paths

Page 223: Vijeo Basic

Click to edit Master title styleEnd of Day Two

What Have We Covered?Devices (Chapter 10)

Various Kinds of DevicesSetting Up DevicesDevice History Files

Events (Chapter 11)Defining and Enabling Events

Alarms (Chapter 12)Configuring AlarmsAlarm Categories & Groups

Page 224: Vijeo Basic

Click to edit Master title styleClosing Thought

Be alert, not alarmed.

John W. Howard (c2002)

Page 225: Vijeo Basic

VijeoCitectHMI / SCADA

Basic Configuration V6Day 3

Page 226: Vijeo Basic

Re-Cap Day 2

Page 227: Vijeo Basic

Click to edit Master title styleGenies

On When

Off Symbol

On Symbol

Tooltip:

Toggle:

Key:

F5

Toggle(Valve_Cool_CMD)

Press F5 to change Valve_Cool_CMD

Valve_Cool_CMD

F5

F5

Toggle(%Tag%)

Toggle(Valve_%Name%_CMD)

Press F5 to change %Tag%

Press F5 to change Valve_%Name%_CMD

%Tag%

Valve_%Name%_CMD

Page 228: Vijeo Basic

Click to edit Master title styleGenies

You can specify variables in Genies

Enclose in % .. %

Define them when you use them

Genie variable

%name%

Genie variable

%privilege%

Page 229: Vijeo Basic

Click to edit Master title stylePop-up Pages / SuperGenies

OFF

ON

80 C

OK

?1?=1

?1?=0 ?2?

?1?

CloseWinFree()

Mode

AssWin(sPage, X, Y, Mode, dTag1,iTag2)

Wintitle()

Page 230: Vijeo Basic

Click to edit Master title styleAlarms

Page 231: Vijeo Basic

Trends Chapter 13

Page 232: Vijeo Basic

Click to edit Master title styleTrends

Chapter OverviewTrend Tags

Displaying Trends

Configuring Trend Display

Trend History Files

Instant Trends

Displaying Instant Trends

Page 233: Vijeo Basic

Click to edit Master title styleDisplaying Trends (pg13-1)

Graphical representation of variable or Cicode expression

Can move back thru historical data

Display not need to be active

Trend Tags need to be created

Page 234: Vijeo Basic

Click to edit Master title styleTrend Tags (pg13-2)

Create Trend Tag from Variable Tag

Create Trend Page

Variable Tag

Trend Tag

Trend Tag Files

Trend Page

Page 235: Vijeo Basic

Click to edit Master title styleCreating Trend Tags (p12-2)

Max: 64 characters

Page 236: Vijeo Basic

Click to edit Master title styleTrends (pg13-2)

Trends Page button Displays the "trend" pageCSV_Trend preconfigured page appears by default Other pages can be set by adjusting parameter in citect.ini

[Navigation]TrendPage

Page 237: Vijeo Basic

Click to edit Master title styleTypes of Trends (pg13-2)

PeriodicA trend that is sampled continuously at a specified interval (eg every 1 second, every 10 seconds)

EventA single sample is taken whenever a trigger action switches on

Periodic EventSamples are taken according to a predetermined rate only while a trigger value is true

Page 238: Vijeo Basic

Click to edit Master title styleTrend History Logging (pg13-2)

start stop

Sam

ple 2

Sam

ple 3

Sam

ple 4

Sam

ple 5

Sam

ple n

Sam

ple 1Event

Trend Tag

24:00 Sun

Page 239: Vijeo Basic

Hands-on Exercise

Exercise 13.1

Trend Tags

Page 13-3

Page 240: Vijeo Basic

Click to edit Master title styleTrend Template Styles (pg13-5)

Standard style to review trend templates

Page 241: Vijeo Basic

Hands-on Exercise

Exercise 13.2

Displaying Trends

Page 13-6

Page 242: Vijeo Basic

Click to edit Master title styleTrend History Display (pg13-10)

History Mode uses Trend History filesDisplays trends for a specific period

Page 243: Vijeo Basic

Click to edit Master title styleTrend Groups (Pg13-10)

Variable Tag

Trend Tag

FrequencyPeriodTrigger

TypeStorage / Files

Variable Tag

Trend Tag

Variable Tag

Trend Tag Trend Group

Pen Colour

Trend Display

Page 244: Vijeo Basic

Hands-on Exercise

Exercise 13.3

Configuring the Trend Display

Page 13-11

Page 245: Vijeo Basic

Click to edit Master title styleFile Management (pg13-14)

File growth - rule of thumb5Mb per month for each 1 second trend record

ChangeArchive and delete existing files before starting new configChange file location – move files or new files created

SecurityPerform scheduled backup on old trend files

Page 246: Vijeo Basic

Click to edit Master title styleInstant Trends (pg13-15)

Computer setup configures instant trends

Trends Enabled

Page 247: Vijeo Basic

Hands-on Exercise

Exercise 13.4

Instant Trends

Page 13-17

Page 248: Vijeo Basic

Hands-on Exercise

Exercise 13.5

Displaying Instant Trends

Page 13-18

Page 249: Vijeo Basic

Click to edit Master title styleInstant Trends (13-20)

Note - click anywhere on the trend line to view a time and date reference line

Page 250: Vijeo Basic

Click to edit Master title styleSummary Questions

Why are trends used?

What are the three types of trends?

How are trend history files used?

Name three of the trend templates.

Why use instant trends?

Page 251: Vijeo Basic

Click to edit Master title styleTrends

Chapter SummaryTrend Tags

Displaying Trends

Configuring Trend Display

Trend History Files

Instant Trends

Displaying Instant Trends

Page 252: Vijeo Basic

Process Analyst Chapter 14

Page 253: Vijeo Basic

Click to edit Master title styleProcess Analyst

Chapter OverviewWhat is the Process Analyst?

Process Analyst ActiveX Control

Properties of the Process Analyst

Displaying Tags in the Process Analyst

Pen Types

Displaying Trends

Changing the Properties of the Process Analyst

Comparing Trend Data

Displaying Alarms

Comparing Trends and Alarms

Page 254: Vijeo Basic

Click to edit Master title styleProcess Analyst (pg14-2)

High-end PC with significant graphics card64MB Graphics Card (128Mb recommended)

DisplaysAll trend types

Alarm data

No extra configuration needed

Page 255: Vijeo Basic

Click to edit Master title styleUse Process Analyst (pg14-3)

Place anywhere on page

Configurable at runtime

Page 256: Vijeo Basic

Hands-on Exercise

Exercise 14.1

The Process Analyst ActiveX Control

Page 14-3

Page 257: Vijeo Basic

Click to edit Master title styleDisplaying Tags (pg14-5)

Add pens dialogAdds tags

Analog

Digital

Adds Alarms

Configures Pens

Page 258: Vijeo Basic

Click to edit Master title styleSelecting Pens (pg14-5)

<ctrl> click to select multiple trends

<shift> click to select adjacent trends

Page 259: Vijeo Basic

Click to edit Master title styleAnalyst Help File (pg14-5)

Available in the Runtime system

Not in Citect Help

Page 260: Vijeo Basic

Click to edit Master title styleAnalyst View (pg14-5)

1. Main toolbar: Contains commands for performing general operations in the Process Analyst, such as opening views, printing reports

6. Vertical axis: Analog pens have a vertical axis on the left-hand side of the pane to indicate data values.

2. Pens: A Process Analyst pen represents your trend and/or alarm data. The Process Analyst supports three types of pen: analog, digital, and alarm pen.

7. Cursor: A cursor allows an Operator to determine value at a given point in time by dragging the cursor line to the point required.

3. Panes: Panes are used to group pens visually in the Process Analyst and are stacked vertically on the Process Analyst display.

8. Cursor labels: Display the value where the cursor intersects the trend value line

4. Chart background: The panes are drawn over the chart background. Depending on the layout of the pens, the background may be partially visible

9. Navigation toolbar: Contains commands to allow an Operator to travel forward or backward through trends, as well as other navigation-related tasks.

5. Date/time axis: Located at the top of a pane, the date/time axis displays the date or time (or both) of the data for the primary selected pen within a pane

10. Object View: When displayed, the Object View appears under the navigation toolbar and displays information about your Process Analyst pens.

Page 261: Vijeo Basic

Click to edit Master title styleProcess Analyst View (pg14-5)

Page 262: Vijeo Basic

Click to edit Master title styleProcess Analyst / Trends (pg14-5)

“Different but the same!”

Use the same data source (trend tags)

Trend system has instant trendsTrend tags and real tags

Page 263: Vijeo Basic

Click to edit Master title styleAlarm Display (pg14-7)

Silo (Digital Alarm)

Clarifier (Digital Alarm) not in alarm state

HTA (Analog Alarm) colours represent

HH, H, L & LL

P1A (Advanced Alarm) P1>=3deg

Colour represents “in alarm condition”

P4A (Advanced Alarm) P4<=75deg

Unacknowledged P4A Alarm P4A Alarm

Acknowledged at this point

Page 264: Vijeo Basic

Click to edit Master title styleCursor & Labels (pg14-11)

Click and Drag labels around

screen to increase clarity

Page 265: Vijeo Basic

Hands-on Exercise

Exercise 14.2

Displaying Trends

Page 14-8

Page 266: Vijeo Basic

Click to edit Master title stylePA Properties (pg14-12)

Access the Dialog BoxChoosing the ‘show properties’ button

Right-click on the pane

Page 267: Vijeo Basic

Hands-on Exercise

Exercise 14.3

Changing the Properties of the Process Analyst

Page 14-13

Page 268: Vijeo Basic

Hands-on Exercise

Exercise 14.4

Comparing Trend Data

Page 14-15

Page 269: Vijeo Basic

Hands-on Exercise

Exercise 14.5

Displaying Alarms

Page 14-17

Page 270: Vijeo Basic

Hands-on Exercise

Exercise 14.6

Comparing Trends and Alarms

Page 14-19

Page 271: Vijeo Basic

Click to edit Master title styleSummary Questions

What is the Process Analyst?

What are pen types?

Name the three types of pen.

Why do we save analyst views?

Page 272: Vijeo Basic

Click to edit Master title styleProcess Analyst

Chapter SummaryWhat is the Process Analyst?

Process Analyst ActiveX Control

Properties of the Process Analyst

Displaying Tags in the Process Analyst

Pen Types

Displaying Trends

Changing the Properties of the Process Analyst

Comparing Trend Data

Displaying Alarms

Comparing Trends and Alarms

Page 273: Vijeo Basic

Navigation Chapter 15

Page 274: Vijeo Basic

Click to edit Master title styleNavigation

Chapter OverviewMenu Configuration Tool

Custom Page Navigation

Navigation Parameters

Page 275: Vijeo Basic

Click to edit Master title styleMenu Configuration Tool (pg15-2)

Customize the run-time pages

Configuration panel from Admin Tools

Four ComponentsPages

Menuname

Menuitem

Submenu

Page 276: Vijeo Basic

Click to edit Master title styleMenu Configuration Tool (pg15-2)

Left panel is a graphical representation of a DBF lookup table that forms the basis of the menus displayed at runtime

Actions start with ‘?’ Page-loads do not

Page 277: Vijeo Basic

Click to edit Master title styleMenu Fields (pg15-2)

Page The page field is defined as Generic (associated with all pages)

Name of a page within the project menus will appear on that particular page

Menuname The name(s) of the menus included on the specified page

Menuitem The item(s) that appear within each menu

Submenu Any submenus that appear in a menuAdding a sub menu will automatically remove the action defined for the menu item it is branched from

Page 278: Vijeo Basic

Click to edit Master title styleMenu components (pg15-2)

Page Generic

Page Name

Menuname

Menuitem

Submenu

Page 279: Vijeo Basic

Hands-on Exercise

Exercise 15.1

Menu Configuration Tool

Page 15-3

Page 280: Vijeo Basic

Click to edit Master title styleStandard Menu Items (pg15-5)

GenericPull-down menus

TemplateAssociated with ‘2-men’ button

Page 281: Vijeo Basic

Click to edit Master title styleMyLogin (pg15-5)

FUNCTIONMyLogin()INT iFail

iFail = LoginForm()IF NOT iFail THEN

CSV_Nav_Home()END

END

Local variable to trap success or failure of LoginForm command

LoginForm will return 0 if it succeeds, non-zero if it fails (eg incorrect password)

True is equated to 1, thus we are asking: if the login succeeded, display the home page, otherwise do nothing

Page 282: Vijeo Basic

Click to edit Master title styleMyLogout (pg15-5)

FUNCTIONMyLogout()

CSV_Nav_Home();Logout()

END

Load the home page before executing a logout – we don’t want to be displaying a “high security” page with no-one logged in!

Page 283: Vijeo Basic

Hands-on Exercise

Exercise 15.2

Custom Page Navigation

Page 15-5

Page 284: Vijeo Basic

Click to edit Master title styleTroubleshooting Tip

When was the last time you backed up your project?

Page 285: Vijeo Basic

Click to edit Master title styleNavigation Parameters (pg15-9)

Citect.ini can name the primary pages in the project in the [navigation] section

[Navigation]

HomePage = Home

AlarmPage = Alarm

HardwarePage = Hardware

SummaryPage = Summary

ToolsPage = Admin

TrendPage = Trend

Page 286: Vijeo Basic

Hands-on Exercise

Exercise 15.3

Navigation Parameters

Page 15-9

Page 287: Vijeo Basic

Click to edit Master title styleSummary Questions

What are the four levels within the menu system?

Which program is used to configure menus?

Complete the following statement: Another way to configure navigation in your project is by changing the XXXX parameters in the citect.ini file.

Page 288: Vijeo Basic

Click to edit Master title styleNavigation

Chapter SummaryMenu Configuration Tool

Custom Page Navigation

Navigation Parameters

Page 289: Vijeo Basic

Reports Chapter 16

Page 290: Vijeo Basic

Click to edit Master title styleReports

Chapter OverviewDefining a Report

Reporting Format File

Viewing Reports

Page 291: Vijeo Basic

Click to edit Master title styleConfiguring Reports (pg16-2)

Periodic

Triggered

Triggered during a period

System | Reports

Output to a Device

Format in report format file

Page 292: Vijeo Basic

Click to edit Master title styleEvent-based Trigger (pg16-2)

Action: Report (“Past”)

Silo Exceeds level of 900 Lt

Trigger: LIC_Silo_PV > 900

Page 293: Vijeo Basic

Hands-on Exercise

Exercise 16.1

Defining a Report

Page 16-3

Page 294: Vijeo Basic

Click to edit Master title styleReport Processing (pg16-4)

Define Report formatDevice runs reportoutputs report to destination

Report Destination

Template

Device

Page 295: Vijeo Basic

Click to edit Master title styleViewing Documents (pg16-5)

In page based on File template

Use Cicode functionsPageFile()

PageRichTextFile()

DspRichTextScroll(AN,3,5)

DspRichTextPgScroll(AN,3)3=up, 4=down

5=number of lines to scroll

Page 296: Vijeo Basic

Hands-on Exercise

Exercise 16.2

Viewing Reports

Page 16-6

Page 297: Vijeo Basic

Hands-on Exercise

Exercise 16.3

Adding Scroll Tools

(optional)

Page 16-8

Page 298: Vijeo Basic

Click to edit Master title styleSummary Questions

How often can reports be run?

What are the two formats used to view reports?

Page 299: Vijeo Basic

Click to edit Master title styleReports

Chapter SummaryDefining a Report

Reporting Format File

Viewing Reports

Page 300: Vijeo Basic

Security Chapter 17

Page 301: Vijeo Basic

Click to edit Master title styleSecurity

Chapter OverviewPlanning Plant Security

Areas and Privileges

Allocating Privileges and Areas

Adding User Records

Runtime Keyboard and Mouse Security

Page 302: Vijeo Basic

Click to edit Master title stylePlant Security (pg 17-2)

What functions Staff groups can do

What functions staff groups can view

Which areas need securityBased on

Privileges at object level (what can be done)

Areas defined in User definitions (what can be seen)

Defaults to Area 0, Privilege 0

Page 303: Vijeo Basic

Click to edit Master title styleAreas and Privileges (pg 17-3)

Security ScenarioEach operator has responsibility for his own section of the plant and will be able to see all areas. They will also be permitted partial control of adjacent areasAll operators have the ability to shutdown the plant

Privilege Levels:1: Primary Plant Control2: Secondary Plant Control3: Shutdown Privilege

Page 304: Vijeo Basic

Click to edit Master title styleAreas and Privileges (pg 17-3)

Milk Receiving(Area 1)

Pasteurisation (Area 2)

Bottling (Area 3)

Operator 1

Viewable: Yes

Privilege 1: Yes

Privilege 2: Yes

Privilege 3: Yes

Viewable: Yes

Privilege 1: No

Privilege 2: Yes

Privilege 3: Yes

Viewable: Yes

Privilege 1: No

Privilege 2: No

Privilege 3: Yes

Operator 2

Viewable: Yes

Privilege 1: No

Privilege 2: Yes

Privilege 3: Yes

Viewable: Yes

Privilege 1: Yes

Privilege 2: Yes

Privilege 3: Yes

Viewable: Yes

Privilege 1: No

Privilege 2: Yes

Privilege 3: Yes

Operator 3

Viewable: Yes

Privilege 1: No

Privilege 2: No

Privilege 3: Yes

Viewable: Yes

Privilege 1: No

Privilege 2: Yes

Privilege 3: Yes

Viewable: Yes

Privilege 1: Yes

Privilege 2: Yes

Privilege 3: Yes

Privilege 1 = Primary Control Privilege 2 = Secondary Control Privilege 3 = Shutdown Privilege

Page 305: Vijeo Basic

Click to edit Master title styleFor the Purposes of the Exercise, Areas

We only have one major production area, thus :-

Area 1 will be represented by:Pasteuriser and all Alarm pages

Visible to Operator, Manager & Engineer

Modifiable by Operator & Engineer only

Area 2 will be represented by:Utility page (referred to as ‘test area’)

Visible to Manager & Engineer only

Modifiable by Engineer only

Page 306: Vijeo Basic

Click to edit Master title styleFor the Purposes of the Exercise, Privileges

Privilege 1 – Main Plant OperationTurn valves, pumps and other components ON/OFFEngineer in Areas 1 & 2Operator in Area 1 only

Privilege 2 – Secondary Plant OperationChanging analog variable valuesEngineer in Areas 1 & 2Operator in Area 1 only

Privilege 3 – System CommandsSystem Shutdown & System InfoEngineer in Areas 1 & 2 only

Note - ManagerHas read-only permission in Areas 1 & 2This could be achieved by installing a manager licence

Page 307: Vijeo Basic

Click to edit Master title styleConfiguring Users (pg17-3)

System | Users

Represent individuals

Class of Users

To ViewF2

Page 308: Vijeo Basic

Click to edit Master title style

Global Privileges

Areas for Privilege 1-8

Viewable Areas (pg17-3)

Set Viewable Areas

Set Areas for privileges 1-8

Viewable Areas

Page 309: Vijeo Basic

Click to edit Master title style

User X

Area 3 Privileges

Area 2 Privileges

Areas & Privileges (pg17-3)

Global Privileges 2 3 4 5

Area 1 Privileges 2

1

6 7

8

3 5

7

Viewable Areas 1,2,3

Page 310: Vijeo Basic

Click to edit Master title styleRuntime Security (pg 16-11)

Computer Setup WizardControl Menu

Title Bar

Start-up ‘Cancel’ Button

Computer Security<ctrl> <alt> <del> (Task Manager)

<ctrl> <esc> (Start Menu)

Policy Editor

Page 311: Vijeo Basic

Hands-on Exercise

Exercise 17.1

Adding User Records and Configuring Permissions

Page 17-6

Page 312: Vijeo Basic

Click to edit Master title styleSummary Questions

What events can be monitored?

What controls should be considered before implementing any security?

When configuring your project, use what to determine security levels?

Page 313: Vijeo Basic

Click to edit Master title styleSecurity

Chapter SummaryPlanning Plant Security

Areas and Privileges

Allocating Privileges and Areas

Adding User Records

Runtime Keyboard and Mouse Security

Page 314: Vijeo Basic

Course Summary Chapter 18

Page 315: Vijeo Basic

Click to edit Master title styleCourse Summary

Chapter OverviewCourse Review

Course evaluation

Further training

Citect examinations

Page 316: Vijeo Basic

Click to edit Master title styleEnd of Day Three

What have we covered?Trends (Chapter 13)

Trend TagsConfiguring the Trend DisplayTrend History Files

Process Analyst (Chapter 14)Properties

Navigation (Chapter 15)Menu Configuration ToolCustomised Navigation

Page 317: Vijeo Basic

Click to edit Master title styleEnd of Day Three

What Have We Covered?Reports (Chapter 16)

Defining and Viewing Reports

Security (Chapter 17)Planning Security

Allocating Privileges and Areas

Run-time Security

Page 318: Vijeo Basic

Click to edit Master title styleAchieved the Objectives?

Good understanding & competent in use of Vijeo CitectAble to communicate with PLC using Vijeo CitectApply learning to your own site or projectTroubleshoot problems and take appropriate actionMaximise performance of your Vijeo Citect applicationUse the on-line help and Knowledge Base effectively(Produce a design specification outline)

Page 319: Vijeo Basic

Click to edit Master title styleTraining Roadmap

Upgrade

Intermediate

Advanced

Cicode Configuration

Tech

nic

al Skill

Requ

irem

ent

Page 320: Vijeo Basic

Click to edit Master title styleEnd of Course

Course evaluationButton on your desktop

Paper copy

Certificates

Questions

Page 321: Vijeo Basic

Click to edit Master title styleClosing Thought

When shall I cease from wondering?

Galileo Galilei