0% found this document useful (0 votes)
305 views

(123doc) - Nc2000-System-Operation-Manual-Vol3

This document provides instructions for using the configuration tools in the NC2000 computer monitoring and control system software. It describes the interface for the system configuration tool, which is used to identify and configure the nodes in the monitoring system. The interface includes a menu bar, project directory tree for browsing nodes, and an area for displaying and editing node properties. It also provides directions for adding, deleting and saving nodes in the configuration file.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
305 views

(123doc) - Nc2000-System-Operation-Manual-Vol3

This document provides instructions for using the configuration tools in the NC2000 computer monitoring and control system software. It describes the interface for the system configuration tool, which is used to identify and configure the nodes in the monitoring system. The interface includes a menu bar, project directory tree for browsing nodes, and an area for displaying and editing node properties. It also provides directions for adding, deleting and saving nodes in the configuration file.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 111

Manual of NC2000 monitoring and controlling system

volume 3 NC2000 configuration tools

NARI Group Corp.

Nanjing Automation Research Institute


June.2006
Reference Guide to Reading Strategies

The Object
As the third volume, this manual is direction for use of configuration software
integrated in NC2000 system.

Reading Object
This manual is written for all trainers within NARI, and also the users of NC2000
computer monitoring and control system, manageusers and maintainers in hydropower
plants for example. The type is set up with Microsoft Word.

The Structure
This manual consists of nine parts.
1. The Overview. It briefly gives the basic knowledge which is necessary for
readers.
2. In the second chapter, tool used to configure nodes in monitoring system will be
introduced.
3. The third chapter is about the using method of user administrator.
4. It’s about how to configure the database rightly in NC2000.
5. Graphic designer will be chiefly stated.
6. It’s about the sequence control.
7. Methods of design reports.
8. It’s about how to define communication interface.
9. Configuration of NARI Oncall system.

Handbook agreement
Following is rules this manual abides by:
1. All titles are in black.
2. Titles with wording ‘conditions’ marked behind, aim at reminding you that the
following text applies to certain conditions.
Attentions
Please pay close attention to cases mentioned with ‘attention’ logo in this manual.

Warnings
Some cases should be really seriously treated, or it may bring up gross mistakes.
The Overview

NC2000 system can run on OS such as Windows, Linux, Unix reliably. This
automatic application is developed independently by Nanjing NARI Automation
Limited Company for Hydropower Plant computer monitoring and control system.
This manual mostly introduces methods of configuration and maintenance with
tools in NC2000 configuration software, including system configuration, user
administrator, database designer, graphic designer, sequence control, report designer,
communication and NARI Oncall designer.
All the tools are based on graphical interfaces, and will be introduced in detail,
including the run window, master functions and using method. There might be some
differences of the structure between chapters, and check the relative chapter
according to your requirement.
Contents
CHAPTER 1 System Configuration.................................................................................1
1.1 The distribution of system configuration window................................................1
1.1.1 The distribution..........................................................................................1
1.1.2 The Menu Bar.............................................................................................2
1.1.3 The Project Directory Tree Editing Area....................................................2
1.1.4 System-configuration Display and Editing Area........................................3
1.2 Method of node configuration..............................................................................4
1.2.1 Add New Nodes In System Configure File................................................4
1.2.2 Edit Node Properties...................................................................................5
1.2.3 To Delete nodes in the configuration file...................................................6
CHAPTER 2 User Administrator.....................................................................................7
2.1 User Settings in Monitoring System.....................................................................7
2.2 The distribution of user administrator..................................................................7
2.3 Method of User Setting........................................................................................8
2.3.1 View Users..................................................................................................8
2.3.2 Add User.....................................................................................................8
2.3.3 Modify Users............................................................................................10
2.3.4 Delete User...............................................................................................12
2.3.5 Save..........................................................................................................12
Chapter 3 Database Designer.........................................................................................13
3.1 Brief introduction of database designer interface...............................................13
3.1.1 The distribution of database designer window.........................................13
3.1.2 Menu Bar and Tool Bar............................................................................15
3.1.3 Configuration Switch Area.......................................................................16
3.1.4 Configuration Display Area......................................................................17
3.1.5 Project Directory Tree Area, Monitoring Point Tabulate Area and
Properties of Monitoring points Display Area...................................................18
3.1.6 Device Configuration Area.......................................................................19
3.2 Use of Menu Bar................................................................................................20
3.2.1 File Menu..................................................................................................20
3.2.2 Edit Menu.................................................................................................26
3.2.3 Tools Menu...............................................................................................27
3.3 Project Directory Tree Area, Monitoring Point Tabulate Area and Properties of
Monitoring points Display Area...............................................................................28
3.3.1 Project Directory Tree Area......................................................................28
3.3.2 Feasible Operations in Project Directory Tree Area.................................30
3.3.3 Monitoring Point Tabulate Area and Properties of Monitoring Points
Display Area......................................................................................................36
3.3.4 Edit Project Tree.......................................................................................37
3.3.5 Save Database...........................................................................................40
3.3.6 Display Format of Project Tree Switch....................................................41
3.4 Device configuration in Database......................................................................41
3.4.1 Device Library Configuration Area..........................................................42
3.4.2 Overview of Device Configuration..........................................................42
3.4.3 Device Driver Configuration....................................................................50
3.4.4 Module Configuration..............................................................................54
3.5 Monitoring Points Configuration in Basic Database..........................................59
3.5.1 Basic Database..........................................................................................59
3.5.2 Monitoring points editing in basic database.............................................64
3.5.3 Illustration of monitoring points in database............................................72
3.5.4 Device and Device configuration.............................................................84
CHAPTER 1 System Configuration

The system configuration helps to identify the work state of all nodes in monitoring
system. Before the configuration, the host name and IP address of each node is needed.
Besides, to configure nodes of a system, you must log in as a super user.

1.1 The distribution of system configuration window

Click on the begin logo in the task bar, and then chose “system configuration” from
the pop up menu. The system will pop up a window named “computer monitor and
control system configuration”.
1.1.1 The distribution
The run window layout is as Picture 1-1 shown below:

Picture 1-1

The whole window comprises the title bar, the menu bar, the project directory tree
editing area, configuration display and editing area and so on. Next, functions and
applications of each part will be discussed.

1
1.1.2 The Menu Bar

Four icons are listed in the menu bar. They are add-nodes button, delete-

nodes button, save button, and exit button.


Add-nodes button is for adding new nodes. The new added nodes should have been
defined in local hosts file but not in the opened configuration file.
Delete-nodes button is for deleting nodes already defined in the configuration file.
Save button is to save the configuration file being edited. When you’ve finished the

configuration, click on this button .


Exit button is to close the configuration file and exit the configuration interface.
1.1.3 The Project Directory Tree Editing Area
The project directory tree editing area includes directory tree and edit menu.

The edit menu lists New Tree, Copy Treen, Paste Tree, Delete Tree,
Save, Change Flavor Save To Other Nodes and Change Display Order.
In the project directory tree, name of all hydro-power plants in this project are
listed.
Feasible Operations in Directory Tree Editing Area
Click on the icon before a certain plant name, or double click on the plant name,

and then the icon will change into , with the plant name folder opened, and leafs
lay out----- .
Click on the , then the icon turns in deep color. At the same time, the
configuration file is opened in configuration display and editing area at lower right of
the window. If you keep clicking on the icon for seconds, the icon will turn

2
into .It shows you can change name of the configuration file now. Click

on the plant name again to make the icon go back to previous state.

If you click on the icon or double click on the plant name now, you’ll find the
icon go back to , and plant name folder is closed.
1.1.4 System-configuration Display and Editing Area
Content of user’s system configuration will display in this area in table form. You
can shift the scroll bar below to look over or edit the configuration.
Each configuration file includes a number of computer nodes in a monitoring
system, with 20 properties of one node, and they are Node Name, Alias, No., Project
Name, Partner Node, 1 IP, 2 IP, Node State, Node Type, Byte Order,
OperDisable ,Double Users Protect, audio database, historyserver, manface, msgwin,
oncall, operate, remote, rundsp, seqman and telaudio.
 Node Name: The host name of computers in the monitoring system. The node
name of a certain computer (node name for short) should be defined in local
net configure file first.
 Alias: Node’s name in NC2000 monitoring system. Usually alias is in
capitals.
 NO.: Node’s serial number in NC2000 monitoring system. It ranges from 0,
and should be exclusive.
 Partner Node: Name of another node which has same alias as this node; and
they are main and back-up nodes of each other.
 1 IP: IP of the first network card should be defined in net configuration.
 2 IP: IP of the second network card should be defined in net configuration,
too.
 Node state: The work state of this node in system currently. The status light in
gray means this node is dead, in red means run standalone or as main, while in
blue means run as backup. This column can’t be edited.

3
 Node type: Role this node plays in system. A node can be host computer,
operator station, engineer station, communication computer, front end
processor, CCU (central control unit), programmable controller, other
network device.
 Byte Order: Order of cyber-byte of this node. COMPAQ workstation and
other PCs are in Intel order, and SUN workstation is not.
 Historyserver: This node runs as a history station or with historical data
restored on this node.
 Operate: This node can execute control and regulate operations.
 Oncall: This node is configured with Oncall.
 Database: Operations of NC2000 database are based on this node.
 Msgwin: Brief messages will be sent to this node.
 Audio: Node with audio alarm.
 Remote: This node runs as communication workstation.
 Seqman: Sequence programmes are executed on this node.
