Vijeo Citect Project Development

Instructor: Truong Dinh Chau

Click to edit Master title style Instructor
Truong Dinh Chau, Ph.D Department of Automation & Control, Automation Design Center, 109 B3 Ho Chi Minh City Univ. of Tech. Cell phone: +84 (0)91-543-74-40 Email: chau.truong@hcmut.edu.vn Truong-Dinh.Chau@schneider-electric.com

Click to edit Master title style Objectives (pg1-3)
Good understanding & competent in use of Vijeo Citect Able to communicate with PLC and PLC network 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

Click to edit Master title style Agenda - Day 1 (pg1-4)
Introduction to open system of Schneider Electric Automation Design Center (Vietnam) Conception. Structure. Component Client Configuration Managing Projects Setting up Communications Graphics

Click to edit Master title style Agenda - Day 2 (pg1-4) Commands and Controls Genies Pop-up Pages and Super Genies Device connection mechanisms

Click to edit Master title style Agenda - Day 3 (pg1-4) Devices Events Alarms Trends Process Analyst Navigation Reports Security

Introduction to open system of Schneider Electric Automation Design Center (Vietnam) .

Click to edit Master title style Topics System overview Distributed architecture Segment .

Click toOverview System edit Master title style .

Click to edit Master title style Distributed Architecture .

Click to edit Master title style Segment .

Conception Structure Component .

Click to edit Master title style Topics Introduction to open system of Schneider Electric Automation Design Center (Vietnam) Supervisory control conception SCADA definition Structure of traditional SCADA systems Functional organization of SCADA system Technical keywords of SCADA system Typically tasks in SCADA system Distributed architecture in Vijeo Citect Popular SCADA packages Vijeo Citect Product .

Supervisory Control Click to edit Master title style Conception Local control loop Actuator Process Sensor PLC Control Converter Speed Motor PLC .

Supervisory Control Click to edit Master title style Conception Control Converter Speed Motor PLC %I0.1 %Q0.0 %Q0.1.0 %I0.1.0 Set speed 2000 RPM PID .2.2.

Supervisory Control Click to edit Master title style Conception .

Click to edit Master title style Definition of SCADA SCADA Supervisory Control And Data Acquisition Supervision. Control And Data Acquisition • Real-time DAQ • Processing • Archives • Monitoring • Control .

Click to edit Master title style Definition of SCADA Supervisory Control And Data Acquisition Supervision.com/TERM/S/SCADA.webopedia.html . Control And Data Acquisition Source: http://www.

Structure of traditional SCADA Click to edit Master title style systems process Internet Internet sensor process PLC Router Router sensor operator sensor CS MTU RTU process .

Functional organization of SCADA Click to edit Master title style system Information data acquisition from controllers located in the low level Saving the obtained data in storages Processing of obtained information Graphical interpretation Receiving command from operator and transfer them to controllers Event registration regarding to control process and personal actions Prevention or notification about events and alarms Reporting Data exchange with enterprise automated control systems Direct automatic control of control processes .

Events Trends: Real-time.Technical keywords of SCADA Click to edit Master title style system Graphics displays Tag Alarms. historical Report I/O driver I/O server Real-time Multitasking Openness Scalability Data access Database Networking Fault tolerance and redundancy Client/server distributed processing .

Click totasks Master title style Typicall edit in SCADA system Input/output task This program is the interface between the control and monitoring system and the plant floor. Trends task The trends task collects data to be monitored over time. . event triggered or activated by the operator. These reports can be periodic. Display task This manages all data to be monitored by the operator and all control actions requested by the operator. Reports task Reports are produced from plant data. Alarm task This manages all alarms by detecting digital alarm points and comparing the values of analog alarm points to alarm thresholds.

Distributed architecture in Vijeo Click to edit Master title style Citect Open architecture design Real-time multitasking Client/server fully supported with no user configuration Distributed project updates (changes reflected across network) Concurrent support of multiple display nodes Access any tag from any node Access any data (trend. report) from any node . alarm.

Click to edit Master title style Popular SCADA packages SCADA Citect InTouch RSView iFIX GeniDAQ Genesis32 Trace Mode Vijeo Look Factory Link LabView WinCC Company Schneider Electric Wonderware Rockwell Automation Intellution Advantech Iconics AdAstra Schneider Electric United States Data National Instruments Siemens Country France USA USA USA Taiwan USA Russia France USA USA Germany .

10 Strengths Flexibility to support PLCs from nearly ALL vendors Robust development environment .Click to edit Producttitle style Vijeo Citect Master Market share Around 70% .80% Australian market share Closer to 8% worldwide Age & maturity of the product First version released in the mid-1980s Currently v7.

Vijeo Citect Configuration Environment

Click to edit Master title style Topics
System requirements Vijeo Citect Explorer Include Projects Vijeo Citect Project Editor Vijeo Citect Graphics Builder Cicode Editor

ClickVijeo Citect Environment The to edit Master title style
Divided into two distinct parts: Runtime System Configuration Environment Citect Explorer Project Editor Citect Graphics Builder Cicode Editor Citect Help

Click to edit Master title style System 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

Click to edit Master title style System Requirements (pg2-2)
Operating System
Windows 2000 Windows XP-SP2 Windows Server 2003

Minimum Hardware
Pentium 500MHz 128MB RAM

Preferred Hardware
Pentium 1GHz 512MB RAM

Click to edit Master title style Licensing (pg2-3)
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

Client Access Licences (CALs)
Full: Server or Display Client Manager: Read only (not for servers) Internet Display, Internet Manager Server-side (floating) licences

Click to edit Master title style Runtime System (pg2-2) The runtime system consists of Runtime Application Vijeo Citect Kernel Cicode Debugger At runtime Vijeo Citect will communicate with I/O Devices MS Windows and other applications Other computers .

Click to edit Master title style Citect Explorer (pg 2-4) Automatically starts and stops Project Editor and Graphics Builder Project selection and management Backup and Restore Start other applications .

Click to Projects (pg2-5) style Include edit Master title Main Project Plant Section #1 Plant Section #2 CSV_ Include (XP Style) Include (Pre V5.5 Objects) 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 .

Click to Editor (pg2-6) title style Project edit Master 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 dbf files .

Indent Syntax Colouring KeyWord Case .Click to Editor (pg2-8) title style Cicode edit Master Auto.

1 Exploring the Environment Page 2-9 .Hands-on Exercise Exercise 2.

Click to edit Master title style Summary 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? .

Managing Projects .

Click to edit Master title style Topics Create a New Project Computer Setup Wizard Backup and Restore a Project Including Projects .

Underscore _ is OK .Click Projects (pg3-2) title style New to edit Master Up to 64 characters Best not to use any special characters: Forbidden: “*|\[]:<>?/.‘ Probably bad: !@#$%^&()+=}{~.

Hands-on Exercise Exercise 3.1 Create a New Project Page 3-4 .

trends & events Select options that affect the runtime application Controllers Outside of Citect computer set-up wizard . full monitoring) Set up alarms. reports.Click to edit Master title style Computer 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.

Hands-on Exercise Exercise 3.2 Computer Setup Wizard Page 3-6 .

