1 System Management Software (StartUp)
1.1 General
In LN2000 DCS, system management software is an ever-running program (the interface of Startup application is shown in Figure 1.1-1), which is used to collect, sort and save the real-time data of the process stations and collect the start/stop statuses of all stations as well as share them with other applications through the common memory. Its functions also include the user management, initiating other programs, operating process stations and system synchronization.
Figure 1.1-1 User Interface of System Management Software STARTUP
1.2 Startup
Double click the icon of system management software Startup, a user register dialog box will pop up (as shown in Figure 1.2-1).
User name and Password are needed to be entered. After confirmation, the interface shown in Figure 1.1-1 comes out.
The user “administrator” is a super user with an initial password of “adm”. This user has entire operation authority of engineer station. The other names and passwords are set by the super user, and details are shown in “1.6-1 User Management”.
There are two operation modes: offline and online. During normal operation, the [online] mode should be selected. When no network adapter is installed and it is required to configure offline, the [Offline] mode should be selected. In offline mode, the buttons of the following functions required to operate in online condition will turn grey and be unable to operate: process station operation, trend display, alarm display, system diagnosis, system synchronization and file uploading.
[System Information] can diagnose the operation statuses of the two network adapters belonging to the two network segments of the computer. In case of indicating abnormal adapter operation, modification should be performed on time.
Figure 1.2-1 User Register Dialog Box
1.3 Startup Other Application
A program will be initiated by pushing the relative button of this program on the STARTUP interface. When any user authority is limited, its relative button will turn grey and this program is not initiated.
1.4 Operation of Process Control Station
A process station operation dialog box will pop up when pushing the button of a process station (as shown in Figure 1.4-1). Corresponding operation can be carried out depending on the status of master and slave stations.
1.4.1 Operation procedure
1. Select station number of the PU station to be operated;
2. Accomplish the following operation:
· Download database to the master station. The dialog box shown in Figure 1.4-2 will pop up after click. Choose whether confirm operation and click [confirm ] to confirm decision;
· Download database to standby station;
· Copy database from master station to standby;
· Transfer master and standby stations.
Figure 1.4-1 Dialog Box of Process Station Operation
Figure 1.4-2 Dialog box of downloading database to master station
Note:
1. In each operation, the statuses of PU master and slave stations to be operated will be self-tested automatically. Corresponding operation will be invalid when condition of any operation is not satisfied.
2. The dialog box shown in Figure 1.4-2 will pop up when selecting relative operation in Figure1.4-1. If selecting [Yes], the operation instruction will be performed; while selecting [No], the operation will be cancelled.
1.4.2 Operation Description
The station downloading operation is only performed for one process station once.
1. Download database to master PU station
Downloading database to master PU station can be selected when the process control PU station is in initial status or in single station operation.
2. Download database to standby PU station
Database and SAMA graphic can be downloaded to standby PU station (in following status) after modification of database configuration (add or delete data point) or SAMA configuration and the downloading period is about 10s. After downloading, transfer the master and standby station to activate the modified database point or control logic. Note that the contents of master PU station and standby PU station are different.
3. Copy database from master PU station to standby PU station
In self diagnosis program (Selftest), the contents of master and standby PU stations can be judged identical or not through the color state of process control station. The standby station may be in partly tracking status (tracking identical configuration section of master and standby stations) or initial status. To make the standby station in completely tracking status, the database should be copied to standby PU station from master PU station.
4. Transfer master and standby PU station
The function is to transfer the master PU station to standby PU station, and transfer the standby PU station to master PU station.
1.5 Synchronization
This function can automatically synchronize the historical station and the super user can manually synchronize the historical station.
Auto-synchronization: Automatic synchronization can be realized by online broadcasting the local time in a specified interval by the station (historical station) which has an identical IP address with that in the HisIP configuration file.
Super user manual synchronization: by clicking this button the local time will be broadcasted to whole network segment. The other computers’ local time will be modified as the broadcasted time.
Figure 1.5-1 successful indication of LN2000 synchronization
Then a dialog box indicating successful synchronization will pop up, as shown in Figure 1.5-1.
If GPS module is equipped, the synchronization will be carried out by the GPS system.
1.6 User’s Management
Figure 1.6-1 Super user management interface
The authority of other users can be added, modified or deleted by the super user, as shown in Figure 1.6-1.
1.7 File Uploading
The dialog box shown in Figure 1.7-1 will pop up when click the button [file uploading] in the main view shown in Figure 1.1-1, and then input the entire IP address (as shown in the File uploading dialog box).The uploaded files from process control station will be saved in relative station number under project\RUN in the local current route.
Figure 1.7-1 File uploading dialog box
Figure 1.7-2 Dialog box of successful file uploading
1.8 Exit System
The view shown in Figure 1.8-1 will be displayed after clicking the button [Exit System]. When select to reenter or exit system, the user verification dialog box will pop up (as shown in Figure 1.8-2).
Figure 1.8-1 Dialog box of exiting system
Figure 1.8-2 User Verification Dialog box of LN2000 DCS
LN2000 DCS user verification dialog box. With right password, a dialog box shown in Figure 1.8-3 will pop up and the system will be exited after confirmation.
Figure 1.8-3 Prompt dialog box of exiting system
2 System Database Configuration Software
2.1 Function of DATABASE
The function of LN2000 system configuration software is to configure network, module, process station and all data points as well as to online search and modify the current value and status value of data points.
Click the button [system database] in the main view shown in Figure 1.1-1, and then an LN2000 system database interface will be displayed as shown in Figure 2.1-1.
Figure 2.1-1 System database configuration software interface
2.2 Interface Introduction
Interface mode is shown in Figure 2.1-1 with 2 split views. The left view in tree structure indicates the configuration information of process stations and modules of individual process stations. The right one shows all the information of data points of currently selected location or current polling results.
Menu items are shown in the following figure (as shown in Figure 2.2-1).
Figure 2.2-1 Menu Items
Except providing configuration functions of process station data points, the system database also provide data interface with other DCS products. LN2000 system can communicate with other DCS systems via this interface.
Interface variables can be defined in [External Data], including analog variable and digital variable (as shown in Figure 2.2-2).
Figure 2.2-2 External Data window
2.3 Function Description
2.3.1 Import and Export
By selecting the “Import” item in “File” menu, an Excel data sheet file (i.e. I/O point table) formed as per predefined template can be selected, where system database can be imported in.
By selecting the “Export” item in “File” menu, the system database will be exported to an Excel file as per predefined template.
NOTE:
· Please create the Excel table used to import data as per LN2000 “Import Template” which is located in the current route of the LN2000 executable file;
· Importing operation can be performed in several times and tables. But each Excel table file can only use Sheet1;
· The first three lines will not be used during importing and notes can be marked there;
· Serial number must be added and the number should not be 0;
· Relative position will be left empty if any type of data item is short of any parameter (e.g. the AI data item is short of “Clear Description”);
· The definition of “Group” is group number. If the number is not 0, it is necessary to previously define the alarm group in the system database. if the input variable is not defined in the alarm group, its value will be default value 0 meaning no group is defined;
· The parameter value of “Initial patrol inspection”, “alarm shielding” and “SOE point” can be “yes” or “no”, which can be input as “Y”/ “y” or “N” / “n”.
· Only 0~3 integral values can be input for “Alarm Level”,” Alarm Method” and “Filter Method” and the alarm levels (normal, sub-emergent, emergent and super-emergent) respectively correspond to 0, 1, 2 and 3; alarm method saving, sounding and saving and sounding respectively correspond to 0, 1 and 2; the filter methods (no filtering, median filtering, average filtering and weighted filtering) correspond to 0, 1, 2 and 3 respectively.
· The “Initial Value” of logic type data points (DI, DO and DM) should only be 1 and 0 and the input format of time variable (IM) should be “10h20m30s” only using small letters;
· The “Transfer Type”, for resistance thermometer should be 0 to 4 according to Pt50, Pt100, Cu50 and Cu100 resistance, and for thermocouple (TC) should be 0 to 10 according to type B, J, K, R, S, T, E, N, +/-25mV, +/-55mV and +/-100mV.
· After successfully imported, basic address of network segment should be set the same as the basic address of A network through “Station Configuration”.
2.3.2 Station Operation
If system database is not created via “import I/O data Excel table” function, it is necessary to configure the process station manually.
Select “Add Process Station” under the menu “Station Configuration” or relative button on the toolbar, or right click any position on the left tree structure view, and select “Add Station” item to open a dialog box (as shown in Figure 2.3-1) so as to choose station type and input station properties. The newly added process station will be displayed on the left tree structure view while the engineer and operator stations will not be displayed in the view.
Figure 2.3-1 Dialog box of adding a new station
Figure 2.3-2 Dialog box of station configuration overview
2.3.2.1 Station Configuration Overview
By selecting the “Station Configuration Overview” under the menu of “Station Configuration”, the dialog box of “Station Configuration Overview” can be opened (shown in Figure 2.3-2), and then the detailed configuration information can be displayed as well as the configuration information can be printed.
2.3.2.2 Add Process Station
Select the item “Add process Station” under the menu “Station Configuration”, a dialog box of “Add a new station” will be displayed. After setting parameters of station number, description, reference time, control cycle, interstation broadcast cycle and CAN network adapter Baud rate etc., the button “Confirm” can be clicked.
“Description” is the functional description of this process station;
“Reference Time” is the minimum unit of SAMA Graphic control cycle and for time distribution during database interstation broadcasting, in millisecond;
“Control Cycle” is operational cycle of SAMA Graphic control logic and the integral multiple of the reference time;
“Interstation Broadcast” is the cycle period of database interstation broadcast and also the integral multiple of the reference time. The station will broadcast the interstation data for calling of other stations with an interval equal to the cycle;
“CAN network adapter rate” is the communication rate of LN series intelligent I/O modules selected for this station, it can be selected from 500K, 1000K, 100K and 20K.
Figure 2.3-3 Dialog box of adding process station
2.3.2.3 Delete Process Station
By clicking the relative station number in the left tree structure view and selecting the item “Delete process station” under the menu “Station configuration”, or right clicking relative station number after select the item “Delete process station” in the shortcut menu, a dialog box of deleting station will pop up (as shown in Figure 2.3-4).
Figure 2.3-4 Verification of dialog box of deleting process station
2.3.2.4 Setting of Station Property
To modify the property of existing stations, right click the relative station number and select the property in the popped up shortcut menu; it is also available to select the station to be modified and then select “Property” in the menu “Edit” while a station property dialog box will pop up.
The following basic configuration information can be modified from this dialog box: description, reference time, control cycle, interstation broadcast cycle and CAN adapter communication rate.
Figure 2.3-5 setting of process station property
2.3.3 Module Operation
There are 9 kinds of data type to be set for modules: analog input (AI), resistance thermometer (RT), thermocouple (TC), analog output (AO), digital input (DI), digital output (DO), amount magnitude (AM), logic magnitude (DM) and time magnitude (TM).
The following variables analog input (AI), resistance thermometer (RT), thermocouple (TC), analog output (AO), digital input (DI) and digital output (DO) are from relative LN intelligent modules in field control cabinets. Relative module should be selected prior to adding a data point.
While, the variables amount magnitude (AM), logic magnitude (DM) and time magnitude (TM) are intermediate variables to be called by SAMA Graphic configuration in individual stations. To add a new data point, it is only required to double click the relative right area.
External data are the interface between LN2000 DCS and other DCS products via which LN2000 system can exchange data with a third software. To add a new data point, it is only required to double click the relative right area.
2.3.3.1 Add Module
Select process station on the left tree structure view; select type of the module to be added; select “Add module” in the menu of “Module configuration” or click relative button on the toolbar; open dialog box of “Add module” (as shown in Figure 2.3-6), and then input properties of the module.
Newly added module will be displayed under relative type.
Figure 2.3-6 Dialog box of adding a module
2.3.3.2 Delete Module
Click the module to be deleted in the left tree structure view and select item “Delete module” in the menu of “Module configuration”. Click the “confirm” button while the dialog box shown in Figure 2.3-7 pops up.
Figure 2.3-7 Prompt dialog box of deleting of a module
2.3.3.3Module Configuration Overview
By selecting the item “Module configuration overview” in the menu of “Module configuration”, the dialog box of “Module configuration overview” can be opened (as shown in Figure 2.3-8). Detailed configuration information of all modules will be displayed and can be printed as well.
Figure 2.3-8 Dialog box of module configuration overview
2.3.4 Data Point Operation
2.3.4.1 Add Data Point
Select the process station in the left tree structure view and then select the data type to be added.
For variables analog input (AI), resistance thermometer (RT), thermocouple (TC), analog output (AO), digital input (DI) and digital output (DO), the module number is needed to be selected after the tree structure is expanded, and double click the blank area in the right list view to open data property dialog box; or right click to select item “Add data point” from the pop uped menu; the data point property dialog box can also be opened by selecting item “Add data point” in the menu of “Data point configuration” or clicking relative button on the toolbar (as shown in Figure 2.3-9). Newly added data point will be displayed in the right list table view.
For variables as amount magnitude (AM), logic magnitude (DM) and time magnitude (TM), it is unnecessary to set relative numbers. While adding these data points, the data point can be directly added after selecting relative data types and opening data point property dialog box via double clicking on the blank area of the right list view. The dialog box is as shown in Figure 2.3-10.
Figure 2.3-9 Dialog box of adding a data point
Figure 2.3-10 Dialog box of adding an external data point
2.3.4.2 Delete Data Point
Select data point to be deleted from the right list view and select item “Delete data point” from the menu of “Data point configuration” or click relative button on the toolbar, and or directly push key “Delete”; click “Confirm” button in dialog box as shown in Figure 2.3-11.
Figure 2.3-11 Dialog box of “Delete data point”
2.3.5 Alarm Group Setting
The functions of adding, inserting, modifying and deleting alarm groups can be accomplished by selecting item “Alarm group setting” in the menu of “Edit” and opening dialog box of “Alarm group setting” (as shown in Figure 2.3-12).
Figure 2.3-12 Dialog box of “Alarm group setting”
2.3.6 Edit
Cut, Copy and Paste: Cut, Copy and Paste functions can be performed on the data points. For Cut and Copy functions, relative data points should be selected previously. Several data points can be selected by pushing key “Ctrl” or “Shift” and be operated. The function Paste can be operated on current position or other similar position. Relative menu items of Cut, Copy and Paste functions are listed in the menu of “Edit”.
Property: for process stations, modules and data points, their properties can be displayed or modified by selecting item “Property” in the menu of “Edit” or clicking relative button on the toolbar or right clicking on relative positions and selecting item “Property” from the popped up dialog box.
2.3.7 Search and View
Select Display Column: normally, only several main property items of each data point are shown in the list view. Thus to display other property item, the item “Select Display Column” in the menu of “View” should be selected to open the dialog box as shown in Figure 2.3-13 and then select or delete relative columns. New property items will be displayed in the right list view.
Figure 2.3-13 Dialog box of “Select Display Column”
Search: dialog box of Search function (as shown in Figure 2.3-14) can be opened by selecting item “Search” in menu “View” or clicking relative button.
The search condition can be set as one of the following three conditions: “Name”, “Description” and “Subgroup number”.
Search position can be “Current position”, “Current station” or “All position”, which is combined in the search condition.
Search result will be displayed in the right view and the “Condition search” node will be temporally displayed in the left view. When other nodes are selected, the node “Condition search” will be automatically deleted.
Note: i. letters are case sensitive; ii. No letter included means all-selected.
Figure 2.3-14 Dialog box of point search
Single point search: dialog box of single point search (as shown in Figure 2.3-15) will be opened after item “Single point search” in the menu “View” is selected or relative button on the toolbar is clicked.
Figure 2.3-15 Dialog box of “Single point search”
2.3.8 Online
Online data point monitoring and parameter modification can be realized by selecting item “Online” in the menu “File”. Online status can be cancelled when the item is selected again.
The current value, status and individual alarm parameters can online refreshed. In online condition, statuses are described in characters, e.g. “Normal”, “Bad”, “Alarm” etc..
When system is in online status, different colors will be used to indicate the status of sampled data point. Red refers to fault or alarm; pink refers to data point forcing; Blue refers to normal. It is as shown in Figure 2.3-16.
Online modification: when system is in online status, double click a certain data item or select a certain data item and select the “Property” item in the menu of “Edit”; open the dialog box of data item property; after modification, indication shown in Figure 2.3-17 will pop up for confirmation.
Note: the parameters of the point in database will go into effect after online modification. The parameters modified offline will function effectively only if the parameters are compiled and downloaded.
Figure 2.3-16 Online display of system database
Figure 2.3-17 Dialog box of online database modification
When the database is in online status, the database configuration parameters of master and standby stations can be modified at the same time by clicking the “Confirm” button in the point property dialog box. If the standby station is not started, a prompt dialog box indicating failure to change parameters of the standby station will pop up and the configuration parameters of the master and standby stations will not be identical. When the standby station operates normally, the database of the master station should be copied to the standby station.
In case no attempt to modify parameters online, please do not click the “Confirm” button on the dialog box of point property.
Force and Force-cancellation functions: when database is online, the Force function can be used to force the value of data points. The Force operation is effective for both mater station and standby station (in tracking status). If the standby station is not started, a prompt dialog box indicating failure to force parameters of standby station and the configuration parameters of master and standby stations will not be identical. Forced points of master station will be automatically backed up when the standby station operates in normal condition. If there is any other modification, it should be copied by master and standby stations.
2.3.9 Print
Print setting: parameters of printer can be set by selecting item “Print setting” in the menu of “File”.
Margin setting: print margin can be set by selecting item “Margin setting” in the menu of “File”.
Print, Print Preview: current indicated results in the right list view can be printed or previewed.
3 SAMA Graphic Configuration Software
Continuous and sequence control functions of LN2000 system are both performed by the SAMA Graphic system. SAMA Graphic is used to combine functional algorithm blocks internally defined as per required operational processing logic and download them to process control station LN-PU after compiling for calling and execution.
SAMA Graphic configuration system provides user convenient human-machine interfaces for creating, editing and compiling SAMA Graphics. SAMA Graphic configuration is carried out as per pages. Supported by this software, the compiling of programs is transferred to the organization and drawing of algorithm blocks. It is only required to select algorithm blocks from block library and connect these blocks with signal lines as per specified data processing flow.
Figure 3.2-1 Startup interface of SAMA Graphic configuration software
3.1 File Route Configuration Requirement of SAMA Graphic
There should be two folders under the “Project” folder in the current route of SAMA Graphic configuration software. The folder DataBase contains database files from which database information is read by the SAMA configuration software. Meanwhile, the folder Fbd is used to contain files for SAMA Graphic (file for number 1 station is named as sama_1.fbd, and the rest may be deduced by analogy), to provide information used for lower computers (information file used for graphic configuration software of No. 1 station is called graph_1.fbd, and the rest may be deduced by analogy).
3.2 Startup of SAMA Graphic
System management software StartUp.exe and should be initiated firstly prior to the startup of SAMA Graphic configuration software so as to access LN2000 main control view. Click the button “SAMA Graphic configuration” and then it will enter the startup interface of SAMA Graphic configuration software (as shown in Figure 3.2-1). Click the station number in the list dialog box of “Please select station number” and click the “Confirm” button (or double click the target station number in the list dialog box), and then it will enter the edit display. Before performing detailed SAM configuration, relative station file should be opened (if exists. Otherwise, the new station file should be created by adding a process station from database).
3.3 File Operation
All items for file operation are listed in the main menu of “File”: “Station switchover”, “Save”, “Print”, “Print Preview”, “Print setting”, “Set project name”, “Upload lower operation file”, “Save as other station” and “Exit”. The menu is shown in Figure 3.3-1.
Figure 3.3-1 “File” menu of SAMA Graphic configuration system
3.3.1 Station Switchover
Station switchover is accomplished via file operation. Click item “Station switchover” in the menu of “File”; if the station is modified but not saved, a dialog box will pop up promoting whether to save the modification. The station number can be selected after confirmation (as shown in Figure 3.3-2). The dialog box is identical to the one at the initiation of the software.
Figure 3.3-2 Prompt dialog box of station switchover
3.3.2 Save of File
Station configuration information can be directly saved in the Fbd folder under the current route of SAMA Graphic configuration software by clicking item “Save” in the menu of “File”. (Files are copied to the Fbd folder of the project subdirectory under current route of SAMA Graphic configuration software with a name format sama_n.fbd, where n refers to station number).
Figure 3.3-3 Print preview interface of “Transverse”
Figure 3.3-4 Print preview interface of “Longitudinal”
3.3.3 Print
Files will be printed on A4 papers with a title block including company mark “Shandong Luneng Control Engineering Co., Ltd.”, “Design”, “Approve”, “Date”, Project name, Page description and “Drawing Number”.
Project name should be set in the dialog box of “Set project name” (as shown in Figure 3.3-5) before printing by clicking item “Set project name ( )... ” in the menu of “File”.
Figure 3.3-5 Dialog box of “Set project name”
The print preview interfaces of “Transverse” and “Longitudinal” are respectively shown in Figure 3.3-3 and Figure 3.3-4.
3.4 Edit Function
“Edit” menu of SAMA Graphic configuration system is shown in Figure 3.4-1.
Figure 3.4-1 “Edit” menu of SAMA Graphic configuration system
3.4.1 Algorithm Block Selection and Operation
Edit functions in common use include Cut, Copy, Paste, Delete and Select all.
To select blocks in a certain area, drag the mouse to select the range and make the blocks and lines in checked status as shown in Figure 3.4-2. The edges of selected blocks and lines are marked with red squares to separate them from unselected blocks.
Operations of Cut, Copy, Paste and Delete can be performed on selected algorithm blocks.
Figure 3.4-2 Algorithm block “Select” operation of SAMA Graphic configuration
3.4.2 Search
Algorithm Blocks linked to database points can be searched via this function.
Select item “Search” in menu of “Edit”(as shown in Figure 3.4-1), or click “Search” button on the toolbar, and then a dialog box of “Search target algorithm block” (as shown in Figure 3.4-3) will pop up, which is a non-mode dialog box (i.e. it can be operated at other locations while it is opened).
Figure 3.4-3 Dialog box of “Search target algorithm block” Figure 3.4-4 Display of Search results
This dialog box is composed of three sections: nominated search object combined dialog box, search button and search result list. For the drop-down object search combination dialog box, the followings are included:
All analog input points (AI);
All analog output points (AO);
All resistance thermometers (RT);
All thermocouples (TC);
All digital input points (DI);
All digital output points (DO);
All amount magnitude points (AM);
All logic magnitude points (DM);
All time magnitude points(TM);
All normalized analog input points among stations (NAI);
All normalized analog output points among stations (NAO);
All normalized digital input points among stations (NDI);
All normalized digital output points among stations (NDO);
All forced and retained algorithm blocks
There are totally 14 items. All algorithm blocks linked to specified points in the database will be displayed in the search result list (as shown in Figure3.4-4) by selecting one of the foresaid items and pushing the “Search” button or the key “Enter”; double click the algorithm block (e.g. Page:1 Block:3), and the page where the block is located will be found and the block will also automatically be in selected status.
In addition, by inputting point name in the combined dialog box and pushing the “Search” button or the key “Enter”, the relative block will be displayed in the list if the algorithm block is linked to specified point; otherwise, “no target block is found” will be displayed in the list dialog box, providing this point is not in the database.
3.4.3 Number Statistics of Algorithm Block
The dialog box of “Algorithm block statistics” (as shown in Figure 3.4-5) will pop up when the item “Algorithm block counting” in the menu of “Edit” is selected. This dialog box is a non-mode dialog box (i.e. it can be operated at other locations while it is opened).
The times that all algorithm blocks are used are detailed in the dialog box by the system in accordance with block types. Times of usage of individual algorithm blocks under each group will be displayed by clicking the icon . In the lowest layer of the structure, page number and block number of each block are shown. Double clicking the item aforesaid, the page where the block is located will be called automatically by the system and the selected block will be in selected status.
Figure 3.4-5 Prompt dialog box of algorithm block statistics
3.5 Search Function
This function is used to select items to be displayed in the SAMA configuration interface from the following: tool bar (displayed default), status bar (displayed default), mesh (undisplayed default), frame (undisplayed default) and algorithm block number (displayed default).
Search menu is shown in Figure3.5-1.
Figure 3.5-1 Search menu of SAMA Graphic configuration
If the icon is shown in front of a menu item, then the item is in the selected status and its relative content will be shown in the interface of SAMA Graphic configuration; otherwise, the menu item is in a cancelled status when there is no icon in front of this item and its content will not be displayed.
Among these options, the items [Mesh] and [Algorithm block number] can affect the print output, i.e. if the item [Algorithm block] is selected, then the algorithm block number will be printed in case of printing of SAMA Graphics; if this item is cancelled, the algorithm block number will not be printed out.
The item [Frame] does not affect the print output, i.e. the frame will be printed out no matter this item is selected or not. If this item is selected, then the frame will be displayed in the SAMA graphic configuration interface. In case of configurating an algorithm block, it should be put inside the frame. If it is put outside of the frame, these algorithm blocks will be printed outside of the frame, even not printed out (print output can be browsed via Print preview).
3.6 Creation and Edition of Algorithm Block and Connection Line
algorithm blocks are divided into 9 groups: signal source block, input and output block, mathematics calculation block, logic block, selection function block, control function block, time function block, linear block and nonlinear block. For details of such algorithm blocks, please refer to relative content in the “LN2000 Algorithm Block Manual”.
3.6.1 Creation of Function Algorithm Block
Click any item in the dropdown menu “Function algorithm block” in the main menu, or click relative item in the tool bar, a tool bar will pop up on the left screen containing all blocks belonging to selected function block group. Description of functional algorithm block will appear when the mouse is moved to the tool bar. Click the block required for selection and move the mouse to the drawing area, then the cursor will turn to a cross shape and a target block can be drawn by clicking the left key.
3.6.2 Creation of Connection Line
The operation relationship between blocks is indicated by the connection lines between blocks, which is an important part in SAMA Graphic. There are two kinds of connection line: solid line and dotted line, which respectively refer to analog signals and digital signals. In this SAMA Graphic configuration software, there are two ways to create a connection line. one way is to move the mouse to the area where the algorithm blocks can be connected by lines (input end is indicated by an arrow and output end is indicated by a triangle), press left mouse button (the cursor turns to a cross shape) and move the mouse to create a connection line; the other way is to move the mouse to the area near connection lines, press right mouse button (cursor will turn to a cross shape) and then move the mouse to create a connection line.
3.6.3 Edition of Function Block Property
3.6.3.1 Edition of Normal Algorithm Block Property
Most of the function blocks are not connected to the database, thus having no contact with blocks on other pages and stations. Property edition of this kind of algorithm block is described below taking “Add function block” as example, as shown in Figure3.6-1.
Where, the page number of a block is created automatically and can not be modified.
The series number of algorithm block in this page can be modified. If the modified series number has existed, prompt information will be displayed when pressing “Confirm” button.
The input end of an algorithm block can be empty and the initial value of an empty input end can be set (if the value is not modified manually by the user, the empty end will be set as default value) which will be used in case of lower station calculation.
Figure 3.6-1 Property dialog box of add function block
If the input end of an algorithm block is connected with a line, its relative edit column will turn grey and be unchangeable, e.g. AI1 shown in Figure3.6. Then other parameters of the algorithm block can be set.
3.6.3.2 Property Edition of Algorithm Block Connecting to Database Point
The analog input function block, analog output function block, digital input function block, digital output function block, value function block, logic function block and time function block of the input and output function block and the PID control function block, analog manual station function block, digital manual station function block and setting value function block(as shown in Figure3.6-2)£İof the control function block group should be connected to database points. A list of required database points is contained in the property dialog box of these function blocks and the information of these database points is read from the database files.
Figure 3.6-2 Algorithm block required to connected to database points
Figure 3.6-3 Function block property dialog box of analog output end
Each of the following points in the database: such as analog output, digital output, value, logic and time points which have output feature shall only refer to one algorithm block in the SAMA graphic.
To minimize faults during configuration, those data points which have been connected to other algorithm blocks shall be deleted from the data list in the property dialog box (as shown in Figure 3.6-3) of the algorithm blocks which will be connected to these points. In doing so, no repeating with other algorithm blocks will take place when selecting data points and the possibility of configuration fault will be greatly reduced.
3.6.3.3 Property Edition of Connection Block between Pages
Configuration may be required to be carried out in several pages because of large amount of algorithm block in a station. The transmission of relative data between pages is performed by calling algorithm blocks.
The parameters to be called by other pages should be connected to the output ends (including digital and analog output ends) between pages. The input ends between pages are used to call values from other pages. The calling input ends between pages perform the calling according to the page number of specified output algorithm blocks and block numbers in the current page.
Connection error will be diagnosed by the system during configuration and compiling. Prompt for related error items will be given by the system in case of errors.
Relative algorithm blocks include: analog input algorithm block PAI for interpage calling, analog output algorithm block PAO for interpage calling, digital input algorithm block PDI for interpage calling and digital output algorithm block PDO for interpage calling. For detailed use of these blocks, please refer to relative information in [LN2000 Algorithm Block Manual].
3.6.3.4 Property Edition of Connection Algorithm Block between Stations
Data transmission between stations is carried out by the algorithm blocks used for interstation switchover.
The parameters to be called by other pages should be connected to the output ends (including digital and analog output ends) between pages. The input ends between pages are used to call values from other pages. The calling input ends between stations perform the parameters calling according to the station numbers and page numbers of specified output algorithm blocks and block numbers in the current page. Connection error will be diagnosed by the system during configuration and compiling. Prompt of Relative error items will be indicated by the system in case of errors.
Relative algorithm blocks include: analog input algorithm block NAI for interpage calling, analog output algorithm block NAO for interpage calling, digital input algorithm block NDI for interpage calling and digital output algorithm block NDO for interpage calling. For detailed use of these blocks, please refer to relative information in [LN2000 Algorithm Block Manual].
3.6.4 Jumping of Connection Algorithm Block between Pages
The analog input ends and digital input ends used for interpage switchover should be respectively connected to analog output ends (PAI, PAO) and digital output ends (PDI, PDO) which are also used for interpage switchover.
The page number and serial number in its page of the output end will be indicated on the input end algorithm block after the input end is connected to an output algorithm block. An identical figure as the output algorithm block will appear at the right side of the block showing the input end to be output.
If the parameters of an output end are output to several input ends, then there will be several figures identical to the block on its right side indicating the input end to be output.
It can jump between input ends and output ends via the Jump function. The item “Jump to calling” in the menu of “Edit” will be available if the selected algorithm block contains algorithm blocks used for switchover between pages. The jumping between algorithm blocks used for interpage transfer can be realized.
If several algorithm blocks are selected, which are available for interpage switchover, a selection dialog box will pop up for selecting algorithm block for Jump operation (as shown in Figure3.6-4).
When the value of an output end is to be output to several input ends, a dialog box will pop up for selecting target input end (as shown in Figure3.6-5).
Figure 3.6-4 Interpage Switchover (I)
Figure 3.6-5 Interpage Switchover (II)
3.7 Page Operation
The items “Interpage switchover”, “Create New Page”, “Delete Page” and “Page Property” will show up when pulling down the item “Page operation” in the main menu. These items are also accessible by right clicking in the blank of client area to pop up a floating menu (shown in Figure3.7-1).
Figure 3.7-1 Right button floating menu during
SAMA graphic configuration
3.7.1 Page Switchover
Figure 3.7-2 Dialog box of page switchover
The dialog box of page switchover is shown on the right side of the screen similar to the dialog box of searching target algorithm block, which is not modal dialog box. The page switchover dialog box contains a page list where the page numbers and description of pages are displayed (as shown in Figure3.7-2).
Interpage switchover can be easily performed by clicking target page in the list. Especially, because of the non-modal property, it is not necessary to close the page switchover dialog box during SAMA graphic configuration for more convenient operation.
3.7.2 Create New Page
The dialog box of creating a new page is shown in Figure3.7-3. As opening the dialog box, a new page number will be given by the page number edit box and the number equals to the largest number plus 1.
Note: new created page numbers can be modified but it will not be identical to existing numbers.
Press the “Confirm” button after inputting page description and page operational cycle.
Figure 3.7-3 Dialog box of creating a new page
3.7.3 Delete Page
The “Delete” function is always performed on the current page. An error dialog box will pop up when there is only one page during performing this function. Before deleting a page, prompting information will show up for confirmation (as shown in Figure3.7-4). After confirmation, all algorithm block in this page will be deleted as well.
Figure 3.7-4 Prompt information box of deleting a page
3.7.4 Page Property
The page property dialog box is used to edit page description (as shown in Figure3.7-5).
Figure 3.7-5 Dialog box of page property
3.7.5 Zooming of Page
There is a combo box on the tool bar. “100%” will be displayed in the box when the program starts indicating that the page is in normal size.
Pull down the combo box, and the 5 options of “400%”, “200%”, “100%”, “50%” and “25%” will show up (shown in Figure3.7-6). The size of the page can be zoomed by selecting one of the options, and the size of the algorithm blocks will be changed at the same time.
In addition, the page can be zoomed in any scale. Input proper number into the combo box and press key “enter”, and then the size of page will change as specified value. e.g., input “123.45” and press key “enter”, “123.45%” will be displayed in the combo box and the page is zoomed to 1.2345 times of the original size.
Only digital input can be accepted in the combo box.
Figure 3.7-6 Zooming of pages
3.7.6 Text Label Tool
There is a text label tool on the left side of the page zooming combo box, which can be used to insert necessary text description on the position required to be labeled of the SAMA graphic. It is shown in Figure 3.7-7.
Figure 3.7-7 Text function block view
3.8 Compile
When selecting the item “Compile” in the menu of “Compile”, the system will prompt whether perform total compiling or single station compiling as shown in Figure3.8-1. Compiling will start after confirmation.
After compiling is finished, system will prompt successful compiling as shown in Figure3.8-2.
Figure 3.8-1 Dialog box of compiling property
Figure 3.8-2 prompt box of successful compiling
3.8.1 Function of Compiling
After configuration of SAMA graphic, it is required to compile to check the error of SAMA configuration and create downloading files and files used for graphic configuration software.
3.8.2 Compiling Process
Firstly, the connection between input and output function algorithm blocks and database points will be checked. If there is no connection, it will prompt error and an error prompt dialog box will pop up indicating the fault algorithm block. After confirmation by clicking, it will switchover to the page where the block is located, and the block will be automatically selected. It is very convenient to locate the fault algorithm block.
Secondly, check the analog input ends and digital input ends used for interpage connection have been connected with relative output ends. If not, error prompt will show up and this situation will make the SAMA graphic incomplete.
Finally check that the algorithm blocks to which the analog input ends and digital input ends used for interstation calling connect are the relative output ends. If not, error prompt will show up.
After diagnosis, the relationship between algorithm blocks will be determined and these blocks will be sorted as per advanced control principle, and then the block information will be saved in files in accordance with the algorithm block operation sequence.
3.9 Commissioning and Online Parameter Modification
3.9.1 Commissioning Operation
When initiating “StartUp”, the item “Commissioning Operation” in the menu of “Commissioning” will be available if “Online running” is selected, otherwise, this item will be gray and invalid.
System will be in commissioning operation status when “Commissioning Operation” is selected as shown in Figure3.9-1. With the online commissioning function, online supervision of input and output data of blocks and online modification of block parameters can be realized.
Then the current output value will be indicated on the output end of a block with the font in blue.
In addition, connection lines for digital parameters are distinguished by different colors making the trend of a line more visible. Red line refers to “1” and blue line refers to “0”.
When SAMA is online, the configuration parameters of a block in the master and standby station can be online modified by clicking the “Confirm” button in the algorithm block property dialog box. If the standby station is not initiated, prompt will be displayed for failed parameter modification of the standby station. The configuration parameters of master and standby station will be in discrepancy. The parameters should be copied from the master station to the standby station when the latter is in normal operation.
Do not press the “confirm” button in the property dialog box, if not intend to modify parameters online.
The modified SAMA graphics and parameter settings in offline status should be downloaded for operation (i.e. Only the modified parameters in commissioning status are available, modification in other cases should be recompiled and downloaded, otherwise the modification is invalid.).
Figure 3.9-1 “Right button floating menu” during online operation
commissioning of SAMA graphic configuration
3.9.2 Online Parameter Modification of Algorithm Blocks
The parameters of algorithm blocks can be online modified in commissioning operation status. Modify the parameters of the algorithm block by pop up of the property dialog box. After pressing the “Confirm” button in the dialog box, the modified parameters will be transmitted to the relative running master and standby stations. The process station will accept the modified parameters and operate according to these modified parameters.
3.9.3 Force and Retain the Output Value of an algorithm Block
In commissioning operation status, the output values of algorithm blocks can be forced and retained. A floating menu will pop up when right clicking the algorithm block to be forced or retained (as shown in Figure3.9-1). There are two items for selection: [Force block output] and [Retain block output] while the items [Cancel output forcing] and [Cancel output retaining] are invalid.
During commissioning operation, if a selected algorithm block has output, then the items [Force block output] and [Retain block output] are available.
When item “Force block output” is selected, if the block has several output values, a dialog box will pop up for selecting items to be forced, and then a dialog box will pop up for setting value.
When the output of block is in forced status, the color of the output font will be red and the color of the forced block will be pink as shown in Figure 3.9-2.
When item “Retain block output” is selected, if the block has several output values, then a dialog box will pop up for selecting output value to be retained.
When the output of block is in retained status, the color of output font will be green as shown in Figure3.9-3.
If the outputs of forced block or retained block are set, the items [Cancel output forcing] and [Cancel output retaining] are available.
Figure 3.9-2 Schematic diagram of forced block output Figure 3.9-3 Schematic diagram of retained block output
Force and cancel force function: when SAMA is online, the force function is available for forcing output setting of algorithm blocks. The force operation is valid for master and standby (in tracking status) stations. If the standby station is not initiated, prompt will be displayed for failed parameter modification of the standby station. The configuration parameters of master and standby stations will be in discrepancy. The parameters should be copied from the master station to the standby station when the latter is in normal operation.
4 Operating Instruction of Graphic Configuration Software
4.1 Function Description
This application is used to draw monitoring graphics of the operator station. It is a 32 bit application running under the operating system of Win98 or Win2000, providing various basic drawing tools, such as for straight line, rectangle, rounded rectangle, ellipse, sector, polygon, polygonal line, 3-diamension picture, word and bit map. Dynamic data points connecting tools are also provided, such as for analog points, digital points, bar chart, pointer, real time curve, XY curve and alarm. The operator monitoring graphic can be simply drawn via the mouse. All basic drawing elements have dynamic property connection and change color, blink, hide and move depending on the status of dynamic data points connected. Abundant edit functions are also provided, which greatly improve working efficiency. The software has navigation map function, which can help user to clarify the relationship between layers of graphics when drawing graphics, so as to changeover graphics easily.
4.2 Program Interface
Please initiate the main control software StartUp.exe before start graphic configuration software. And then click the graphic configuration button to start up configuration software and enter startup interface (as shown in Figure4.2-1).
Figure 4.2-1 Interface of graphic configuration software
4.2.1 Tool box
After initiation of the software, pull down the item “Tool (T)” on the main menu and select “Display tool box”. Then the following dialog box will pop up (as shown in Figure4.2-2).
Figure 4.2-2 Dialog box of “Tool Box”
The functions will be described from left to right respectively starting from the first line.
Basic primitive drawing elements tools: selected, straight line, rectangle, rounded rectangle; ellipse, sector, polygon, polygonal line; word, clock, dynamic data (analog point), digital point; barchart, pointer, realtime curve, XY curve; button, hot spot, alarm, bit map, 3-diamension graphics.
Edit tool: graphic property, cut, copy, paste; create, open, save, snap to grid; undo, redo, turn over, select all; flush left, flush right, top, bottom; level center, vertical center, identical width, identical height; identical size, equal level interval, equal vertical interval, graphic primitive forward; graphic primitive backward, group, split.
Other tool: full screen, import graphic library, cursor position, color palette display.
The items in the tool bar are also listed in relative menu.
4.2.2 Color Palette
After program initiation, pull down the “Tool (T)” from the main menu and select “Display Color Palette”, and then a dialog box will pop up as shown in Figure4.2-3.
Figure 4.2-3 Dialog box of “Color palette”
There are various color blocks in the color palette. Foreground color (fill the frame of figures like rectangle, ellipse, rounded rectangle, polygon and sector) can be selected by left clicking the color block, while background color (filling color of figures) can be selected by right clicking the color block.
The selected foreground color and background color will be directly displayed by two color rectangles on the top right side.
In case more colors are required, those can be selected by double left clicking the blocks (for foreground color) and double right clicking the blocks (for background color). In this way, the color can be customized as shown in Figure 4.2-4 “Color” dialog box.
Figure 4.2-4 “Color” dialog box
4.3 Menu Item
4.4 File Operation
The graphic files of graphic configuration software are saved in the subdirectory of current working path \Project\Graph. There are two kinds of file: operator traced drawing file with an extension name of .grap and window file with an extension name of “.wnd”.
4.4.1 Open File
Click the open button in toolbar, a file selection dialog box (as shown in Figure4.4-1) will pop up. In addition, this program and the file can be opened by double clicking any file with an extension name of .grap.
Figure 4.4-1 Dialog box of “Read-in primitive”
When the file type is LN2000 traced drawing, the traced drawing file with an extension name of .grap will be displayed in the blank box. The file can be opened by double clicking.
When the file type is LN2000 window file, the window file with an extension name of .wnd will be displayed in the blank box. Relative file can be opened by double clicking.
Figure 4.4-2 Picture of saving a graphic primitive
4.4.2 Save File
Modified content will be automatically saved by clicking the save button.
Click the item “Save as” in the “File” menu, a dialog box will be displayed as shown in Figure4.4-2. Click the [Save] item after modifying the file name.
4.5 Set Graphic Property
Normally, the graphic property should be set before making a new graphic. Press the button graphic property on the toolbar, and a dialog box will be popped up as shown in Figure4.5-1.
Figure 4.5-1 Dialog box of setting graphic property
Input the graphic name and select background color of the graphic. For graphic layer and upper layer name, please refer to the navigation map instruction in the following chapters.
4.6 Utilization of Basic Primitive Tools
4.6.1 Selection Tool
4.6.1.1 Operation of a Single Primitive
The primitive can be selected by the selection button in the toolbar. The normal way to select target is just moving the cursor on the primitive to be selected and press the left button of the mouse. Then several boxes will be displayed on the four corners of the primitive, which are called handles (meaning this graphic primitive is selected). Meanwhile, the formal selected targets (if any) will change to unselected status. Click the blank area then no target will be selected.
Another way to select a primitive is dragging a rectangle covering the target primitive. To catch the primitive, locate the cursor in the blank area, press the left mouse button and drag it creating a dotted line rectangle. When the primitives to be selected are all in the broken line frame loose the mouse.
When a primitive is in selected status and the selection button is pressed, the primitive can be moved by pressing left mouse button and moving it.
When a primitive is in selected status and the selection button is pressed, the primitive can be zoomed by pressing the left mouse button on the four corner handles and moving the mouse.
4.6.1.2 Operation of Several Graphic Primitives
When the selection button is pressed, several primitives can be selected by pressing the key of “shift”.
Another way to select is to drag a rectangle covering the primitives to be selected.
When several primitives are selected and the selection button is pressed, the selected primitives can be moved by left clicking the mouse in the selected area and moving the mouse.
The position of a selected primitive can be tuning by using the arrow keys on the keyboard.
4.6.2 Straight Line Tool
Left click the color palette to select the color of the straight line and press the straight line tool. To define the width of a straight line, right click and choose line property command from the floating menu. A line property dialog box (as shown in Figure 4.6-1) will pop up for choosing line width.
Figure 4.6-1 Dialog box of “select line type”
To select the type of a dotted line, right click and choose straight line type command from the floating menu. Then a dash dot line dialog box will pop up as shown in Figure4.6-2.
Figure 4.6-2 Dialog box of “dotted line type”
Select the type of a dash dot line. Then locate an end of the line with the cursor, press the left mouse button and drag it to the other end. To draw a level line or vertical line, just press the key Shift when move the cursor.
When a straight line is in selected status, its color can be changed by clicking the color palette.
4.6.3 Rectangle Tool
Left click the color palette to select rectangle frame color and right click the color palette to select rectangle filling color. Press the rectangle tool. To select filling pattern, right click and select the filling property command from the floating menu, and then a filling property dialog box will pop up as shown in Figure4.6-3-1. A rectangle will be created by pressing the left mouse button and dragging it.
A square will be created by pressing the Shift key when dragging the mouse.
The color and filling property of a rectangle can be modified by pressing the rectangle on the toolbar and double clicking the rectangle as shown in Figure4.6-3-2.
Copyright LNKZ.com
Luneng
Control Engineering Co., Ltd.
E-mail:
lncc8888@163.com Website: www.lnkz.com
Tel:086-531-829999778
086-531-82999779 Service Tel: 086-531-82999787 Fax:086-531-82999797
Address:Lnuneng
Science and Technology Park, East End of Erhuannan Road, Jinan,
P.R.C. PostCode: 250002