Attentions:
1. The column of project name is reserved.
2. Properties as byte order, oncall, and audio are reserved for future use.

1.2 Method of node configuration

Configuration here is the process of defining the nodes and their properties in
network with configuration software in NC2000.
1.2.1 Add New Nodes In System Configure File
Open configuration file to be edited in configure window. Click on the add-
nodes button in edit menu, a blank node will be added to the end, as Picture 1-2:

4
Picture 1-2

Input the node name in the first volume, then edit relevant properties.
1.2.2 Edit Node Properties
1. Edit volumes of node name, alias, No., project name, partner node, 1 IP, 2 IP.
Move the mouse to certain volume of a node, double click on the cell, you can edit
the text when cursor shows up in cell.
2. Edit Volume of Node Type
Move the mouse to volume of node type, click on the cell and pull-down menu is
displayed, as picture 1-3. Shift the right scroll bar to choose right node type.

Picture 1-3
3. Edit the Other Volumes

5
These properties are Boolean quantities, icon is equal to yes, and icon is
equal to no. Move the mouse to a cell, then you can click to switch the value between
yes and no.
1.2.3 To Delete nodes in the configuration file
Open the configuration file in the system configure window, click on the node
name of nodes to be deleted and drag the mouse rightward to choose the whole row,
then click on the delete-nodes button in edit menu to delete nodes finally.

6
CHAPTER 2 User Administrator

2.1 User Settings in Monitoring System

To guarantee the security of the monitoring system, users are divided into five
ranks: The super user, On-duty Leader, operator, trainer and supervisor, users at
different ranks with different authorizations.
 Superuser——The superuser as the highest rank, has privileges of both
monitoring and maintaining the system. Besides superuser can create users in
all ranks.
 Orderly Head——Orderly Head can monitor operational aspect, control or
operate equipments in hydropower plant, modify operational reports and so on.
 Run——Operator can monitor operational aspect, control or operate
equipments in hydropower plant.
 Train——Trainer can also monitor operational aspect, control or operate
equipments in hydropower plant, but actually control commands will not be
sent to associated equipments.
 Monitor——Users in this rank can only monitor the operational aspect.

2.2 The distribution of user administrator

After your login as a superuser, move the mouse to the ‘user administrator’ menu

item in begin menu , then ‘user administrator’ turns in deep color, click
with your left mouse button on it, so the window of user administrator will pop up, as
Picture 2-1:

7
Picture 2-1
At the left side are 6 buttons used for management, and the right side is for
displaying user information.

2.3 Method of User Setting

2.3.1 View Users


In window of user administrator, click with left mouse button on the ‘user view’

button , then the right side of the window, area of user information comes like
Picture 2-1.
Area of user information displays information of all users in list form. Each user
has two properties, User ID and Authorizations.
 User ID——Show the name of user.
 Authorizations——Show the user rank and period of validity of user.
2.3.2 Add User
In window of user administrator, click with left mouse button on the ‘Add user’

button , then area of user information comes like Picture 2-2.

8
Picture 2-2

Contents in area of user information include User ID, password, Verify password,

Authorizations, Period of validity of password, ok button and cancel


button.
 User ID——Input user name here, both Chinese and English will do.
 Password——Input a password for login.
 Verify password——Type in password in a second time to verify it.
 Authorizations——Set the rank of user.
 Period of validity of password——Set the term of validity of user’s password,
it can be permanent or defined by days.
Steps to add a new user are listed below:
1. According to instruction, input user ID, password, verify password;
2. Click on the pull-down logo in ‘Authorizations’, choose one from the pull-down
list to define user’s authorizations.
3. Define the period of validity of password, and its default setting is permanent.

9
If you need to define certain period of validity, choose the other option in the radio
box, then input number of days manually or click with mouse button on or to set
a term.

4. Click on the ok to assure settings above.


If contents in password and confirm password are different, it will throw up an alert
which says ‘password is not set yet or there is a discrepancy in twice password enter,
and enter the password again please!’ as Picture 2-3. Click on the OK, and reenter the
password.

Picture 2-3
If the user already exists, it will throw up an alert which says ‘this user already
exists, please register with another user name!’ as Picture 2-4. Click on the OK, and
input another user name will be ok.

Picture 2-4
5. After adding a new user successfully, message of ‘* user is successfully added!’
shows in the bottom-left corner of the user administrator window.
2.3.3 Modify Users

Click with left mouse button on the ‘Modify users’ button at the right side of
user administrator window, then area of user information comes like Picture 2-5.

10
Picture 2-5

Steps to modify a user are listed below:


1. Click on the pull-down logo in ‘user ID’, and choose the very user whose
information should be modified from the pull-down list;
2. Modify the user information as needed. You can reenter password and verify
password, change user’s rank by reselecting authorizations from the authorizations pull-
down list, and reset period of validity of password, same way as you add a new user.

3. Click on ok to assure settings above.


4. The system pops up the ‘message of modifying users’ window as Picture 2-6,
displaying messages kind of ‘* user is modified successfully!’. Click on ok to quit from
‘message of modifying users’ window.

Picture 2-6

11
2.3.4 Delete User
Click with left mouse button on user name in the user list in user administrator
window as Picture 2-2, then click on ‘Delete user’ to delete certain user finally.
2.3.5 Save
Click with left mouse button on ‘Save’ button in user administrator window to save
information of users.

12
Chapter 3 Database Designer

Database is the foundation of the computer monitoring system. All communications


and data exchange between monitoring system and all devices should be configured
right in database.
Function blocks in NC2000 computer monitoring and control system can help to
establish, modify, query, save, or load a database and so on. The process of configuring
a database can be briefly shown as Picture 3-1.

Picture 3-1

3.1 Brief introduction of database designer interface

3.1.1 The distribution of database designer window


First, log in NC2000 computer monitoring and control system as a super user or a
maintainer. Move the mouse to the ‘database designer’ menu item in start menu

13
, then ‘database designer’ turns in deep color, click with left mouse button
on it, so the window of database designer will open automatically, as Picture 3-2:

Menu bar Title bar Tools bar

Projects contents area

Point list area State display area

Point attribute area

Configuration switch area

Picture 3-2

Database configuration of a project in NC2000 configuration software includes


devices configuration, I/O monitoring points configuration, functions configuration,
objects configuration and AGC/AVC configuration.
The database designer window comprises the title bar, menu bar, tool bar,
configuration switch area, configuration display area, the project directory tree area,
devices configuration area, relays configuration area, objects configuration and so on.
When configuring basic database, the database designer window comprises the title
bar, menu bar, tool bar, configuration switch area, configuration display area, the
project directory tree area, monitoring point tabulate area, properties of monitoring
points display area and so on.

14
When configuring devices, the database configuration window comprises the title
bar, menu bar, tool bar, configuration switch area, configuration display area, devices
configuration area and so on, as Picture 3-3.

Menu bar Tltle Tools bar


bar

Equipment configuration area

State display area

Configuration switch area

Picture 3-3

3.1.2 Menu Bar and Tool Bar


Menu Bar locates below the title bar, providing with master commands of database
designer, as Picture 3-4.

Picture 3-4
The menu bar includes file, edit, tools and help.
The tool bar provides some tools of basic database editing, as Picture 3-5.

Picture 3-5

15
The tool bar shows up only when you’re editing basic database.

The tool bar includes button, button, button, button,

button, button, button, button, button, button and button.


3.1.3 Configuration Switch Area
NC2000 database includes database, device library, relay library and object library.
There are four configure modes in NC2000 database configuration, and they are
database configuration, device library configuration, relay library configuration and
object library configuration. Points configured in device library, protection device
library and object library can be called directly.
Configuration switch area shows as Picture 3-6.

Picture 3-6
We can switch between different configure modes by clicking on items listed in
configuration switch area.
a) Click on database item, then database item is highlighted, and the project
directory tree is displayed above configuration switch area, as Picture 3-7. Now we can
edit the basic database.

16
Picture 3-7 Picture 3-8
b) Click on devs item, then the item is highlighted, and device library configuration
is displayed above configuration switch area, as Picture 3-8. Then we can edit the
device library if there is a need.
3.1.4 Configuration Display Area
At the right side of database designer window is the configuration display area.
Points of different type are displayed mostly in table form separately, also with their
related information in database displayed. Picture 3-9 is an analogue database.

17
Picture 3-9

3.1.5 Project Directory Tree Area, Monitoring Point Tabulate Area and Properties of
Monitoring points Display Area
Click on database item in configuration switch area, then the project directory tree
area, monitoring point tabulate area and properties of monitoring points display area
show up at left side of database designer window, as Picture 3-10.
The project directory tree area includes project tree and edit menu. There’s an
upside-down project directory tree structure we call project tree. The project tree
consists of multilevel branches and leafs, with root of project at the top of project tree.
We can edit, query or modify the database branch in project tree conveniently.
Monitoring point tabulate area and properties of monitoring points display area
show up only after you click on leafs in project tree.

18
branc
h
root

leave
s

Projects contents area

Point attribute area


Point list area

Picture 3-10

3.1.6 Device Configuration Area


Click on devs item in configuration switch area, then the configure mode switches
to device library configuration. At left side of database designer window is device
configuration area, shown as Picture 3-11.
Device configuration area consists of configuration menu, device tabulate area and
module tabulate area.
Related menus of device library configuration are listed in configuration menu.
And all existed devices are listed in device tabulate area.
Modules of chosen device are all listed in module tabulate area.
By clicking on device configuration in a project directory branch, and with
configure mode switch to device library configuration, device configuration area shows
up at the left side of database editing area, where device drivers of a project can be
configured, modified and queried.