Click to edit Master(pg3-9) style Backup & Restore title From Vijeo Citect Explorer Backup Restore .

Click to edit Master title style Backup is a Zip File (pg3-9) You can change the suffix of “ctz” to “zip” and view the contents of the backup .

Click to edit Master title style Backup Management (pg3-9) Change Log Version Control Be able to back-track .

Click to editNew Project style Restore as Master title (pg3-12) Restore as a current project overwrites existing project with the same name .

3 Backing Up.Hands-on Exercise Exercise 3. Restoring and Deleting a Project Page 3-10 .

Click to Projects (pg3-13) style Include edit Master title View New Selection .

4 Including Projects Page 3-14 .Hands-on Exercise Exercise 3.

Click to edit Master title style Summary 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? .

Setting Up Communications .

Click to edit Master title style Topics Express communications wizard Communications dialogs Tag conception Variable tags Forms Testing communications Structured tag names Using MS Excel and MS Access to add variable tags .

Click to edit Master title (pg4-2) Vijeo CitectSCADA I/O style Express Communication Wizard Vijeo Citect Vijeo Citect I/O Server I/O Boards I/O Boards Ports Ports Devices .

Click to edit Master title style Communications Wizard (pg4-2) Defines communications with respect to the Vijeo Citect software Select Project .

Click to edit Master title style Communications Wizard (pg4-2) .

Click to edit Master title style Express Communication (p4-3) .

1 Express Communication Wizard Page 4-3 .Hands-on Exercise Exercise 4.

