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 directo
Trang 1Manual of NC2000 monitoring and controlling system
volume 3 NC2000 configuration tools
NARI Group Corp.
Nanjing Automation Research Institute
Trang 2June.2006
Trang 3Reference Guide to Reading Strategies
The Structure
This manual consists of nine parts
1 The Overview It briefly gives the basic knowledge which is necessary forreaders
2 In the second chapter, tool used to configure nodes in monitoring system will beintroduced
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
Trang 5The Overview
NC2000 system can run on OS such as Windows, Linux, Unix reliably Thisautomatic application is developed independently by Nanjing NARI AutomationLimited Company for Hydropower Plant computer monitoring and control system.This manual mostly introduces methods of configuration and maintenance withtools in NC2000 configuration software, including system configuration, useradministrator, 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 somedifferences of the structure between chapters, and check the relative chapteraccording to your requirement
Trang 6CHAPTER 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
Trang 73.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
Trang 8CHAPTER 1 System Configuration
The system configuration helps to identify the work state of all nodes in monitoringsystem 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” fromthe pop up menu The system will pop up a window named “computer monitor andcontrol system configuration”
Trang 91.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 beendefined 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 arelisted
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
Click on the , then the icon turns in deep color At the same time, theconfiguration file is opened in configuration display and editing area at lower right ofthe window If you keep clicking on the icon for seconds, the icon will turn
Trang 10into 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 theicon 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 Youcan shift the scroll bar below to look over or edit the configuration
Each configuration file includes a number of computer nodes in a monitoringsystem, with 20 properties of one node, and they are Node Name, Alias, No., ProjectName, 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 nodename of a certain computer (node name for short) should be defined in localnet configure file first
Alias: Node’s name in NC2000 monitoring system Usually alias is incapitals
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; andthey 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 ingray means this node is dead, in red means run standalone or as main, while inblue means run as backup This column can’t be edited
Trang 11 Node type: Role this node plays in system A node can be host computer,operator station, engineer station, communication computer, front endprocessor, CCU (central control unit), programmable controller, othernetwork device.
Byte Order: Order of cyber-byte of this node COMPAQ workstation andother PCs are in Intel order, and SUN workstation is not
Historyserver: This node runs as a history station or with historical datarestored 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 innetwork 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 nodes button in edit menu, a blank node will be added to the end, as Picture 1-2:
Trang 12add-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 editthe 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 isdisplayed, as picture 1-3 Shift the right scroll bar to choose right node type
Picture 1-3
3 Edit the Other Volumes
Trang 13These properties are Boolean quantities, icon is equal to yes, and icon isequal to no Move the mouse to a cell, then you can click to switch the value betweenyes and no.
1.2.3 To Delete nodes in the configuration file
Open the configuration file in the system configure window, click on the nodename 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
Trang 14CHAPTER 2 User Administrator 2.1 User Settings in Monitoring System
To guarantee the security of the monitoring system, users are divided into fiveranks: The super user, On-duty Leader, operator, trainer and supervisor, users atdifferent ranks with different authorizations
Superuser——The superuser as the highest rank, has privileges of bothmonitoring and maintaining the system Besides superuser can create users inall ranks
Orderly Head——Orderly Head can monitor operational aspect, control oroperate equipments in hydropower plant, modify operational reports and so on
Run——Operator can monitor operational aspect, control or operateequipments in hydropower plant
Train——Trainer can also monitor operational aspect, control or operateequipments in hydropower plant, but actually control commands will not besent 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, clickwith your left mouse button on it, so the window of user administrator will pop up, asPicture 2-1:
Trang 15In 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 likePicture 2-1
Area of user information displays information of all users in list form Each userhas 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
Trang 16Picture 2-2
Contents in area of user information include User ID, password, Verify password,
Authorizations, Period of validity of password, ok button and cancelbutton
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-downlist to define user’s authorizations
3 Define the period of validity of password, and its default setting is permanent
Trang 17If you need to define certain period of validity, choose the other option in the radiobox, 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 alertwhich 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 thepassword
Picture 2-3
If the user already exists, it will throw up an alert which says ‘this user alreadyexists, please register with another user name!’ as Picture 2-4 Click on the OK, andinput another user name will be ok
Trang 18Picture 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 whoseinformation should be modified from the pull-down list;
2 Modify the user information as needed You can reenter password and verifypassword, 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
Trang 20Chapter 3 Database Designer
Database is the foundation of the computer monitoring system All communicationsand data exchange between monitoring system and all devices should be configuredright in database
Function blocks in NC2000 computer monitoring and control system can help toestablish, 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 amaintainer Move the mouse to the ‘database designer’ menu item in start menu
Trang 21, 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:
Picture 3-2
Database configuration of a project in NC2000 configuration software includesdevices 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 titlebar, menu bar, tool bar, configuration switch area, configuration display area, theproject directory tree area, monitoring point tabulate area, properties of monitoring
Projects contents area
Configuration switch area
area
Point list area
Point attribute area
Tools bar Menu bar Title
bar
Trang 22When configuring devices, the database configuration window comprises the titlebar, menu bar, tool bar, configuration switch area, configuration display area, devicesconfiguration area and so on, as Picture 3-3
Picture 3-3
3.1.2 Menu Bar and Tool Bar
Menu Bar locates below the title bar, providing with master commands of databasedesigner, as Picture 3-4
Picture 3-4The menu bar includes file, edit, tools and help
The tool bar provides some tools of basic database editing, as Picture 3-5
bar
Trang 23The 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 aredatabase configuration, device library configuration, relay library configuration andobject library configuration Points configured in device library, protection devicelibrary and object library can be called directly
Configuration switch area shows as Picture 3-6
Trang 24Picture 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 thedevice 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 theirrelated information in database displayed Picture 3-9 is an analogue database
Trang 25The project directory tree area includes project tree and edit menu There’s anupside-down project directory tree structure we call project tree The project treeconsists 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 areashow up only after you click on leafs in project tree
Trang 26Picture 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 deviceconfiguration area, shown as Picture 3-11
Device configuration area consists of configuration menu, device tabulate area andmodule 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 withconfigure 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 beconfigured, modified and queried
branc h root
Trang 27Picture 3-11
3.2 Use of Menu Bar
Commands of database editing are mainly supplied in menu bar in databasedesigner window, including file, edit, tools and help
3.2.1 File Menu
File menu consists of new plant, save branch, load branch, build, synchronize othernodes and exit commands, as Picture 3-12
Menu of equivment
configuration Equipment list area
Module list area
Trang 28Picture 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 newplant command on file menu, the system will pop up a window, as Picture 3-13
Picture 3-13
Trang 29Window 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 toactual 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 areconfirm 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,andclick on OK
Picture 3-14
Trang 303.1.1.2 Save Branch Command
If information of certain branch in project tree needs to be saved individually, withcorresponding branch chosen, click on save branch command on file menu, and awindow will pop up, as Picture 3-15
Picture 3-15The save branch window reminds you of branch to be saved
Click on OK to confirm the save operation and exit Information of the branchwill be saved to ~/data/sysfile as a file with extension stx, and system reads the fileautomatically when loading branch; or click on cancel button to cancel theoperation 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 branchcommand on file menu, and first window will pop up, reminding of choosing branch to
be loaded, as Picture 3-16
Picture 3-16First window is listed with all branches existed Click on pull-down logo, andchoose branch to be loaded Then click on acknowledge button, and second windowwill pop up, reminding that if load this branch to destination directory, as Picture 3-17
Trang 31Picture 3-17Click 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 samedirectory which might lead to error when we compile database
Click on cancel button in anyone of three windows above, then windows of loadingbranch 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 theNC2000 Database Build Infomations window shows up Click on ‘build realtime DB’button, then system will check the database configuration, build the database andgenerate real time database ultimately, as Picture 3-19
Trang 32Picture 3-19Messages of build database will be displayed in left ‘process information’ window.Error messages will be displayed in right ‘error information’ window if build realtimedatabase 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 ofthe database
Click on Synchronize Other Nodes command in file menu, then a synchronizationoptions window as Picture 3-20 shows up
Picture 3-20All nodes in monitoring system are listed in this window Click the icons beforecertain 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 optionswindow, and the operation will log in Message Window
Click cancel button to call off the synchronization and quit synchronization optionswindow
Trang 33[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.
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 inNC2000 monitoring system
Trang 34On-line is a Boolean quantity Click icon before online command so that valueswitches between 0 and 1.
[Attention]When you’re editing inner properties of monitoring points, switch online value to 1.
Trang 35Click on pull-down logo of name of Selfstart Project Name in this window, so youcan see all projects in this node listed in dropdown box Choose one.
Click on OK to confirm operation or cancel button to cancel
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 treearea, monitoring point tabulate area and properties of monitoring points display areashow 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
Trang 36The 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 thetop 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’
Name of all plants are listed in root Usually there is an only branch but step power plants
Trang 37We can edit, query or modify the database branch in project tree conveniently.Monitoring point tabulate area and properties of monitoring points display areashow up only after you click on leafs in project tree Contents in Monitoring pointtabulate area and properties of monitoring points display area change according tochosen 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 namefolder 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
Trang 38Number of branches of unit, switch station and public system here are up tonumbers 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
Trang 393 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 sametime, monitoring point tabulate area and properties of monitoring points display areashow up below project directory tree area, as Picture 3-29
Trang 40All monitoring point names are listed in monitoring point tabulate area with serialnumber prefixed In properties of monitoring points display area are all properties ofmonitoring points in chosen basic database.
Double click on a leaf in ‘g1’ branch, then the leaf icon will turn in deep color Atthe same time, monitoring point tabulate area and properties of monitoring pointsdisplay area show up below project directory tree area, and in the configuration displayarea at the right side of database designer window, a floatable window pops up,displaying chosen basic database in tabular form, as Picture 3-30
Projects contents
areaPoint attribute area