19
Menu of equivment
configuration Equipment list area

Module list area

Picture 3-11

3.2 Use of Menu Bar

Commands of database editing are mainly supplied in menu bar in database


designer window, including file, edit, tools and help.
3.2.1 File Menu
File menu consists of new plant, save branch, load branch, build, synchronize other
nodes and exit commands, as Picture 3-12.

20
Picture 3-12

3.2.1.1 New plant Command


This command is mostly used in database of step hydro-power plants.
1 Window of new plant command
Click on wording ‘project’ in project tree with left mouse button, then click on new
plant command on file menu, the system will pop up a window, as Picture 3-13.

Picture 3-13

21
Window named of New Plant consists of Plant Name, Plant Alias, Unit Count,
Switch Station, Public System, Node ID and so on input boxes.
 Plant Name——Name of new added plant.
 Plant Alias——Alias of new added plant.
 Unit Count——The number of unit LCU in the new added plant.
 Switch Station——The number of switch station LCU in the new added plant.
 Public System——The number of Public System LCU in the new added plant.
 Node ID——ID of the new added plant in project tree, and should be only.
2 Steps to add a new plant
1) Input plant name and alias.
2) Edit contents in unit, switch station and public system input boxes according to
actual conditions of the plant.
3) Set ID of the new added plant in Node ID.
4) Click on OK.
If all properties of the plant are right, plant name will show up in project tree,
otherwise, ‘New Plant’ window will not shutdown until you make a revise and a
reconfirm. Or click on cancel button to cancel the operation and exit.
3 Example
Take Baihua plant for example. Set properties of Baihua plant as Picture 3-14,and
click on OK.

Picture 3-14

22
3.1.1.2 Save Branch Command
If information of certain branch in project tree needs to be saved individually, with
corresponding branch chosen, click on save branch command on file menu, and a
window will pop up, as Picture 3-15.

Picture 3-15
The save branch window reminds you of branch to be saved.
Click on OK to confirm the save operation and exit. Information of the branch
will be saved to ~/data/sysfile as a file with extension .stx, and system reads the file
automatically when loading branch; or click on cancel button to cancel the
operation and quit.
3.2.1.3 Load Branch Command
Load existed branches in right place of project tree.
With corresponding parent directory in project tree chosen, click on load branch
command on file menu, and first window will pop up, reminding of choosing branch to
be loaded, as Picture 3-16.

Picture 3-16
First window is listed with all branches existed. Click on pull-down logo, and
choose branch to be loaded. Then click on acknowledge button, and second window
will pop up, reminding that if load this branch to destination directory, as Picture 3-17.

23
Picture 3-17
Click on OK in second window, so a third window comes up reminding that if

change address of the branch. If not, click on OK .


Usually we don’t change address of branch to avoid address conflict in same
directory which might lead to error when we compile database.
Click on cancel button in anyone of three windows above, then windows of loading
branch will shutdown, also quit the load branch operation.
3.2.1.4 Build Command
All databases should be build real time database.
After editing and saving basic database, click on build in file menu, then the
NC2000 Database Build Infomations window shows up. Click on ‘build realtime DB’
button, then system will check the database configuration, build the database and
generate real time database ultimately, as Picture 3-19.

24
Picture 3-19
Messages of build database will be displayed in left ‘process information’ window.
Error messages will be displayed in right ‘error information’ window if build realtime
database goes wrong. The left ‘process status information’ window will display wording
‘Build Realtime Database succeeded’ when database building finished.
3.2.1.5 Synchronize Other Nodes Command
Copy project files to other nodes in monitoring system for the sake of identity of
the database.
Click on Synchronize Other Nodes command in file menu, then a synchronization
options window as Picture 3-20 shows up.

Picture 3-20
All nodes in monitoring system are listed in this window. Click the icons before
certain nodes in which database need to be synchronized. When the icons turn into ,
database in corresponding nodes will be synchronized.
Next, click OK to start the synchronization and close synchronization options
window, and the operation will log in Message Window.
Click cancel button to call off the synchronization and quit synchronization options
window.

25
[Warning]Synchronization is based on FTP. So if corresponding nodes havn’t
open FTP service, synchronization can’t go on, for example windows OS usually
don’t support FTP service.
[Warning]Recommend you using synchronization prudently.
3.2.1.6 Exit Command
Exit the database compiling, and close the database designer window.
3.2.2 Edit Menu
There is only online on edit menu, as Picture 3-21.

Picture 3-21
The database is online while the icon before online command is displayed as , so
database will be real time refreshed by database in NC2000 monitoring system.

The database is offline while the icon before online command is displayed as ,
what means database will not receive real time refresh messages from database in
NC2000 monitoring system.

26
On-line is a Boolean quantity. Click icon before online command so that value
switches between 0 and 1.
[Attention]When you’re editing inner properties of monitoring points, switch
online value to 1.
3.2.3 Tools Menu
Tools menu consists of project name, AGC/AVC editor, Import AGVC Data, clear
AGVC Data, rearrange tree and arrange modules, as Picture 3-22.

3.2.3.1 Project Name


While there are more than one projects in some node, here you can set which
project to open the next time you run NC2000 monitoring system.
Click on project name on tool menu, Database Start Options window comes up, as
Picture 3-23.

27
Click on pull-down logo of name of Selfstart Project Name in this window, so you
can see all projects in this node listed in dropdown box. Choose one.

Click on OK to confirm operation or cancel button to cancel.


3.2.3.2 AGC/AVC Editor
Run AGC/AVC editing interface. The usage of AGC/AVC editor will be
introduced in detail in section 4.6.
3.2.3.3 Rearrange Tree
Rearrange the project tree according to address of branches in database.
3.2.3.4 Arrange Modules
Rearrange the modules in database.

3.3 Project Directory Tree Area, Monitoring Point Tabulate Area and Properties of
Monitoring points Display Area

Click on database item in configuration switch area, then the project directory tree
area, monitoring point tabulate area and properties of monitoring points display area
show up at left side of database designer window.
3.3.1 Project Directory Tree Area
The project directory tree area includes project tree and edit menu, as Picture 3-24.

Projects tree Edit menu of projects tree

28
The edit menu lists new tree, copy tree, paste tree, delete tree, save,
change flavor, save to other nodes and change display order.
There’s an upside-down project directory tree structure we call project tree.
The project tree consists of multilevel branches and leafs, with root of project at the
top of project tree.
As Picture 3-25 shows, in this project tree, we call ‘dh’, ‘db’, ‘dev’, ‘plant’, ‘G1’,
‘G2’, ‘G3’, ‘G4’, ‘KGZ’, ‘GY’, ‘ZM’ and so on branches, while call ‘Ain’, ‘Tin’, ‘Din’,
‘SOE’, ‘Pin’, ‘Calc’, ‘LogMinute’, ‘Dout’, ‘Control’, ‘Pid’ ‘Aout’, ‘trace’, ‘Device’
‘module’ and so on leafs. Besides, ‘plant’, ‘G1’, ‘G2’, ‘G3’, ‘G4’, ‘KGZ’, ‘GY’, ‘ZM’
and so on are deemed as branches of ‘db’ and ‘dev’.

branches
root
branches

leaves

branches

leaves

Name of all plants are listed in root. Usually there is an only branch but step hydro-
power plants.

29
We can edit, query or modify the database branch in project tree conveniently.
Monitoring point tabulate area and properties of monitoring points display area
show up only after you click on leafs in project tree. Contents in Monitoring point
tabulate area and properties of monitoring points display area change according to
chosen leaf, and no display as no leaf is chosen.
3.3.2 Feasible Operations in Project Directory Tree Area
3.3.2.1 Open ‘Plant Name’
Click with left mouse button on the icon before a certain plant name, or double

click on the plant name, and then the icon will change into , with the plant name
folder opened, and lower branches, ‘db’ and ‘dev’, lay out, as Picture 3-26.

3.3.2.2 Open ‘Db’


1 Open ‘Db’
After ‘plant name’ opened, click with left mouse button on the icon before

wording ‘Db, or double click on wording ‘Db, and then the icon will change into ,
with the database folder opened, and lower branches, ‘plant’, ‘G1’, ‘G2’, ‘G3’, ‘G4’,
‘KGZ’, ‘GY’, ‘ZM’ and so on, lay out, as Picture 3-27.

30
Number of branches of unit, switch station and public system here are up to
numbers which you set when you add this plant.
2 Open lower branches of ‘database’
After database folder is opened, click with left mouse button on the icon before

wording ‘g1’, or double click on wording ‘g1’, and then the icon will change into ,
with the database folder of g1 opened, and 14 leafs, Ain, Tin, Din, SOE, Pin, Calc,
LogMinute, Dout, Control, Pid, Aout, trace, Device and module, lay out, as Picture 3-
28.

31
3 Open ‘leaf’
Each leaf has its individual database, so there are altogether 14 basic databases.
Click on a leaf in ‘g1’ branch, then the leaf icon will turn in deep color. At the same
time, monitoring point tabulate area and properties of monitoring points display area
show up below project directory tree area, as Picture 3-29.

32
Projects contents

Point attribute area Point list area