dbf) Can be viewed in MS Excel. MS Access.Click to edit Master title style Communications Files (pg4-10) Database files (*.dbf .dbf unit. I/O Server Boards Ports I/O Devices ----- scanner.dbf ports. etc.dbf boards.

Click to edit Master title style I/O Device Types (pg4-11) External I/O Device Manufacturer Protocol Address Memory I/O Device Does not retain data Specify protocol Disk I/O Device Specify data file location Retains data Specify protocol PC memory 10101 01010 10101 0 PC Disk .

Click to edit Master title style I/O Device Configuration (pg4-11) Hit <F2> Key to view extra options Click Help for field information .

Click the I/O Master title style After to edit Wizard (pg4-11) .

2 Communication Dialogs Page 4-11 .Hands-on Exercise Exercise 4.

Click Tag interpretation to edit Master title style Tag conception .

Rockwell Automation .Tag conception Click Tag structure to edit Master title style Tag structure in RSView32.

Advantech .Tag conception Click Tag structure to edit Master title style Tag structure in GenieDAQ.

Abstracting of engineering process parameters of information sources.Click Tag definition to edit Master title style New concept in the industry automation. Messages from measuring instruments. state of regulators (PID): automatic/manual/off. start/stop. flow. Real-time data from sensors: temperatures. pressures. random number generator. Secondary parameters. Tag conception . … (primary parameters) State of actuators – open/close. Value of counter.

Tag conception Click Tag abstracting to edit Master title style Tag = { Characteristic 1 Characteristic 2 … Characteristic N } Tag = { Name ID Value EU Description Device Address } Runtime Tag = { Pump_1_Speed 0x03C00040 250 “RPM” “Speed of feed pump” Premium_192_168_1_51 400123 } .

Readable output – Input/Output. internal channels. buffers. . Output – signal is intended for write to physical devices.Tag conception Click Command/Data direction style to edit Master title Input – signal is resulted from physical devices. Internal – resulted from other tags by specified algorithm.

Tag conception Click Command/Data direction style to edit Master title Input Device Input Device Internal .

GOOD..234.iVal = 15. Value. 20 December.14. class Tag { . Value. }.Tag conception Click Tag value Master title style to edit Data value Time stamp Quality VARIANT type FILETIME UNCERTAIN. VARIANT WORD FILETIME . TimeStamp. Quality. 2004 15:21:22:74 Value.vt = VT_R4.. Value.. BAD 32.vt = VT_I2.vt = VT_BOOL. GOOD. Value. Value. Value.boolVal = TRUE. ..fltVal = 3.

5 Quality GOOD 10:12:07 Physical I/O device .5 10:12:07 2.Tag conception Click Timestamp Master title style to edit obtain Value 2.

Click Tag structure in Vijeo Citect style to edit Master title Tag conception Tag = { Name ID Cluster Device Address Data Type Value Raw Zero Scale Raw Full Scale Eng Zero Scale Eng Full Scale Deadband EU Description } Tag = { Pump_1_Speed 0x03C00040 Cluster1 Premium_192_168_1_51 400123 INT 250 NA NA 0 500 NA “RPM” “Speed of feed pump” } .

m1] [n2.0) 4095 − 0 y = −10 + (10 − (-10)) Quadratic scaling: y = n2 + (m2 − n2) ( x .Click Scaling Master title style to edit Tag conception Raw scale: Engineering Scale: Linear scaling: [n1.n1) m1 − n1 (x .n1 ) m1 − n1 . m2] y = n2 + (m2 − n2) ( x .

PrevChange > (HighScale .LowScale) Deadband 100.Click Deadband Master title style to edit Tag conception CurrentValue .0 .

500ms Timestamp 15:8:17:140 Value = 7.4901 Value = 8.6986 Timestamp 15:8:48:686 Value = 0.4240 Tag conception .5 Value = 8.4454 Value = 8.7230 Timestamp 15:10:23:322 Value = 7.7939 T = 31.6375 Timestamp 15:10:54:867 Value = 0.4492 Value = 8.6478 Timestamp 15:9:51:776 Value = 0. 500ms Timestamp 15:5:0:177 Timestamp 15:5:0:678 Timestamp 15:5:1:179 Timestamp 15:5:1:679 Timestamp 15:5:2:180 Timestamp 15:5:2:681 Deadband = 0.1V.4834 Value = 8.Click Deadband Master title style to edit Deadband = 0.4305 Value = 8.8023 Timestamp 15:9:20:231 Value = 7.

ClickForms (pg4-13) title style Tag to edit Master 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 .

Click to edit Master title style Show Deleted Entries (pg4-13) Deleted items are “flagged for deletion” File | Pack deletes items Show Deleted Items Deleted Items Visible .

run. and watch the magic .Click Communications (pg4-14) Test to edit Master title style Create variable tag called “Test” Use graphics builder to create simple page Associate buttons and text label to “TEST” tag Compile.

3 Testing Communications Page 4-14 .Hands-on Exercise Exercise 4.

process equipment. or name – can be omitted if not needed Type section identifies the Type of parameter. 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 .Click to edit Master title(pg4-22) Structured Tag Names style Area_Type_Occurrence_Attribute Simplifies maintenance and allows creation of sophisticated genies Area section identifies a plant area. or control hardware. number.

Click to edit Master title(pg4-23) Structured Tag Names style Variable Tag Area B1_bbb_ccc_dd B2_bbb_ccc_dd Type aa_TIC_ccc_dd aa_FIV_ccc_dd aa_VALVE_ccc_dd Occurence aa_TIC_101_dd aa_FIV_102_dd Attribute aa_bbb_ccc_PV aa_bbb_ccc_SP aa_bbb_ccc_CMD Process variable Set Point Command Signal Temperature Indicating Controller 101 Flow Indicating Controller 102 Temperature Indicating Controller Flow Indicating Controller Valve Boiler 1 Boiler 2 Meaning .

.“ Probably bad: !@#$%^&()+=}{~` Underscore _ is OK Structured tags allow text string substitution in genies and super genies Avoids entering full tag names .ClickNamingMaster title style Tag to edit (pg4-23) Up to 79 characters Do not start names with a digit Best not to use any special characters: Forbidden: *|\[]:<>?/.

4 Milk Treatment Plant Variable Tags Page 4-24 .Hands-on Exercise Exercise 4.

dbf file!! Vijeo Citect can be made inoperable by changing these files outside of the application .Click to edit Master title style Backup & Think Again (pg4-25) Danger!! Always backup your original <name>.

Access 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 .Click to edit Master title style Save DBF Macro (pg4-25) Handy to use Excel.

Access opens Right click & Save/Close DBF in C:\temp\ as variable_new.dbf .Add Tags using MS Excel and Click to edit (pg4-26) title style MS Access Master Open Variable.dbf Excel.

Hands-on Exercise Exercise (optional) Using Microsoft Excel and MS Access to Add Variable Tags Page 4-25 .

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

Graphics .

Click to edit Master title style Topics Create pages CSV_Include project Drawing basic objects Runtime properties Creating symbols ActiveX True colour graphics .

Click to Templates (pg5-3) style Include edit Master title Retain link to template when used in project .

1 Creating a New Page Page 5-6 .Hands-on Exercise Exercise 5.

Click to edit Master title style Drawing Objects (pg5-7) Free hand Rectangle Polygon Text tool Button Trend Symbol Active X Control Line Oval Pipe Numeric Symbol Set Cicode Object Genie Process Analyst Database Exchange .

Click to edit Master title style Drawing Objects (pg5-7) Objects can also be selected from “Objects” on the pull-down menu .

Click toProperties (pg5-7) style Object edit Master title Appearance (General) Quick reference to altered properties Alter a property and a appears in the tab .

Click to edit Layout (pg5-9)style Pasteuriser Master title .

Hands-on Exercise Exercise 5.2 Drawing the Milk Treatment Graphics Page Page 5-10 .

Click toDrawing Tipstitle style Useful edit Master (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 .

Ellipses and Circles Page 5-14 .Hands-on Exercise Exercise 5.3 Rectangles. Squares.

Hands-on Exercise Exercise 5. Polylines and Polygons Page 5-16 .4 Pipes.

Click to edit Wizard (pg5-18) Expression Master title style Avoid typos – use Expression Wizard! .

Click to edit Master title style Runtime Object Display (pg5-18) On / Off MultiState Array Threshold .

5 Displaying Objects in Different Colours at Runtime Page 5-18 .Hands-on Exercise Exercise 5.

Hands-on Exercise Exercise 5.6 Displaying a Bar Graph Page 5-20 .

Hands-on Exercise Exercise 5.7 Displaying Numbers at Runtime Page 5-22 .

Hands-on Exercise Exercise 5.8 Displaying Text at Runtime Page 5-23 .

Click toSets (pg5-25) title style Symbol edit Master Symbol sets Multiple or sequential graphics indicate change of states Arrays – change colour with values input Animation – movement responding to input .

9 Using Symbol Sets Page 5-25 .Hands-on Exercise Exercise 5.

Click to edit Libraries (pg5-27) Symbol Set Master title style From Include Projects Add your own library Avoids being overwritten on upgrading CitectHMI/SCADA Library Name Object Name Valve_Solenoid up_small_green . Symbol set libraries Duplicate libraries in multiple projects are merged .

10 Creating Symbols Page 5-30 .Hands-on Exercise Exercise 5.

Click to edit Master title style ActiveX Controls (pg5-32) Microsoft standard Separate component Developed by Citect and integrated into Vijeo CitectHMI/SCADA Can be developed (and supported) by 3rd parties .

Click to edit Master title style ActiveX Controls (pg5-32) ActiveX properties unique to each control Insert ActiveX control just like any other object Meters Menus Calendars Control Panels .

11 Add an ActiveX Object Page 5-33 .Hands-on Exercise Exercise 5.

including BMP DXF EPS JPG PCX PNG TIF WMF .Click to edit Master (pg5-37) Importing Graphics title style Create Images from External sources Import many file types.

12 Importing Graphics Images Page 5-38 .Hands-on Exercise Exercise 5.

Create Image as Background Click to edit Master title style (pg5-43) Lock Background Images Cannot select background image Edit | Lock Object .

14 Set an Image as the Background Page 5-43 .Hands-on Exercise Exercise 5.

Click to edit Master title style Summary 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? .

Click to edit Master title style End of Day One .

Clickof Day One End to edit Master title style What have we covered? The Citect Environment (Chapter 2) Explorer Project Editor Graphics Builder Cicode Editor Managing Projects (Chapter 3) Creating Projects Backing Up & Restoring Projects Computer Setup Wizard Including Projects .

ActiveX . MS Access to edit tag Graphics (Chapter 5) Building the Pasteuriser Page Variable Colours and Appearance Symbol Sets and Simple Animation Creating Symbols.Clickof Day One End to edit Master title style What have we covered? Communications (Chapter 4) Express Communications Wizard I/O Devices etc Testing Communications Structured Tag Names Using MS Excel.

Vijeo Citect Project Development Day 2 .

Commands and Controls .

Click to edit Master title style Topics Slider Controls Touch Commands Keyboard Commands Creating a Privileged User .

Physical output in this case Calculate an appropriate offset size in Pixels Symbol Slider(vertical) .Click to edit Master title style Slider Controls (pg6-2) Paste Symbol Designate input variable Tag property Input wrt the symbol .

1 Slider Controls Page 6-2 .Hands-on Exercise Exercise 6.

Click to edit Master(pg6-5) style Touch Commands title Paste Symbol Designate Input(Touch) command Designate variable Tag property Start Device .

2 Touch Commands Page 6-5 .Hands-on Exercise Exercise 6.

Click to edit Master title style Keyboard Commands (pg6-9) 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 Go Backward Go to Forward Hit F5 To go Forward .

Click to edit Master title style Keyboard Commands (pg6-9) Object level Page level System Level .

3 Keyboard Commands Page 6-10 .Hands-on Exercise Exercise 6.

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

Highest 1 .Lowest . users with privilege 3 only have access to commands with classification 3) Non-hierarchical privileges add flexibility to your system.ini [Privilege]Exclusive = 0 To allocate all privileges.e. especially when used with the area facility Hierarchical privileges set by parameter in citect.Click Privileges (pg6-15) style User to edit Master title By default. privileges are non-hierarchical (i. you would only need to specify privilege 8 8 .

Click Privileges (pg6-15) style User to edit Master title Part of security framework Object Level Access Users Also Areas User Logins .

4 Create a Privileged User Page 6-16 .Hands-on Exercise Exercise 6.

Click to edit Master title style Summary 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? .

Genies .

Click to edit Master title style Topics Pasting a Genie from Libraries Creating a New Genie Modifying a Genie Genie Syntax .

Click to (pg7-2)Master title style Genies edit Group together graphical objects From standard symbols Define combined properties and actions Provide values or operations for the tags .

Click to edit a Genie title style Developing Master On When Valve_Cool_CMD %Tag% Valve_%Name%_CMD F5 Key: F5 F5 Toggle(Valve_Cool_CMD) Toggle: Toggle(%Tag%) Toggle(Valve_%Name%_CMD) Off Symbol On Symbol Press F5 to change Valve_Cool_CMD Tooltip: Press F5 to change %Tag% Press F5 to change Valve_%Name%_CMD .

you will only have to specify the <substitution> information. .Click to edit Master title style What is a Genie? (pg7-2) A group of symbols that can be re-used Symbol Set Properties On Symbol TAG | <set when used on a page> On Symbol | Green_Pump Off Symbol | Red_pump Numeric Properties numeric 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.

1 Pasting a Genie from the Libraries Page 7-3 .Hands-on Exercise Exercise 7.

Click to edit Master title style Viewing Genie Properties (pg7-2) Double clicking a genie shows the tags for variables to be entered <ctrl> Double click shows the genie properties Links to source of genie make properties read only .

Click toGeniesMaster title style Creating edit (pg7-5) In Graphics Builder Do not save in Include project library Update task required to propagate changes when modified .

Click to edit Master title style Substitutions 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 Properties On Symbol TAG | %status TAG% On Symbol | Green_Pump Off Symbol | Red_pump ## # Numeric Properties numeric expression | %Speed Tag% Format | ### EU .

% Define them when you use them Genie variable %name% Genie variable %privilege% ..Click to edit Master title (pg7-6) Substitutions in Genies style You can specify variables or constants in Genies Enclose in % .

Hands-on Exercise Exercise 7.2 Creating a New Genie Page 7-7 .

Click to edit Master title style Locating the Genies .

Click to edit Master title style Summary Questions What is a genie? .

Popup Pages and Super Genies .

Click to edit Master title style Topics Creating Popup Pages Calling Popup Pages from Symbols Calling Popup Pages from Genies Creating Super Genies .

8) Cicode function within Genie controller . X. or a single piece of plant floor equipment Genie controller. sTag1. AssWin(sPage. Y. Mode.. which performs the substitutions and displays the popup. controls where and how it is placed ON OFF OK 80 C Super Genie pop-up controller . Calls a Super Genie Cicode function. 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.Click to edit Master title style Super Genies (pg8-2) Dynamic pages (usually pop-ups).calls the popup.

dTag1.iTag2) .Click to edit a Pop-up (pg8-2) Anatomy of Master title style Mode Wintitle() ?1?=1 ?1?=0 ON ?1? 80 C OFF ?2? Close WinFree() OK AssWin(sPage. X. Y. Mode.

Click to edit Master title(pg8-2) Super Genie vs Popup style Super Genies are transportable Saved into library as file <sgeniename>.ctm Popup pages saved as page in project .

Click to edit Master title style Substitution of Variables (pg8-3)
Variable Tags can be substituted at runtime by enclosing in ? …. ? ?datatype number?
String, Integer, Digital, Real Tag1 Tag1 Tag2 Tag3

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

Page Name to be called

X,Y Co-ord

Mode

sTag1 convention for string, iTag for integer etc

Hands-on Exercise

Exercise 8.1 Creating Popup Pages

Page 8-4

Click to edit Master title (p8-7) Viewing System Pages style
Click on Tools | Options Check List System Pages Allows pages beginning with ! to be displayed

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

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

Hands-on Exercise

Exercise 8.2 Calling Popup Pages from Symbols
Page 8-8

Hands-on Exercise

Exercise 8.3 Calling Popup Pages from Genies
Page 8-9

Click to edit Master title )style Animation 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 allocated location of the object Super Genie format automatically allocates: AN1 +1 keyboard input AN2 +2 Prompt information Do not remove these objects Simply move them out of the visible area of the genie They are still saved when you do this .

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

Hands-on Exercise Exercise (optional) Creating Super Genies Page 8-11 .

Click to edit Master title style Summary Questions What are popup pages and super genies? Can popup pages be opened using the Page controls? .

Device Connection Mechanisms .

Click to edit Master title style Topics Technologies Direct driver (DLL mechanism) DDE mechanism OPC mechanism .

Dynamic Data Exchange OLE .Click to edit Master title style Technologies DLL .Dynamic-link Library DDE .Object Linking & Embedding OPC .OLE for Process Control .

Click to edit Master title style Direct Driver User C/C++ code Driver .DLL Specific part … I/O Device SCADA .DLL I/O Device … Driver .DLL I/O Device General part (EXE) Driver .

Click to edit Master title style Modbus TCP Premium Twido Unity Pro TwidoSuite Modbus TCP Programming .

Hands-on Exercise • Programming simple ladder using TwidoSuite • Programming simple ladder using Unity Pro .

Click to edit – Modbus TCP Vijeo Citect Master title style .

Click to edit – Modbus TCP Vijeo Citect Master title style Vijeo Citect Runtime Connection Vijeo Citect Runtime Connection .

Hands-on Exercise Connect Vijeo Citect with Twido and Premium .

Click to edit – Other title style Vijeo Citect Master PLCs Demo with Siemens S7-200 AB Micrologix 1000 .

SCADA DDE Sever DDE Server I/O Device I/O Device … DDE Server … I/O Device Computer A .Click mechanism title style DDE to edit Master DDE Clients.

Click mechanism title style DDE to edit Master DDE Clients. SCADA DDE Sever Computer B I/O Device DDE Server I/O Device DDE Server Computer C I/O Device Computer A .

Click mechanism title style DDE to edit Master Application Application|Topic1!Item3 Topic1 Item1 Topic2 Item1 Item3 Item3 Item3 Item3 I/O Device DDE Client DDE Server .

Hands-on Exercise • Vijeo Citect – DDE applications • MS Excel – Vijeo Citect .

OPC mechanism Click to edit Master title style Architecture of modern process control system Business Management Supervision Process Management Process Management Automatic Control Field Management .

OPC mechanism Click The I/O driver problem title style to edit Master C/C++ Application SCADA SCADA Software Driver A Physical I/O Software Driver B Physical I/O Software Driver C Physical I/O Device A Device B Allow Device C Not allow .

OPC mechanism Click Howedit OPC solve the problem? to does Master title style C/C++ Application OPC SCADA OPC SCADA OPC OPC OPC OPC Software Driver A Physical I/O Software Driver B Physical I/O Software Driver C Physical I/O Device A Device B Device C .

OPC mechanism Click to edit Master title style Architecture of modern process control system Business Management Supervision Process Management Process Management Automatic Control Field Management .

OPC mechanism Click to edit Master title style Architecture of modern process control system Business Management Supervision Process Management Process Management Automatic Control Field Management .

… were all deferred to subsequent releases of the standard. OPC mechanism OPC Server Software driver . historical data access (HDA). The standard was purposely limited to the reading and writing of real-time process values (Data Access – DA). An OPC compliant client can read and write data to any OPC compliant server. The OPC standard specifies an interface between client applications and servers of process data. Alarm handling.Click Whatedit Master title style to is OPC? OPC is an industry standard created by a number of worldwide leading hardware and software suppliers. process events (A&E).

Through COM. COM is the core of DCOM (Distributed COM). an application may use features of any other application object.Click Whatedit Master title style to is OPC? Object Linking & Embedding OPC mechanism OPC – OLE for Process Control OPC – OLE for Production Control OPC – Openness. . Productivity and Connectivity OPC – OLE COM for Process Control COM – “Component Object Model” provides interfaces and inter-component communication. ActiveX.

OPCto mechanism Click OLEedit Master title style OLE Server (DLL) DLL) OLE Client (EXE) EXE) OLE Server (EXE) EXE) … OLE Server (DLL) DLL) I/O Device I/O Device … I/O Device .

