Vijeo Citect Architecture & Redundancy V7.2 R1 - VJC109330-02
Vijeo Citect Architecture & Redundancy V7.2 R1 - VJC109330-02
3 Fitzsimons Lane
GORDON NSW 2072
PO Box 174
PYMBLE NSW 2073
AUSTRALIA
Telephone: 61 2 9496 7300
Fax: 61 2 9496 7399
DISCLAIMER
Schneider Electric (Australia) Pty Ltd makes no representations or warranties with respect to this manual and, to the maximum extent permitted by law, expressly
limits its liability for breach of any warranty that may be implied to the replacement of this manual with another. Furthermore, Schneider Electric (Australia) Pty
Ltd reserves the right to revise this publication at any time without incurring an obligation to notify any person of the revision.
Your purchase of this official Vijeo Citect Architecture and Redundancy Training Manual entitles you to undertake the Vijeo Citect Architecture and Redundancy
training course. The number allocated to you on purchase of this manual is your key to complete the course evaluation.
Satisfactory completion of this evaluation is mandatory for you to obtain a certificate of completion of the training course.
The contents of this manual are proprietary to Schneider Electric (Australia) Pty Ltd and all rights, including copyright, are reserved by Schneider Electric
(Australia) Pty Ltd. You must not copy any part of the manual in hard or electronic form or make any adaptation or other commercial use of it without Schneider
Electric's prior written consent.
Schneider Electric (Australia) Pty Ltd will not accept any liability for action taken in reliance on this training manual.
COPYRIGHT
(c) Schneider Electric (Australia) Pty Ltd 2006-2010. All rights reserved. This material is copyright under Australian and international laws. Except as permitted
under the relevant law, no part of this work may be reproduced by any process without the prior written consent of Schneider Electric (Australia) Pty Ltd. Any
authorised reproduction must acknowledge Schneider Electric (Australia) Pty Ltd as owner of copyright in work.
TRADEMARKS
Schneider Electric (Australia) Pty Ltd has made every effort to supply trademark information about company names, products and services mentioned in this
manual. Trademarks shown below were derived from various sources.
CitectSCADA, CitectHMI, Vijeo Citect, CitectFacilities, CitectHistorian, Vijeo Historian and Ampla are registered trademarks of Schneider Electric (Australia)
Pty Ltd
Windows, Windows NT, Windows 2000, Windows XP, Windows Vista, MSSQL Server and Excel are trademarks of Microsoft Corporation.
GENERAL NOTICE
Some product names used in this manual are used for identification purposes only and may be trademarks of their respective companies.
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric
(Australia) Pty. Ltd. for any consequences arising out of the use of this material.
Validity Note
The present documentation is intended for qualified technical personnel responsible for the implementation, operation and maintenance of the products described.
It contains information necessary for the proper use of the products. However, those who wish to make a more "advanced" use of our products may find it
necessary to consult our nearest distributor in order to obtain additional information.
The contents of this documentation are not contractual and in no way constitute an extension to, or restriction of, the contractual warranty clauses.
For further information contact Schneider Electric (Australia) Pty Ltd. at www.citect.com/scada or www.schneider-electric.com/vijeocitect
About Us
Members of Educational Services' team of Instructional Designers have tertiary qualifications in Education, Educational Course Development and are also
experienced instructors in their own right; some are also published authors. Currently, the team is supporting a range of over 70 courses in multiple languages
and multiple software environments.
Authors
Contributors
Overview
Introduction
A Vijeo Citect monitoring and control system may be configured to suit any
industrial application. Vijeo Citect has been designed with flexibility in mind,
therefore, a system may be designed to suit the exact project requirements.
Vijeo Citect suits both small and large applications. Because it is flexible, Vijeo
Citect will keep pace with the plant and information requirements as they change
and expand.
Course
Instructor Please write the name of the Instructor here ____________________
The course Instructor will be spending the next two days with the class, and will
guide all students through this training course. The Instructor is an experienced
Vijeo Citect user so please feel free to ask questions.
Scope of this This training manual is a supplement to the authorised training. In order to make
Training Manual proper use of the software students should also refer to the Online Help and Vijeo
Citect Knowledge Base.
The graphics displaying screen shots have been taken using the Windows XP
operating system using Classic mode display properties. If students are running a
different version of Windows then screens may differ slightly from the ones shown
in the training manual.
Some screen shots may have been taken from beta versions of the software and may
vary slightly from release screen shots.
Prerequisites Students attending this course are expected to be familiar with basic aspects of
network design and architecture. This includes the following topics:
In addition, students should be entirely familiar with the material and concepts
covered in the Vijeo Citect Configuration course.
Target Audience The Vijeo Citect Architecture and Redundancy training course is an integral part of
the complete Educational Services curriculum. This course is designed for:
Engineers who will be responsible for the design and maintenance of a Vijeo
Citect network
Network administrators who need to understand how Vijeo Citect is configured
on their network
Vijeo Citect System Integrators and Designers
Technical users who maintain and develop an installed Vijeo Citect system
Prerequisite The Vijeo Citect Architecture and Redundancy training course is set at the
Knowledge Advanced level within the Educational Services curriculum. Therefore, some
prerequisite knowledge is necessary before enrolling in this course.
Course Material Please take a few moments to have a look through the Training Pack. In addition to
this manual, many training centres will provide one or more of the following items:
Compendium
Mouse Pad
Pen
Notepad
Memory Stick
The current version of Vijeo Citect on CD or DVD Rom
Course Assets For this course, in addition to the standard Vijeo Citect software, the following files
are required.
These projects may have been restored onto the students' computer by the
Instructor. If they have not, students will have to restore themselves according to
guidance from the Instructor.
Course Program The training course will take two days to complete. The following program
outlines the topics that will be covered on each day:
Day Topics
1 Vijeo Citect Architecture
On-line Changes
Clustered Control System
2 Vijeo Citect Redundancy
Web Client
System Security
Support If support or additional information about any concepts or products in the course is
required, students should ask the Instructor who will either address the issue or
obtain additional technical assistance as required.
Objectives These are the skills to be achieved by the end of each chapter. An overview
providing a brief synopsis of the topic begins each section. Often, examples are
given to illustrate the conceptual overview.
Example -
The Vijeo Citect configuration environment consists of several toolbars, browser
windows and programming editors. This chapter introduces the user to the
configuration environment using an example project with pre-defined elements.
Exercises After a concept is explained, students will be given exercises that practise the skills
just learned. These exercises begin by explaining the general concept of each
exercise and then step-by-step procedures are listed to guide students through each
procedure.
Example -
Paste a genie from a library in the Include project onto a test page called Utility.
1 Run the Milk_Upgrade project then trigger and view some alarms.
i. Use the following template settings:
User Input Whenever information is to be typed into a field or dialog box it will be written in
this font:
Example -
KETTLE_TEMP/25
Note that some exercises will show a fragment of information already typed into a
Vijeo Citect screen and then ask students to add extra lines of configuration. In this
instance, the previously entered material will be given to the student as pale grey
italic text:
KETTLE_TEMP/25
OVEN_TEMP/5
Hints and Tips This heading will provide students with useful or helpful information that will make
configuring the project easier
Example -
Note A note will refer to a feature which may not be obvious at first glance but
something that students should keep foremost in their minds
Example -
Note:
Any events named GLOBAL are enabled automatically when events are enabled.
Menus and Menu Text separated by the double arrow symbol “»” indicates that users are to select a
Options menu
Example -
File » New…
Horizontal and Text written this way indicates the Horizontal then the (Vertical) tab to be selected.
Vertical Tabs
Example -
Appearance (General)
See Also Text written in this way indicates further references about the current topic.
Example -
See Also:
For further information about Templates, see Vijeo Citect Help - Using Page
Templates.
Further Training This heading describes topics that are covered in more advanced courses.
Example -
Further Training:
Trend Table Maths is a topic in the Vijeo Citect Customisation and Design
Course.
Caution This heading describes situations where the user needs to be careful.
Example -
Caution!
If restore is configured for Current project, then the currently selected project in
the Citect Explorer will be overwritten.
Overview
Introduction
This section broadly covers all aspects of Vijeo Citect networking including Citect
Servers, I/O Servers, Clusters and Distributed Servers. Managing a Vijeo Citect
system will also be discussed.
How Vijeo Citect As well as being a client, any computer in a Vijeo Citect system may act as an
is Structured, Alarm, Report, Trend or I/O server. Clearly in a larger environment, server tasks
Client/Server will be dedicated to individual servers, but small sites could reasonably configure a
single computer to handle all server and client functionality.
The diagram shows each of the duties assigned to individual computers, but Vijeo
Citect permits all of these to be configured on a single computer.
Note:
Windows XP supports a maximum of 10 inbound client connections. More than
one of these might be used by a single remote computer, for instance a
<ShortName1> client and a file share would each consume a connection.
A Windows server product must be used if more than 10 connections are required.
Divide the class into two groups. Most of the course will use these two groups to
test different aspects of Vijeo Citect networking and redundancy.
Note:
The first group will use the project called Pulp and the other group will use the
project called Paper. However, both will be required at various times during the
course.
The projects are configured with these I/O Server and I/O Device
names.
Pulp Paper
I/O Server PulpPrimary PaperPrimary
I/O Device No 1 2
i. Open the Citect Project Editor; click the Compile button. There
should be some errors.
ii. Examine the errors. These are caused because the Cluster Names
and Servers have not been configured.
What is a A cluster is a discrete group of alarm, trend, report, and I/O servers. Local Vijeo
Cluster? Citect clients will connect to this cluster. For a plant comprising several individual
sections or systems, multiple clusters can be used, one cluster for each section.
There are many variations in the way in which a Vijeo Citect clustered system can
be configured. The most appropriate configuration will depend on the requirements
for the solution to be deployed and the environment in which it is being deployed.
In the next few exercises the class will explore some of these clustering structures.
Breaking The next diagram demonstrates circumstances which break the clustering rules.
Clustering Rules
The Vijeo Citect compiler or the Vijeo Citect Runtime Manager detects when the
rules of clustering are not being observed and advises the user accordingly.
See Also:
For further information about Clusters, see Vijeo Citect Help - Using Vijeo Citect »
Implementing Clustering.
iii. In the Cluster Name field, enter Pulp_Cluster_1 and click the Add
button.
Note:
The Record indicator, located in the lower left corner of the Cluster [Pulp] window,
should now specify that one Cluster record has been created for the Pulp project.
iii. Name the new Report Server Pulp_Report_P then click Add.
3 The project has an existing I/O Server. Open the I/O Server
definition form and add it to the cluster.
i. Open the Citect Project Editor. Select Servers » I/O Servers.
ii. Select Pulp_Cluster_1 from the Cluster Name dropdown list.
Project Based The project's network topology is embedded in the project. This means that the
Definition network architecture is configured from within the Project Editor. Servers and their
IP addresses are set up in the Network Addresses dialog in the Project Editor.
This means that physical computers in the system can be changed easily. As long as
the IP address of the new machine is the same as the one being replaced, the new
computer will be able to take the same role immediately.
As each computer starts it reads the Network Addresses database. If its own
network address matches any of the network addresses defined in the project the
computer will assume those defined roles.
iv. Enter the name Pulp_Server, and the IP address of the local
computer, then click the Add button.
How a In any Vijeo Citect system, the various Server components need to be named.
Networked However it is only when the system is changed from a stand alone system to a
Server is network configuration that the Network Addresses need to be added to all of the
Configured server definitions.
When the computer starts it looks at the definition files. If the Network Address
identifies the computer as one or more servers it will start up and assumes those
roles.
2 Add the Network Addresses to all the servers in the Paper project.
iii. Server and Control Client will be selected automatically. Tick the
Multi-Process box and then click Next >.
Note:
Server Authentication is covered in depth in System Security (page 7-1)
TimeSyncService Versions of Vijeo Citect prior to Version 7.10 employed a message-based time
synchronisation server to ensure clocks on computers running a Vijeo Citect project
maintained time synchronisation. To support Vijeo Citect running under standard
user rights with User Access Control (UAC) enabled in Windows Vista and
Windows 7, the existing Time Server functionality has been replaced.
The Time Source computer must have Vijeo Citect installed. However, the Time
Source computer does not need any project configured to allow the Vijeo Citect
computers synchronise with its time nor does it need to have a project running.
Time Synch as a The status of the Time Synchronization Service may be viewed in the Computer
Service Management screen of the Control Panel, where it is named "Citect Time
Synchronization Service."
Once the service has started on the Time Source computer Vijeo
Citect can be closed and the service will keep running. If the Startup
type: has been set to Automatic and the computer is restarted the
service will restart when Windows restarts.
iii. Click the Keep this computer's time synchronised checkbox. This
will allow the computer to become a Time Client. Note that when
this checkbox is enabled the Synchronize with the first available of:
section becomes active.
3 Add the Time Source computer to the list of available time sources.
i. Click the Add button. When the New time source input box opens
enter the name of the Time Source computer, e.g. Training01. Click
OK.
ii. Click the Start Service button. When the service has started the
Current status: will change to Running.
How a Control A Vijeo Citect Control Client is configured using the same project-based
Client Connects information as the servers themselves. The Client needs the same information as
to the Server the Server, i.e. the Network Addresses of the servers that it will join. These are the
Report, Alarm and Trend Servers.
The client will use the Network Address definitions to find the Computer Name of
respective servers of Reports, Alarms and Trends to connect to each Server.
Servers are also Every Vijeo Citect Server is automatically a Control Client. If a Vijeo Citect
Control Clients computer is defined to be an I/O Server, it will initialise and attempt to contact any
I/O Devices (in the current running project) defined against the I/O Server of that
name.
Note:
When building large scale systems it is recommended that separate Control Clients
are used to view plant data rather than viewing from Servers.
Note:
If the Client process running on a Server computer is not being used it can be
stopped in the Runtime Manager without affecting the Server processes.
A Vijeo Citect Control Client needs the network addresses of the Servers defined.
v. Click Replace.
vi. Compile the project.
iii. The Server and Control Client option on the Computer Role Setup
screen will be greyed out. This is because the IP address of the
computer does not match the IP Address configured in point 1 iv.
Select Control Client then click Next >.
Note:
This sets the [Client]FullLicense parameter in the citect.ini file to 1 (the
default value).
2. A View-only Client (in the past referred to as a Manager Client). This grants the
user view-only access to the project; no tags may be changed.
3. A Full Licence. This is the only licence that can run a Vijeo Citect server.
However, should there be a ‘spare’ Full Licence on-site - perhaps during testing or
where an existing server has been decommissioned, this is available for client use.
A Full Licence must be installed locally on the computer; unlike other client
licences, it cannot be accessed across the network.
Vijeo Citect does not permit the dynamic allocation of licenses other than as
specified in this dialog; in fact it will never provide a license different to that which
was requested - if none of the requested license-type is available, none will be
provided.
iv. Select Networked as the primary networking model and click Next >.
ii. Start the Clients. Watch the Status as the Clients connect to the
server.
iii. Change the values in the runtime on the Server and Client machines.
The values will change on all computers in the Vijeo Citect network.
For instance, on the Pulp project, drag the chip-level slider right or
left to increase or decrease the visible chip pile; on the Paper project,
drag the Recycled_Pulp slider to adjust the level of the tank.
iv. On a newly-started project, the values cannot be changed. Why is
this and how is the problem rectified?
Share the Load In any evolving system, usage will grow, both in terms of PLC tag count and user
impact. After a sustained period of growth, the level of activity may cause too
much of a load for one computer to handle all the server tasks. The scalability of
Vijeo Citect makes it easy to add more computers to the network and to share the
server load between them.
Load sharing of system components across different computers and CPUs means
the workload of a potentially stressed system can be split across multiple machines,
better utilising the available infrastructure.
For example, managing alarms can draw heavily on a CPU's performance, while
trending data can use a lot of disk space. By assigning the trend and alarm servers
to different processes on a shared computer, an alarm server can be used as a
standby trends server, making practical use of idle disk space.
This approach can be used to improve network performance, data access times, and
general system stability.
Although Report, Alarm, and Trend Servers may be renamed, the name of an I/O
Server is not as easily changed since all the I/O Devices are tied to that Server
name. However, all Servers can be easily assigned to run on different computers by
changing the Network Address field.
When the computers are restarted after role reassignment, the new Servers will
recognise their new roles from the Network Addresses in the Server forms and start
in those assigned roles.
Development and Whenever a running system needs modification, either to add functionality or to
Runtime correct problems, there are clear issues in managing how the changes will be
implemented, tested and introduced.
A compiled Vijeo Citect project is located in the [RUN] folder with the majority of
the application loaded into the memory of the computer (either server or control
client) and generally no further reference to the running application. This means
that it is entirely possible to recompile a project and have a major mismatch
between the running and the stored versions of the project.
Thus it is possible to compile underneath a running system. While this may be true,
it is not recommended for a number of reasons.
See Also:
For further information about restarting a running system, see Vijeo Citect Help
Topics - Restarting the System Online.
Maintain Large A large Vijeo Citect development poses a number of problems. In general larger
and Small projects require larger teams and accordingly better software change management is
Systems required. With a small system it is usually possible to get away with a separate copy
of the [BIN] and the project on every Vijeo Citect computer.
Maintaining a large and complex system like this can quickly get extremely
confusing and tedious however. Typically, Project Managers will recognise the
advantages of a centralised file storage area, allowing many developers to work on
the project(s) at once. This means that updates may be achieved from a central
location and the projects on the runtime computers are updated the next time Vijeo
Citect is restarted.
Once the project is compiled and ready to run, the best location for the runtime files
must be decided. One option is to store them on each Vijeo Citect computer’s local
hard drive. That way the machine is immune to problems on the file server. Another
option is to store the files centrally, obviating the need to copy the runtime files
down to each Vijeo Citect computer after every compile.
Not all files are required for a “runnable” project. In order to sufficiently defend a
Vijeo Citect system against failure, these network architecture questions must be
considered. What will happen if the network fails? What if the file server goes
down? How should the development environment be backed up? What sort of
performance can be expected?
Folder Traversal In order to access the folders containing the various Include projects of a complete
project, it is necessary that the clients have permission to traverse all of the sub-
folders in the [USER] folder. These clients also require write permission, as clients
will update files in the server target location.
To achieve this, it is usual to share the User folder on any source file host to permit
the easy traversal of the entire structure.
Use runtime system management to set up a Vijeo Citect project on a File Server.
ii. Highlight the path in the Location field, right click and select Copy.
iii. Open Windows Explorer, paste the location into the Address field
and click Go.
iv. In the tree hierarchy on the left side of the window, locate and then
right click the User folder and select Properties.
v. Within the Sharing tab select Share this folder.
vii. Give the Everyone group Full Control and then click OK.
Note:
Full Control (and by implication Write Permission) is required as files in the project
are updated when the remote link is established and it is entirely feasible (although
not recommended) that the project may be modified from the Client location; the
system must allow for this.
Note:
Removing the Project Link simply detaches the project entry in the project list
from the current location in the file system. It does not delete the files located in
the original project folder. The next step is to connect the project entry to the new
location on the File Server.
ii. Click Yes to confirm the choice to remove the project link.
iii. Right click My Projects and select Add Project Link… from the
menu.
iv. Locate the File Server by using the directory tree. Click OK to add
the Project Link.
vi.
Note:
If the project was compiled before the project link was established, the remote
computers may under certain circumstances not believe the project is compiled and
will not run the Setup Wizard until a recompile is completed. This recompile may
be initiated from any attached computer (either the 'file server' or any remote client)
and need only be done once.
ii. After completing the IP address, click Replace to save the changes.
Keep Systems Up When trying to keep a Vijeo Citect system up to date with the most recent project
to Date changes, the Copy parameter may be used. It is located under the [CTEDIT] section
in the citect.ini file; it is called COPY = (as opposed to say, RUN =).
When Vijeo Citect starts, it looks in the RUN = path for the necessary project files.
It then compares the first file it needs with the same file on the COPY = path.
If the file held in COPY = is different from the one in the RUN = directory, Vijeo
Citect copies the file from COPY = to RUN = and then loads it. It then does the
same operation with every file it needs, as it needs them.
Pages may not be updated for some considerable period of time simply because
they may be rarely visited. This means that Vijeo Citect can automatically update a
local copy of the running project on the fly from a central master copy.
The RUN = parameter can be pointed at an empty directory and it will work, as long
as COPY= links to a valid project. Since Vijeo Citect only copies those files it
needs for running, the bare minimum are used so copying and running across the
intranet is more of a possibility. This is perfect for maintaining a distributed project
arrangement yet still reap the benefits of a centralised file store on a server.
Rules to Follow There are some specific rules to follow in order that all members of the multi-
computer group can agree on the state of the project. In particular, it is wise to
make certain that a final compile of the project be performed after all clients have
connected to the COPY location - this will ensure that all computers agree that the
project is compiled, permitting the Setup Wizard to be run locally on each machine.
Note:
After setting the Copy parameter, do not use the Citect Explorer. If the Run path
only contains the runtime files, not the entire project, the Citect Explorer will not
recognise it as a valid project.
Henceforth in this training manual, the computer which contains the master copy of
the project files will be referred to as the Copy Host, while the clients of this host
will be referred to as Copy Consumers.
1 Change the citect.ini files of the Clients to use the local project as
the RUN directory and the file server as the COPY host.
i. Remove the project link to the File Server from the previous exercise
and on the Clients re-establish the link to the local copy of the Pulp
or Paper project.
ii. Backup the local projects as this exercise will overwrite the original
projects.
iii. Open the Computer Setup Editor and add the Copy = parameter to
the [CTEDIT] section. Select the CtEdit branch in the expandable
tree.
iv. Select the Copy parameter and add the UNC name in the Value:
field that is appropriate for the local configuration.
v. The new parameter will be displayed in the tree. Close the Computer
Setup Editor and Save the changes when prompted.
Note:
In order to observe the effects of the COPY parameter, it is essential that the Copy
Consumer computers be running the project prior to the change being made on the
Copy Host. Once done, the consumers may navigate away from the affected page
and return to it to see the changes automatically propagated.
System-wide All runtime parameters in the citect.ini file are available for configuration from
Parameters within the project.
At startup, any entries in the Parameters table are interpreted as if they came from
the citect.ini file and are used for the running project.
The Parameters table will automatically be distributed to any Vijeo Citect Copy
Consumer to distribute project changes.
Note:
The Parameters entries are not written to the citect.ini file, instead, they are
interpreted as if they were sourced from there. If the same parameter exists in
citect.ini and the Parameters list, citect.ini takes precedence.
Once a Section Name is selected, most of the parameters of that section are
available from the Name dropdown list. If the desired parameter is not available, it
may be entered manually.
Make the following changes on the computers which act as the Pulp
and Paper Copy Hosts:
i. In the Project Editor, select the menu System » Parameters.
ii. Scroll down to find the Page, Startup entry.
iii. Observe that the Startup page is currently set to be PulpHome (or
PaperHome) - this is how the projects locate and display the normal
front page with the factory or paper rolls image.
iv. Change the entry to be Woodchip (or Recipe) and click the Replace
button.
v. Compile the projects.
Note:
To populate an entry for a previously unused parameter, the Section and Name
must be selected from the drop down lists.
Vijeo Citect Architecture and Manual Release 1 2-55
Redundancy
Summary
What is a Cluster?
When a new project is created what Cluster elements need to be defined?
How many Trend Servers can exist on the same computer?
Is it possible to have a Primary Alarm Server and a Standby Alarm Server on
the same computer if they belong to different clusters?
What is the purpose of Remove Project Link?
What is the purpose of the Copy = parameter?
If a new tag is created on the I/O Server, and the I/O Server computer is also
acting as a Trend, Report and Alarm Server, what actions need to be
performed for the change to take effect over the the whole system?
Overview
Introduction
Many modifications may be made to a running project without requiring a restart of
either the relevant Server or any of the Clients.
Online Changes......................................................................3-2
Online Changes
Clients Update Vijeo Citect Clients from Version 7.0 onwards don't require configuration updates
without being or restarts when changes are made on the Server. When any Alarm, Trend or
Reinitialised Variable Tag is added, removed or updated on the Server side, Clients will not
require updates or restarts for them to adjust to the new configuration. Only the
Server needs to be restarted or (effective from V7.20) reloaded.
How Online When a system has been configured so that Clients are able to be updated Online all
Changes Work changes take place on the Server. The Clients are able to update their information
because they are linked to a central project or the COPY parameter has been used
and the local project will update when changes are detected.
How Online When a change to the project is made on the Server, the Server must be reloaded.
Changes Work If the Server is providing more than one type of Server functionality, Multi-Process
(cont.) mode allows the user to reload that process only with the Runtime Manager.
Once the Server is reloaded, the changes are transferred to the Clients and are
available online. During the reload operation, the existing compliment of Alarms,
Trends etc will continue to be available to Clients; once the reload is complete, the
new items will automatically become available.
How Online Individual servers may be Restarted or Reloaded from the Runtime Manager,
Changes Work located in the System Tray.
(cont.)
Note:
There are a number of limits on exactly what will change without a reload based on
the wider impact of the change. These limits are detailed in the Vijeo Citect Help -
Effects of Server Reload on Servers.
Restart vs. The startup of any server may be divided into two discrete stages. Firstly it must
Reload identify how it is to be configured and secondly, it must determine what it has to
do. For an Alarm Server the first stage would include log file locations and other
such information while the second stage would be to create the list of actual alarms
with which it has to operate.
A Server Restart reinitialises both components while a Reload only attends to the
list of things it must do. As an analogy, consider a band on stage. It could be
assumed that getting the instruments ready on the stage and all the sound equipment
performing properly would be the first stage described above, while the hand-
written list of songs taped to the keyboard player's instrument is the second.
With that in mind, it is obvious that reinitialising the equipment is a very difficult
task, while changing the list of songs is trivial to achieve mid-performance.
See Also:
For further information about ServerReload, see Vijeo Citect Help - ServerReload.
Create a new Variable Tag in the Paper project using the settings
shown below and click Add.
The I/O Server will execute a shutdown and restart. Note that the
Control Clients detect a brief loss of I/O Server connectivity then
reconnect.
iii. At the Control Clients, reopen the Woodchip page and manipulate
the newly created Chipper Motor tag.
iv. Repeat the process on the Paper Server. Click the Runtime
Manager in the System Tray and right click the I/O Server entry
Paper_Cluster_1.PaperPrimary. Select the Restart option.
iii. Recompile the projects and Restart the Alarm Server processes.
iv. While the Alarm server is restarting, observe that the Alarm display
at the bottom of the graphics page on every client goes blank
momentarily.
ii.
iii. Select Reload from the right click menu. The Alarm Server will
perform a full refresh of its list of Alarms, but will not cease
processing alarms at any time; thus maintaining a supply of Alarm
information to all clients without stopping.
iv. Observe that in either case (Restart or Reload) the new Alarms will
be available as soon as the Alarm Server returns to full functionality.
The current Server arrangement includes two computers acting as Servers. One
(the Copy Host) is acting as the I/O and Alarm Servers, while the other is running
as the Report and Trend Servers. Thus, when adding Trend Tags, consideration
must be given to exactly how the tag should be added.
1 Class discussion
i. When adding a new Trend Tag to a multi-computer project, on which
computer should the tag be added.
ii. Discuss the options and agree on an answer.
Create a new Trend Tag in the Paper project using the settings
shown below and click Add.
iii. Recompile the projects and Reload the Trend Server processes.
iv. Open the Popup Process Analyst Sample page on the Trends Tab of
any Control Client.
v. This will fail:
vi. On the Copy Host, create a new graphics page based on the
tab_style_1.poppa template.
vii. Save the page as !ProcessAnalystPopup - this is the default name
for a Process Analyst popup page in a project with no customised
menu system.
viii. Recompile the project.
ix. At the Control Client, again attempt to open the Process Analyst
popup page - it will now succeed.
xii. Observe that without a restart at the client, the new Trend Tag
(CM_P) is now available. If it is not, reconsider the results of the
discussion earlier in this exercise and modify the project to match.
xiii. Add the new pen and confirm that it appears in the Process Analyst
display.
There are two Citect.ini parameters that control the ability to remotely act on a
server:
Server Restart
On all computers that will issue a Server Restart request, the
following parameter must be set:
[Shutdown]NetworkStart=1
Server Reload
On all servers that will receive a Server Reload request, the
following parameter must be set:
[LAN]AllowRemoteReload=1
iii. Add a second set of four buttons to the Control page to execute the
ServerRestart() command.
6 Open the Computer Setup Editor on the Clients and remove the
Copy parameter from the citect.ini file.
i. Right click the Copy parameter and select Delete Parameter from the
menu. Close the Editor and save when prompted.
With regard to on-line changes, what is the use of the Copy = parameter?
If a new tag is created on the I/O Server, and the I/O Server computer is also
acting as a Trend, Report and Alarm Server, what actions need to be
performed for the change to take effect over the whole system?
What is the difference between Restarting and Reloading a server?
Overview
Introduction
Clustering allows a Client to attach to more than one set of I/O, Alarms, Trends and
Reports Servers. In previous versions, a Client could only attach to one set of
Report, Alarm, and Trend Servers at a time. Now, large systems may comprise
multiple sets of Servers and Clients may connect to some or all Servers
simultaneously.
Combine A clustered system allows discrete sites being controlled by local operators to be
Discrete Sites viewed by a global Control Client. A typical cluster consists of a Primary and
Standby Server providing Alarm, Trend, Report and I/O Servers support. The
cluster may also have local Vijeo Citect Clients and several other I/O Servers. A
Citect Cluster is typically a plant or in the case of very large or distributed plants, a
Cluster may be a section of a plant.
Each site is represented in the project with a separate Cluster, grouping its Primary
and Standby Servers. Clients at each site are only interested in the local Cluster,
whereas Clients at the central control room are able to view all Clusters.
iii. Compile the projects and on each server run the Computer Setup
Wizard in Express mode to confirm the correct project is in Multi-
process, Networked mode.
iv. Run the project on each Global Server.
Note:
The names PulpNetwork and PaperNetwork should correspond to the project
names of the clusters that are being configured. If they are different then change
the names accordingly.
Separate business units within the organisation are responsible for each
of Pulp and Paper and should be consulted prior to making changes to
their projects.
Proper change-management processes should be invoked for all
proposed changes.
Potential solutions may change as much or as little of the existing
projects as can be reasonably justified.
The Instructor will act as a management representative for both
company divisions and will answer any questions that arise.
There is no correct answer although a model solution will be provided
once the exercise is completed in order to move the course forward on
common ground.
iv. Add a tick in the box beside whichever cluster is not ticked (probably
Paper).
v. Click the OK button to save the changes.
iv. Click the Add Pens button and confirm that Trends from both
clusters are visible.
v. Add a pen from each cluster and confirm they are displaying correctly
and responding to changes made on the Woodchip and Recipe
pages on the Stand-alone Servers configured earlier.
vi. At this point, Clients are unable to change the tag values in either
sub-project and in fact all variables are replaced with #COM markers.
This will be addressed in the next exercise.
Note:
The model solution will be made available as part of an upcoming activity -
Exercise - Complex Project Backup and Restore (page 4-16).
In the previous exercise, it was discovered that Alarms and Trends were visible
across Clusters (there was no simple means to test Reports, but they would have
worked as well). However there were no valid tag values shown on the graphics
pages - they were replaced with #COM. This issue will now be remedied.
iii. On the General tab, select the Cluster Pulp_Cluster_1 from the
dropdown menu.
iii. Similarly open the Recipe page and confirm that that page is also
now correct.
iv. Shutdown the project.
The package contains a launch manager to load the development environment along
with a method to manage multiple versions of Vijeo Citect on a single computer.
iii. Click Make New Folder to create a Desktop folder to store the
backup (this is simply to make the NEW folder easy to find).
vi. Once complete, the system offers to display the backed up projects
in their destination folder.
vii. Optionally, select Yes to view the files or No to close the backup
screen.
ii. The Instructor will advise the location and names of the projects to
be restored. the following sequence demonstrates a restore using
the same group of projects as were backed up in the previous steps.
iii. Click the Browse button and navigate to the location provided by the
Instructor.
iv. Click the first item in the list and <Shift> Click the last item.
Overview
Introduction
Many industrial plants cannot afford to have their Vijeo Citect monitoring system
fail at any time. Building redundancy into the system can prevent the loss of
control and monitoring of the Vijeo Citect system. In this Chapter the various
types of redundancy will be discussed.
This chapter is a workshop. Use the time in the classroom to test as many different
variations of redundancy configurations as time allows.
See Also:
For further information about Redundancy see Vijeo Citect Help - Building
Redundancy into Your System.
Primary and When using a common project residing on a File Server, File Server Redundancy
Standby Servers can be built into the system. A redundant server ensures that if the main server fails
the system can continue without interruption.
Note:
File Server redundancy cannot be used in conjunction with the COPY parameter.
See Also:
For further information about File Server Redundancy, see Vijeo Citect Help -
File Server Redundancy.
[CTEDIT]
Backup = \\BackupServer\User\Projectshare
Use appropriate computer and share names for the Backup File
Server.
Note:
Always ensure that the project in the Backup path is the same as the one in the Run
directory - each time the project in the run directory is compiled, it should be
copied into the backup directory.
Parallel I/O Data path redundancy is another form of redundancy involving defining data paths
Device Data Path between the I/O Server and the connected I/O Devices. A second (parallel) data
path, ensures that if one data path to the I/O Device fails, the other can be used.
Most brands of PLCs have the facility to allow a parallel data path from the I/O
Server to the I/O Device to be installed typically via Ethernet.
The diagram above shows that an additional data path (running in parallel) has been
defined. The redundancy is provided as follows:
When the runtime system is started, Vijeo Citect connects to the I/O Device
using the primary data path.
Should communications with the I/O Device fail at any time, e.g. if the
communications cable is cut, Vijeo Citect will switch to the standby data
path without any interruption to the system.
Vijeo Citect reconnects through the primary data path when it is returned in to
service.
Large Scale On a larger Vijeo Citect system (such as one running on a network), data path
Systems redundancy can be used to maintain device communications with multiple I/O
Server redundancy, as shown in the following diagram.
By using a redundant data path from the I/O Device (one path to each I/O
Server), I/O Device communication can be maintained.
Should communications with either the Primary I/O Server or Standby I/O
Server fail, the I/O Device is still accessible.
Parallel Network A second Local Area Network (LAN) would ensure system stability even in the
event of network failure. The dual end point (or multiple network interfaces)
capabilities of each component can be utilised, effectively enabling a complete and
unique network connection from a client to a server to be specified.
See Also:
For further information about Network Redundancy, see Vijeo Citect Help -
Network Redundancy.
Primary and Redundant Alarm, Report, and Trend Servers can be configured. This can be
Standby Servers achieved by allocating the Primary and Standby Servers to different physical
machines.
How Report, When a system has been configured to use redundant Report, Alarm and Trend
Alarm and Trend Servers, the Vijeo Citect system maintains the same data on both Servers.
Redundancy
Works
How Report, If any of the Primary Servers become inoperative or communications become
Alarm and Trend inoperative, their Standby counterpart immediately assumes operation.
Redundancy
Works (cont.)
When the Primary Server comes back online the Clients remain connected to the
Standby Server until the Standby Server goes offline or the Client is restarted. This
is why it is quite normal for some Clients to be connected to the Primary and others
to the Standby.
Note:
If the Computer Setup Wizard does not offer a Server option for any of the
computers for which a Server has been defined, ensure any COPY parameter values
are deleted from the citect.ini file, then pack the databases and force a re-compile.
Server view:
Client view:
Further Training:
Kernel usage is a topic covered extensively in the Vijeo Citect Diagnostics and
Troubleshooting Course.
ii. Observe on the kernel screen that the reference to the Primary Alarm
Server is marked off-line for the Server and Client computers.
iii. Restart the Primary Alarm Server and note the re-appearance of the
Primary Alarm Server on the kernel screens.
iv. Observe also that at no time was there a loss of alarm functionality.
v. Test this by stopping the Alarm Server on BOTH the Primary and
Standby Servers. The three-line alarm panel at the bottom of all
Client screens will be blanked.
vi. Restart the Alarm services.
vii. Close all kernel screens.
Primary and Systems with a single I/O Server have a single point of failure. If the Server fails,
Standby Servers control and monitoring of the system is lost. By introducing a second I/O Server
and dedicating it to communicating with the same I/O Devices, the single point of
failure can be eliminated.
How I/O Server A Primary and Standby I/O Server exist in the system. When the system is in
Redundancy operation, both I/O Servers are identically maintained. Although both I/O Servers
Works are identical, it is important to recognise that the Standby Server is not duplicating
the Primary Server's functions. If it were, the load on the PLC portion of the
network would be double and would significantly reduce performance. Therefore,
only the primary server communicates with the PLCs (labelled I/O Devices in the
image below) at any given time.
How I/O Server If the Primary I/O Server fails the Standby I/O Server will assume operations.
Redundancy
Works (cont.)
When the Primary I/O Server is brought back online, the system returns control of
the I/O Devices back to the Primary Server; allowing the Clients to reconnect to it,
and thereby resuming control of the system.
iii. The next screen will ask for the new I/O Device to be identified.
Name the new I/O Device PulpDevS or PaperDevS.
Device Numbers Vijeo Citect can handle Redundant I/O Devices, though not without careful
planning. The key to understanding operation between I/O Servers and associated
devices is Device Numbers.
For example, if the system consists of two I/O Servers each connected to the same
PLC, there would be two definitions for the device in the project, one for each
Server and each having the same Device Number. One would be defined Primary
and the other Standby.
Multiple However, if the system not only had redundant I/O Servers but redundant PLCs as
Definitions well, then the number of definitions doubles. The extra device definitions would
still require the same Device Number however because they are in fact referring to
the same data store.
Vijeo Citect insists upon having only one primary for each Device Number, but
after that there can be any number of standby connections (it may be easier to think
of them as channels). Once the primary device fails the next unit Vijeo Citect
selects is determined by the I/O Device Priority, see I/O Device Promotion (page
5-23).
I/O Device Promotion of I/O Devices depends on how the Priority of I/O Devices affect the
Priority system when the primary I/O Device fails.
The following diagram shows four I/O Devices connected to two I/O Servers.
How PLC An additional I/O Server has been introduced to behave as the Standby I/O Server.
Redundancy Use may also be made of each I/O Server's dual end points to define two separate
Works data paths, each leading to two separate I/O Devices. That is, a Primary I/O Device
and a Standby I/O Device.
Should Primary I/O Device (Device1) fail, or the communications cable fail,
then the next configured Standby I/O Device (Device2) will be promoted to
primary status.
Should the newly promoted I/O Device (Device2) fail, the next configured
standby I/O Device3 will be promoted to primary status.
Should the Primary I/O Server (Server1) fail, then the Standby I/O Server
(Server2) will activate and become the Primary I/O Server and I/O Device3 will
remain the Primary I/O Device.
If I/O Device3 fails, or communications fail, I/O Device4 will be promoted to
Primary status.
The order in which I/O Devices are promoted is decided by the order in which the
Standby I/O Devices are defined in the I/O Device form.
Note:
Any standby devices connected to the same I/O Server as the primary, will have the
precedence to be promoted to primary status.
See Also:
For more information about I/O Device Promotion, see Vijeo Citect Help topic, I/O
Device Promotion.
This workshop exercise is intended to assist students to bring together all of the
concepts covered up to this point in the course.
Standby and In many applications, processes use Disk PLCs to store vital information to run the
StandbyWrite plant. One example may be a factory that stores recipe information for a batch. In
this case, if the I/O Server that the Disk PLCs are connected to fails then recipe
information will be unavailable until it is online again. To avoid this loss of
information Disk PLC Redundancy may be used.
How Disk PLC While both the Primary and Standby I/O Servers are functioning, if the Standby
Redundancy Disk PLC is configured to StandbyWrite, Disk PLC data is written to both Disk
Works PLC files and updated together.
If either of the I/O Servers fail, the other I/O Server continues to write to its own
Disk PLC file.
When the I/O Server that failed starts up again, it checks both its own Disk PLC file
and the other I/O Server's file and updates its own file with the latest data.
ii. Open the Citect Project Editor and select Communication » Express
Wizard from the menu.
iii. Create a new I/O Server. Name the I/O Server PulpStandby or
PaperStandby.
iv. The next screen will ask for the new I/O Device to be identified.
Since Disk I/O Devices are going to be used the path names will need
to be manually configured later. Name the new I/O Device
PulpDevS or PapDevS. Note that the due to the limitation of the
number of characters in a field, the name of the Paper standby
device has been shortened.
3 Add the new Servers to the project clusters and add the Network
Addresses.
i. Open the Citect Project Editor and select Servers » I/O Servers.
ii. Add the Cluster Name and Network Address to the Standby I/O
Server definition form. Click Replace.
iii. Press F2 on the keyboard to open the extended form. Change the
Startup Mode to StandbyWrite. Click the Replace button then press
F2 to close the extended form.
v. The Disk I/O Devices are files. The Servers and Clients all need to
know the location of those files. When the Address of the Primary
device is being configured it must be followed by the Address of the
Standby device.
The Standby device must be configured the same way. The address
of the Standby device is entered first followed by the address of the
Primary device. The two addresses are separated by a comma ( , )
but must not have a space.
vi. Use this table to assist with the training room configuration. In this
example the Pulp Project Primary device is located on the computer
named Train1 and the Standby is on the computer named Train2.
The Paper Project Primary device is located on Train3 and the
Standby is on Train4.
Overview
Introduction
The Vijeo Citect Web Client allows a live Vijeo Citect project to be viewed within
a Web browser. It also provides easy access to Vijeo Citect Runtime for LAN-
connected users requiring read/write access to current production information.
Projects The purpose of the Web Client is to make a Vijeo Citect project available over the
Viewable in a Intranet using a Web Browser. The Vijeo Citect project's pages and runtime
Web Browser databases need to be converted into a format that is viewable in a Web Browser.
This is achieved using the Web Deployment Preparation Tool. This process is
performed on the Vijeo Citect Server and will be discussed in the section Web
Deployment Preparation Tool (page 6-23).
When the project is deployed and placed on the Web Server it needs to be made
available as an Internet location so that Web Clients will be able to find and
download the files. This service is provided by Internet Information Services
(IIS). This process is performed on the Web Server and will be discussed in the
section Web Server File Structure (page 6-16).
Projects When the Web Clients connect to the Web Server they need to be provided with a
Viewable in a list of available Deployments. The process of creating Deployments is performed
Web Browser on the Web Server and is discussed in the section Configure a Deployment (page
(cont.) 6-29).
Three In order to display a Vijeo Citect project in a web browser, the pages of the project
Components and the current data need to be made available using standard web based
communications. There are three components involved in achieving this outcome.
These are:
Note:
During the exercises in this chapter all three of these components will be
configured on one computer. However, it is important to understand that in a real
scenario these roles are more likely to be performed on different computers.
Vijeo Citect The Vijeo Citect Server is the server, or the groups of servers, that host the runtime
Server project i.e. the I/O, Report, Alarm and Trend Servers.
Vijeo Citect Web The Vijeo Citect Web Server has two main functions. Firstly it hosts the files that
Server the Web Client will see in a special format called the Web Deployment. These are
located on the Web Server.
Secondly, the Web Server creates a Web Address for the Web Client to connect to
the runtime system. This is achieved using Internet Information Services.
Vijeo Citect Web The Vijeo Citect Web Client allows a User to view a Vijeo Citect project over the
Client Intranet using Microsoft Internet Explorer.
The Web Client uses Internet Explorer to connect to the Web Address defined on
the Web Server.
Why Is Internet Internet Information Services (IIS) is the Windows Web service that makes it easy
Information for information to be published on the Intranet. The purpose of Internet Information
Services (IIS) Services is to take local directory structures and turn them into a URL so that a
used? remote client can locate the source using a web browser.
IIS is not installed by default but can be added using the Add/Remove Programs
dialog box from the Control Panel.
Many applications produced by Citect use IIS including Vijeo Citect, Vijeo Citect
Web Client and Vijeo Citect Excel Client. Before installing any of these
applications IIS must be installed first.
If Internet Information Services has not been installed on the training computer
complete the following exercise before continuing with the Web Client chapter.
Follow these steps if Microsoft Internet Information Services has not been installed.
iii. Tick the Internet Information Services (IIS) check box. Click Next >
to continue.
iv. Windows will install the Internet Information Services. The installer
may prompt for the location of the source files.
v. After IIS has been installed click Finish.
Note:
This exercise was performed under Windows XP. IIS installations are somewhat
more complicated under newer Operating Systems and advice should be sought
from suitable experts if such an environment is to be used. Chapter 4 of the
Installation Guide outlines installation requirements for all relevant versions of IIS.
Located on any The only component of the Web Client system that requires installation is the Web
Computer on the Server. The Web Server can be located on any computer on the LAN.
LAN
Note:
It is recommended that the Web Server be located on a different computer than any
of the Vijeo Citect Servers i.e. I/O, Report, Alarm or Trend Servers.
See Also:
Full installation and configuration instructions for the Vijeo Citect Web Client are
available in PDF format on the Vijeo Citect Installation DVD. See the file Vijeo
Citect Web Client.pdf located in the Manuals folder.
The first two screens are the initial startup and the Welcome screens.
Click Next > to scroll through both of these.
vii. At the Add-ons screen, select Vijeo Citect Web Server for IIS and
click Next >
What has been Once a full installation has taken place, the following directories are located in the
Installed? specified destination folder. By default this is C:\Inetpub\wwwroot\Citect\.
The WebServer directory primarily hosts the administrative pages that are
displayed by a Web Server.
The cgi-bin and images directories contain the content required to display
these pages.
The client folder contains the client components (.cab files) that are delivered
to a remote computer to run a deployment. Any subdirectories include the
components associated with a particular release (in this case, Version 7.0).
The deploy folder includes the files associated with any deployments (Vijeo
Citect projects) that have been configured on the Web Server.
The #DisplayClient folder (located in the Deploy folder) plays a key role in the
Web Server security, as the permissions defined for this folder determine the
access rights for each user.
The locales folder contains the files required to support different languages for
the client interface.
Share Earlier in the course a resource was created that may be shared across an internal
Information network in Manage Vijeo Citect Files (page 2-39). When files are shared across a
network the location of those files must be shared. The first step is to create a
Share Name on the local computer. In the following example the share is named
Pulp.
When the client computer connects to this share the Computer Name must be
identified and then the name of the Share. Using the Universal Naming
Convention the client can connect to the share by typing the address into Windows
Explorer. In this case the computer name is TRAINING01 and the share name is
Pulp.
\\Training01\Pulp
The IIS Virtual The purpose of IIS is similar to creating a share on the computer so that the local
Directory area network can connect using a UNC name. IIS creates a Share that a remote
computer can find using a Universal Resource Locator (URL).
When Vijeo Citect was installed these folders were created. The Local Path is:
C:\Inetpub\wwwroot\
The IIS Virtual This is the Property page of a Virtual Directory called Citect. The Local Path
Directory (cont.) field specifies the location of the files to be shared on the local drive.
When a remote computer connects to this location it must follow the same process
as connecting to a share across an internal network i.e. it must find the Computer
Name (an IP Address) and then find the Share (the IIS Virtual Directory).
However, instead of using a UNC (Universal Naming Convention) name...
\\training01\Pulp
http://10.176.234.103/citect
Note:
The IIS share is installed only if the Web Server component is selected during the
installation.
Defined on the The Vijeo Citect project needs to be prepared before the Web Client is able to
SCADA Servers connect. There are several steps involved in preparing the project.
1 Use the Citect Computer Setup Wizard to set up the Project Server.
i. On every computer, restore the previously backed up project
PulpStandalone. Compile the project.
ii. Click the Computer Setup Wizard button on the main toolbar.
iii. Select Express Setup. Click Next > to continue.
iv. Select the Server and Control Client option in Multi-Process mode.
Click Next > to continue.
Note:
Even though all communication will seem to rely on IIS to distribute the project, a
Web Client installation will only work if the server is set up to be networked. This
is because the normal communications channels are used to transmit tag data.
Prepare for Web The final step in the process of preparing a project for deployment involves using
Based Delivery the Web Deployment Preparation tool. This takes a freshly compiled project and
creates the required files and directories for web-based delivery.
How to Prepare a To run a project through the Web Deployment Preparation tool:
Deployment
Go to the Citect Explorer and select Tools » Web Deployment Preparation from
the menu.
or
A progress indicator will appear. The size of the project will significantly affect
how long this process will take; a very large project with many files may take well
over ten minutes to process, depending on the hardware.
Prepare a project for deployment. This step is only necessary on the Primary I/O
Servers.
When the Web Deployment Preparation has completed this dialog will
be displayed. Click OK to continue.
Note:
There is a web deployment option in the Citect Project Editor - Tools » Options…
» Prepare for web deployment. When this option is set it will automatically
update the deployment files whenever the project is compiled.
iii. Open Windows Explorer and check that the project folder now
includes a folder called webdeploy.
Configure and The Web Deployment page is where deployments are configured and edited.
Edit
Deployments
When a deployment has been configured the page will look like this:
Note:
The yellow fields are mandatory
Configure and This page is available to Admin users only and has a number of fields and icons.
Edit
Deployments Field Function
(cont.)
Deployment
Description
The Description field is optional and allows more detail regarding the
deployment to be provided
Help Launches a PDF file explaining how to configure and use the Web
Client
Apply The Apply Changes icon initiates the process where all the project
files are retrieved from the path indicated, and copied to the Web
Changes Server ready for access by the Web Clients
File Paths
The number to the left indicates how many files are included in the
project, the number to the right indicates the total size of the project
Project Path
This is the path to the project files. The path may be to the local drive
if the Vijeo Citect Web Server is on the same conputer as the project
folder. However, the most likely configuration will be to have the
Web Server on a separate computer. In this case the path needs to be
either to a mapped drive or a UNC name
Client Control
Overview The Home Page displays the options available for each type of user. The users with
Administrator privileges will see all available options shown below.
There are six Action icons on the Home page and a System Messages panel.
Icon Function
Add New Opens the Deployment Configuration page where new
Deployment deployments can be created (Administrator Clients only).
Help Launches a PDF file explaining how to configure and use the
Web Client.
Start Control Displays the selected deployment with Control Client
Client permissions (Control Client and View-only Client only).
System Messages
Overview A Deployment represents the implementation of a Vijeo Citect project on the Web
Server. It incorporates the files and components required to display a project and
then stores the location of the Servers where Vijeo Citect Runtime data is
generated.
The deployments configured on a Web Server are listed on the Web Client home
page, which is the page that appears when the user logs in. The configuration
details for a deployment can be displayed by clicking the small plus icon to the left
of the deployment name.
i. Click the Add New Deployment icon. This will open the Vijeo
Citect Web Client Deployment page.
v. Select the location of the Web Client Control software from the drop
down list.
When the files have been copied this dialog will be displayed.
ii. Click the Home icon to return to the Home page. The new
deployment will be displayed.
http://10.176.235.101/citect
i. Click the Start Control Client icon located beside the project
selected to run. The Client Control ActiveX object will be copied
across to the Web Client. The progress of the file copy is indicated on
the Internet Explorer status bar.
ii. When the file is installed the Web Client will start.
iii. When the project appears log in to the Vijeo Citect system using the
normal Vijeo Citect login.
iv. Test the project for normal functionality.
i. Re-open the Web Client and select the Start View Only Client
icon.
ii. Once the project starts, login as the project Administrative user
(Dean) and confirm that even though this user has full rights, they
are unable to modify any tag values.
iii. Shut down the Web Client.
Parameter Value
DeployRoot c:\Inetpub\wwwroot\Citect\deploy
WebClientCab 720/CitectSCADAWebClient_7_20_0_598.cab
iv. Save the configuration and close the Computer Setup Editor.
iii. Open the web client and re-open the deployed project as a Control
Client.
iv. Observe the modification to the page.
Note:
The configuration of automated preparation and deployment will effectively give
Web Clients the same functionality as the On-Line Changes feature covered on the
previous day.
By default, the process of Web Deployment will only distribute the standard
contents of a project. In order to include other components, separate packages must
be created. Any ActiveX components must be stored in a file called Activex.zip
and all other objects (custom DBF files, HTML, images, CSV files etc) must be
stored in a file called Misc.zip.
There are two sound files connected with the Pulp project. For very
obvious reasons, the Barking Drum will make the sound of a dog
barking; in addition, there is a second sound file hidden in the project
which will create the sound of a machine gun (students are welcome
to search for it).
i. In the running project (not the Web Client), hover the mouse over
the Barking Drum until a small white rectangle is seen.
ii. Click the mouse and a dog's bark will be heard (assuming the
computer's speakers are set loud enough and a user is logged into
the project).
iii. Perform the same action in the Web Client-based project and
although the rectangle is present, no sound will emerge.
Up to this point in the chapter, the Web Server (running on IIS) has been hosted on
the same computer as the Citect Servers (Alarm, Report, Trend and I/O).
In this exercise, a separate computer hosting IIS will be established; this will
demonstrate how the configuration may be used for a load-balancing configuration
with multiple web servers.
Note:
The Web Server's role is to distribute the project to the Clients; it take no part in the
communication of data between the RAT-IO server and the client and although not
recommended, it may be shut down once all Clients have launched the project.
Note:
The steps taken above to perform a local compile of the project are only required in
a Workgroup environment. If the Servers and Client computers are members of a
domain, the deployment manager web page may simply make a connection to the
shared location on the RAT-IO Server to pick up the project ready for deployment
via the Web Server. The necessary authentication to complete this step cannot be
performed in a Workgroup environment, thus the additional steps above.
Internet Explorer The project deployed to the clients is stored in the temp folder of the currently
%temp% Folder logged-in user.
Amongst other things, this means that multiple packages are stored, one for each
Windows user that has used the web client.
In this situation, it is an easy matter to simply delete the existing package and
permit the web client to download a replacement.
The local Temp folder may be accessed via the Start » Run command by accessing
the %temp% environment variable.
Run this command and the local Temp folder listing will be displayed.
From there, it is a simple matter to delete the entire Citect folder structure.
Note:
The Run dialog box may also be launched by holding down the Window key on the
keyboard and pressing the R key.
iv. Explore the contents of all folders to understand the material being
sent to the client computers.
iii. Observe that the deployment files are again sent to the Client
computer as the Client starts up. This may also be confirmed by re-
opening the %temp% folder to note that the Vijeo folder has been
re-created.
Integrated with Security on the Vijeo Citect Web Server is handled by IIS security, which is
Windows tightly integrated with Windows’ user-based authentication.
Security
Note:
While the Web Server security architecture controls access to the projects on the
Web Server, it is important to note that Vijeo Citect’s system security
(privilege/area settings) still manages protection of the control system, maintaining
a primary level of security.
The installation and initial configuration of the Web Server must be performed by a
Windows user with local administrator permissions; that is, they must be able to
add and edit Windows’ User accounts, and modify file/folder protection.
This capability is required to set up Web Client user accounts and manage security
settings.
Security Systems When configuring security for the Web Server there are three different types of
Defined security that must be clearly defined and understood.
Windows Security
Windows Security is the security system that is used to log in to the computer,
domain and/or workgroup. In order to set up the security for the web client the user
must be logged in to the computer as a Windows User with local administrator
privilege.
User Types Web Server Security has three types of User account.
The Web Server tests the access rights for each user when they log in and then
displays or hides the appropriate buttons on the home page accordingly.
Client Type The following table defines the access rights each type of user has to the Web
Access Rights Client’s installed directories, as defined by the properties for each.
In the table, read means Read and Execute, List Folder Contents and Read user
permissions are allowed, read and write means Full Control is allowed, and
access denied means Full Control is denied.
How to Set Up a Creating a user group associated with each type of Web Client account on the Web
User Group Server allows security to be managed without the need to configure each user on an
individual basis. Users can simply be added to a group, which means they
automatically inherit the security status set for the group. These accounts must also
be created on the Vijeo Citect Server that contains the WebDeploy folder.
Note:
Web Client Security must be set up by a user who has logged into the computer as a
local administrator.
or
Right click the My Computer icon on the Windows Desktop and select Manage
from the menu.
iii. Add a group called Web Client Admin then click the Create button.
iv. Add two more groups called Web Client Control and Web Client
View. Click the Close button when finished. Three new groups have
been added to the list of Local Groups.
ii. Add three Users. Use any names. The names of the people in the
class are a good idea. Click Create to add the name.
iii. When the Users have been added click Close. The new Users will be
added to the list. (The examples below are Andrew, Carl and
Vanessa.)
iii. The Select Users or Groups dialog will be displayed. The default
location for choosing Users is the Windows domain or Workgroup.
The example below is displaying Training01 as the default location.
At this point it is possible to use Users that have been defined in the
Windows Security system of the individual company and add them to
the Web Client Groups, however this exercise will make use of local
users.
iv. Select the Advanced... button to display the extended form and Find
Now to populate the list.
v. Select one of the newly created Users and click OK to continue. The
name will be added to the list as shown below. Click OK.
vi. The User will be listed as a Member of the Group Web Client Admin.
Click OK to finish.
4 Repeat these steps to add a user to each of the groups Web Client
Control and Web Client View.
iii. Click the Custom level... button. Scroll to the end of the list and
select the Prompt for user name and password setting. Click OK to
close the Security Settings dialog then OK again to close the
Internet Options dialog.
iv. Close Internet Explorer. This change will ensure that when the Web
Client is opened the user will be prompted for their username and
password.
Defined on the The security settings need to be adjusted in the WebServer folder and its sub
Web Server directories, as this will determine the access granted to each type of client account.
From the Properties dialog, select the Security tab. The dialog will display the
users that are currently configured for the folder.
The security settings in the Web Server file system need to be changed manually.
If the computer is using Windows XP, but is not joined to a domain, the Security
tab in the folder settings will not be visible. The first section of this exercise is
necessary only if this is the case.
(This step may have already been done by the Instructor prior to the
commencement of the class)
i. Click Start » Settings » Control Panel.
ii. Double click Folder Options.
Note:
These changes only need to be made on the computer that is going to be the Web
Server.
i. Find the Citect folder in Windows Explorer. The default location for
this is:
C:\Inetpub\wwwroot\Citect\
ii. Right click the Citect folder and select Properties from the menu.
iv. Select the three Web Client groups then click OK. Click OK again to
close the Select Users or Groups dialog.
v. Confirm all three groups have the Permissions shown below.
vi. Click the Advanced button. On the Permissions tab tick the check
box for the Replace permission entries… option. Click OK.
This allows the Web Client Admin group to create sub folders in the
deploy folder. The deploy folder is where the Vijeo Citect project
files will be located when the project is deployed, as it was in
Exercise - Web Deployment Preparation Tool (page 6-24).
ii. Click OK to save the changes and close the dialog.
iii. Open the Properties of the #displayclient folder and select the
Security tab.
iv. Select the Web Client View group and tick the Deny » Full Control
check box. This will select Deny for all levels.
Note:
The Deny setting will override the Allow setting.
v. Click OK to save the settings and close the dialog. A Security
warning will be displayed. Click Yes.
iii. A user with Administrator rights will see a screen that looks like this
(below). Notice that there are six Action icons - four for the
deployment along with the Help and New Deployment icons (these
were discussed in greater detail in the Web Client Home Page
(page 6-28) section).
iv. The status of the current user may also be seen in the System
Messages area, Andrew is described as Admin.
v. Close the Vijeo Citect Web Client.
This time only three action icons are displayed - this user cannot
access any of the icons related to deployment management.
iii. Successively, select both of the icons for this deployment - confirm
that the user has full control using the Control Client icon and
cannot change any values when using the View Only Client.
iv. Close the Vijeo Citect Web Client.
Two action icons are displayed if the user is a Manager - just the
Help and View Only Client icons are available.
iii. Select the View Only Client icon to confirm correct operation.
iv. Close the Vijeo Citect Web Client.
Web Client As has been previously described, the Web Client can act as a normal Client onto a
Connects to a full Vijeo Citect system.
Redundant
Server Array
In addition, the functionality is correctly extended to a system will full redundancy.
ii. Click the Start Control Client icon for the Redundant project to
run the project.
4 Test redundancy.
i. Shut down any or all of the Primary Servers and observe that, just
like the Control Client, the Web Client is unaffected by the disruption.
How the Clients Extensive tests with floating licenses has found that when a Vijeo Citect Client
Locate a Floating (Web Client and local Client) starts up, it will find a floating license in the
License following order on the connected Vijeo Citect network,
Search all connected I/O Servers (on start-up, the Client tries to connect all
configured I/O Servers in the project)
Search all connected Trend, Alarm, and Report services.
- Find Trend service first
- Find Alarm service second
- Find Report service last
Citect.ini Server One of the main features of Vijeo Citect is that the Services (including I/O, Trend,
Settings Alarm and Report) are distributable. To balance loads on all Vijeo Citect services,
each client should have its own citect.ini file in order to get connected with
specified Trend, Alarm and Report services. This preference is determined by the
Server Configuration within the project. For a local client, its citect.ini file can be
local and independent from the servers, and a user is able to modify it as required.
Web Client For a Web client, however its citect.ini is downloaded from the Web Server each
Citect.ini time it starts up. It means all web clients will use the same citect.ini per
deployment. If a different citect.ini is required for a particular web client, a second
deployment needs to be prepared. Doing so actually doubles the maintenance
work. That is, each time a change is made in the project, the web deployment must
be done twice. If there are more web clients using different citect.ini files, more
deployments and more maintenance will be required. For a large scale distributed
Vijeo Citect system, this restriction is not acceptable.
Floating License Distributing the floating licenses amongst the Vijeo Citect Servers will achieve a
Distribution high availability of floating licenses. As a general guideline, floating licenses
should be distributed among I/O Servers. For example, if there are three I/O Servers
and twelve floating licenses to achieve a higher availability of the licenses, four
licenses should be placed on each I/O Server machine instead of six of them on
each of so called Primary and Standby machines. Similarly, some floating licenses
may be placed on the Trend, Alarm or Report Servers. When this is being
configured, keep in mind the search order of floating licenses available on the Vijeo
Citect network.
Overview
Introduction
Vijeo Citect has the ability to incorporate Vijeo Citect users and security options
with the standard Windows security system. The Vijeo Citect native security may
still be used if it is preferable to define users in the project and logon to Vijeo Citect
runtime.
The integrated Windows security feature allows the Windows user to logon to
Vijeo Citect runtime with runtime privileges configured within the project.
Server As part of the process to increase system security, whenever multiple computers are
Authentication involved in a Vijeo Citect network, be it a Server with multiple Clients or a
Distributed Server model, all Servers must be given the same Server Password.
This is configured via the Computer Setup Wizard.
Once configured, this never needs revisiting. However, the password MUST be the
same on all connected machines.
The password was configured earlier in the course in Exercise - Configure Servers
for Networking (page 2-14).
Note:
System administrators should use extreme care when changing this password. It is
not possible to manage a gradual change-over from one password to another as
there will be severe problems with connectivity between Servers. This cannot even
be properly managed in a fully redundant system. Passwords should only be
changed during a full system shutdown event.
The Server User Using the credentials provided, a Server User will be automatically logged in to
the server processes on the current computer, giving any Cicode run from that
Server, the privilege level of this Server User.
This user has nothing to do with the Runtime Manager or any processes related to
it, only Cicode tasks.
Note:
The Server User configuration screen is only available when the Computer Setup
Wizard is configured for Multi-Process.
Default Server User All Cicode will be run on the Server as if it is owned
by a user with full access to all areas and all
privileges - this is an internally defined 'virtual' user.
Specific User The user must be either a known user in the current
project or a valid Windows user connected to the
project via the Windows groups feature described in
Assign Windows Groups to Roles.
Job Type Windows Integrated Security uses Role based security definitions that focus on
Templates the Areas and Permissions of a Job Type rather than the identity of any one
person.
Roles act as templates that define the Areas and Permissions for users who are
included in a linked Windows Group.
Assign Windows Domain groups and users are defined or created on the domain server by the
Groups to Roles domain administrator. Local groups and users are defined or created on the local
computer by the local administrator as demonstrated in Exercise - Web Client
Groups and Users (page 6-49). Any of these Windows Groups can be linked to a
Vijeo Citect Role. This means that any Windows User who is a member of that
Windows Group is able to login to Vijeo Citect and they will inherit the
permissions that have been assigned to the Vijeo Citect Role.
Note:
Each Windows Group may be linked to only one Vijeo Citect Role.
Note:
A Windows user need not be defined as a Vijeo Citect user. However, if a user is
defined as both a native Vijeo Citect user and a Windows user, the native Vijeo
Citect user will always take priority over a Windows user when logging in at
runtime. In this case, if a valid Vijeo Citect user login fails for some reason, the
Windows user credentials will not be checked and an alert will be generated to
advise that the login was not effective.
The advantage of this type of security model is that it allows for simpler security
management as administrators work with a few roles rather than a multitude of
users. Windows itself serves as a good example of a Role based security model,
where security within the system is managed by assigning membership to the
Administrators, Users, Guests and associated groups.
Add the name of the Role and assign a Windows Group name.
See Also:
For further information about Roles, see Vijeo Citect Help - Adding Roles.
ii. Type Administrator in the Role Name field and Web Client Admin in
the Windows Group Name field.
iii. Add Global Privileges 1 and 8 in the Global Privilege field.
iv. Click Add. The dialog should look like this:
ii. When the user credentials have been authenticated the user name
will appear in the top right corner of the screen.
iii. Open the Woodchip page and change some values. If the values do
not change the user does not have Administrator permissions.
iv. Shutdown the project.
Combine A Windows User can be linked to multiple Vijeo Citect Roles, with a maximum of
Privileges 256 Roles. When a Windows User who is linked to multiple roles logs into Vijeo
Citect runtime the Vijeo Citect privileges and areas that the User will be assigned
are the combined privileges of the linked Roles.
Example:
Windows User Charlie is a member of the Windows Group SCADA Operator
which is linked to the Vijeo Citect Role Operator. He is also a member of the
Windows Group SCADA Technician which is linked to the Vijeo Citect Role
Technician.
SCADA Role Operator has Privileges P2 and P5 in the Areas A2 and A3.
SCADA Role Technician has Privileges P1 and P3 in the Areas A1 and A4.
If the Windows User Charlie is a member of both Windows Groups, when he logs
into the SCADA system he will inherit the Privileges P2 and P5 in Areas A2 and
A3 as well as Privileges P1 and P3 in Areas A4 and A5.
A Windows The Windows Groups and Vijeo Citect Roles have a direct one to one relationship.
Domain will This means that one single Windows Group cannot be linked to more than one
Combine Groups Vijeo Citect Role. If a large plant requires different employees to have access only
in specific areas of the plant then separate Groups and Roles must be created and
linked together.
In this situation there may be a group of employees, e.g. Shift Supervisors, who
need Operator access to all areas. If the Windows Security system in the company
is a Workgroup then each Supervisor who should be included in more than one
Operator Group would need to be added into each Operator Group individually.
In a large organisation this can be cumbersome when new employees need to be
added into each of the groups.
A Windows Unlike a Workgroup which only allows individual Users to be added to a Group,
Domain will a Domain Security system will allow whole Groups to be added into other
Combine Groups Groups. This means that if the Windows Security system in the company is a
(cont.) Domain, a Supervisor Group can be created and each of the Supervisors can be
added into that Group.
The Windows Supervisor Group can then be added into each of the individual
Operator Groups. Since the Operator Groups are linked to the Vijeo Citect
Operator Roles each of the Supervisors will have access rights in all of the Vijeo
Citect Operator Roles. This reduces unnecessary replication of work for the
System Administrator.
Viewable Areas 1
AutoLogin The pre-existing AutoLogin capability has been extended to include the client,
when the user is a Windows user with an associated Vijeo Citect role. In order to
invoke this functionality for a Windows user the [Client]AutoLoginMode
parameter needs to be set in the Citect.ini file.
Value Description
0 (default) Auto login disabled. Control Client starts in view-only mode, until a valid
user logs on
1 Login current windows user at system start up
2 Login current windows user as system default user at start up
3 Prompt user for login at startup
4 Prompt user for login at startup and logout
5 Try login with saved credential at startup
6 Try login with saved credential at startup and on logout
High Level When a Windows user is logged on to a runtime system with the associated
Authorisation privileges and areas of the role to which the user belongs, there are times when a
higher level authorisation is required for the user to perform certain actions. An
example of this is in the Pharmaceutical Industry in the United States where FDA
guidelines on electronic records and electronic signatures are defined in Title 21
CFR Part 11 of the Code of Federal Regulations. One of the requirements in this
code is that electronic signatures must be countersigned by more than one person.
In order to comply with regulations such as these Vijeo Citect has developed Multi
Signature Support. The MultiSignatureForm function can be displayed through a
Cicode form to allow countersigning of an operation by another user who has the
required level of privilege.
See Also:
For further information about the MultiSignatureForm function, see Vijeo Citect
Help - MultiSignatureForm.
Further Training:
Techniques used to create Vijeo Citect forms using Cicode are covered in the Vijeo
Citect Customisation and Design Course.
Name ApprovalLog
Type ASCII_DEV
No. Files -1
iii. Click Add to create the new device then compile the project.
iii. Open the Input (Touch) tab. The Up command uses the function
Toggle(Bark_Conveyor) to turn the Bark Conveyor on and off. Add
the MultiSignatureForm() function before the Toggle() function.
iv. Click OK to close the dialog then save the page and compile the
project.
vi. Repeat for the Operator. Use the password opr. When both users
have been verified this form will appear.
vii. Click the Approve button. The Operation Approved form will be
displayed. Click OK to close the form.
viii. Open the App_Log.txt file in the [DATA]: directory and check the
information that has been recorded.
What is a Role?
How are Windows Groups assigned to Roles?
How many Roles may be assigned to a Windows Group?
What are the three (3) options for a Server User?
Overview
Introduction
This chapter covers the course summary and the next steps through the Educational
Services curriculum.
Evaluation Form At the end of each training course, all participants are requested to complete the
Course Evaluation Form.
Training Training Certificates are presented to participants who have completed one of the
Certificates courses in the Vijeo Citect Curriculum (excluding Overview). The completion of
the Course Evaluation Form is mandatory in order to receive a Training
Certificate.
Please Fill Out If you have just completed your Vijeo Citect course and would like a certificate to
Evaluation be sent to you please go to this site.
http://www.citect.com/evaluationvjc
You will need your Training Manual Licence Number. The Licence Number is a
watermark in the lower left corner of each page of the manual.
If there is no Licence Number inside the front cover of your manual please contact
Educational Services at [email protected].
Next Steps in Citect offers a variety of technical training courses to meet your specific training
Training requirements. Instructor-led courses provide you with hands-on experience, leaving
you feeling confident to design and configure your own systems.
We have developed unique, step-by-step training that has proven highly effective,
and our curriculum is continually updated, enabling you to stay in step with rapidly
changing technology.
Certified The CEP program distinguishes and recognizes engineers skilled in the integration
Engineer of Citect based automation projects, and encourages other engineers to move in this
Program direction. At the heart of the CEP program is the CEP exam, which provides a
means of testing experienced systems engineers. It encompasses tests for both Vijeo
Citect knowledge as well as a range of related topics such as PLC communications,
Windows OS and networking.
Further information regarding the CEP program is available on the Citect website.