All monitoring point names are listed in monitoring point tabulate area with serial
number prefixed. In properties of monitoring points display area are all properties of
monitoring points in chosen basic database.
Double click on a leaf in ‘g1’ branch, then the leaf icon will turn in deep color. At
the same time, monitoring point tabulate area and properties of monitoring points
display area show up below project directory tree area, and in the configuration display
area at the right side of database designer window, a floatable window pops up,
displaying chosen basic database in tabular form, as Picture 3-30.

33
One data type in a basic database has its individual database listed with all related
information in tabular form.
3.3.2.3 Open ‘dev’
1 Open ‘dev’
After ‘plant name’ opened, click with left mouse button on the icon before
wording ‘dev’, or double click on wording ‘dev’, and then the icon will change into

, with the device folder opened, and lower branches, ‘plant’, ‘G1’, ‘G2’, ‘G3’, ‘G4’,
‘KGZ’, ‘GY’, ‘ZM’ and so on, lay out, as Picture 3-31.

34
Number of branches of unit, switch station and public system here are up to
numbers which you set when you add this plant.
2 Open lower branches of ‘dev’
After device folder is opened, click with left mouse button on the icon before

wording ‘g1’, or double click on wording ‘g1’, and then the icon will change into ,
with the database folder of g1 opened, and at list one leaf, named drvinfo, lay out, as
Picture 3-32.

35
3 Open ‘leaf’
Click on a leaf in ‘g1’ branch, then the leaf icon will turn in deep color. At the same
time, in the configuration display area at the right side of database designer window, a
floatable window pops up, displaying definition of chosen device in database, as Picture
3-33.

36
4 Close Project Tree

If you click on the icon before a branch, you’ll find the icon has gone back to ,
and this branch folder is closed. If click on the icon again, the icon will change

into , with this branch folder opened same as last time you closed it.

For example, as project tree shown in Picture 3-34, click on the icon before
‘Hongfeng plant’, you’ll find the icon go back to , and ‘Hongfeng plant’ folder is

closed, as Picture 3-35. If click the icon again, the icon turns into , with ‘Hongfeng
plant’ folder opened same as before, as Picture 3-34.

37
3.3.3 Monitoring Point Tabulate Area and Properties of Monitoring Points Display Area
All monitoring points of chosen project leaf are listed in monitoring point tabulate
area. In properties of monitoring points display area are all properties of chosen
monitoring point. Monitoring Point Tabulate Area and Properties of Monitoring points
Display Area are for editing monitoring points, so further introduction will be given in
later sections.
3.3.4 Edit Project Tree

The edit menu lists new tree, copy tree, paste tree, delete tree, save,
change flavor, save to other nodes and change display order button.
3.3.4.1 Add Branch or Leaf to Project Tree
Open the project tree, choose a branch as parent branch, and click on new tree
button on edit menu, a window named ‘Add’ will pop up, as Picture 3-36.

1. Introduce ‘Add’ window


Name of parent branch, parent of new-added device, is displayed in title bar of the
window.

38
The window consists of input boxes of Name and English Name, tag box of Add
Branches, database File Suffix of new-added device, OK and cancel button.
2. Steps to add a new device
1) Input Name and English Name in corresponding input boxes;

2) If the device is added as leaf of project tree, click on icon before wording
‘Add Branches’, and File Suffix uses default setting. Otherwise, set the File
Suffix will be ok;

Click on the OK to assure settings above and quit ‘Add’ window. New-
added branch or leaf will show up in relevant position of project tree. Or click on cancel
button to cancel the operation and quit.
3. Application of New tree Button
New tree button is mostly used when we add new communication equipments to
some branch in ‘dev’.
4. Example of New tree Button
For example, add SJ600 to ‘g2’ in ‘dev’ by setting properties in ‘Add’ window as
Picture 3-37, and click on OK.

3.3.4.2 Delete Branch or Leaf in Project Tree

39
Open the project tree, choose branch or leaf to be deleted, and click on delete
tree button on edit menu, a warning window will pop up, as Picture 3-38.

The window reminds you of branch or leaf to be removed.


Click on OK to confirm the remove operation, shutdown the window and quit;
otherwise click on cancel button to cancel the remove operation, shutdown the window
and quit.
3.3.4.3 Copy Branch or Leaf in Project Tree
1. Steps to copy a branch of leaf
1) Choose replication source
Open the project tree, choose branch or leaf to be replicated, and click on copy
tree on edit menu (or use keyboard shortcut Ctrl C) to copy corresponding contents onto
the clipboard.
2) Choose destination branch or leaf
In project tree choose destination branch or leaf, next click on paste tree on edit
menu (or use keyboard shortcut Ctrl V) to paste contents to destination branch or leaf.
2. Application of Copy Branch or Leaf
Copy tree button and paste tree button are mostly used when we edit databases in
‘plant’, and usually the replication operation is done between branches of generators.
A generator branch can be copied, also can leafs of generator branch.
3. Example of Copy Branch or Leaf
After editing Ain in G1, processes of copy Ain of G1 to G2 are shown as Picture 3-
39 and 3-40.
1) Click on Ain in G1 branch.
2) Click on copy tree button (or use keyboard shortcut Ctrl C);
3) Click on Ain in G2 branch.
4) Click on paste tree button (or use keyboard shortcut Ctrl V).

40
Operation two Operation four

Operation one

Operation three

3.3.5 Save Database


Click on save button on edit menu to save the project database.
A window pops up after database is saved, reminding of ‘save succeeded’, as
Picture 3-41.

Click on close button in the window to complete the save.

41
3.3.6 Display Format of Project Tree Switch
Click on change flavor button in edit menu of project tree so that display format
of branches and leafs in project tree can switch between name, English name, and ID, as
Picture 3-42, 3-43 and 3-44.

The default setting of display format of project tree is the name.

3.4 Device configuration in Database

When we build a new database, first of all is to configure devices in database.


By defining type and point count of I/O modules in simulation devices to simulate
real LCUs or other equipments, to configure devices in NC2000 monitoring system with
device library becomes an easy task.
In device configuration, all communications between NC2000 monitoring system
and LCUs or other equipments are defined. Device configuration includes device driver
configuration and device module configuration.
In device driver configuration, we can define various parameters of communication
interfaces between NC2000 monitoring system and LCUs or other equipments.
And in device module configuration, we can simulate LCUs or other equipments
communicated with NC2000 monitoring system with modules in device library. Device
module configuration is mainly used for basic I/O points acquisition in NC2000
monitoring system, or put it another way, for configuration of LCUs in NC2000
monitoring system.

42
3.4.1 Device Library Configuration Area
In database designer window, click on Devs item in configuration switch area, then
the configure mode switches to device library configuration.
At left side of database designer window is device library configuration area, shown
as Picture 3-45.

Equipment configuration area

Equipment list

Module list

Device library configuration area consists of configuration menu, device tabulate


area and module tabulate area.

In the configuration menu is an New Product button and a Save button.


And all existed devices are listed in device tabulate area.
Modules of chosen device are all listed in module tabulate area.
3.4.2 Overview of Device Configuration
Device configuration includes configuration of devices (products) and modules.
3.4.2.1 New Product

43
Click on New Product button in configuration menu, and a window named
‘New Product’ pops up, as Picture 3-46.

Input name of new added device in Product Name input box, then click on OK in
the window, so the new added device will be shown in device tabulate area, as Picture
3-47.

3.4.2.2 Remove an Existed Device


Choose the device to be removed in device tabulate area, then click with right
mouse button, and click on delete command in the pull-down menu, as Picture 3-48.

44
A warning window pops up reminding whether to remove certain device, as Picture
3-49.

Click on OK to remove the device and shutdown the warning window, or click on
cancel button to cancel the remove operation and shutdown the window.
3.4.2.3 Rename Device
Choose the device to be renamed in device tabulate area, then click with right
mouse button, and click on rename command in the pull-down menu, as Picture 3-50.

45
A window named Product Name pops up, as Picture 3-51.

Input another name in product name input box, click on OK, and then the device
name window will shutdown, with the device name shown in device tabulate area
changed.
3.4.2.4 Save Configuration

After devices right added, click on save button in configuration menu to save
current device configuration.
3.4.2.5 Add a New Module
Choose the device in which new module are to be added in device tabulate area,
then click with right mouse button, and click on New Module command in the pull-
down menu, as Picture 3-52.

46
Window named Edit Module pops up, as Picture 3-53.

47
The module editing window includes module type input box, I/O configuration,
point count input box and Module Icon.
Input the type of new added module in module type input box; choose the
monitoring points type in this module and input the point count; choose a image for new
added module.
Steps to set the module image:
1) Click on the button below wording ‘Module Icon’. A window named ‘open’
pops up, as Picture 3-54;
2) In the pop-up window, choose proper image for new added module in
~/data/Images, then click on open button;

3) Set parameters in module editing window rightly and click on OK to complete.


The new added module will be shown in module tabulate area.
Picture 3-55 is a module editing window with all properties rightly set.

48
3.4.2.6 Edit Existed Module
Choose the module to be edited in module tabulate area, then click with right mouse
button, and click on edit command in the pull-down menu, as Picture 3-56.

The module editing window pops up, as Picture 3-57.

49
Modify corresponding properties in the window as needed, then click on OK to
finish the editing and close Edit Module window; or click on cancel button to cancel
modification and close the window.
3.4.2.7 Remove Existed Modules
Choose the module to be removed in module tabulate area, then click with right
mouse button, and click on delete command in the pull-down menu, as Picture 3-58.