OPCto mechanism Click OLEedit Master title style In-process In-process Client Local Computer A Remote Computer B .

OPCto mechanism title style Clicklogicaledit model OPC Data Access Server Master The object OPC Interfaces OPC Server OPC Group Group Group OPC OPC OPC Interfaces OPC Group OPC Group OPC Item OPC Group OPC Group OPC Item OPC Group OPC Group OPC Item Device Device Tag Tag Tag Tag Tag Tag .

GOOD. float. … • Time stamp (t) .The Timestamp should indicate the time that the value and quality was obtained by the device. … • Quality (q) UNCERTAIN.FILETIME: {yyyy:mm:dd:hh:mm:ss:…} . Properties: • Data value (v) VARIANT type: boolean.OPC mechanism Click OPCeditObject to Item Master title style Connection to a data source. string. BAD. integer. • … Item i Tag j .

4.9.2.4.9. 4.0. 03:54:17 4.3. 1. 03:54:14 2. 03:54:07 4. 2.1. 4.6. t Parameters of engineering process .3. 4. t OPC Server 1. 03:54:10 4.8. t v3. 03:54:16 5. 4. 4.6.6.9.2.9.1.1. 1.1.1.8. 2. 3.9. t' v6.0. t PLC Upper controller level Controller level Instrumentation Passive I/O boards PLC v1. GOOD. 3.. q6. t 1.2.OPC mechanism The path of real-time data Click control system in thetitle style to edit Master integrated process Supervision SCADA station SCADA station v1.7. 2. 03:54:02 3. 1.7. 03:54:03 3.1. 3. t 1. 03:54:08 4.1. 5. 4.6. OK. 2. v4.9. 0.9. 03:54:19 2. BAD.8. 2. 3.9. 3. 4.9.q4. 03:54:20 2.v03:54:01 03:54:60 03:54:59 03:54:58 03:54:57 03:54:56 03:54:55 03:54:54 03:54:53 03:54:52 03:54:51 03:54:50 03:54:49 03:54:48 03:54:47 03:54:46 03:54:45 03:54:44 03:54:43 03:54:42 03:54:41 03:54:40 03:54:39 03:54:38 03:54:36 03:54:35 03:54:34 03:54:33 03:54:32 03:54:31 03:54:30 03:54:29 03:54:28 03:54:27 03:54:26 03:54:25 03:54:24 v5. 2. 03:54:15 2.7.1.9. t v5. 4. q3. 03:54:13 1.2.5. 3.6. BAD.6. BAD. q6.7.8.8. q1. 3.7. 4.0. q5. 4.0.0. 03:54:18 4. t' v6. 03:54:11 4.5. 4. 03:54:04 3.8. 03:54:12 0. t 03:54:34 03:54:33 03:54:32 03:54:31 03:54:27 03:54:26 03:54:24 03:54:23 03:54:21 03:54:20 03:54:16 03:54:13 03:54:12 03:54:10 03:54:60 03:54:59 03:54:58 03:54:57 03:54:56 03:54:55 03:54:54 03:54:53 03:54:52 03:54:51 03:54:50 03:54:49 03:54:48 03:54:47 03:54:46 03:54:45 03:54:44 03:54:43 03:54:42 03:54:41 03:54:40 03:54:39 03:54:38 03:54:36 03:54:35 03:54:30 03:54:29 03:54:28 03:54:25 03:54:22 03:54:19 03:54:18 03:54:17 03:54:15 03:54:14 03:54:11 03:54:09 03:54:08 03:54:05 03:54:04 03:54:03 03:54:02 03:54:01 v4 03:54:07 v5 OPC Server OPC Server v6.5. 1. 1. 03:54:05 3. 2. t 4.4. 03:54:06 4. q4. 03:54:09 3.5. 3.1. 03:54:21 1.2. 4.2.1. 03:54:22 1.6. 4.9. 2. t v2.6.03:54:06 3.3. 03:54:60 03:54:59 03:54:58 03:54:57 03:54:56 03:54:55 03:54:54 03:54:53 03:54:52 03:54:51 03:54:50 03:54:49 03:54:48 03:54:47 03:54:46 03:54:45 03:54:44 03:54:43 03:54:42 03:54:41 03:54:40 03:54:39 03:54:38 03:54:36 03:54:35 03:54:34 03:54:33 03:54:32 03:54:31 03:54:30 03:54:29 03:54:28 03:54:27 03:54:26 03:54:25 03:54:24 03:54:23 03:54:22 03:54:21 03:54:20 03:54:19 03:54:18 03:54:17 03:54:16 03:54:15 03:54:14 03:54:13 03:54:12 03:54:11t 03:54:10 03:54:09 03:54:08 03:54:07 03:54:06 03:54:05 03:54:04 03:54:03 03:54:02 03:54:01 v3.5. 4.7. q1.5. 3. 2.1. 1. 2.6.0. 03:54:23 2. t v1. GOOD.

