CitectSCADA 7.20 User Guide-1
CitectSCADA 7.20 User Guide-1
20
October 2010
Legal Notice
DISCLAIMER
Schneider Electric (Australia) Pty. Ltd. makes no representations or warranties with respect to this manual and, to the max-
imum 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. Further, 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.
COPYRIGHT
© Copyright 2010 Schneider Electric (Australia) Pty. Ltd. All rights reserved.
TRADEMARKS
Schneider Electric (Australia) Pty. Ltd. has made every effort to supply trademark information about company names, products
and services mentioned in this manual.
Citect, CitectHMI, and CitectSCADA are registered trademarks of Schneider Electric (Australia) Pty. Ltd.
IBM, IBM PC and IBM PC AT are registered trademarks of International Business Machines Corporation.
MS-DOS, Windows, Windows NT, Microsoft, and Excel are either registered trademarks or trademarks of Microsoft Cor-
poration in the United States and/or other countries.
DigiBoard, PC/Xi and Com/Xi are trademarks of Digi International Inc.
Novell, Netware and Netware Lite are either registered trademarks or trademarks of Novell, Inc. in the United States and other
countries..
dBASE is a trademark of dataBased Intelligence, Inc.
All other brands and products referenced in this document are acknowledged to be the trademarks or registered trademarks of
their respective holders.
GENERAL NOTICE
Some product names used in this manual are used for identification purposes only and may be trademarks of their respective
companies.
October 2010 edition for CitectSCADA Version v7.20
Manual Revision Version v7.20.
Legal Notice 2
Contents 3
Getting Started 23
Safety Information 25
3
Contents
4
Contents
5
Contents
Reliability 131
Monitoring 131
Data collection 131
Project Design 132
Naming Standards 132
Page Templates 133
Genies and Super Genies 133
Clustering 133
Included projects 135
Redundancy 136
Building Your Project 136
Projects 137
Setting up I/O Device Communication 137
Graphics Components 137
Alarms 138
Data Collection 138
Users and Areas 139
System Components 139
Setting up Your Computers 140
Setting up CitectSCADA as an OPC data source 140
6
Contents
7
Contents
8
Contents
9
Contents
10
Contents
11
Contents
12
Contents
13
Contents
14
Contents
15
Contents
16
Contents
17
Contents
18
Contents
19
Contents
21
Contents
Glossary 1045
Index 1069
22
Getting Started
23
24
Safety Information
Safety Information
Hazard categories and special symbols
The following symbols and special messages may appear in this manual or on the prod-
uct to warn of potential hazards or to call attention to information that clarifies or sim-
plifies a procedure.
A lightning bolt or ANSI man symbol in a "Danger" or "Warning" safety label on the
product indicates an electrical hazard which, as indicated below, can or will result in
personal injury if the instructions are not followed.
The exclamation point symbol in a safety message in a manual indicates potential per-
sonal injury hazards. Obey all safety messages introduced by this symbol to avoid pos-
sible injury or death.
Symbol Name
Lightning Bolt
ANSI man
Exclamation Point
DANGER indicates an imminently hazardous situation, which, if not avoided, will result in
death or serious injury.
WARNING indicates a potentially hazardous situation, which, if not avoided, can result in
death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, can result in
minor or moderate injury.
25
Safety Information
CAUTION
CAUTION used without the safety alert symbol, indicates a potentially hazardous situation
which, if not avoided, can result in property damage.
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.
Do not use CitectSCADA or other SCADA software as a replacement for PLC-based control pro-
grams. SCADA software is not designed for direct, high-speed system control.
Failure to follow these instructions can result in death, serious injury, or equip-
ment damage.
LOSS OF CONTROL
l The designer of any control scheme must consider the potential failure modes of control
paths and, for certain critical control functions, provide a means to achieve a safe state
during and after a path failure. Examples of critical control functions are emergency
stop and overtravel stop.
l Separate or redundant control paths must be provided for critical control functions.
l System control paths may include communication links. Consideration must be given to
the implications of unanticipated transmission delays or failures of the link.*
l Each implementation of a control system created using CitectSCADA must be individ-
ually and thoroughly tested for proper operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equip-
ment damage.
* For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines
for the Application, Installation, and Maintenance of Solid State Control".
26
Chapter: 1 Getting Technical Support
There are various support options to help you get the most from this product.
l If you have questions about using CitectSCADA, consult the extensive online Help to
answer your questions. You can use the Contents list to find the section you're inter-
ested in, enter an item into the Index, or enter an item using the Search tab.
l If you seek more technical information than is provided in the online Help, check the
knowledge base.
If you cannot find the information you need, you can obtain technical support and Train-
ing. Consulting services are also available upon request.
See Also
Technical Support
Contact information
27
Chapter: 1 Getting Technical Support
Training
Various training facilities are also available. Contact your local Citect distributor for
more information.
See Also
Contact information
Contact information
For contact information in your region, consult the support web site at:
http://www.Citect.com/support
28
Chapter: 2 What's New in CitectSCADA v7.x
This section describes new CitectSCADA features and enhancements for v7.20. For the
purposes of continuity, this section also describes the features that were added for the
CitectSCADA v7.0 and v7.10 releases.
Introduced in v7.0
Introduced in v7.10
Introduced in v7.20
For details on how to upgrade an existing project to run in v7.20, refer to Upgrading to
V7.20.
29
Chapter: 2 What's New in CitectSCADA v7.x
See Also
Clustering
Clustering allows you to group different sets of the runtime components within a single
project, allowing multiple independent systems to be monitored and controlled.
There are countless variations in how a 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. For more information see
Typical system scenarios.
See Also
Included projects
Implementing Clustering
Local Variables
Local variables allow you to store data in memory when you start your runtime system.
They are created each time the system starts, and therefore do not retain their values
when you shut down.
Local variables are useful when you need each process to have a separate copy of the
data. Each process has its own copy of each local variable configured in the project, and
the values in a local variable are available only to the process that wrote them.
See Also
Configuring Local Variables
30
Chapter: 2 What's New in CitectSCADA v7.x
Memory Mode
I/O Devices can now be configured to run in memory mode:
l An I/O Device running in memory mode is created in memory and its values stored
in memory at runtime.
l Devices using memory mode are not connected to any hardware, and write their
values to a cache. Memory mode is useful when you are configuring a system for the
first time, as you can design and test your system before connecting a physical I/O
Device.
Note: Memory mode replaces Memory I/O Devices, which are no longer supported.
Devices configured as Memory I/O Devices will be converted to local variables dur-
ing the upgrade to v7.20.
See Also
Using Memory Mode
31
Chapter: 2 What's New in CitectSCADA v7.x
l Manually
l Run/Backup Run/Copy
l FTP (IDC)
l HTTP (Web Client)
See Also
Improved Client Side Online Changes
Publisher-Subscriber Model
CitectSCADA now uses a Publisher-Subscriber data acquisition model. Client computers
subscribe to configured tags and receive notification when the tag values change. Cicode
functions can also be triggered by the change of a tag, removing the need to poll, and
improving the efficiency of the system.
See Also
TagSubscribe
TagUnsubscribe
32
Chapter: 2 What's New in CitectSCADA v7.x
l New Parameters
l Obsolete Parameters
New Parameters
The following parameters are new in version 7.0. For a complete list of the system
parameters, refer to the Parameters help file.
Alarm Parameters:
Note: The default alarm property write behavior was to write the new value to
DBF/RDB. This has changed in version 7.0 onwards. Refer to the parameter [Alarm]Us-
eConfigLimits.
Backup Parameters:
Client Parameters:
33
Chapter: 2 What's New in CitectSCADA v7.x
CtCicode Parameters:
CtEdit Parameters:
[CtEdit]Logs The directory where the CitectSCADA log files are located.
Dial Parameters:
Driver Parameters:
General Parameters:
IOServer Parameters:
34
Chapter: 2 What's New in CitectSCADA v7.x
Report Parameters:
Trend Parameters:
35
Chapter: 2 What's New in CitectSCADA v7.x
Obsolete Parameters
The following parameters are no longer supported in version 7.0:
Alarm Parameters:
[Alarm]CPU Sets the CPU that the Alarm Server component is assigned to
Client Parameters:
Code Parameters:
[Code]AlarmShutdown Determines the Cicode function to run when Alarm Server com-
ponent shuts down
[Code]AlarmStartup Determines the Cicode function to run when Alarm Server com-
ponent starts up
[Code]I- Determines the Cicode function to run when I/O Server com-
OServerShutdown ponent shuts down
[Code]IOServerStartup Determines the Cicode function to run when I/O Server com-
ponent starts up
36
Chapter: 2 What's New in CitectSCADA v7.x
DNS Parameters:
[DNS]<Server name> Determines the IP address (or fully qualified host name) of the
primary I/O Server
Event Parameters:
General Parameters:
IOServer Parameters:
37
Chapter: 2 What's New in CitectSCADA v7.x
[IOServer]CPU Sets the CPU that the I/O Server component is assigned to
LAN Parameters:
[LAN]LanA Defines the protocol stack that CitectSCADA uses for NetBIOS
communication
38
Chapter: 2 What's New in CitectSCADA v7.x
[LAN]RemoteTimeOut The timeout period for remote I/O Device write requests from
a Control Client to the I/O Server
Proxi Parameters:
Report Parameters:
Server Parameters:
Trend Parameters:
39
Chapter: 2 What's New in CitectSCADA v7.x
New Functions
Miscellaneous Functions
AccumBrowseGetField Gets the field indicated by the cursor position in the browse
session.
40
Chapter: 2 What's New in CitectSCADA v7.x
Alarm Functions:
AlmSummaryGetField Gets the field indicated by the cursor position in the browse
session.
AlmSummaryLast Places the data browse cursor at the latest summary record
from the last cluster of the available browsing cluster list.
AlmSummaryNext Gets the next alarm summary entry in the browse session.
AlmSummaryPrev Gets the previous alarm summary entry in the browse ses-
sion.
Alm- Sets the value of the field indicated by the cursor position in
SummarySetFieldValue the browse session.
41
Chapter: 2 What's New in CitectSCADA v7.x
AlmTagsClear Clears the alarm tag at the current cursor position in an active
data browse session.
AlmTagsGetField Gets the field indicated by the cursor position in the browse
session.
AlmTagsNext Gets the next alarm tags entry in the browse session.
AlmTagsPrev Gets the previous alarm tags entry in the browse session.
Ass- Gets association information about the current Super Genie from the
GetProperty datasource
AssGetScale Gets scale information about the associations of the current Super
Genie from the datasource
Cluster Functions
ClusterFirst Allows the user to retrieve the first configured cluster in the project.
ClusterNext Allows the user to retrieve the next configured cluster in the project.
42
Chapter: 2 What's New in CitectSCADA v7.x
Clus- Allows the user to determine which servers are defined for a given
terServerTypes cluster.
ClusterStatus Allows the user to determine the connection status from the client to
a server on a cluster.
Clus- Allows the user to deactivate an active cluster at the same time as
terSwapActive activating an inactive cluster.
TagGetScale Gets the value of a tag at a specified scale from the data-
source
Tag Functions
Task Functions
TaskCluster Gets the name of the cluster context in which the current task is execut-
ing
Trend Functions
43
Chapter: 2 What's New in CitectSCADA v7.x
TrnBrowseGetField Gets the field indicated by the cursor position in the browse ses-
sion.
TrnGetCluster Gets the name of the cluster the trend graph is associated with.
Report Functions
Rep- Retrieves the name of the cluster the report is running on.
GetCluster
ModifiedFunctions
Alarm Functions
AlarmClear Clears acknowledged, inactive alarms from the active alarm list.
44
Chapter: 2 What's New in CitectSCADA v7.x
AlarmFirstTagRec Searches for the first occurrence of an alarm tag, name, and
description
AlarmGetDelayRec Gets the delay setting for an alarm via the alarm record number
AlarmGetFieldRec Gets alarm field data from the alarm record number
Alarm- Gets the thresholds of analog alarms by the alarm record number
GetThresholdRec
AlarmNextTagRec Searches for the next occurrence of an alarm tag, name, and
description.
AlarmSumFind Finds an alarm summary index for an alarm record and alarm on
time.
45
Chapter: 2 What's New in CitectSCADA v7.x
DriverInfo Provides information about the driver for a particular I/O Device.
Miscellaneous Functions
ServerInfoEx Gets client and server information from a specified process in a mul-
tiprocessor environment.
Report Functions
SPC Functions
SPCPro- Gets the process mean, range and standard deviation overrides.
cessXRSGet
SPCPro- Sets the process mean, range and standard deviation overrides.
cessXRSSet
SPCSpecLimitGet Gets the specification limits (USL and LSL) for the specified tag.
46
Chapter: 2 What's New in CitectSCADA v7.x
SPCSpecLimitSet Sets the specification limits (USL and LSL) for the specified tag.
SPCSub- Gets the size of a subgroup for the specified SPC tag.
groupSizeGet
SPCSub- Sets the subgroup size for the specified SPC tag.
groupSizeSet
AssPage Associates up to eight variable tags with a Super Genie and displays the
Super Genie in the current window.
AssPopUp Associates up to eight variable tags with a Super Genie and displays the
Super Genie in a popup window.
AssTag Associates a variable tag with the current Super Genie. The association
will be created for the current Super Genie only, and will only come into
effect after you re-display the Super Genie.
AssVarTags Associates up to eight variable tags with a Super Genie. This asso-
ciation is only made for the next Super Genie you display (either in the
current window or in a new window). You can use this function repeat-
edly to associate more than 8 variable tags to a Super Genie.
AssWin Associates up to eight variable tags with a Super Genie, and displays
the Super Genie in a new window.
Tag Functions
Tag- This function reads a property of a variable tag from the datasource
GetProperty
TagGetScale Gets the value of a tag at a specified scale from the datasource
TagRamp This function will increment a Tag by the amount defined by iPercentInc
Task Functions
47
Chapter: 2 What's New in CitectSCADA v7.x
Trend Functions
TrnEventSetTable Sets trend data from a table, for a specified trend tag.
TrnE- Sets event trend data and time data (including milliseconds) for a
ventSetTableMS specified trend tag.
TrnGetDefScale Gets the default engineering zero and full scales of a trend tag.
Window Functions
Osolete Functions
Cluster Functions
48
Chapter: 2 What's New in CitectSCADA v7.x
Clus- Returns the names of the primary and standby cluster servers.
terGetName
Display Functions
Task Functions
ReRead Causes CitectSCADA to re-read the I/O Device data associated with the
current Cicode task.
Tags are now subscribed at the start of a function and updated tag
values are sent to the subscribing function.
After removing ReRead from looping code you may need to extend the
period of the Sleep function.
This is to replace the pause ReRead created while it read the tag values.
Obsolete Functions
Previously available "Point" related functions are now no longer available, and if used
will detect and return an error indicating that they are not supported. In order to obtain
the same result as was previously invoked by those function, replace them with the Tag
based equivalent using the appropriate Tag arguments and conditions.
The "point" functions that are no longer available are listed below along with their
replacement functions:
49
Chapter: 2 What's New in CitectSCADA v7.x
Function Replacement
ctPointGetProperty ctTagGetProperty
If you are using the point functions on single tags, use the ctTagRead, ctTagWrite func-
tions instead. If you are building up multiple tags into one point, use ctListNew and add
tags to the list through ctListAdd. Then use ctListWrite, ctListRead and ctListData to
write and read from the tags.
The following functions are not relevant to tag based operations. They are obsolete and
there is no replacement function.
l ctPointBitShift
l ctPointClose
l ctPointCopy
l ctPointDataSize
l ctPointToStr
l ctStrToPoint
l ctTagToPoint
50
Chapter: 2 What's New in CitectSCADA v7.x
A set of new configuration parameters have been added to provide control over the
CitectSCADA network interfaces. These parameters help you protect your system by
allowing control over unused features of the product. The following services can be ena-
bled / disabled: DDE, Remote CTAPI, ODBC, OLEDB and FTP.These services are dis-
abled by default.
User login necessary for control actions
A user is now necessary to be configured and logged in to CitectSCADA to allow the dis-
play process to perform a tag write (control) action. Design CitectSCADA projects to
avoid Cicode task that perform tag writes that are not issued by a user.
We advise that projects be configured to take advantage of the change to provide
increased system security protection. If your system has existing network security pro-
tection in place and does not require the additional security protection, it can be turned
off using the following parameters to avoid the impact of the changes:
Parameter for the client/display node: See [LAN] SecureLogin in the Parameters help file
for more information.
Parameter for the server node: See [LAN] AllowLegacyConnections in the Parameters
help file for more information. (As part of CitectSCADA7.20 this parameter was made
obsolete)
These parameters may be necessary during an upgrade process when there is a mix of
old and new version CitectSCADA nodes in a running system.
See Also
System Parameters
51
Chapter: 2 What's New in CitectSCADA v7.x
Multi-Signature Support
CitectSCADA now provides the facility for up to four users to approve an action or tag
write operation using the new Cicode functions MultiSignatureForm and Mul-
tiSignatureTagWrite.
Two further Cicode functions, VerifyPrivilegeForm and VerifyPrivilegeTagWrite, enable
you to restrict access to a specific action or tag write for a user with a specific set of priv-
ileges.
52
Chapter: 2 What's New in CitectSCADA v7.x
Note: If you choose to ignore any alert, the driver will be installed but the driver may
not operate correctly.
The communication driver installation can also be invoked individually at any time
after the product installation to install additional drivers.
53
Chapter: 2 What's New in CitectSCADA v7.x
From v7.10, the text displayed on a button object can be configured in the same manner
as other CitectSCADAtext objects within the Graphics Editor and the automation inter-
face. This will allow you to present a more polished and consistent GUI to meet individ-
ual project runtime presentation requirements.
When migrating from a previous release, button object text properties are preserved and
converted to the new button object text properties with the appropriate default property
values automatically placed in the new configuration such as Font=Arial, Size=12, Align-
ment=centre, style=regular, etc.
See Also
Button Properties - Appearance
54
Chapter: 2 What's New in CitectSCADA v7.x
55
Chapter: 2 What's New in CitectSCADA v7.x
{TypeNum,n} Alarm type number (use AlarmType to get string value instead).
V
{AlmComment,n} The text entered into the Comment field of the alarm properties
dialog.
Alarm paging
The CitectSCADA alarm facility constantly monitors equipment data and alerts oper-
ators of any equipment error or alarm condition. When an alarm is triggered it is dis-
played on the standard alarm display page. The operator has to be continuously sitting
in front of an HMI monitoring the system. CitectSCADA v7.20 provides the facility to
link alarms with a remote paging system for operators.
56
Chapter: 2 What's New in CitectSCADA v7.x
Two Alarm Properties have been added to enable CitectSCADA to interface with any
third-party paging system. The Paging property is a flag to indicate that the alarm is
going to be paged, the PagingGroup property is a freeform text field indicating the
sequence of people to notify in the event the alarm occurred.
See your third-party paging system documentation for information on how to interface
with CitectSCADA.
57
Chapter: 2 What's New in CitectSCADA v7.x
l New parameters
l Obsolete parameters
New Parameters
The following parameters are new in version 7.10 . For an entire list of the system param-
eters, refer to theParameters documentation.
Alarm Parameters:
[Alarm]A- Defines the length of time that the alarm server will wait
rgyleTagValueTimeout for argyle tag values to become available (without error)
before starting to scan for argyle alarms.
Code Parameters:
[Code]Ha- When enabled will cause the cicode to halt when any tag
ltOnInvalidTagData read returns invalid data.
Client Parameters:
[Client]A- Set to enable auto login. Users can select one of seven modes.
utoLoginMode
CtApi Parameters:
[CtAPI]AllowLegacyServices When enabled the Citect Web Service and the Citect
OLEDB Provider can connect to the CTAPI server.
DDE Parameters:
[DDE]A- Allows Cicode to be run on the Citect server via the DDE Execute com-
llowCicode mand.
[DDE]A- Allows tag writes to the Citect server via the DDE Poke command.
llowWrites
Kernel Parameters:
[Ker- The total number of error buffers available for logging to the sys-
nel]ErrorBuffers log.dat file.
Lan Parameters:
58
Chapter: 2 What's New in CitectSCADA v7.x
[LAN]SecureLogin When set to 0 security measures are disabled and the sys-
tem acts as it did in versions prior to 7.10.
[LAN]ServerLoginName The name of the default identifier to allow data access for
a server process to another SCADA server process(es).
ODBC Parameters:
Page Parameters:
[Page]A- Defines the default behavior when displaying vertical scroll bars.
llowVScrollBar
Obsolete Parameters
Win Parameters:
Com Parameters:
[Com]Star- Determines the period to wait for I/O Devices to come online before
tTimeout displaying any data.
59
Chapter: 2 What's New in CitectSCADA v7.x
New Functions
Security Functions
Form- Adds both a password prompt and edit field to the current form.
SecurePassword
MultiSignatureForm Displays a form that allows up for 4 users to have their cre-
dentials verified in order to approve an operation.
Mul- Displays a form that allows up for 4 users to have their cre-
tiSignatureTagWrite dentials verified in order to approve a write of a specific value to
a specific tag.
VerifyPrivilegeForm Displays a form that allows a single user to enter their cre-
dentials.
Ver- Displays a form that allows any single user to enter their cre-
ifyPrivilegeTagWrite dentials in order to approve a write of a specific value to a spe-
cific tag.
Miscellaneous Functions
ServerRestart Restart any alarm, report, trend or I/O server from any Cicode
node in system, without affecting other server processes running
on same machine.
60
Chapter: 2 What's New in CitectSCADA v7.x
Tag Functions
TagRD- Works in conjunction with the TagInfo function. Reloads the variable
BReload tag database so when TagInfo is called it picks up online changes to the
tag database.
Windows Functions
WinStyle Switches on and off scrolling and scrollbar features for existing win-
dows.
Modified Functions
None
Obsolete Functions
Window Functions
61
Chapter: 2 What's New in CitectSCADA v7.x
62
Chapter: 2 What's New in CitectSCADA v7.x
63
Chapter: 2 What's New in CitectSCADA v7.x
When upgrading from a previous version of CitectSCADA to v7.20 existing Super Genie tem-
plate environment variables will override Super Genie page environment variables. Any man-
ual updates you made to Super Genie page environment variables prior to the upgrade will be
lost.
Failure to follow these instructions can result in death, serious injury, or equip-
ment damage.
Graphic Enhancements
Enhancements have been made to how you can configure graphic pages and the objects
you place on the page. These enhancements can be used in the creation and imple-
mentation of Genies and Super Genies.
In addition, wide screen formats are now natively supported including 16:10 and 16:9
aspect ratios.
See Also
Metadata
Note: You can also install the CitectSCADA runtime from a single installation file.
This file is on the installation DVD. This allows installation of the software to com-
puters which only need the runtime. The file can be copied to a network location for
remote installation.
64
Chapter: 2 What's New in CitectSCADA v7.x
Note: The [Privilege]Shutdown parameter is now used to specify the necessary priv-
ilege level of a user to perform a shutdown operation triggered by clicking the Close
button of the project (default privilege level is 8).
65
Chapter: 2 What's New in CitectSCADA v7.x
To view the new Example Project, select and run it from Citect Explorer. For more infor-
mation, use the help button included in the project on the main navigation panel.
Web-based Help
The wide spread use of the Internet to distribute information has now enabled Schneider
Electric (Australia) Pty. Ltd. to introduce that technology, to bring its users a new rich
and expanded format to deliver its help information.
The traditional on-line help, now referred to in CitectSCADA as PC-based Help, is still
available to provide immediate information which is related to the task at hand. If you
are a registered Technical Support customer you have the option of accessing the new
Web-based Help to provide the very latest information, which will include updates for
help topics to include the improvements to the software application introduced by Serv-
ice Packs.
Updates will also be included from enhancement to the help topics brought about by
user comments and general internal developments by the Schneider Electric (Australia)
Pty. Ltd. Technical Publications team.
You will also be able to "rate" individual help topics with a star rating, and add your
own comments to any help topics. Your comments and topic ratings will be retained in
our database and we will endeavor to incorporate your contributions in our ongoing
development of the quality of our documentation.
The future development of Web-based help will also include links to technical doc-
umentation in the form of:
l Technical Papers
l White Papers
l Knowledge Base content
l Education and Training material
The Web-based help is planned for release by the end of December 2010. So, please check
on its availability periodically with following the link www.citect.com/webhelp
OFSOPC Driver
The release of CitectSCADA v7.20 coincides with the availability of the OFSOPC Driver
for Schneider Electric's OPC Factory Server (OFS).
OFS Factory Server is a foundation component for communication with Schneider Elec-
tric PLCs. The OFSOPC Driver allows CitectSCADA to tightly integrate with OFS Factory
Server, minimizing the amount of configuration necessary for an end-to-end Schneider
Electric system.
66
Chapter: 2 What's New in CitectSCADA v7.x
You can install the OFSOPC Driver and its supporting documentation via the Driver
Selection page of the CitectSCADA v7.20 installer.
Performance Enhancements
The architecture of CitectSCADA Version 7.20 includes a new threading model that
offers significant performance improvements. The new Platform Task Framework (PTF)
defines an explicit threading environment for each subsystem, providing a standard pro-
tocol for work to be created and passed between them.
The performance improvements have been implemented in a way that retains existing
functionality.There is no changes to the configuration or operation of a system, just per-
formance benefits and improved stability.
67
Chapter: 2 What's New in CitectSCADA v7.x
Note: It is recommended that data assigned to disk I/O devices be migrated to the
new persisted memory I/0 mode. See the topic Persisted I/O Memory Mode for infor-
mation on how to migrate a disk I/O device to a persisted memory I/O device.
See Also
Using Persisted I/O Memory Mode
68
Chapter: 2 What's New in CitectSCADA v7.x
Supportability Enhancements
Supportability Enhancements have been added to CitectSCADA to provide easier access
to the diagnostics functionality of the product. Although the enhancements were pri-
marily introduced to assist Technical Support personnel with system analysis, they have
resulted in many benefits to the end user. These include:
l Timestamp harmonization across log files.
l Additional [Debug] parameters to support category and severity filtering (see
Citect.ini Parameters in Version 7.20).
l Support for online logging adjustments using the new SetLogging() and GetLogging()
Cicode functions.
l A set of parameters that can be modified while online due to periodic or an on-
demand read of the citect.ini file during runtime.
Additionally, the home page of the Computer Setup Editor now includes a link to the
Logging Parameters page, which provides comprehensive instructions for the con-
figuration of logging.
See Also
Configuring logging
69
Chapter: 2 What's New in CitectSCADA v7.x
Tag Extensions
With the addition of Tag Extensions in CitectSCADA v7.20, the variable tag can now
represent data as a collection of elements, and each of these elements can contain a col-
lection of items.
Each element provides access to a view of the data value for the tag. Each variable tag
can be used on its own or by referencing a particular element. The tag and each element
have items that can be referenced to access the following information:
.v : The value, which will access the data value of the tag or element.
.vt : The value timestamp, which will access the timestamp of when the value last
changed.
.q : The quality, which will access the quality of the value , either GOOD, UNCERTAIN
or BAD. The Quality variable can access further detail using the Cicode Quality func-
tions.
.qt : The quality timestamp, which will access the timestamp of when the quality last
changed.
.t : The timestamp, which will access the timestamp of when the tag or element was last
updated.
See Also
Tag extensions
70
Chapter: 2 What's New in CitectSCADA v7.x
Time Scheduler
The Time Scheduler is a calendar based programming tool that allows you to manip-
ulate tag values within a CitectSCADA project. It can be used to create a sequence of
automatically executed commands, delivering a valuable scheduling tool for appli-
cations. If you choose the Time Scheduler follow the on screen instruction.
For details on configuring and using the Time Scheduler, refer to the documentation
installed with the Time Scheduler product.
New Parameters
The following parameters are new in version 7.20 . For an entirelist of the system param-
eters, refer to the Parameters documentation.
Alarm Parameters
Client Parameters
[Client]DisableDisplay Sets whether to allow the client process to run in the back-
71
Chapter: 2 What's New in CitectSCADA v7.x
CtAPI Parameters
CtDraw.RSC Parameters
CtEdit Parameters
Debug Parameters
72
Chapter: 2 What's New in CitectSCADA v7.x
General Parameters
IOServer Parameters
LAN Parameters
73
Chapter: 2 What's New in CitectSCADA v7.x
Page Parameters
74
Chapter: 2 What's New in CitectSCADA v7.x
75
Chapter: 2 What's New in CitectSCADA v7.x
Report Parameters
Security Parameters
Server Parameters
Trend Parameters
76
Chapter: 2 What's New in CitectSCADA v7.x
Modified Parameters
CtEdit Parameters
[CtEdit]Copy Supports runtime changes, it enables you to switch the SCADA node to
use a new runtime configuration by pointing to a new location.
Re-instated Parameters
IOServer Parameters
Obsolete Parameters
AnmCursor Parameters
General Parameters
LAN Parameters
Page Parameters
77
Chapter: 2 What's New in CitectSCADA v7.x
Time Parameters:
Trend Parameters
New Functions
ctTagReadEx Performs the same as ctTagRead, but with an additional new argument
Modified Functions
78
Chapter: 2 What's New in CitectSCADA v7.x
ctTagRead Reads the current value from the given I/O device variable tag element value.
ctTagWrite Writes the given value to the I/O device variable tag elements which have read/write
access.
ctTagWriteEx Asynchronously writes the given value to the I/O device variable tag element value
for the tag elements which have read/write access.
Obsolete Functions
None
New Functions
Alarm Functions
AlarmCatGetFormat Returns the display format string of the specified alarm category.
Display Functions
DspAnSetMetadata Non-blocking function, that sets the value of the specified metadata
entry.
Format Functions
79
Chapter: 2 What's New in CitectSCADA v7.x
Menu Functions
MenuGetChild Returns the handle to the child node with the specified name.
MenuGetNextChild Returns the next node that shares the same parent.
MenuGetPrevChild Returns the previous node that shares the same parent.
MenuGetWindowNode Returns the handle of the root menu node for a given window.
MenuNodeHasCommand Checks whether the menu node has a valid cicode command
associated with it.
MenuNodeIsHidden Checks whether the menu node is hidden by evaluating its Hid-
denWhen cicode expression.
Miscellaneous Functions
GetLogging Gets the current value for one or more logging parameters.
Page Functions
80
Chapter: 2 What's New in CitectSCADA v7.x
PageHistoryDspMenu Displays a pop-up menu which lists the page history of current
window.
PagePeekCurrent Return the index in the page stack for the current page.
PageProcessAnalyst Displays a Process Analyst page (in the same window) preloaded
with the pre-defined Process Analyst View (PAV) file.
PageProcessAnalystPens Displays a Process Analyst page (in the same window) preloaded
with the pre-defined Process Analyst View (PAV) file and specified
trend or variable tags.
PageRecall Displays the page at a specified depth in the stack of previously dis-
played pages.
ProcessAnalystLoadFile Loads the specified PAV file to a Process Analyst object, which is
identified by parameter ObjName.
ProcessAnalystPopup Displays a Process Analyst page (in the same window) preloaded
with the pre-defined Process Analyst View (PAV) file and specified
trend or variable tags.
Quality Functions
QualityGetPart Extracts a requested part of the Quality value from the QUALITY var-
iable.
81
Chapter: 2 What's New in CitectSCADA v7.x
QualityIsControlInhibit Returns a value indicating whether the tag is in Control inhibit mode.
Server Functions
ServerBrowseFirst This function places the data browse cursor at the first record.
ServerBrowseGetField This function retrieves the value of the specified field from the
record the data browse cursor is currently referencing.
ServerBrowseNext This function moves the data browse cursor forward one record.
ServerBrowseNumRecords This function returns the number of records that match the filter
criteria.
ServerBrowseOpen This function initiates a new browse session and returns a han-
dle to the new session that can be used in subsequent data
browse function calls.
ServerBrowsePrev This function moves the data browse cursor back one record.
ServerReload This function reloads the server specified by cluster and server
name.
ServerIsOnline This function checks if the given server can be contacted by the
client for giving the online/offline status of the server.
String Functions
StrTruncFont Returns the truncated string using a particular font (specified by name)
or the specified number of characters.
AssMetadata Performs Super Genie associations using the "Name" and "Value" fields.
AssMetadataPage Uses the metadata information from the current animation point for the
page associations for a new Super Genie page, and displays the new
Super Genie in the current page.
AssMetadataPopup Uses the metadata information from the current animation point for the
associations for a new Super Genie page, and displays the new Super
Genie in a new pop up window.
82
Chapter: 2 What's New in CitectSCADA v7.x
AssMetadataWin Uses the metadata information from the current animation point for the
associations for a new Super Genie page, and displays the new Super
Genie in a new window.
Tag Functions
TagSetOverrideBad Sets a quality Override element for a specified tag to Bad Non
Specific.
TagSetOverrideGood Sets a quality Override element for a specified tag to Good Non
Specific.
Task Functions
Timestamp Functions
TimestampGetPart Returns one part (year, month, day, etc) of the timestamp variable.
TimestampCurrent Returns the current system date and time as a TIMESTAMP variable.
83
Chapter: 2 What's New in CitectSCADA v7.x
Window Functions
Modified Functions
Accumulator Functions
Alarm Functions
Display Functions
Format Functions
Miscellaneous Functions
Page Functions
Security Functions
Login Logs an operator into the CitectSCADA system. Not available when logged
84
Chapter: 2 What's New in CitectSCADA v7.x
in as Windows user.
AssGetProperty Retrieves association information about the current Super Genie from the
datasource.
AssGetScale Gets scale information about the associations of the current Super Genie
from the datasource (that is scale information about a variable tag that has
been substituted into the Super Genie)
AssInfo Gets association information about the current Super Genie (that is infor-
mation about a variable tag that has been substituted into the Super
Genie).
AssInfoEx Retrieves association information about the current Super Genie (that is
information about a variable tag that has been substituted into the Super
Genie).
AssScaleStr Gets scale information about the associations of the current Super Genie
(that is scale information about a variable tag that has been substituted
into the Super Genie).
Tag Functions
TagWrite Writes a tag element value for the tag elements which have
read/write access.
Window Functions
Reinstated Functions
Following functions have been reinstated for 7.20.
Time and Date Functions
85
Chapter: 2 What's New in CitectSCADA v7.x
86
Chapter: 3 Upgrading to CitectSCADA v7.20
To upgrade an existing project to v7.20 from v6.x, perform each of the following pro-
cedures.
You do not need to carry out these procedures if you are upgrading from v7.0 or v7.10 to
v7.20.
l Upgrade CTAPI Applications
Verify that CTAPI applications are upgraded before upgrading and running any
CitectSCADA V7.x projects.
l Configure I/O Devices
Before upgrading, verify that I/O Devices are configured as necessary to run in the
project.
l Run the Citect Installer
The installer will lead you through a number of steps until the installation is com-
plete.
l Launch CitectSCADA
An automatic upgrade of your projects will occur when you initially start Citect-
SCADA
l Run the Migration Tool
The automatic update that occurs when you initially launch CitectSCADA does not
fully upgrade your projects, as such it needs to be followed by running the Migration
Tool.
l Define Clusters
Clusters can now be defined. The project needs to be configured to use at least one
cluster.
l Configure Network Addresses
The network addresses and ports of the computers to be used as servers are now
defined in the project.
l Configure Servers
The Alarm, Report, Trend, and I/O Servers are now defined in the project.
l Configure Tags to Use Clustering
Alarms, reports, trends, SPC tags, and accumulators can now be configured to run in
a specific cluster.
87
Chapter: 3 Upgrading to CitectSCADA v7.20
Note: If you are running version 5.5, verify that you upgrade your projects to version
6.x before upgrading to v7.x.
See Also
What's new in V7.x
88
Chapter: 3 Upgrading to CitectSCADA v7.20
However, this also means if you have I/O Devices temporarily defined as memory I/O
Devices for testing or simulation, they will be incorrectly configured as local variables by
the upgrade process. Verify that you configure these devices as you require them to run
before upgrading to version 7.x.
After upgrading, confirm and adjust the configuration of all I/O devices in your project.
Failure to follow these instructions can result in death, serious injury, or equip-
ment damage.
Before attempting to configure your I/O devices for the changes caused by the upgrade
process, first read the information in Configuring Local Variables and Using Memory
Mode. This provides details about local variables and the other I/O Device options that
replace memory I/O Devices, allowing you to select and configure your project appro-
priately.
Note: Alarm devices with their Protocol property set to "Alarm" are no longer used
and will be removed by the Migration Tool. All Alarm Servers will now publish
Alarm Properties.
The reconfiguration will take place when you run the Migration Tool. For detailed infor-
mation on this tool, refer to Migration Tool.
See Also
Run the Citect Installer
Configuring Local Variables
Using Memory Mode
Note: Uninstall any existing version 6.x or version 7.0 before installing v7.20, as
CitectSCADA does not support different versions running side-by-side. Additionally,
to use the v7.20 Example and CSV_Example projects, it is recommended that you
delete the existing Example and CSV_Example projects using Citect Explorer before
starting the installation.
89
Chapter: 3 Upgrading to CitectSCADA v7.20
Launch CitectSCADA
An automatic upgrade of your projects will occur when you initially start CitectSCADA.
1. To launch CitectSCADA, click Start | All Programs | Citect | CitectSCADA 7.10 |
CitectSCADA Explorer. The following message will display:
Migration Tool
The automatic update that occurs when you initially launch CitectSCADAv7.20 does not
fully upgrade your projects, and needs to be followed by the use of the Migration Tool (
if migrating from v6.x this is particularly noteworthy). The automatic update is a pas-
sive action which updates the database field definition for any database that has been
changed between the two versions and copies new files that are necessary in v7.20. Prior
to the automatic upgrade proceeding you are given the option of canceling the upgrade.
The upgrade can be invoked at a later time by setting the [CtEdit]Upgrade parameter to 1
(True) in the Citect.ini file.
After the automatic update has completed then prepare your projects prior to running
the Migration Tool.
The Migration Tool is a separate application which has to be manually run after the
automatic upgrade has been executed, and initiated by you after you have prepared the
project for final migration. This tool will accommodate the important changes in project
functionality that are incorporated in v7.0 and v7.20.
It is important that you prepare your existing projects for a successful upgrade using this
tool.
90
Chapter: 3 Upgrading to CitectSCADA v7.20
Some of the features introduced in v7.20 of CitectSCADA require changes in the project
data from version 6.x
After upgrading, confirm and adjust the configuration of all I/O devices in your project.
Failure to follow these instructions can result in death, serious injury, or equip-
ment damage.
See Also
Memory devices
Alarm devices
Included projects
Using the Migration Tool
Memory Devices
In previous versions of CitectSCADA an I/O Device could be defined as a memory
device by setting the port value to "Memory". This was generally done for one of the fol-
lowing purposes:
l To provide for future devices that were not currently connected to the system, but
their points needed to be configured at this stage of project.
l For virtual devices where there was no corresponding physical I/O Device and you
needed data storage with the entire functionality normally associated with I/O var-
iables such as alarms.
l To act as a variable which was local to the process being used in place of Cicode
global variables.
You can still use I/O Devices for future or virtual devices in version 7.0, but manually
set the Port parameter to an unused value other than Memory, and set the Memory prop-
erty of the device to True to indicate that it is an offline in-memory device before running
the Migration Tool.
You need to review your project to identify which memory I/O Devices are local variable
holders and which ones need to be changed to non-memory so that the Migration tool
does not convert their variables.
The Migration Tool will set any I/O Device's port which is identified as a Memory
device to the new Local Variable, and the original device record will be deleted.
See Also
Configure I/O Devices
Alarm Devices
91
Chapter: 3 Upgrading to CitectSCADA v7.20
Alarm Devices
In previous versions of CitectSCADA Alarm devices were defined as devices with their
Protocol property set to "Alarm". In version 7.0 the function of configuring such a device
is now replaced by setting the Publish Alarm Properties property to True on the Alarm
Server.
Alarm devices with their Protocol property set to "Alarm" will be deleted from I/O
Devices table by the Migration Tool.
See Also
Alarm Server Definitions
The Migration tool can delete memory and alarm device records. If you want to delete
the devices at a later time, deselect the "Remove obsolete Memory and Alarm Devices"
option.
Note: Alarm devices with their Protocol property set to "Alarm" are no longer used
and will be removed by the Migration Tool. All Alarm Servers will now publish
Alarm Properties.
See Also
Converting Memory Variables
92
Chapter: 3 Upgrading to CitectSCADA v7.20
Comment Comment
With the exception of the Array Size, which has been introduced in version 7.0 exclu-
sively for local variables, every field receives it's value from the same or similar field.
See Also
Deleting Variable Tags
Default Scale
The Scale properties in both variable tags and local variables are optional. If a Scale
value is not specified the default value is indicated by a parameter in the Citect.ini file.
The parameter name is "DefaultSliderScale" under the [General] section in the Citect.ini
file. The default values for Scale is 0-32000, unless the default slider scale is true in
which case the default value depends on the type for example Integer, String etcetera.
93
Chapter: 3 Upgrading to CitectSCADA v7.20
The Migration tool will read this parameter and if it is not set, or set to false, then it will
explicitly set any empty Scale property to a value in to the range of 0 to 32000. This will
be done even if either of the Zero Scale or Full Scale parameters has a value, in which
case the empty Scale parameter will receive the default value.
If the DefaultSliderScale in the Citect.ini file set to True, the Scale parameters will not be
populated with a default value if they are empty, rather they will be interpreted at run-
time.
Included Projects
Each project may contain multiple included projects. Additionally any included project
may contain its own included project so creating a cascading project.
The Migration Tool needs to process the original project and included projects in a sin-
gle step. The reason for this is that variables can be defined in one project that refer to
I/O Devices defined in another included project.
The Migration Tool performs this procedure sequentially on the "master" project then
each included project.
In the case where two master projects share the same project as an included project, it is
important that you do not select the "Remove obsolete Memory and Alarm devices"
check box when you process a project that contains shared included projects. This is
because the removal is performed at the conclusion of the migration process on each
master and included projects sequentially. This could cause the deletion of an I/O Device
in the first master project which is referenced by a tag in a shared included project
which is processed in a later step.
If two separate "master" projects contain the same included project, run the Migration
Tool on each "master" project without selecting to delete obsolete devices.
94
Chapter: 3 Upgrading to CitectSCADA v7.20
After upgrading, confirm and adjust the configuration of all I/O devices in your project.
Failure to follow these instructions can result in death, serious injury, or equip-
ment damage.
To remove obsolete devices it is recommended that once the Migration Tool has com-
pleted successfully (without the check box being selected), run it a second time with the
check box selected. This will safely remove the devices since every tag conversion were
completed in the first pass of the Migration Tool.
Note: Before you use the Migration Tool is strongly recommended that you famil-
iarize yourself with the process that it performs, and the preparatory steps that you
need to carry out with your existing projects as described under Migration Tool.
95
Chapter: 3 Upgrading to CitectSCADA v7.20
4. Select the Remove obsolete Memory and Alarm devices check box if you wish to
delete these devices after successful migration.
Note: Do not select this check box if the project contains any included projects
which are shared with more than one master project when you run the tool for
the first time on such projects. Run the tool a second time using this option if the
migration is successful after it is run the first time if you want to delete the
devices.
5. Leave as selected the option 'Create Roles from User security information' if you wish
to migrate the users database from an existing project
6. Check the option 'Copy XP_Style menu into Tab_Style Menu' to convert legacy menu
entries to the format necessary for the new menu configuration system. By default
this option is unchecked, to avoid potential compile errors that may occur after migra-
tion if the legacy menu.dbf contains functions which have been removed.
7. Check 'Migrate Included Projects' to migrate the included projects that are in the
project you previously selected.
Note: If 'Copy XP Syle menu into Tab_Style Menu' and 'Migrate Included Projects'
are both selected when the migration tool runs the following message will be dis-
played "Copying menus of included projects may lead to conflicts. Any conflicts
will need to be manually corrected". To avoid this from occurring it is rec-
ommended you run the migration tool twice. In the first instance just select the
option 'Copy XP_Style menu into Tab_Style Menu', and in the second instance
just select the option 'Migrate Included Projects'.
8. Click Migrate to begin the migration process, or click Close to exit without per-
forming the migration.
9. The migration process will begin and display a progress dialog indicating the stage
of the conversion and the name of the project being migrated. If you wish to cancel
the migration at this point click the Abort button.
Note: Aborting a migration will stop the migration process, and any changes
already completed will not be rolled back. You will have to restore your project
from the backup created in the first step.
10. When the migration process is concluded a confirmation dialog box will display indi-
cating the number of variables converted and the number of I/O Devices deleted (if
device deletion was selected at the start of migration)
11. Click the Close button to close the dialog.
96
Chapter: 3 Upgrading to CitectSCADA v7.20
Define Clusters
Even if you do not intend to use clusters in your project, you need to define at least one.
Tags and servers will default to run in the defined cluster.
1. In the Project Editor, select Servers | Clusters. The Cluster dialog box displays:
2. In the ClusterName field, enter the name of the cluster. The name needs to be unique
to the project and not contain spaces.
3. In the Comment field, enter any useful comment. This property is optional and is not
used at runtime.
4. Click Add.
See Also
Configure Network Addresses
Configure Servers
All Primary and Standby Alarms, Reports, Trends, and I/O Servers are now defined
using the Project Editor. This involves specifying a network address and a cluster for
each server.
Default Ports
97
Chapter: 3 Upgrading to CitectSCADA v7.20
Each server has a unique default port assigned to it. This default port may only be used
with that type of server. Attempting to use a default port on another type of server will
result in a compilation error of:
"Invalid port number (2073-2082,20222,21) are reserved"
The following table lists the default port numbers and their associated server type.
98
Chapter: 3 Upgrading to CitectSCADA v7.20
99
Chapter: 3 Upgrading to CitectSCADA v7.20
See Also
Configure Trend Tags to use Clustering
100