50
3.4.3 Device Driver Configuration
3.4.3.1 Device Driver Configuration Window
Open the project tree in the database configuration mode, and click on driver
configuration in directory plant/dev/g1/drvinfo for example. In the configuration display
area at the right side of database designer window, a floatable window of driver
configuration pops up, as Picture 3-59.

51
Path of driver configuration is displayed at left of the title bar. At the right of title

bar are minimize icon, maximize icon and close icon.


Set parameters of network interface at the upper part of driver configuration
window, including Description, IP Address, Port, Driver ID, Resource File, Node Alias

and if Broadcast to Other Nodes. And Add button and Delete button
follow.

52
Set parameters of serial interface at the lower part of driver configuration window,
including Description, Device ID, Broundrate, Data Bits, Stop Bits, Parity Bits, Driver
ID, Station/Address, Resource File, Node Alias and whether Broadcast to Other Nodes.

And Add button and Delete button follow.

At the bottom of driver configuration window are OK, cancel button


and help button.
If communication between NC2000 monitoring system and LCU is based on
network, set parameters at upper part of the window; if the communication is based on
serial port, set parameters at lower part.
Drivers of devices in database can be configured, edited queried in device driver
configuration window.
1. Add a configuration of network interface
Steps to configure a network interface are introduced below:
1) Input description of this configuration.
2) Input IP address of LCU.
3) Input port number.
4) Choose corresponding driver in pull-down menu according to name and type of
LCU.
5) Input resource file for the communication.
6) Input alias of node on which the driver runs.
7) Set on the broadcast function or off.

8) Click add button to finish.


Picture 3-60 shows a network interface configuration.

53
2. Delete a network interface configuration
1) Choose existed configuration in pull-down menu of description.

2) Click delete button at upper part of configure window to finish.


3. Add a serial interface configuration
Steps to configure a network interface are introduced below:
1) Input description of this configuration.
2) Input name of serial interface as Device ID.
3) Set broundrate for the communication.
4) Choose a data bits in corresponding pull-down list.
5) Choose a stop bits in corresponding pull-down list.
6) Choose a parity bits in corresponding pull-down list.
7) Choose corresponding driver in pull-down menu according to name and type of
LCU.
8) Choose site address in station/address pull-down list.
9) Input resource file for the communication.
10) Input alias of node on which the driver runs.
11) Set on the broadcast function or off.

12) Click add button to finish.


Picture 3-61 shows a serial interface configuration.

54
4. Delete a serial interface configuration
3) Choose existed serial interface configuration in pull-down menu of description.

4) Click delete button at lower part of configure window to finish.

After editing, click OK at the bottom to save, or click cancel button


to drop the modification.
[Attentions]
1) Description and node name of SJ600 should be same; certain descriptions of
other devices may also have specific meanings depending on device driver, and you
can view corresponding driver documentations for further information.
2) As to PLC made by AB and MODICON, address is the IP of PLC, and port
number is the socket ID of PLC.
3) As to most drivers, a resource file with certain communication parameters
in is needed. View corresponding driver documentations for further information.
3.4.4 Module Configuration
Modules can be configured after device driver configuration.

55
3.4.4.1 Add Devices to Project
Open the project tree, choose g1 in directory plant/dev for example, and click on
build tree on edit menu in project directory tree area, a window named ‘add’ will pop
up, as Picture 3-62.

Input name and English name of new added LCU in corresponding input boxes.

Click on the OK to assure settings above and quit ‘Add’ window. Or click on
cancel button to cancel the operation and quit.
New-added LCU will show up in relevant position of project tree, as Picture 3-63.

56
3.4.4.2 Add I/O Modules
Click on a device in project tree (project/Hongfeng/device/g1/SJ600 for example)
in database configuration mode, the device configuration window will show up in the
configuration display area, as Picture 3-64.

Click on Devs item in configuration switch area, then the configure mode switches
to device library configuration. Choose a device in device tabulate area, then
corresponding modules will be listed in module tabulate area, and drag module needed
into device configuration window, as Picture 3-65.

3.4.4.3 Edit I/O Modules

57
Choose the module to be edited in device configuration window, and click with
right mouse button, then click on edit module command in pull-down list, as Picture 3-
66.

The Edit Module window pops up, as Picture 3-67. Set properties in the window as
needed.

 Module Name——Input name of module here.


 Module Address——Input address of module here.

58
 Interface Def——Choose a device driver configuration for this module.
 Starting Point ID——Input a serial number for starting point in this I/O
module.

Click OK to finish, or cancel button to drop the editing.


[Attention] Monitoring points are generated as you click OK.
[Attention] Modules of same kind should not have same addresses.
3.4.4.4 Remove I/O Modules
Choose the module to be removed in device configuration window, and click with
right mouse button, then click on delete module command in pull-down list, as Picture
3-68.

[Attention] With a module removed, corresponding monitoring points can’t be


deleted at the same time however, so we have to delete them manually in
monitoring point editing window.
3.4.4.5 Edit I/O
Choose the module to be edited in device configuration window, and click with
right mouse button, then click on I/O Editor command in pull-down list, as Picture 3-69.

59
Window of I/O configuration shows up in the configuration display area, as Picture
3-70.

More about editing I/O configuration will be introduced in next section.

3.5 Monitoring Points Configuration in Basic Database

3.5.1 Basic Database


3.5.1.1 Various Basic Databases
14 leafs are included in each basic database branch: Ain, Tin, Din, SOE, Pin, Calc,
LogMinute, Dout, Control, Pid, Aout, trace, Device and module.

60
After system configuration, leafs here are generated, with a leaf corresponding to a
basic database. So there are 14 kinds of basic databases.
As to Ain, Tin, Din, SOE, Pin, Dout, Control, Pid and Aout databases, monitoring
points generated when drivers and modules are configured can be called basic I/O
points, and their corresponding databases is basic I/O databases; while points added
manually called dummy I/O points.
Points in module database are generated automatically after drivers and modules are
configured.
Points in other databases should be added manually.
Each kind basic I/O database has its individual database listed with all related
information in tabular form.
3.5.1.2 Properties in basic I/O databases
Each kind basic I/O database has a number of properties, and some properties are
common to all kind basic I/O databases.
1. Properties of basic I/O points
When a branch in device of project tree is configured, /project/hongfeng/dev/g1 for
example, switch to database configuration mode, now corresponding branch in
database, /project/hongfeng/db/g1, already exists.
As to Ain, Tin, Din, SOE, Pin, Dout, Control, Pid and Aout databases, monitoring
points generated when drivers and modules are configured can be called basic I/O
points, and their corresponding databases is basic I/O databases.
Common properties to basic I/O databases are as the follows.
 Description——Description of monitoring point ,defined by user.
 No——Serial number of monitoring point. It ranges from 0, and is
automatically generated when configuring device in database.
 Board No——Address of module the monitoring point belongs to,
automatically generated when configuring modules in database.

61
 Point No——Serial number of monitoring point in module it belongs to. It
ranges from 1, and is automatically generated when configuring modules in
database.
 Terminal No——Reserved definition, of no senses.
 Node Alias——Generated when configuring device driver.
 Driver Name——Name of device driver. Generated when configuring device
driver.
 Alarm View——With options as following, OPERATION, DIAG, SOE,
FAULT, AIN, DIN, AUX and AGC. Information of this point will log in
relevant alarm view.
 CPU Alarm——Set CPU Alarm off when alarm message of the point is sent by
LCU directly.
 Units——Project unit of the point.
 Disable——Import an attribute of other point in this volume, then audio and
oncall will be disabled when value of imported attribute is 1. This is for points
which need to send message only in certain conditions, signal of ‘cooling water
broken off’ for example.
 Quality——Shows the quality of current value.
 History——With this attribute set on, information of this point will be logged
in history database. For Din and SOE, information includes time, value, and
value-switch count; for Ain it includes time and value.
 Audio On/Off——Points with this audio on have audio alarm.
 Audio No——Filename of corresponding audio file.
 Raw Data——Point value received through network or serial communication,
not processed.
 Output——Output is generated by certain processing of raw data.
 Remote SOE——This attribute is to define if remote output be refreshed in
real time.

62
 ACC Tag Name——English name of monitoring point, corresponds to tag
name in Nariacc database.
 Point ID——Inner number of I/O monitoring point, generated when
configuring devices. There’s no need to modify this attribute.
 Unit ID——ID of driver program, also automatically generated, with no need
to be modified. And each driver has its only ID in system.
 Module ID——Address of module the monitoring point belongs to,
automatically generated when configuring modules in database.
 IP Address——Tagpath of monitoring point in system, automatically generated
by system.
 Demoted——Demoted means users of low ranks, monitor users for example,
can also set attributes of this monitoring point in I/O logging.
 Manual——When manual attribute is 1, output can be set manually.
2. Properties of non-basic I/O points
As to Ain, Tin, Din, SOE, Pin, Dout, Control, Pid and Aout databases, monitoring
points not generated by drivers and modules configuration, but added manually, can be
called dummy I/O points.
Dummy I/O points, Calc, LogMinute, trace, Device and module are non-basic I/O
points.
Common properties to non-basic I/O databases are as the follows.
 Description——Description of monitoring point ,defined by user.
 No——Serial number of monitoring point. It ranges from 0.
 Board No——Of no senses.
 Point No——Of no senses.
 Terminal No——Of no senses.
 Node Alias——Alias of node on which data is processed.
 Driver Name——Of no senses.
 Alarm View——With options as following, OPERATION, DIAG, SOE,