Properties: Requested update rate. Clients must use group to access items. Percent dead band. Group i Item 1 Item 2 Item 3 .OPC mechanism Click OPCedit Master title style to Group Object Collection of items. Time bias.

Click OPCedit Master title style to Server Object
It is a COM object. Collection of groups.

OPC mechanism

Server i Group 1 Group 2 Group 3

Click OPCedit Master title style to DA 1.0

OPC mechanism

Overall picture of the client/server interaction

Click to 1edit Master title style Client Client 2
Server 1 Group Group 1 2 Item 1 Item 2 Item 3
OPC Server

Server 2 Group Group 1 2 Item 1 Item 1 Item 2 Item 1

Device 1 Tag 1 Tag 2 Tag 3

Device 2 Tag 1 Tag 2

OPC mechanism Click Dataedit Master title style to source in OPC Servers
Read from server’s internal cache. Read directly from device. Write directly to the device.

OPC to edit Master title style mechanism Click Modes of data exchange in OPC Servers
Synchronous read/write. Asynchronous read/write. Subscription (for read). Refresh (for read).

Synchronous mode Client 1 Click to edit Master title style Data Server 1 Group 2 Group 1
OPC Server

Item 1 Item 2 Item 3 Device 1 Tag 1 Tag 2 Tag 3

Item 1

Device 2 Tag 1 Tag 2

Asynchronous mode Client 1 Click to edit Master title style Server 1 Group 2 Group 1 Item 1 Item 2 Item 3 Device 1 Tag 1 Tag 2 Tag 3 Device 2 Tag 1 Tag 2 Item 1 OPC Server .

Subscription Client 1 Click to edit Master title style Server 1 Group 2 Group 1 √ OPC Server Item 1 Item 2 Item 3 Item 1 Data changed Data changed √ √ Device 1 Tag 1 Tag 2 Tag 3 Device 2 Tag 1 Tag 2 .

Refresh = Asynchronous mode for all items in a group Client 1 Click to edit Master title style Server 1 Group 2 Group 1 Item 1 Item 2 Item 3 Device 1 Tag 1 Tag 2 Tag 3 Device 2 Tag 1 Tag 2 Item 1 OPC Server .

OFS OPC mechanism .Click Demo Master title style to edit Vijeo Citect – Simulator OPC Server Vijeo Citect – Siemens PC Access Vijeo Citect .

OFS Page 9-4 .Hands-on Exercise Vijeo Citect .

Devices .

Click to edit Master title style Topics What are Devices? Setting up Devices Using Device History Files Set up a Device .

Click to edit Master (pg10-3) What are Devices? title style 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 dBASE databases SQL databases Via database connection driver Device Printers .

yearly logging periods [data] path variable in citect.ClickNew Devices (pg10-4) style Add to edit Master title System | Devices Period allows monthly.ini file Specifies folder .

of files 0 – no files -1 keep adding to 1 file n files Default 10 .Click to History Filestitle style Device edit Master (pg10-5) Define pathname:filename File type No.

Hands-on Exercise Exercise 10.1 Setup a Device Page 10-7 .

Click Doesn’t it Work? style Why to edit Master title F5 !Valve CommandLog No logging! .

Click to edit Master title style Summary Questions What is a device? Why are devices used? Why are device history files used? .

Events .

Click to edit Master title style Topics Define Events Enable Events .

use reports .Click to edit Events (pg11-2) Configuring Master title style 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 redundancy If you want to run an event with redundancy.

You can process events on any Vijeo Citect computer but only one computer for each event .Click to edit Events (pg11-2) Configuring Master title style Events must be enabled for events to run Use the Vijeo Citect Computer Setup Wizard (Custom setup) to enable Events.

Click tovs Named Events (pg11-2) Global edit Master title style 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 .

Syntax: Rand(Maximum) Maximum: The maximum number. Sleep(n) Pauses the current thread for the specified number of seconds SleepMS(n) Pauses the current thread for the specified number of milliseconds . This number must be between 2 and 32767 (inclusive).Click to Functions Used style Cicode edit Master title (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.

Click to edit Master title style Entering Cicode (pg11-3) Comment complex Cicode events 64 character limit in action field .

Hands-on Exercise Exercise 11.1 Defining and Enabling Events Page 11-3 .

Click to edit Master title style Summary Questions Why are events used? Name two types of event. .

Click to edit Master title style End of Day Two .

Alarms .

ROC Configuring 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 .Click to edit Master title style Topics Alarm State Diagram Alarm Types HI. LO. LO LO Deviation Rate of Change . HI HI.

Click to edit Master title style Alarm State Diagram (pg12-1) ON UnAck ON Ack OFF UnAck OFF Ack .

Click to edit Master title style Alarm Types (pg12-2) Analog High High High Deviation Low Low Low Rate of Change Hardware Pre-configured in Vijeo Citect system Advanced Action on Cicode program Digital One or Two Tags (ANDed) Time Stamped Like Digital but with a time stamp derived from the PLC .

LO title style HI. LO. HI Master LO .Click to edit HI.

Click to edit HI. LO. HI Master LO High High activated Value HiHi Deadband Hi Deadband High activated High activated time . LO title style HI.

Click to edit Master title style Deviation Value Event Deviation activated Deadband Allowable deviation Setpoint Deadband Event Deviation activated b) Time .

ROC s[i] − s[i − 1 ] Rate = ti − ti −1 Rate ≥ MaxRateOfC hange ⇒ ROC .Click to edit Master title style Rate of Change .

Click toAlarms (pg12-2) Create edit Master title style Via Explorer or Project Editor Max: 79 characters .

Hands-on Exercise Exercise 12.1 Configure Alarms Page 12-4 .

activating an audible alarm) Can have an associated priority Order alarm displays Filtering for the operator You can configure up to 16376 alarm categories 16 character names Category 0 is the default category Category 254 reserved for user-created alarm summary Category 255 is reserved for hardware alarms ..g.Click to edit Master title style Alarm 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.

Click to edit Master title style Alarm Categories (pg12-7) Define alarm Categorize Alarms – what we will do with an alarm Device – where the info will go .

Click to edit Master title style Alarm Categories (pg12-7) For Instance… 1000-series: Milk Receiving Area 1001 – Critical Alarms 1002 – Urgent Alarms Etc 2000-series: Pasteurisation Area 2001 – Critical Alarms 2002 – Urgent Alarms Etc 3000-series: Bottling Area .

2 Alarm Categories Page 12-8 .Hands-on Exercise Exercise 12.

Click to edit Master title style Alarm Pages (pg12-16) Right click alarm to see details .

Click to edit Master title(pg12-16) Standard Alarm Pages style Standard Pages in CSV_Include project Alarm All configured alarms Hardware Pre-configured hardware alarms Summary History of alarm activity from event log Disabled Manually-disabled alarms .

Hands-on Exercise Exercise 12.3 Displaying Alarms Page 12-17 .

Click to edit Master title style Alarm Groups (pg12-20) Digital Analog Time Stamped Digital time-stamped Analog time-stamped Advanced Configure alarm groups in the runtime system .

4 Alarm Groups Page 12-21 .Hands-on Exercise Exercise 12.

wav .Click to edit Master title style Audible Alarms (pg11-24) 1 Category Advanced Digital Analog Priority 1 2 3 2 3 [Alarm] Sound1 = c:\courses\AdvAlarm.

Hands-on Exercise Exercise 12.5 Audible Alarms Page 12-24 .

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 .H AlarmName.Click to edit Master title style Alarm Property Tags (pg12-27) Alarms can be combined with their properties to form an Alarm Property Tag Allows alarms to be fed into graphical pages to give a visual indication Alarm_name Propert y AlarmName.

property Text to be displayed on given condition Multi-state Enter Alarm.Click to edit Master title style Using Property Tags (pg12-27) Enter alarm.property .

6 Alarm Properties as Tags Page 12-28 .Hands-on Exercise Exercise 12.

What are alarm categories? Why are audible alarms used? .Click to edit Master title style Summary Questions Why are alarms used? Name the two types of alarms.

Clickof Day Two End to edit Master title style What Have We Covered? Commands and Controls (Chapter 6) Sliders Touch Commands Keyboard Commands Privileged User Genies (Chapter 7) Using Existing Genies Creating Genies .

Clickof Day Two End to edit Master title style What Have We Covered?
Popups and Super Genies (Chapter 8)
Creating & Using Popups Calling Popups from Symbols and Genies Creating Super Genies

Device connection mechanisms (Chapter 9)
Direct driver DDE OPC

Clickof Day Two End to edit Master title style What Have We Covered?
Devices (Chapter 10)
Various Kinds of Devices Setting Up Devices Device History Files