FAULT, AIN, DIN, AUX and AGC.

63
 Input——Import an attribute of other point in this volume as value of this
dummy I/O point. Mostly, output attributes of ‘device’ can’t be recorded
directly, so we need to import it in a dummy I/O point to keep a record in
history database.
 Units——Project unit of the point.
 Disable——Import an attribute of other point in this volume, then audio and
oncall will be disabled when value of imported attribute is 1.
 Logic Point——Logic point, of which initial quality is good.
 Quality——Shows the quality of current value.
 History——With this attribute set on, information of this point will be logged
in history database.
 Audio On/Off——Points with this audio on have audio alarm.
 Raw Data——Point value received through network or serial communication,
not processed.
 Output——Output is generated by certain processing of raw data.
 Point ID——Inner number of I/O monitoring point, generated when
configuring database.
 Unit ID——Of no senses.
 Module ID——Of no senses.
 IP Address——Tagpath of monitoring point in system, automatically generated
by system.
3.5.1.3 Basic database file
1. Open basic database file
Choose corresponding leaf in project tree, double click on the database name, then a
floatable window of basic database configuration will pop up in the configuration
display area, at the right side of database designer window.
2. Basic database configuration window
The window of basic database configuration is shown as Picture 3-71.

64
Path of opened basic database is displayed at left of the title bar. At the right of title

bar are minimize icon, maximize icon and close icon.


Attributes of monitoring points in basic database are displayed in table form. All
monitoring points description are lengthwise listed. You can shift the scroll bar at right
to view all points. All attributes of a point are breadthwise listed. You can shift the
scroll bar below to view all attributes of a point.
Point count will be displayed at bottom of basic database configuration window.
3.5.2 Monitoring points editing in basic database
3.5.2.1 Add monitoring point
1. Build basic I/O points
After driver configuration and module configuration in database, basic I/O points
are automatically generated.
2. Build non-basic I/O points
1) Double click on an non-basic database leaf in project tree to open it;
2) Click on Add a row button in tool bar, then a new point is added to the
database. Or in the configuration window, click on the description cell with right mouse
button, and choose Add a row command from the pop-up edit menu, as Picture 3-72.
No. of new-added point is 0.

65
3.5.2.2 Delete monitoring point
1. Delete basic I/O points
To delete basic I/O points, we should modify relevant module configuration.
Remember to delete relevant I/O module first before delete basic I/O points.
2. Delete non-basic I/O points
1) Double click on an non-basic database leaf in project tree to open it;
2) Click on description cell of the point to be deleted;
3) Click on Cut column button in tool bar, then the chosen point is removed from
the database. Or in the configuration window, click on the description cell of the point
with right mouse button, and choose Cut column command from the pop-up edit menu,
as Picture 3-73.

66
3.5.2.3 Copy monitoring point
1. Double click on an non-basic database leaf in project tree to open it;
2. Click on description cell of the point to be copied;

3. Click on Copy row button in tool bar;


4. Click on description cell of another point to be replaced;

5. Click on Paste row button


3.5.2.4 Edit description of monitoring point
1. Modify description of a monitoring point
In the opened database configuration window, double click on description cell of a
point, input the description manually, or use shortcut Ctrl+C and Ctrl+V to copy and
paste character.
2. Insert character string to description of a monitoring point
1) Double click on a database leaf in project tree to open it;
2) Click on description cell of the start point and don’t release the left mouse
button;
3) Drag the mouse downward to the end point, then release the left mouse button;
4) Click on Insert description button in tool bar, a window named ‘Insert String
before Description’ will pop up, as Picture 3-74.

67
In the ‘Insert String before Description’ window, input character string to be
inserted in the input box, then click on OK. The string is inserted before description of
all chosen points.
3. Replace character string in description of a monitoring point
1) Double click on a database leaf in project tree to open it;
2) Click on description cell of the start point and don’t release the left mouse
button;
3) Drag the mouse downward to the end point, then release the left mouse button;
4) Click on Replace description button in tool bar, a window named ‘Replace
String in Description’ will pop up, as Picture 3-75.

In the ‘Replace String in Description’ window, input character string to be replaced


in the input box, then click on OK. Another ‘Replace String in Description’ window
pops up, as Picture 3-76;

68
In the ‘Insert String before Description’ window, input character string to replace
with in the input box, then click on OK. Strings are replaced with right strings in
description of all chosen points.
3.5.2.5 Speed assign value to cells
It’s used to set value of attributes of positive integral type quickly, No, Board NO,
Point No, Audio No and so on.
1. Set value in increasing order

1) Click on button in tool bar;


2) Double click on a non-basic database leaf in project tree to open it, choose
number of successive vertical cells, as Picture 3-77;

3) In database configuration window, click with right mouse button, and choose set
value command in pop-up edit menu, as Picture 3-78;

69
4) Values in chosen cells are incremental from start cell, as Picture 3-79;

2. Set value in decreasing order


1) Click on button in tool bar;
2) Double click on a non-basic database leaf in project tree to open it, choose
number of successive vertical cells, as Picture 3-80;

70
3) In database configuration window, click with right mouse button, and choose set
value command in pop-up edit menu, as Picture 3-81;

4) Values in chosen cells are descending from start cell, as Picture 3-82;

71
3. Set identical value

1) Click on button in tool bar;


2) Double click on a non-basic database leaf in project tree to open it, choose
number of successive vertical cells, as Picture 3-83;

3) In database configuration window, click with right mouse button, and choose set
value command in pop-up edit menu, as Picture 3-84;

72
4) Values in chosen cells are identical from start cell, as Picture 3-85;

3.5.3 Illustration of monitoring points in database


3.5.3.1 Ain and Tin
Database of Ain and Tin monitoring points is as Picture 3-86.

73
Attributes of Ain and Tin are same, including the follows:
 Low Signal——MIN raw data of monitoring point, and its default value is 4
mA.
 High Signal——Max raw data of monitoring point, and its default value is 20
mA.
 Low Output——MIN output of monitoring point, and its default value is 0.
 High Output——MAX output of monitoring point, and its default value is 100.
 Ultr-High Limit——Ultra high limit of alarm. System alarms when output of
the point is higher than Ultr-High Limit.
 High Limit——High limit of alarm.
 Low Limit——Low limit of alarm.
 Ultr-Low Limit——Ultra low limit of alarm.
 Coe A——Coefficient A in algorithm, used to produce output from raw data of
a point, and its default value is 1.
 Coe B——Coefficient B in algorithm, used to produce output from raw data of
a point, and its default value is 0.
 Ultr-High Alarm——With Ultr-High Alarm set on, system alarms when output
of the point is higher than Ultr-High Alarm.

74
 High Alarm——With High Alarm set on, system alarms when output of the
point is higher than High Alarm.
 Low Alarm——With Low Alarm set on, system alarms when output of the
point is lower than Low Alarm.
 Ultr-Low Alarm——With Ultr-Low Alarm set on, system alarms when output
of the point is lower than Ultr-Low Alarm.
 Alarm Enable——With Alarm Enable set on, Ultr-High Alarm, High Alarm,
Low Alarm and Ultr-Low Alarm can work. Otherwise, system can’t alarm.
Alarm Enable is main switch of all alarms.
 Rate Enable——With Rate Enable set on, system alarms when output gradient
of the point is over a limit.
 To zero——Import an attribute of another point, then when imported attribute
is 1, output of this point will be assigned 0.
 Filter——When difference between two successive outputs is over Fresh
Deadband, only with Filter set on, output will be refreshed.
 Fresh Deadband——Deadband of output refreshing in graph and broadcast.
When Filter is set on, system assign 3‰ of difference between High Effect
Range and Low Effect Range to Fresh Deadband when build database. Users
can define it, too.
 Off-Limit Deadband——Ain alarm when output is over Off-Limit Deadband.
If not defined, system assign 3‰ of difference between High Effect Range and
Low Effect Range to Fresh Deadband when build database.
 Initial Rate value——Initial value of Rate alarm.
 Rate value——Gradient of Rate alarm.
 High Audio No——Audio No of Ultr-High Alarm and High Alarm.
 Low Audio No——Audio No of Ultr-Low Alarm and Low Alarm.
 Algorithm——Algorithm used to produce output from raw data of a point,
including custom, copy and linear transformation. User should define Coe A
and Coe B when use custom algorithm, and output = raw data * Coe A + Coe

75
B. Output is equal to raw data when use copy algorithm. When use linear
transformation, Coe A and Coe B are produced from High Signal, Low Signal,
High Output and Low Output, and output = raw data * Coe A + Coe B.
 To Zero Enable——With To Zero Enable set on, To zero becomes effective.
 Low Effect Range——Usually lower than Low Output, work with High Effect
Range to calculate default value of Fresh Deadband.
 High Effect Range——Usually higher than High Output, work with Low
Effect Range to calculate default value of Fresh Deadband.
 Off-Limit Times——Count Off-Limit alarms automatically.
3.5.3.2 Din and SOE
Database of Din and SOE monitoring points is as Picture 3-87.

Attributes of Din and SOE are same, including the follows:


 1->0 Desc——Suffix description when output of monitoring point switches
from 1 to 0.
 0->1 Desc——Suffix description when output of monitoring point switches