Events (Chapter 11)
Defining and Enabling Events

Alarms (Chapter 12)
Configuring Alarms Alarm Categories & Groups

Vijeo Citect – Project Development Day 3

Re-Cap
Day 2

Click to edit Master title style Genies
On When
Valve_Cool_CMD %Tag% Valve_%Name%_CMD

F5 Key: F5 F5 Toggle(Valve_Cool_CMD) Toggle: Toggle(%Tag%) Toggle(Valve_%Name%_CMD)

Off Symbol

On Symbol

Press F5 to change Valve_Cool_CMD Tooltip: Press F5 to change %Tag% Press F5 to change Valve_%Name%_CMD

Click to edit Master title style Genies
You can specify variables in Genies Enclose in % .. % Define them when you use them

Genie variable %name%

Genie variable %privilege%

X. Mode. dTag1.Click to Pages / SuperGenies Pop-up edit Master title style Mode Wintitle() ?1?=1 ?1?=0 ON ?1? 80 C OFF ?2? Close WinFree() OK AssWin(sPage. Y.iTag2) .

Click to edit Master title style Alarms .

Trends .

Click to edit Master title style Topics Trend Tags Displaying Trends Configuring Trend Display Trend History Files Instant Trends Displaying Instant Trends .

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

Click to edit (pg13-2) title style Trend Tags Master Create Trend Tag from Variable Tag Create Trend Page Variable Tag Trend Tag Trend Tag Files Trend Page .

Click to edit Master title style Creating Trend Tags (p12-2) Max: 64 characters .

ini [Navigation]TrendPage .Click to (pg13-2) Trends edit Master title style Trends Page button Displays the "trend" page CSV_Trend preconfigured page appears by default Other pages can be set by adjusting parameter in citect.

Click to edit Master title style Types of Trends (pg13-2) 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 .

Click to edit Master title style Trend History Logging (pg13-2) 24:00 Sun Trend Tag Sample 1 Sample 2 Sample 3 Sample 4 Sample 5 Sample n start stop Event .

Hands-on Exercise Exercise 13.1 Trend Tags Page 13-3 .

Click to edit Master title(pg13-5) Trend Template Styles style Standard style to review trend templates .

2 Displaying Trends Page 13-6 .Hands-on Exercise Exercise 13.

Click to edit Master title style Trend History Display (pg13-10) History Mode uses Trend History files Displays trends for a specific period .

Click to edit Master title style Trend Groups (Pg13-10) Variable Tag Trend Tag Trend Group Trend Display Variable Tag Trend Tag Variable Tag Trend Tag Frequency Period Trigger Type Storage / Files Pen Colour .

Hands-on Exercise Exercise 13.3 Configuring the Trend Display Page 13-11 .

ClickManagement title style File to edit Master (pg13-14) File growth .rule of thumb 5Mb per month for each 1 second trend record 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 .

Click toTrends (pg13-15) style Instant edit Master title Computer setup configures instant trends Trends Enabled .

Hands-on Exercise Exercise 13.4 Instant Trends Page 13-17 .

5 Displaying Instant Trends Page 13-18 .Hands-on Exercise Exercise 13.

click anywhere on the trend line to view a time and date reference line .Click toTrends (13-20) title style Instant edit Master Note .

Click to edit Master title style Summary 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? .

Process Analyst .

Hands-on Exercise Exercise 14.1 The Process Analyst ActiveX Control Page 14-3 .

Click to edit Master title style Topics What 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 .

Click to edit Master title style Process Analyst (pg14-2) High-end PC with significant graphics card 64MB Graphics Card (128Mb recommended) Displays All trend types Alarm data No extra configuration needed .

ClickProcess Analyst (pg14-3) Use to edit Master title style Place anywhere on page Configurable at runtime .

Click to edit Master title style Displaying Tags (pg14-5) Add pens dialog Adds tags Analog Digital Adds Alarms Configures Pens .

Click to edit Master title style Selecting Pens (pg14-5) <ctrl> click to select multiple trends <shift> click to select adjacent trends .

Click to edit Master title style Analyst Help File (pg14-5) Available in the Runtime system Not in Citect Help .

Cursor: A cursor allows an Operator to determine value at a given point in time by dragging the cursor line to the point required. 7. 3. Vertical axis: Analog pens have a vertical axis on the left-hand side of the pane to indicate data values. Chart background: The panes are drawn over the chart background. . the background may be partially visible 5. Panes: Panes are used to group pens visually in the Process Analyst and are stacked vertically on the Process Analyst display. Depending on the layout of the pens. 4. Pens: A Process Analyst pen represents your trend and/or alarm data.Click to edit Master title style Analyst View (pg14-5) 1. digital. and alarm pen. the date/time axis displays the date or time (or both) of the data for the primary selected pen within a pane 6. the Object View appears under the navigation toolbar and displays information about your Process Analyst pens. as well as other navigation-related tasks. Main toolbar: Contains commands for performing general operations in the Process Analyst. Navigation toolbar: Contains commands to allow an Operator to travel forward or backward through trends. The Process Analyst supports three types of pen: analog. printing reports 2. Cursor labels: Display the value where the cursor intersects the trend value line 9. such as opening views. Object View: When displayed. 10. 8. Date/time axis: Located at the top of a pane.

Click to edit Master title style Process Analyst View (pg14-5) .

Click to edit Master title style Process Analyst / Trends (pg14-5) “Different but the same!” Use the same data source (trend tags) Trend system has instant trends Trend tags and real tags .

Click to edit Master title style Alarm Display (pg14-7) Clarifier (Digital Alarm) not in alarm state HTA (Analog Alarm) colours represent HH. H. L & LL Silo (Digital Alarm) P1A (Advanced Alarm) P1>=3deg Colour represents “in alarm condition” Unacknowledged P4A Alarm P4A (Advanced Alarm) P4<=75deg P4A Alarm Acknowledged at this point .

Click to& Labels (pg14-11) style Cursor edit Master title Click and Drag labels around screen to increase clarity .

2 Displaying Trends Page 14-8 .Hands-on Exercise Exercise 14.

Click to edit Master title style PA Properties (pg14-12) Access the Dialog Box Choosing the ‘show properties’ button Right-click on the pane .

Hands-on Exercise Exercise 14.3 Changing the Properties of the Process Analyst Page 14-13 .

Hands-on Exercise Exercise 14.4 Comparing Trend Data Page 14-15 .

5 Displaying Alarms Page 14-17 .Hands-on Exercise Exercise 14.

6 Comparing Trends and Alarms Page 14-19 .Hands-on Exercise Exercise 14.

Why do we save analyst views? .Click to edit Master title style Summary Questions What is the Process Analyst? What are pen types? Name the three types of pen.

Navigation .

Click to edit Master title style Topics Menu Configuration Tool Custom Page Navigation Navigation Parameters .

Click to edit Master title style Menu Configuration Tool (pg15-2) Customize the run-time pages Configuration panel from Admin Tools Four Components Pages Menuname Menuitem Submenu .

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

Click to edit Master title style Menu 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 menu Adding a sub menu will automatically remove the action defined for the menu item it is branched from .

Click to edit Master(pg15-2) Menu components title style Page Generic Page Name Menuname Menuitem Submenu .

1 Menu Configuration Tool Page 15-3 .Hands-on Exercise Exercise 15.

Click to edit Master title style Standard Menu Items (pg15-5) Generic Pull-down menus Template Associated with ‘2-men’ button .

thus we are asking: if the login succeeded. non-zero if it fails (eg incorrect password) True is equated to 1. otherwise do nothing .Click to edit Master title style MyLogin (pg15-5) Local variable to trap success or failure of LoginForm command FUNCTION MyLogin() INT iFail iFail = LoginForm() IF NOT iFail THEN CSV_Nav_Home() END END LoginForm will return 0 if it succeeds. display the home page.

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! .Click to edit Master title style MyLogout (pg15-5) FUNCTION MyLogout() CSV_Nav_Home().

Hands-on Exercise Exercise 15.2 Custom Page Navigation Page 15-5 .

ini can name the primary pages in the project in the [navigation] section [Navigation] HomePage AlarmPage HardwarePage SummaryPage ToolsPage TrendPage = = = = = = Home Alarm Hardware Summary Admin Trend .Click to editParameters (pg15-9) Navigation Master title style Citect.

3 Navigation Parameters Page 15-9 .Hands-on Exercise Exercise 15.

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

Reports .

Click to edit Master title style Topics Defining a Report Reporting Format File Viewing Reports .

Click to edit Reportstitle style Configuring Master (pg16-2) Periodic Triggered Triggered during a period System | Reports Output to a Device Format in report format file .

Click to edit Master title style Event-based Trigger (pg16-2) Action: Report (“Past”) Silo Exceeds level of 900 Lt Trigger: LIC_Silo_PV > 900 .

1 Defining a Report Page 16-3 .Hands-on Exercise Exercise 16.

Click toProcessing (pg16-4) Report edit Master title style Define Report format Device runs report outputs report to destination Device Template Report Destination .

3.3) 3=up.Click to edit Master title style Viewing Documents (pg16-5) In page based on File template Use Cicode functions PageFile() PageRichTextFile() DspRichTextScroll(AN.5) DspRichTextPgScroll(AN. 4=down 5=number of lines to scroll .

2 Viewing Reports Page 16-6 .Hands-on Exercise Exercise 16.

Hands-on Exercise Exercise 16.3 Adding Scroll Tools (optional) Page 16-8 .

Click to edit Master title style Summary Questions How often can reports be run? What are the two formats used to view reports? .

Security .

Click to edit Master title style Topics Planning Plant Security Areas and Privileges Allocating Privileges and Areas Adding User Records Runtime Keyboard and Mouse Security .

Click to edit Master title style Plant Security (pg 17-2) What functions Staff groups can do What functions staff groups can view Which areas need security Based on Privileges at object level (what can be done) Areas defined in User definitions (what can be seen) Defaults to Area 0. Privilege 0 .

They will also be permitted partial control of adjacent areas All operators have the ability to shutdown the plant Privilege Levels: 1: Primary Plant Control 2: Secondary Plant Control 3: Shutdown Privilege .Click to edit Master title 17-3) Areas and Privileges (pg style Security Scenario Each operator has responsibility for his own section of the plant and will be able to see all areas.

Click to edit Master title 17-3) Areas and Privileges (pg style Milk Receiving (Area 1) Viewable: Privilege 1: Privilege 2: Privilege 3: Viewable: Privilege 1: Privilege 2: Privilege 3: Viewable: Privilege 1: Privilege 2: Privilege 3: Yes Yes Yes Yes Yes No Yes Yes Yes No No Yes Pasteurisation (Area 2) Viewable: Privilege 1: Privilege 2: Privilege 3: Viewable: Privilege 1: Privilege 2: Privilege 3: Viewable: Privilege 1: Privilege 2: Privilege 3: Yes No Yes Yes Yes Yes Yes Yes Yes No Yes Yes Bottling (Area 3) Viewable: Privilege 1: Privilege 2: Privilege 3: Viewable: Privilege 1: Privilege 2: Privilege 3: Viewable: Privilege 1: Privilege 2: Privilege 3: Yes No No Yes Yes No Yes Yes Yes Yes Yes Yes Operator 1 Operator 2 Operator 3 Privilege 1 = Primary Control Privilege 2 = Secondary Control Privilege 3 = Shutdown Privilege .

thus :Area 1 will be represented by: Pasteuriser and all Alarm pages Visible to Operator.For the Purposes of the Click to edit Master title style Exercise. 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 . Areas We only have one major production area.

Privileges Privilege 1 – Main Plant Operation Turn valves.Manager Has read-only permission in Areas 1 & 2 This could be achieved by installing a manager licence .For the Purposes of the Click to edit Master title style Exercise. pumps and other components ON/OFF Engineer in Areas 1 & 2 Operator in Area 1 only Privilege 2 – Secondary Plant Operation Changing analog variable values Engineer in Areas 1 & 2 Operator in Area 1 only Privilege 3 – System Commands System Shutdown & System Info Engineer in Areas 1 & 2 only Note .

Click to edit Users (pg17-3)style Configuring Master title System | Users Represent individuals Class of Users To View F2 .

Click to edit Master title style Viewable Areas (pg17-3) Set Viewable Areas Set Areas for privileges 1-8 Global Privileges Viewable Areas Areas for Privilege 1-8 .

Click to edit Master(pg17-3) Areas & Privileges title style User X Global Privileges 2 3 4 5 6 7 Area 1 Privileges 1 Area 2 Privileges 2 8 3 5 Area 3 Privileges 7 Viewable Areas 1.3 .2.

Click to edit Master title style Runtime Security (pg 16-11) Computer Setup Wizard Control Menu Title Bar Start-up ‘Cancel’ Button Computer Security <ctrl> <alt> <del> (Task Manager) <ctrl> <esc> (Start Menu) Policy Editor .

1 Adding User Records and Configuring Permissions Page 17-6 .Hands-on Exercise Exercise 17.

Click to edit Master title style Summary 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? .

Clickof Day Three title style End to edit Master What have we covered? Trends (Chapter 13) Trend Tags Configuring the Trend Display Trend History Files Process Analyst (Chapter 14) Properties Navigation (Chapter 15) Menu Configuration Tool Customised Navigation .

Clickof Day Three title style End to edit Master What Have We Covered? Reports (Chapter 16) Defining and Viewing Reports Security (Chapter 17) Planning Security Allocating Privileges and Areas Run-time Security .

Click to edit Master title style End of Day Three .

Course Summary .

Click to edit Master title style Topics Course Review Course evaluation Further training Citect examinations .

Click to edit Master title style Achieved the Objectives? 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 (Produce a design specification outline) .

Click to edit Master title style Training Roadmap Advanced Upgrade Technical Skill Requirement Intermediate Cicode Configuration .

Clickof Course End to edit Master title style Course evaluation Certificates Questions .

Click to edit Master title style End of Course .

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer: Get 4 months of Scribd and The New York Times for just $1.87 per week!

Master Your Semester with a Special Offer from Scribd & The New York Times