from 0 to 1.

76
 Negative——With this attribute set on, output equals to the negative of raw
date. That is, when raw data is 1, output is 0; and when raw data is 0, output is
1.
 0->1 Alarm——With this attribute set on, system alarms when output of
monitoring point switches from 0 to 1.
 0->1 Log——With this attribute set on, history database will keep a record
when output of monitoring point switches from 0 to 1.
 0->1 Call——With this attribute set on, system telecom alarms when output of
monitoring point switches from 0 to 1.
 1->0 Alarm——With this attribute set on, system alarms when output of
monitoring point switches from 1 to 0.
 1->0 Log——With this attribute set on, history database will keep a record
when output of monitoring point switches from 1 to 0.
 1->0 Call——With this attribute set on, system telecom alarms when output of
monitoring point switches from 1 to 0.
 Event Enable——With this attribute set on, act of this monitoring point is
corresponding to an event.
 Remote SOE——Point with this attributes set on is remote SOE.
 Dual Point——Point with this attribute set on is dual point. If there’re two
correlative points showing state of one control object, on and off of a breaker
usually are showed in two points for example, the two correlative points can be
set as dual points. The output of dual point lies on raw data of the two
correlative points, so output of dual point could be 0, 1, and also 2, 3 (indefinite
state, when raw data of the two correlative points is equal).
 Dual Point Name——If this point is defined as dual point, import the
correlative point in Dual Point Name column.
 0->1 Audio No——The called audio No when output of monitoring point
switches from 0 to 1.

77
 1->o Audio No——The called audio No when output of monitoring point
switches from 1 to 0.
 Video No——Corresponding industrial monitoring video no. which monitor
state of this point.
 Alarm Enable——With this attribute set on, 0->1 Alarm and 0->1 Alarm
become effective.
 Log——With this attribute set on, history database will keep a record when
output of monitoring point changes.
 Trip Source——Helps to find out reason of trip event.
 Action Type——Including no process, trip switch and settle SOE.
 SOE——This attribute of points in SOE database is 1;
 Light——With Light set on, information of this point will be record in Light
Logging.
3.5.3.3 Pin
Monitoring points in Pin database are as Picture 3-88.

Some key attributes:


 PT Scale——Pt scale of this point.
 CT Scale——Ct scale of this point.
 Meter——When Meter is set on, meter reading not pulse count is read.
 Max Meter——Max value of electric meter reading.
 Peak Value——Value at peak time.

78
 Mean Value——Value at mean time.
 Valley Value——Value at valley time.
 Sum——Sum of Peak Value, Mean Value and Valley Value.
 Meter Data——Electric meter reading at primary side.
 Second Meter Data——Electric meter reading at secondary side.
 Day Cumulation——Electrical degree of this day.
 Month Cumulation——Electrical degree of this month.
 Year Cumulation——Electrical degree of this year.
 INIT-DATA——Initial electric meter reading.
3.5.3.4 Dout
Monitoring points in Dout database are as Picture 3-89.

Some key attributes:


 Pulse Time——Pulse holding time.
 Pulse Type——Including Impluse Dout, Holding Dout and Controlled Dout.
3.5.3.5 Contrl
Points in Contrl database are as Picture 3-90.

79
Some key attributes:
 Dout Obeject——ID of Dout object, 1 for generator for example.
 Command——ID of command, 8 for switch-on and 5 for switch-off for
example.
3.5.3.6 Pid
Points in Pid database are as Picture 3-91.

Some key attributes:


 PID On/Off——Shows if PID control of this point is on.
 KP——Scale coefficient.
 KI——Integral coefficient.
 KD——Differential coefficient.
 On Flag——Flag of PID control on.
 Off Flag——Flag of PID control off.
 PLC PID——With this attribute set on, PID control will be executed by PLC.
 P PID——With P PID set on, this point is for P control.

80
 AGC Mode Src——Reserved.
 Set Value Src——Reserved.
 Condition Src——Import condition of control here. Only when imported
attribute equals to 1, PID control is permitted.
 Coe A Src——Import coefficient A here. Usually it is Coe A attribute of
Measure Src.
 Coe B Src——Import coefficient B here. Usually it is Coe B attribute of
Measure Src.
 Fine Adju Src——Import fine adjust point here.
 Measure Src——Import measure point here.
 Decrease Limit Src——Import locking limit of negative regulation.
 Increase Limit Src——Import locking limit of positive regulation.
 Decrease Output Src——Import output of negative regulation.
 Increase Output Src——Import output of positive regulation.
 PID Manually Set Value——PID set value, set by operator. This attribute can
build a dynamic linker in graphic designer.
 P-Step——Increment or decrement of set value when increase flag or decrease
flag is set on.
 Max PID Value——Max value of PID set value.
 Min PID Value——Min value of PID set value.
 PID Cycle——Period of a regulation.
 PID Deadband——Deadband of PID control.
 PID Set Value——Set value of PID control, in other words, target value of PID
control.
 Pre-Set Value Src——Import point of Pre-Set value in this column.
If PID regulation is executed by PLC, set PLC PID on, measure src and
condition src should be configured. If PID regulation is executed by upper
monitor, set PLC PID off, KP, KI, KD, condition src and measure src should be
configured rightly.

81
3.5.3.7 Aout
Points in Aout database are as Picture 3-92.

Some key attributes:


 Zero Offset——Zero offset.
 Algorithm——Algorithm used to produce output from raw data of a point,
including custom, copy and linear transformation. All are same as algorithm in
Ain database.
 RANGEL——Min output.
 RANGEH——Max output.
3.5.3.8 LogMinute
LogMinute configuration is mostly used for load curves in monitor graph.
Points in LogMinute database are as Picture 3-93.

1. Some key attributes of points in LogMinute database:


 Input——Value of the imported point will be recorded, and form a curve.
 Curve Type——Define curve type here, including 24 Hours Curve, Latest 24
Hours Curve, Set Value Curve and Integral Curve.
 Max Curve Value——Max output can the curve display.
 Min Curve Value——Min output can the curve display.
3. Steps of LogMinute configuration

82
1) Double click on a LogMinute database in project tree to open corresponding
configuration window;
2) Click on Add a Row button;
3) Modify attributes of this new-added point, as Picture 3-94;

Input name of load curve in description column, modify No, type in Node Alias,
import a point to input column, set history attribute on, set curve type, Max curve
value and Min curve according to the need.
4) Save database.
3.5.3.9 Trace
Trace configuration is mostly used for query function in time logging.
Points in Trace database are as Picture 3-95.

1. Some key attributes of points in Trace database:


 Record type——Including Time Logging and State Records, and State Records
is reserved yet.
 Record value——Shows point output, including generating, unloaded, idle
motion, hot standby, cool standby, phase modulation, maintenance, acted, .
2. Steps of Trace configuration
1) Double click on a Trace database in project tree to open corresponding
configuration window;

83
2) Click on Add a Row button;
3) Modify attributes of this new-added point, as Picture 3-96;

Input name of trace in description column, modify No, type in Node Alias, import a
point to input column, set history attribute on, set trace type and trace value.
4) Save database.
3.5.3.10 Module
Points in Module database are as Picture 3-97.

Here’s some key attributes:


 Module State——It shows current state of this module, and 0 is normal, while
1 is fault.
 State 0——It shows communication state of this module.
 State 1——It shows self-diagnosis state of this module.
 State 2——It shows module board state.
 State 3——Reserved.
 State 4——Reserved.

84
 State 5——Reserved.
 State 6——Reserved.
 State 7——It shows external communication state of this module.
 COMSTATUS——Show state of serial interface.
3.5.4 Device and Device configuration
Device database is mainly used for calculate of synthetic data, and structure objects
called by man-machine interface. Points in Device database is as Picture 3-98.

3.5.4.1 Build new point in device database


1. Double click on a device database leaf in project tree to open it;
2. Activate the device.db window, and click on Add a Row button in tool bar;
3. Modify attributes of new-added point, as Picture 3-99.

85
 Description——Input description of this object here.
 Keyword——Input sort of this object here.
 Node Alias——Alias of node on which object operations are finished.
3.5.4.2 Device Editor
Choose the new-added point and click on Device Editor at bottom of database
configuration window, then configuration window switches to Device Editor, as
Picture 3-100.

86
There are 5 panel in Device Editor, and they are Input Properties, Control
Properties, Calculated Properties, Scrip Editor and Graphic Designer. Graphic Designer
is reserved.
3.5.4.3 Input Properties Panel
1. Input Properties Panel
Properties on this panel are all inputs, and they are derived from I/O points in
database.
Each input property has columns, like ID, Description, Input Connection and
Important Parameters, as Picture 3-101.

ID is property ID of this device, generated automatically by system.


Description is description of this property in this device.
Because property description will be called in Scrip Editor, so description of
properties in one device should be exclusive. Characters in description can be Character,
number or English letter, but not blank, bracket or special character, $ for example.
Input Connection shows from which point this property is derived.
Properties with Important Parameters set on, will be displayed when query graphic
object which has a dynamic link to this device.
2. Add input properties

87
Click on add button at left of input properties panel to add a input properties.
Columns of new-added property are blank except ID, as Picture 3-102.

3. Edit input properties


1) Double click on description cell of a input property, modify the description when

cursor shows up. Or choose Input Connection cell, then click on copy button at left
of input properties panel, description of imported point will be copied to property
description.
2) Click on a database leaf in project tree, choose a monitoring point in monitoring
point tabulate area and some attribute, and drag into input connection column.
3) Choose a Input Connection cell, click with right mouse button, click on Delete
Dynamic Connection command in pop-up list as Picture 3-103, to delete input
connection.
4) Set Important Parameters column as needed.

88
4. Delete input properties

Choose an input property in the list, then click on delete button at left of input
properties panel, the input property will be removed.
3.5.4.4 Control Properties Panel
1. Control properties Panel
Properties on this panel are all control properties. After control properties are added
in a device, build a dynamic link between the device and an object in monitoring graph,
so operators can operate devices directly in graphic man-machine interface. It makes
monitoring and control of hydropower plant more easy.
Click on control properties, the device editor switches to control properties panel,
as Picture 3-104.
Each control property has columns, like ID, Description, SEQ Connection,
Allowable Condition, Alarm Audio and SOE Node.

89
 ID is property ID of this device, generated automatically by system.
 Description is description of this property in this device.Because property
description will be called in Scrip Editor, so description of properties in one
device should be exclusive. Characters in description can be Character, number
or English letter, but not blank, bracket or special character, $ for example.
 SEQ Connection shows SEQ file connected to this control property.
 Allowable Condition gives conditions of SEQ call. Usually calculate
properties, calculated with scrip in scrip editor, are imported as allowable
condition.
 Alarm Audio column. When certain control of a device is done, if audio alarm
is needed, define corresponding audio no. here.
 SEQ Node is the node on which SEQ file is executed.
2. Add control properties

Click on add button at left of control properties panel to add a control


properties. Columns of new-added property are blank except ID, as Picture 3-105.

90
3. Edit control properties
1) Double click on description cell of a control property, modify the description
when cursor shows up.
2) Click on SEQ Connection cell, and choose corresponding SEQ file in pop-up
window, as Picture 3-106.

Double click on chosen SEQ filename, the pop-up window will be closed, and this
SEQ connection is done.
3) Click on a database leaf in project tree, choose a monitoring point in monitoring
point tabulate area and some attribute, and drag into allowable condition column.

91
4) Choose a allowable condition cell, click with right mouse button, click on Delete
Dynamic Connection command in pop-up list, to delete allowable condition.
5) Click on Alarm Audio cell, and choose corresponding audio file or type in
corresponding audio no. in pop-up window, as Picture 3-107. And click on OK to end.

6) Double click on SEQ node cell of a control property, modify the node name
when cursor shows up.
5. Delete control properties

Choose an control property in the list, then click on delete button at left of
control properties panel, the control property will be removed.
3.5.4.5 Calculate properties Panel
Calculate properties are defined by user, usually work as interim variables.
Click on calculate properties, the device editor switches to calculate properties
panel, as Picture 3-108.

92
Each calculate property has columns, like ID, Description, Type, Units and
Important Parameters.

 ID is property ID of this device, generated automatically by system.


 Description is description of this property in this device. Because property
description will be called in Scrip Editor, so description of properties in one
device should be exclusive. Characters in description can be Character, number
or English letter, but not blank, bracket or special character, $ for example.
 Define data type of this calculate property in type column, including int, float,
double and string.

93
 Units——Unit of property.
 Properties with Important Parameters set on, will be displayed when query
graphic object which has a dynamic link to this device.
1. Add calculate properties

Click on add button at left of calculate properties panel to add a calculate


properties. Columns of new-added property are blank except ID, as Picture 3-109.

2. Add array of calculate properties

Click on array button at left of calculate properties panel, system will pop up
an ‘Add Variable Array’ window, as Picture 3-110.

94
Type in corresponding parameters according to clues, and click on OK, new-added
properties will be listed on calculate properties panel. IDs of new-added properties are
generated automatically, take corresponding variable name as description, type can be
defined by user, and other columns are blank, as Picture 3-111.

3. Edit calculate properties


1) Double click on description cell of a calculate property, modify the description
when cursor shows up.
2) Double click on type cell of a calculate property, choose a data type from pull-
down list, as Picture 3-112.
3) Set units column for calculate property as needed.
4) Set important parameters column as needed.

4.Delete calculate properties

95
Choose an calculate property in the list, then click on delete button at left of
calculate properties panel, the calculate property will be removed.
3.5.4.6 Scrip Editor Panel
1. Scrip Editor Panel
Scrip Editor Panel supplies user with a means of synthetic calculation.
Click on Scrip Editor, the device editor switches to scrip editor panel, as Picture 3-
113.

On scrip editor panel, there are properties list, scrip editor and operational sign area.
 Properties List Area——With all properties defined in this device listed here.
 Scrip Editing Area——Here to edit scrip with kinds of operations.
 Operational Sign Area——Listed with signs of logic calculus, calculation
Operator, Function Block and Expression, as Picture 3-114, Picture 3-115,
Picture 3-116 and Picture 3-117.

96
2. Edit Scrip
Double click on a property in properties list to call this property. In scrip editing
area, called properties are inserted between a pair of $ character to differentiate from
other variables.
Click on a sign in Operational Sign Area, it will be typed in scrip editing area.
Syntax of scrip here is similar with C program, but more rigid.
[Warnings] Except initial variables listed in below example, other variable
names are not suggested, otherwise, it may bring up gross mistakes.
Here’s an example for scrip:
int i,j,k;
float f1,f2,f3;
$generate condition$ = 0;
$noload condition$ = 0;
$racing condition$ = 0;
$adjust condition$= 0;
$instancy stop condition$ = 0;
$start condition$ = 0;

97
$stop condition$ = 0;
if ( $unit state$ == 5.0 && $differential protect$ == 0 && $011DL break$ == 1
&& $emergency valve of governor $ == 0 && $accident low pressure $ == 0 && $
pulling out lock of relay $ == 1 && $trig brake drop $ == 1) {
$ generate condition $ = 1;
$ noload condition $ = 1;
$ racing condition $ = 1;
$ start condition $ = 1;
}
if ($unit state $ == 4.0) {
$ generate condition $ = 1;
$ noload condition $ = 1;
$stop condition$ = 1;
}
if ($unit state$ == 3.0) {
$generate condition$ = 1;
$racing condition$ = 1;
$stop condition$ = 1;
}
if ($unit state$ == 2.0) {
$generate condition$ = 1;
}
if ($unit state$ == 1.0) {
$adjust condition$ = 1;
$noload condition$ = 1;
$racing condition$ = 1;
$stop condition$ = 1;
}
if ($unit state$ < 5.0) {
$instancy stop condition$ = 1;

98
}
$ condition of opening valve $ = 0;
if ( $valve close$ == 1 && $valve open$ == 0 ) {
$ condition of opening valve $ = 1;
}
$condition of closing valve$ = 0;
if ( $ valve close$ == 0 && $valve open$ == 1) {
$condition of closing valve$ = 1;
}
3. Special functions in scrip editor
Special function blocks include open graph, alarm, guide, audio, call and so on.

1) Open graph function


Mostly used for opening graph by system.

Click on open graph button in function block, system will pop up a


window as Picture 3-118.

Open the graph tree; choose corresponding graph name, as Picture 3-119.

99
Double click on the graph name, the window will be closed.
A sentence is added to the scrip, with which open graph function is realized.

2) Guide function
Mostly used for opening event guide by system.

Click on guide button in function block, system will pop up a window as


Picture 3-120.

Choose corresponding guide file, click on open button, then the window will be
closed. A sentence is added to the scrip, with which guide function is realized.

100
3) Alarm function
Mostly used for alarm by system.

Click on alarm button in function block, system will pop up an ‘Alarm


Setting Dialog’ window as Picture 3-121.

Input corresponding alarm string in alarm contents input box.


Open the project tree in ‘Alarm Setting Dialog’ window; choose corresponding
alarm view and double click on it, then the alarm view name will be typed in Report
Logged to input box, as Picture 3-122.

Click on OK to close ‘Alarm Setting Dialog’ window. A sentence is added to the


scrip, with which alarm function is realized.

4) Audio function

101
Mostly used for audio alarm by system.

Click on audio button in function block, system will pop up an ‘Alarm


Audio’ window as Picture 3-123.

Open the audio tree in ‘Alarm Audio’ window; choose corresponding audio file and
double click on it, then the audio file name will be typed in voice files input box, as
Picture 3-124.

Click on Play button to audition the voice file, and click on Stop button to stop the
audition.
Click on OK to end setting and close ‘Alarm Audio’ window. A sentence is added
to the scrip, with which audio function is realized.

5) Call function

102
Mostly used for calling SEQ file by system.

Click on call button in function block, system will pop up a window as


Picture 3-125.

Open the SEQ tree; choose corresponding SEQ file, as Picture 3-126.

Double click on the SEQ file name, the window will be closed.
A sentence is added to the scrip, with which call function is realized.

103
3. Check Syntax

After scrip editing, click on Check Syntax button to check up and build
scrip.
If no error is found, system will give no information; otherwise, system will pop up
a warning window, and mark error sentences in red, as Picture 3-127.

For example, system will give a warning if some input property called in scrip
doesn’t have an input connection when you check syntax.
4. Update Realtime Library (reserved)
If you just modify the scrip but not any property in a device, you can click on

Update Realtime Library button to refresh real time database without restart
NC2000.
5. Store into Library
Store into Library is used for device administration and storage.

Click on Store into Library button to store devices into device library.
Notice to differentiate between devices according their keywords.

104

You might also like