SYS600 System Configuration
SYS600 System Configuration
Configuration Manual
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
Issued: 26.03.2003 System Configuration
Version: E/18.03.2005
Configuration Manual
System Configuration
Configuration Manual
4
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
5
20.1.Using LMK Configuration Tool ................................................. 211
20.1.1.Defining the device ........................................................ 214
21.Index ..................................................................................... 217
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
1.1. Copyrights
The information in this document is subject to change without notice and should not
be construed as a commitment by ABB Oy. ABB Oy assumes no responsibility for
any errors that may appear in this document.
In no event shall ABB Oy be liable for direct, indirect, special, incidental or
consequential damages of any nature or kind arising from the use of this document,
nor shall ABB Oy be liable for incidental or consequential damages arising from
use of any software or hardware described in this document.
This document and parts thereof must not be reproduced or copied without written
permission from ABB Oy, and the contents thereof must not be imparted to a third
party nor used for any unauthorized purpose.
The software or hardware described in this document is furnished under a license
and may be used, copied, or disclosed only in accordance with the terms of such
license.
Copyright © 2005 ABB Oy
All rights reserved.
1.2. Trademarks
Registrations and trademarks used in this document include:
Windows: Registered trademark of Microsoft Corporation.
LonWorks: Registered trademark of Echelon Corporation Inc.
1.3. General
This manual gives you information on the various configuration settings that you
have to make in order to take your MicroSCADA system in use. It also describes
how to use the configuration tools, which are available in the current release.
7
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
8
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
2. Introduction
This chapter introduces the MicroSCADA system concepts and the system
configuration principles:
2.1 The first section provides a summary of the MicroSCADA system with
emphasis on the concepts which are central when configuring
MicroSCADA: the base systems, the process data communication
system, the connection of devices to a distributed network, etc.
2.2 The MicroSCADA configuration principles: the MicroSCADA
configuration software modules and the configuration software
management.
Base systems
The MicroSCADA base systems are control centres that contain the supervisory
control and monitoring functions of MicroSCADA. The tasks of a base system are
to collect all process-related data from the stations into the process database,
distribute the information and to send control commands via the NET
communication units.
Each base system is composed of a base system computer including base system
software. The base system computer is a standard PC running the Windows
operating system. The MicroSCADA base system software comprises the
MicroSCADA kernel, a number of facility programs, engineering and system
handling tools, configuration software and application software.
The MicroSCADA kernel, as well as most of the engineering and system handling
tools, is the same in all base systems independently of the application area and the
extent of use.
The configuration software is specified for the base system in question and adapted
to the device configuration of the entire MicroSCADA system.
A base system may contain one or more applications. An application includes
application software and databases. The application software specifies the functions
of the MicroSCADA base system as a supervisory control system. The application
software is adapted for a certain process and for the user’s needs regarding the level
of information, user interface, control operations, and so on. A base system can run
several applications in parallel.
9
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
LANs
LANs may be used for connecting base systems with other base systems, base
systems with frontends, and base systems with workstations.
10
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Local Area
Network (LAN)
Operator workstation Printers Alarm unit
Process
Communication
System Communication frontends
- Communication card
- Communication program
incl. conf parameters
System_overview.eps
Workstations
A MicroSCADA workstation is a PC that runs the MicroSCADA HSI (Human
System Interface). To be able to run the HSI, the workstation must run an X Server
program.
11
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The workstations are connected via LAN or via remote connections, which use the
operating system feature RAS.
Peripherals
The printers are connected to the base system computers, to a LAN via printer
servers, or to the process communication system.
External alarm units can be connected to the base systems.
Radio clocks for external clock synchronization may be connected to the base
systems, to NETs, and to the frontends.
MicroSCADA networks
Figure 2.1.-2 shows an example of a MicroSCADA system. The system can be
regarded as a network where the communication units (NETs) and the base systems
function as routing nodes, which can forward messages and data from one node or
device to another. All base systems connected by the same process communication
system or by a LAN belong to the same network.
There may be several communication units in a series between two communicating
devices. However, for performance reasons, it is not recommended to have more
than three communication units between communicating devices. In a large
network, the routes between nodes can be doubled to obtain redundancy.
12
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Interoperability
An essential feature of MicroSCADA is the interoperability between separate base
systems. Interoperability means that all the connected applications can
communicate, if they are situated in the same base system or in separate base
systems. In Figure 2.1.-2, for instance, all applications can intercommunicate.
Communication between the base systems 2 and 3 requires some special
arrangements in base system 1.
The connected devices - printers, workstations and process units - can be shared by
several base systems in the network. The workstations connected to a LAN, for
example, can be used by all base systems connected to the same LAN. Likewise, the
13
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
stations and printers connected to NETs can be used by all base systems connected
to the same network of interconnected NETs. A frontend can recognise up to four
base systems.
In the network of Figure 2.1.-2, for example, all the applications in base systems 1
and 3 can utilise the workstations on the LAN. The PCs running X software can be
connected to several base systems and applications simultaneously. Application 5
can use both printers 1 and 2. A redirection of printout can be done during operation.
Configuration software
The MicroSCADA configuration software is composed of objects and data that
reside in the base systems, communication units (NETs) and communication
frontends, see Figure 2.2.-1:
• Each base system contains a set of base system objects that specify the base
system itself and its environment. During the operation, the base system objects
reside in the primary memory of the base system computer. The base system
objects are created with SCIL commands, when the MicroSCADA base system is
started. They can be added and modified during the operation.
• Each communication unit contains a set of system objects that specify the unit
itself and its environment. During the operation, the system objects reside in the
memory of the communication boards (DCP-NETs) or PC (PC-NETs). The NET
programs contain a preconfiguration, which gives the system objects default
values. The system objects can be added and modified during the system
operation.
• The communication frontends contain data files, which specify the frontend
configuration and the parameters for the communication with the base system.
14
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
The process units (stations) contain their own configuration definitions that must be
regarded in the MicroSCADA configuration. For some station types, the
configuration can be built in MicroSCADA and downloaded to the stations.
The MicroSCADA configuration software handling is detailed in Chapter 2 of this
manual.
15
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
16
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
3.1. Overview
17
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
‘object’ The object to be created is specified using the base system object
notation without attributes and index numbers
‘attribute’ Attribute name
‘value’ The value assigned to the attribute
Example:
Creating a SYS object:
#CREATE SYS:B = LIST(-
SA = 209,- ;STATION ADDRESS OF THE BASE SYSTEM
ND = 9,- ;NODE NUMBER OF THE BASE SYSTEM
DN = 1,- ;DEFAULT NET NODE NUMBER
DS = "RTU",- ;STA TYPES: E.G. STA,RTU,SPA,REX
FS = "NEVER") ;FILE SYNCH CRITERIA
After a base system object has been created, its attributes (provided that writing is
enabled) can be changed with the #SET command. The objects cannot be modified
with the #MODIFY command nor can they be deleted with the #DELETE
command.
To learn more about the SCIL commands, refer to the Programming Language SCIL
manual, Chapter 7. For more information on the base system object notation, refer
to the System Objects manual, Chapter 2.
On-line modifications
Most base system object attributes can be modified on-line with the Base System
tool and with SCIL. These changes are not persistent and will be lost when the
system is shut down. If the changes are to be persistent, they should be included in
the SYS_BASCON.COM file.
18
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
SYS_CONFIG.PAR
The configuration file SYS_CONFIG.PAR is a text file containing settings of
system parameters that cannot be set with SCIL. The file is read at system start-up
before the execution of SYS_BASCON.COM. SYS_CONFIG.PAR can be edited
with a text editor.
SYS_CONFIG.PAR can contain the following parameters and set values:
MEMORY_POOL_SIZE
specifies the size of the global memory pool in megabytes (MB). Possible values
are: 4, 8, 12, 16, 20, 24,...., that is a value divisible with 4. Default, if no value is
given in SYS_CONFIG.PAR, is 64 MB. For example the line:
MEMORY_POOL_SIZE = 100
The line should be copied to sys_config.par exactly as shown in the error message.
The parameter MEMORY_POOL_ADDRESS should not be touched. After the
restart the program should initialize without errors. The configuration file may
contain several MEMORY_POOL_HOLE lines, because there is a slight possibility
that even the second start-up fails now suggesting another hole in the pool address
space.
PICO_MEMORY_POOL_SIZE
REPR_MEMORY_POOL_SIZE
19
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
PRIN_MEMORY_POOL_SIZE
These three parameters define the sizes of the local memory pools of
MicroSCADA processes:
PICO_MEMORY_POOL_SIZEDetermines the size (as megabytes) of the local
memory pool of all the monitor processes in the
system. The default value is 16 MB.
REPR_MEMORY_POOL_SIZEDetermines the size of the local memory pool of all
repr processes. The default value is 8 MB.
PRIN_MEMORY_POOL_SIZEDetermines the size of the local memory pool of all
prin processes. The default value is 4 MB.
Setting a pool size to 0 demands the processes of the category to always use the
global memory pool.
If a process requires more memory than the specified memory pool size allows the
dialog "SCIL Application Error/Memory Pool Exhausted" is shown. The dialog
shows a critical error with information about which pool caused the error. The
information is either "Local memory pool exhausted" or "Global memory pool
exhausted".
ANALOG_SWITCH_STATE_CLOSED (default = 1)
ANALOG_SWITCH_STATE_OPEN (default = 2)
ANALOG_SWITCH_STATE_MIDDLE (default = 0)
These parameters define the translation of the CLOSED, OPEN and MIDDLE states
returned by the program interface function SCIL_Get_Switch_State.
If the SYS_CONFIG.PAR file does not exist the default values are used.
A template, SYS_CONFIG$PAR is copied to \sc\sys\active\sys_ during the
installation of the System Base Software package. The contents of the
SYS_CONFIG$PAR is:
; File: Sys_config.par
; Description: Configuration for ’static’ base system parameters
; leading ’;’ indicates commented line
; Version 9.0
;---------------------------------------------------------------
;
;MEMORY_POOL_ADDRESS = 30000000 ;Memory pool start address
;MEMORY_POOL_SIZE = 64 ;Must be 4,8,12,16,20,24,28,... (MB)
;PICO_MEMORY_POOL_SIZE = 16 ;Memory Pool for Monitor processes
;REPR_MEMORY_POOL_SIZE = 8 ;Memory Pool for Report processes
;PRIN_MEMORY_POOL_SIZE = 4 ;Memory pool for Printer processes
;
;ANALOG_SWITCH_STATE_OPEN = 2 ;The semantics for MicroTOPOLOGY of AI
;ANALOG_SWITCH_STATE_CLOSED = 1 ;process objects used for indicating the
;ANALOG_SWITCH_STATE_MIDDLE = 0 ;state of a switching device
SYS_BASCON.COM
The system configuration of the MicroSCADA base system is defined in the
SYS_BASCON.COM configuration file.The file is a text file containing SCIL
statements for creating the base system (B) objects. The System Base software
package contains two SYS_BASCON.COM template files, one for configuring a
single base system and one for configuring a hot-stand-by base system. The template
20
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Fig. 3.2.-1 The system configuration defined by the delivered configuration software
Also the other configuration files included in the delivery (NET_BASCON.COM,
the DCP-NET preconfiguration, PC_NET.CF1 and PC_NET.COM) conform with
the configuration in Figure 3.2.-1.
21
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
;----------------------------------------------------
;Base System Object
@l_Standard_Paths = do(read_text("/STool/Def/Path_Def.txt"))
;----------------------------------------------------
;Communication Links
;NOTE! Use the system configuration tool to create a link for the PC-NET!
22
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
;----------------------------------------------------
;Node objects (NET’s and SYS’s)
;NOTE! Use the system configuration tool to create nodes for the PC-NET!
;----------------------------------------------------
;Printers
23
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
;----------------------------------------------------
;Monitors
#LOOP_WITH I = 1..5
#Create MON’I’:B = LIST(-
TT = "LOCAL",- ;Translation type
DT = "VS") ;Visual SCIL monitor
@MON_MAP(%I) = -1
#LOOP_END
#LOOP_WITH I = 6..10
#CREATE MON’I’:B = LIST(-
TT = "LOCAL",- ;Translation type
DT = "X") ;X monitor
@MON_MAP(%I) = -1
#LOOP_END
;----------------------------------------------------
;Applications
24
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
#error continue
@v_File_Contents = read_text(%t_SALIB_Path_Def_File)
#if substr(%v_File_Contents(1),5,14) == "SA LIB version" and
substr(%v_File_Contents(1),20,5) >= "1.0.0" #then #block
#modify l_Global_Paths:v = do(read_text(%t_sALIB_Path_Def_File))
#block_end
#error stop
#block_end
#block_end
;----------------------------------------------------
;Station Types
25
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
;----------------------------------------------------
;Node, Link for PC-NET & Stations
;----------------------------------------------------
;LAN node name of the computer
@t_lan_node_name = "Basesystem1"
@i_system_node = SYS:BND
#set nod’i_system_node’:bnn = %t_lan_node_name
;----------------------------------------------------
;Other Stations
;NOTE! Use the system configuration tool to create stations for the PC-NET!
SYS_NETCON.COM
The default SYS_NETCON.COM file has the following contents:
;#PAUSE 10
;@A=LOAD_DCP("SYS_NET.1MB",1,1);LOAD NET1 ON LINK 1
;@A=LOAD_DCP("My_NET_FILE",2,1);LOAD NET2 ON LINK 2
By removing the semicolons from the file, you can make it load and start the internal
communication units next time it is executed.
26
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
4.1. Overview
27
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The on-line configuration can be read into the System Configuration Tool by
selecting Configuration - Open On-line. Reading the on-line configuration sets the
tool into On-line mode.
Preconfiguration in DCP-NETs
The DCP-NET communication program which runs in the board based
communication units contains what is called a "preconfiguration". The
preconfiguration is a set-up of system objects and attributes which functions as a
default configuration. Each time the NET unit is loaded and started the
preconfiguration becomes valid.
The preconfiguration can be viewed, edited and documented off-line with a program
called NETCONF which runs in the DOS environment or during operation from the
base system by means of a preconfiguration tool picture.
Changes made in the preconfiguration come into force, when the communication
program is loaded into the communication unit the next time.
The preconfiguration has the following limitations:
• A maximum of 20 stations per unit can be preconfigured
• Some attributes cannot be preconfigured
The required configuration blocks are described in this manual and the attributes are
found in the System Objects manual.
28
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
that will download the total configuration. The initial configuration file is
composed of a number of lines, each of which specify an attribute (see below). The
attributes are referred to with the notation:
object.attribute
The possible objects are:
local_node The PC-NET itself
ext_node An external node (the base system where the NET
is situated)
ext_apl An application in the base system where the NET is
situated
In case the PC_NET.CF1 file is missing when the PC-NET is started, a default
configuration becomes valid.
The following PC_NET.CF1 file is included in the MicroSCADA delivery:
local_node.sa=203 ; the station address of the PC NET
local_node.nn=3 ; the node number of the PC NET
ext_node(1).sa=209 ; the station address of the base system
ext_node(1).nn=9 ; the node number of the base system
ext_apl(1).nn=9 ; the node number of the base system
ext_apl(1).an=1 ; an application in the base system
All line and station configuration of the PC NET, as well as the definition of other
nodes and applications can be done with the System Configuration Tool (with User-
Defined Programs, if not supported by the tool yet). The usage of the tool is
described in the Connecting LONWORKS Devices to MicroSCADA manual.
Principles
The procedure for creating communication system objects is as follows:
• Define the NET line to be used by assigning it the desired protocol (the PO
attribute, see Chapter 12).
• Give the line its communication properties by means of the line attributes
(Chapter 12).
• Create the object by giving it an object number and assigning it the line number.
• Set the attributes of the created object.
• Take the line and the device into use.
29
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
In SCIL, communication system objects are created and deleted using NET
attributes, see the System Objects manual, Sections 12.3.1 - 12.3.5. When adding a
device, the NET line must first be defined. NET lines are defined by the NET line
attribute PO. See examples 4 and 5 in Section “Modifying communication system
objects with SCIL” on page 30.
Most attributes can be both read and written on-line with SCIL commands. The
attributes are accessed with the object notation according to the format:
OBJnn:Sati
'nn' Object number (device number)
'at' Attribute name
'i' The possible index
The object notation is detailed in the System Objects manual.
The attributes are written with the #SET command according to the format:
#SET OBJnn:SATi = value
See Example 1 in Section “Modifying communication system objects with SCIL”
on page 30.
The line attributes can be changed with the SCIL command #SET:
#SET NETnn:Sati = value
'i' Line number
When a new line or device is created on-line, its attributes get the default values
given in the System Objects manual.
30
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Example 2
Changing the transmission rate on line 1 of NET1:
#SET NET:SIU1 = 0 ;The line is taken out of use.
#SET NET:SBR1 = 1200 ;The baud rate is changed.
#SET NET:SIU1 = 1 ;The line is taken into use.
Example 3
Removing line 2 of NET1, when two stations (STA1 and STA2) are connected to
the line:
#SET STA1:SIU = 0
#SET SAT2:SIU = 0 ;The station is taken out of use.
#SET NET1:SIU2 = 0 ;The line is taken out of use.
#SET NET1:SST1 = “D”
#SET NET1:SST2 = “D” ;The stations are deleted.
#SET NET1:SPO2 = 0 ;The lines are deleted.
Example 4
Adding a printer on line 2 of NET1:
#SET NET1:SPO2 = 4 ;Line number 2 is created as a printer line.
#SET NET1:SIU2 = 1 ;The line is taken into use.
#SET NET1:SPR4 = 2 ;Printer number 4 is connected to line 2.
Example 5
Adding three stations of type S.P.I.D.E.R. (STA1, STA2 and STA3) on line 4 of
NET1:
#LOOP WITH NR = 1 .. 3
#SET NET1:SRT’NR’ = 4 ;Station number ‘NR’ is connected to line 4.
#SET STA’NR’:SSA = %NR ;The station address of the station.
#SET STA’NR’:SAL = 1
#SET STA’NR’:SIU = 1
#LOOP_END
SYS_NETCON.COM
The base system recognises and executes a file called SYS_NETCON.COM which
is a text file containing SCIL commands. The file is executed each time the base
system is started. Normally, the file contains only commands for starting possible
internal frontends by means of the SCIL function LOAD_DCP (see the
Programming Language SCIL manual, Section 8.10.). However, it can also contain
statements for reconfiguration of NET objects provided that there is a time delay of
at least 5 seconds (achieved with the #PAUSE command) between the start-up of an
internal frontend and the subsequent configuration statements.
31
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
32
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
33
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Contained parameters
As mentioned above, the configuration parameters of the workstations are listed and
described in the workstation manuals. The parameters of the communication
frontend are described in Section 5.2. All the listed parameters need not to be
included in the configuration data files. Some parameters are mandatory only for
certain configurations and some represent optional features. Many configuration
parameters have default values (see the parameter lists), which are valid if no other
values are given for the parameters in the configuration data file. If the default values
are correct, the parameters need not to be included in the data files. The values given
in the data files replace the default values.
File format
The parameter definition lines of the data files can be arranged in any order. Each
line in the files has the following structure, see Figure 5.1.-1:
• The first six character positions of a line are reserved for the parameter name.
• The seventh position contains a blank space.
• The parameter value is written starting from position 8.
• After the parameter a comment may follow, indicated with a starting semicolon
(;).
Fig. 5.1.-1 The format of a line in the data files MFLCONF.DAT and
MWCONF.DAT
35
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Frontend parameters
36
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
PROT Protocol
The link layer protocol used in the communication with the base system.
0= ANSI X3.28 (using a COM port)
2= TCP/IP (possible if the base system computer is PC /Windows)
Default value: 0
Indexing: Base system sequence number, 1 ... 4
If omitted, index = 1
NET Parameters
Each communication frontend can contain up to four communication units (NETs)
connected to the RAM interface. In the MFLCONF.DAT file the individual units
are identified by a board index (interface number), 1 ... 4. The indexes are related to
the I/O base addresses, IRQ levels and RAM window locations of the DCP/MUXi
boards as follows:
37
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
HOST SPIDER
HOST 130.0.9.130
BR Baud Rate
The transmission rate used on the line.
Recomm.: BR = 9600
38
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
EN ENQ Limit
See the EN attribute in the System Objects manual, Chapter 13.
Type: Integer
Value: 1 ... 255
ER Embedded Response
For more information, refer to the System Objects manual, Chapter 13.
Value: 0 = No
1 = Yes
PY Parity
See the System Objects manual, Chapter 13.
Value: 0 = no parity
1 = odd parity
2 = even parity
Recomm.: Even parity (PY=2)
RE Redundancy
See the System Objects manual, Chapter 13.
Value: 0 = No redundancy
(1 = CRC, not supported)
2 = BCC
Recomm.: RE = 2
TI Timeout Length
See the TI attribute in the System Objects manual, Chapter 13.
Type: Integer
Value: 1 ... 255
39
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
synchronization, no base system can be connected through a serial line, or, if a base
system is connected via a COM port, time synchronization of the frontend is not
possible.
Values: 0 = no external clock (default)
1 = COM1
2 = COM2
CA Clock address
The I/O address of the radio clock.
Default value: 768 ( = 300H)
40
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
6. Base systems
This chapter describes:
6.1 The fundamental configuration of a base system and its applications.
6.2 How to configure intercommunication between two applications in the
same base system or in separate ones. The base system configuration
additions and modifications required by various installations are
described in detail in Chapters 7 ... 14. Chapter 3 describes the structure
of the SCIL program blocks for base system object definition.
41
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The SYS:B object definition must come first in the base system
configuration file SYS_BASCON.COM, otherwise the system will
not start.
Links (LIN)
A link is a data transmission line to another base system, a NET unit or a device.
Each link is defined by a LINn:B object (n = 1 ... 20). A base system can have the
following links:
• One link for the LAN. The definition of LAN links is described in Chapter 8.
• Two RAM links for internal DCP NETs. The RAM links are described in Section
9.2.
• One Integrated link for a PC NET. (Created by the System Configuration Tool.)
Nodes (NOD)
Nodes are directly or indirectly connected base systems, communication units, and
communication frontends. The nodes are defined by NODn:B objects
(n = 1 ... 250). A node definition is needed for:
• Communication with another base system. This is described in Section 6.2.
• Communication through the communication units. Each NET unit - DCP NETs
as well as PC-NETs - which will be recognized by the base system must be
defined as a node. These node definitions are described in Chapter 9.
• Reading and writing the attributes of communication frontends. A node is
primarily specified by the used connection link and the station address of the
node. If a node is only indirectly connected to the base system, the link to the
node is the link to the nearest intermediate node. The link object must have been
defined before the node can be defined.
42
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Base system 1
Node Number: 9
Station Address: 209
APL1 APL2
Fig. 6.1.-1 An example of the fundamental definition of a base system and the
definition of two local applications.
To configure a local application in the base system:
Create an APLn:B object ('n' = 1 ... 250) and assign it the following attributes (see
the System Objects manual, Chapter 5):
NA Application Name. The application name is the name of the
application directory branch containing the application software
(e.g. "SAMPLE" according to the example above).
MO Monitor mapping, see the headline "Device Mapping" below.
AS "HOT" if the application will be running.
AP Application mapping if the application will communicate with
other applications within the same or in different base systems
(see Section 7.2).
ST, PR Printer and station mapping. These attributes are generally not
needed, see the headline "Device Mapping" below.
43
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
TT "LOCAL"
EM, HB, PM History buffer and queue lengths, see the headline "Tuning
Memory Parameters”.
PQ Number of parallel queues.
QL Maximum length of process queries.
See the examples in Figure 6.1.-1.
Device mapping
Monitors, printers and stations can be mapped for an application, which means that
the application recognises the devices under logical numbers.
The station mapping, for instance, specifies the station numbers under which the
application will know the stations. The station mapping has the following format:
APLn:BSTi = j
‘i’ The logical station numbers as known to the application and the
values
‘j’ The STA object numbers of the stations
The printer mapping works in a similar way and also the mapping of semi-graphic
workstations. Printers and stations can be mapped for several applications
simultaneously, while the semi-graphic workstations are reserved for the application
when mapped.
The printers and stations have a default mapping, which means that each logical
application recognises them under the real object numbers. Therefore, the printer
and station mapping is needed only if the application for some reason needs to know
the devices under logical numbers. If there are no obstacles, let the logical numbers
be the same as the object numbers (i.e. i = j), i.e. do not change the default values of
printer and station mapping.
The monitor mapping is described in Chapter 10.
44
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
• The picture cache and report cache memory space is common to all the
applications in the base system. The cache memories contain only objects and
pictures that have been in use, but are not currently running. The maximum cache
space is specified by the PC and RC attributes. When these limits are reached, the
least used objects are removed.
During operation, there should be at least 500 kB free memory. The MF, MS and
MU attributes can be used for reading the occupied and the free memory space (see
the System Objects manual, Section 4.2.5). If there is not enough free memory,
memory is taken from the picture and report caches.
45
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Base system 1
Node Number: 9
Station Address: 209
APL1 APL2
Fig. 6.2.-1 Base system 1 can be configured to access the database of the
applications in base systems 2 and 3 as described in Section 6.2.
Communication between base system 2 and base system 3 requires
that there is an external application in base system 1, which forwards
the data between the two base system.
Local applications
Suppose that application 'a' needs to read and write data in application 'b' in the
same base system (see Figure 7.1.-1). Application 'b' must then be "introduced to"
application 'a' by means of application mapping (see the System Objects manual,
Section 5.3.):
#SET APLa:BAPi = b
where
'i' The logical application number under which application 'a'
recognises application 'b'
If there are no obstacles, let the logical number be the same as the object number of
the application, i.e. 'i' = 'b'.
For example, setting #SET APL1:BAP2 == 2 means that APL2 is recognized to
APL1 by the logical application number 2. In application 1 it is possible to read
object data in application 2, e.g. with the notation: OBJ:2POV1.
46
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
47
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Fig. 6.2.-3 An illustration of the configuration and data communication between two applications situated in
separate base systems
48
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
49
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
7. MicroSCADA networks
This chapter describes:
7.1 The global definitions in a MicroSCADA network: the node numbers,
and the ACP (MicroPROTOCOL) station addresses.
7.2 The object numbering which is unique within a certain base system or
communication unit.
Nodes
In the MicroSCADA network, the base systems and communication units (NETs)
are regarded as nodes. Each of them are given a node number which must be unique
throughout the entire MicroSCADA network. Likewise, the communication
frontends are nodes with unique numbers.
The node numbers can take integer values from 1 to 32 (limited by the NET
program). However, for compatibility reasons, it is not recommended to give the
NET nodes numbers above 19. A suitable convention could be to assign the NET
units sequential node numbers from 1 and upwards, and the base systems, likewise,
sequential node numbers starting from a number which is large enough. For
instance, if the NET nodes are less than 8, the base system node numbering could
start from 9.
In the base systems, the communicating nodes are defined by NODn:B objects,
where 'n' is the node number. In the communication units, the nodes are defined by
NETn:S objects, where 'n' is node number.
51
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Fig. 7.1.-1 The global definitions and the object numbers of a typical MicroSCADA network. The figure also
includes the base system specific link numbers and the NET unit line numbers
Station addresses
Each base system and NET unit has an ACP station address, which must be unique
within the network of intercommunicating devices.
52
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Devices which never communicate and which are not recognized by the same NET
unit or base system may have the same station address.
The station addresses can take integer values from 1 to 254. A widely used
convention when assigning station addresses is as follows:
Base systems: 200 + node number
Communication units: 200 + node number
Monitors (MON)
The monitors are symbolized with the object name MON. The MON objects can
take numbers in the range 1 ... 100.
Each monitor that the operator starts to view and supervise a MicroSCADA
application is regarded as a MicroSCADA monitor. A MicroSCADA monitor can
contain several monitors for supervising one or more applications. All monitors that
are available for the base system must be defined as MON objects.
Printers (PRI)
The printers are notated by PRI object names. The PRI objects can take numbers 1
... 20 in the base systems and 1 ... 8 in NET.
Stations (STA)
The stations are notated by the object names STA. They can take numbers 1 ... 2000
in the base systems and 1 ... 255 per station type in the communication units (limited
by the RAM size in NET).
Applications (APL)
The applications are notated by the object names APL. Each base system can contain
up to 250 applications, while each NET unit can recognise up to 32.
53
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Frontends
In each communication frontend the LAN communication is established with the
following definitions in the configuration data files:
1. Set the parameter PROT = the LAN protocol used, i.e. TCP/IP.
2. Set the HOST parameter to the LAN node number of the connected base
system.
The parameters can be indexed by a base system number for communication with
several base systems, see the parameter descriptions in Section 5.2.
LAN nodes
In the LAN network, each connected base system, workstation and frontend has a
LAN node name or number (see your LAN product manual). The LAN node names
are used in the MicroSCADA configuration to achieve communication between
base systems (see Section 6.2.), between base systems and workstations, as well as
between base systems and frontends.
The LAN node names are assigned during the installation of the LAN network.
55
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Communication Unit 3
Node Number: 3
Station Address: 203
12345678
Serial lines (COM port)
Basys_Internal_NET.eps
PROT2 2
HOST2 90.0.1.127
56
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
If the RAM size is wrong, the NET unit will not start.
2. Define line 13 (exists in the default configuration) for the common RAM
protocol.
3. Define external node for the base system.
LI = Line number of the base system; normally 13
SA = Station address of the base system
4. Define at least one application in the base system.
DN = Application number in the NET
TN = Application number in the base system
NN = Node number of the base system
57
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
0= off
1= on (recommended if not Hot Stand-by base systems)
2= start-up only (recommended in Hot Stand-by base
systems), see Section 15.1.
Lines (NET lines)
The definition of a line depends on the protocol to be used on the line, which in turn
depends on the device(s) connected to the line.
Each DCP-NET has 8 asynchronous serial lines numbered 1 ... 8. In addition, the
communication program recognises a line number 13 for common RAM interface.
This line is used for the communication between an internal NET unit and the base
system, between a NET unit in a communication frontend and a base system
connected to the frontend, as well as between the separate communication units in a
communication frontend.
The PC-NETs communicate through the serial ports (COM ports) of the host
computer and possible PCLTA cards (one or two) or the serial ports of a
“RocketPort”. The COM ports, if used, represent by default NET line numbers from
1 to 4: COM1 is line 1, COM2 is line 2, and so on. The NET line numbers of the
PCLTA card channels (up to two per board) can be freely chosen among the free
NET line numbers (1 ... 8 if no COM ports are used). A PC-NET communicates with
the base system (kernel) through line number 13 which is a software link (Integrated
link).
58
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
A NET unit line is basically defined by assigning it a protocol. This can be done in
the preconfiguration (DCP-NETs) or on-line with the PO attribute.
PC-NETs support the following protocols on the COM lines (lines 1 - 8): ACP, SPA,
LonTalk, RP 570 master and slave, RP 571 master, IEC 60870-5-101 master and
slave, IEC 60870-5-103 master and ALPHA. A COM port is taken into use by
assigning line 1 ... 8 one of these protocols. The output channels of the PCLTA cards
support only the LonTalk protocol.
The DCP board based NETs support all protocols supported by MicroSCADA,
except the LonTalk, ALPHA ME, IEC 101 and IEC 103 protocols.
The definition of lines is detailed in the contexts where various installations are
described.
External nodes (NET)
All the connected base systems and communication units are defined as external
nodes (NET objects). This applies also to base systems and communication units,
which are only indirectly connected via other communication units. The definition
of the external nodes is described in Sections 9.2, 9.3, 9.4 and 9.5.
Applications (APL)
As a rule, all the applications in all base systems, which are directly or indirectly
connected to the communication unit, must be defined to the NET unit as APL
objects. The defined applications can be configured to receive spontaneous
messages from the stations and system messages generated by NET. The default
applications of all the connected base systems (see Section 6.1.) should be defined
in the preconfiguration (DCP-NETs).
In order to define or redefine an application in a connected base system:
1. Define an “Application”, an APL object, in the preconfiguration or on-line by
means of the NETn:SSY attribute (see the System Objects manual, Chapter 14):
Device type = APL
Device number = Object number
Can be freely chosen within the NET unit (1 ... 32).
As far as possible, use the same application number
as in the base system. If message split is used
(see Section 11.2.), only the applications number 1
... 9 can be selected in the preconfiguration as
receiving applications.
Node number = The node number of the base system where the
application resides
Translated APL number = APL number in the base system
2. Assign it the following attributes for the communication supervision (System
Objects, Chapter 12):
SU = Application suspension time in seconds
SW = Application reply wait time in seconds
From SCIL, the SW and SU attributes are accessed as NETn:S attributes.
59
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
NET supervises all its application connections by cyclically reading the DS attribute
of all known applications at the interval calculated from the SU attribute. If an
application does not reply, an error message will be produced and the application
will be suspended. This happens when the base system is closed, when the
application has been set to "COLD", the application does not exist, or the connection
is faulty or disturbed, or the communication does not work. When an application has
been suspended, the S.P.I.D.E.R. RTUs connected to that application are not polled
until the communication with the application has been re-established.
Printers and stations (PRI and STA)
The configuration of the NET unit for connected printers and stations is described
in Chapter 11 (printers) and Chapter 12 (stations).
Memory allocations
The total RAM size of the DCP boards is 1024 kB (512 kB for DCP/MUXi). A part
of this memory space is reserved by the NET program itself, its fixed data areas and
stacks. The rest is allocated for external connections. The amount of free memory in
a unit may restrict the connection of devices to the unit. In order to learn the amount
of free memory space:
1. Start the NET unit for operation and read the existing amount of free memory
with the NETn:SFM attribute or by means of the configuration picture NET
SYSTEM CONFIGURATION, INTERNAL PARAMETERS.
The NET lines and the connected devices (system objects) allocate memory space
as follows:
Lines: About 1 kB per line + 0.33 kB per buffer
External nodes: About 2 kB/node
Stations: About 0.5 kB + memory areas (ANSI stations)
Printers: About 0.5 kB/printer
SPACOM: 1 kB per station + 50 byte/SPA point +
50 byte/event updated SPA point
STA memory areas: About 32 bytes per area
The memory allocation in NET is basically static in a run-time environment.
Memory is allocated and released only at configuration changes.
Buffer pool sizes
Each line has a buffer pool, the size of which is specified by the PS attribute (number
of buffers in the pool). One or a few buffers are reserved for message reception. The
rest of the buffer pool is divided between two priority levels.
The buffer pool sizes should be set according to the following principles:
• The pool size of a base system connection should be considerably larger than the
pool sizes of other lines. Recommended value: 50 ... 100.
• For other lines, the pool size should not be larger than necessary. Especially the
total pool size for all printer lines should be much less than the pool size for an
individual base system connection.
See also the recommendations in the System Objects manual, Chapter 13.
60
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
The general rule in NET is that one buffer is allocated for each message from a pool
of the destination line. For SCIL configuration commands, the buffer is reserved
from the base system line, since the command is handled within NET. For
communication commands, i.e., control commands, setpoint commands, printout
commands, etc., an additional buffer is reserved for the reply message. The buffers
are always returned to their home pools after use.
61
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Communication Unit 3
Node Number: 3
Station Address: 203
12345678
Serial lines (COM port)
Basys_Internal_NET.eps
Fig. 9.2.-1 An example of a configuration with a base system and an internal NET
The example includes only the definitions, which are of importance for this
particular configuration.
Base system configuration
Base System:
#CREATE SYS:B = LIST(-
ND = 11,-
SA = 211)
………………….
Application 5:
#CREATE APL:V
………………………;See fig. In Chapter 5
#CREATE APL5:B = %APL
62
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
63
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
For instructions on using the tool and more profound information, please refer to
Chapter 16 in this manual and the Connecting LONWORKS devices to MicroSCADA
manual.
Base system configuration
The System Configuration tool can handle base system objects like links, nodes,
stations and station types. It can operate in the on-line or off-line mode, but a
combination is not supported. Operating in the off-line mode means that a
configuration can be built up without physical connections to the devices. If the tool
is switched to the on-line mode, the existing configuration will be read from the
current MicroSCADA base system. Stopping and starting the NET and the PCLTA
initialization can be done in the on-line mode only.
During the configuration work, the configuration data is read from permanent
configuration file using the off-line reading mechanism, or from the MicroSCADA
system (SYS 500 or COM 500) using the on-line reading mechanism. After the
reading mechanism, the current configuration is displayed inside the tool.
The System Configuration tool includes a function that checks the attribute limits.
In case of an invalid attribute value, it returns a string that requests the user to enter
a valid value. The tool also suggests default values for the attributes.
12345678
Serial lines (COM port) and LON lines
Basys_PCNET.eps
64
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
NET Nodes can contain user-defined SCIL programs. Each program receives its
environment as an input parameter, which in the NET Node level is the NET
Number.
65
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
3. Define an "External node", a NET object, connected to line 13 for each of the
connected base systems:
Device type = NOD
Device number = Node number of the base system
LI, Line Number = 13
SA = Station Address
4. Define an APL object for each application in the connected base systems as
described in Section 9.1.
Generally, there is no need for intercommunication between the two communication
units in the frontend and therefore they need not to know each others as nodes. This
is necessary only if any of the communication units is connected to one or more
other base systems through the serial lines of the units and these base systems
communicate via both the NETs. In these cases, configure the communication units
as follows:
5. Define each of the other communication units as an "External Node" (NET
object) situated on line 13:
Line = 13
Device type = NOD
Device number = Node number of the other communication unit
SA = Station address of the other communication unit
Frontend configuration file
The frontend itself is configured by the file MFLCONF.DAT which can be edited
with a text editor (see Section 5.2).
1. Check the following parameters for each of the base system connections and
edit if necessary:
SRC = The station address of the frontend
SRCNOD= The node number of the frontend
PROT = The LAN protocol used on the frontend - base
system communication: DECnet or TCP/IP
DST1 … 4= Station addresses of the base systems connected to
the frontend via LAN or the COM port
DI1 … DI4= Base system diagnostic interval
NOD1 … NOD4= Base system node numbers
If TCP/IP is used:
HOST1 ... HOST4= TCP/IP host names or internet addresses of the base systems
If a COM port is used:
COM= Serial communication port number, serial
communication attributes (BR, RE, PY, etc.)
CSRCn= Station address of the NET connected via DCP
NET card on a logical COM port
The index ´n´ in CSRCn depends on the IRQ of the
DCP-NET card in the frontend computer, see
Fig. 9.5.-1 and Section 5.2.
66
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Example
Fig. 8.4.-1 shows a configuration where a frontend, COM 500 (base system 2) is
used by two base systems on LAN. The system configuration of base system 1,
COM 500 (base system 2) and base system 3 are listed below.
The example includes only definitions which are important for this particular
configuration.
Network of Base Systems and Frontends
Link 1
Base System 1 COM 500 (Base System 2)
Node Number: 9 Node Number: 6
Station Address: 206 Apl2
Station Address: 209
Communication Unit 1 Communication Unit 2
Node Number: 1 Node Number: 2
Apl1 Station Address: 201 Station Address: 202
Base System 3
Node Number: 11 Apl5
Station Address: 211
Communication Unit 3
Node Number: 3
Station Address: 203
Basys_Nets_Frontends.eps
67
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
68
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
LT = "INTEGRATED",-
SC = "\sc\prog\pc_net\pc_nets.exe")
Node 3 (Communication Unit 3):
#CREATE NOD:V = LIST(-
LI = 3,-
SA = 203)
#CREATE NOD3:B = %NOD
69
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
70
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
71
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Link 1
Base System 1 Communication frontend
Node Number: 9 Node Number: 6
Station Address: 209 Station Address: 206
Communication Unit 1 Communication Unit 2
Node Number: 1 Node Number: 2
Apl1 Station Address: 201 Station Address: 202
Base System 3
Node Number: 11 Apl5
Station Address: 211
Communication Unit 3
Node Number: 3
Station Address: 203
Basys_Nets_Frontends2.eps
72
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
MS Message Application: 1
MI Message Ident.; 6202
LT Link Type: 1
BR Baud Rate: 9600
SB Stop Bits: 1
PY Parity: 2
RD Receiver Data Bits: 8
TD Transm. Data Bits: 8
RE Redundancy: 2
TI Timeout Length: 3
NA NAK Limit: 3
EN ENQ Limit: 3
ER Embedded Response: 1
RP Reply Poll Count: 1
PS Buffer Pool Size: 30
Extermal Node 3 (Communication Unit 3)
Device Type: NOD
Device Number: 3
LI Line Number: 2
IU In Use: 1
SA Station Addr. (Dec.): 203
Extermal Node 9 (Base System 1)
Device Type: NOD
Device Number: 9
LI Line Number: 13
IU In Use: 1
SA Station Addr. (Dec.): 209
Extermal Node 11 (Base System 3)
Device Type: NOD
Device Number: 11
LI Line Number: 2
IU In Use: 1
SA Station Addr. (Dec.): 211
Application 1
Device Type: APL
Device Number: 1
Translated APL Number: 1
Node Number: 9
IU In Use: 1
SW Reply Timeout: 5
SU Suspension Time: 60
Application 5
Device Type: APL
73
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Device Number: 5
Translated APL Number: 5
Node Number: 11
IU In Use: 1
SW Reply Timeout: 5
SU Suspension Time: 60
74
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Node Number: 9
IU In Use: 1
SW Reply Timeout: 5
SU Suspension Time: 60
Application 5
Device Type: APL
Device Number: 5
Translated APL Number: 5
Node Number: 11
IU In Use: 1
SW Reply Timeout: 5
SU Suspension Time: 60
75
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
RN = 3,-
SA = 209)
#CREATE NOD9:B = %NOD
76
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
General
When the operator wishes to supervise an application on his or her monitor screen,
s/he opens a MicroSCADA monitor. The operator can open the monitor using a
standard dialog or a customized icon, or monitors can be opened automatically at
application start-up. When opening a monitor using the standard icon, the operator
can select the MicroSCADA monitor number, the application number and picture
size. S/he can also select the base system s/he wishes to view. The same parameters
are chosen when opening a monitor with a command.
A display can show several monitors connected to one or more MicroSCADA
applications in the same base system or in separate ones.
Windows terminal server support
It is possible to do remote administration of the MicroSCADA base system machine
from a NT Workstation. By opening a Terminal Server client window it is possible
to directly access the desktop and tools of the server machine and thus make all
administration that is needed.
77
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Workstation
MON
MON
MON
LAN
Basesystem 1 Basesystem 2
Application 1: Application 3:
@MON_MAP(1..20) = -1 @MON_MAP(1..20) = -1
#CREATE APL:V = LIST (- #CREATE APL:V = LIST (-
.... ....
MO=%MON_MAP MO=%MON_MAP
.... ....
#CREATE APL1:B = %APL #CREATE APL3:B = %APL
Application 2: Application 4:
@MON_MAP(1..20) = -1 @MON_MAP(1..20) = -1
#CREATE APL:V = LIST(- #CREATE APL:V = LIST(-
.... ....
MO=%MON_MAP MO=%MON_MAP
.... ....
#CREATE APL2:B = %APL #CREATE APL4:B = %APL
Config_two_base.eps
Fig. 10.-1An example of a workstation that is connected to two base systems and
four applications
78
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
11. Peripherals
This chapter describes how to configure MicroSCADA for various peripheral
equipment:
11.1 Printers: printers connected to a base system computer, to LAN and to
a NET.
11.2 Other peripherals: alarm units and external clocks.
11.1. Printers
This section describes the configuration of printers used by MicroSCADA
applications: printers for automatic continuous event and alarm printout, for
hardcopy of MicroSCADA pictures, for printout of picture based reports, etc. For
hardcopy, the hardcopy functions of eXceed or Windows can be used without any
configuration measures in MicroSCADA.
A MicroSCADA printer can be connected as follows:
• Directly to a base system computer or another Windows computer on the
network, through the parallel port or a serial port.
• To a LAN via a printer server.
• To a DCP - NET.
Printers connected to a NET can be made accessible to all base systems in the entire
distributed MicroSCADA system. A printer connected directly to a base system can
also be used by other base systems on the LAN, provided that the printer is defined
as “shared” in the operating system configuration of the computer to which it is
directly connected. Printers connected to a LAN can be made accessible to all base
systems on the LAN.
On the application level, the printing can be accomplished according to two different
principles which determine the appearance of the printout:
• Semi-graphic picture based printing
• Full graphic SCIL defined printing ("transparent" printing)
The full-graphic printout may contain any characters supported by the printer. The
last mentioned type is specified by the SCIL function PRINT_TRANSPARENT.
The semi-graphic printout may be of three types:
• Black-and-white, character-based printout
• Black-and-white, pixel-based printout
• Color, pixel-based printout
The picture based printout produced by printers connected to a Windows computer
or a LAN is always semi-graphic. Pixel based printout can be obtained only on
printers connected to a NET. The “transparent” printout can be obtained on any
printers.
Each base system and each application is able to recognise and use up to 20 printers.
It is possible to configure “virtual printers” without real physical correspondence for
logging in a file on disk. When a printer is defined for printer logging, all printout
sent to the printer is stored on a disk. This is useful when configuring an "event log",
79
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
i.e. a disk copy of the event list. A physical printer may also be given more than one
printer object definitions to enable several different types of printout to the same
printer.
The printer operation can be supervized and controlled, e.g. temporarily stopped and
restarted, or the printout can be redirected to another printer. This can be done by
means of the ST and CL attributes (see the System Objects manual, Section 10.2.)
Printers connected to a Windows computer or LAN
Printers connected to a base system computer or LAN must be configured in all base
systems that will use the printers, see the example in Fig. 11.1.-2. Configure the
printer in each base system as follows:
1. Create a PRIn:B base system object, with at least the following attributes (see
System Objects, Section 12.6.):
DT “NORMAL” (black-and-white ASCII based printout) or
“TRANSPARENT” (SCIL defined printout)
DC “LINE”
SD Printer device name including UNC path
(SD="\\My_Computer\My_printer"). The printer must be shared
for the UNC name to be a valid value of the attribute.
TT "LOCAL”
In addition, optional features are defined by the following attributes:
LP Lines per page, this should be > = the number set on the printer
QM Printer queue length
OD Output destination: "PRINTER", "LOG" (disk files) or "BOTH”
LD, LL, LF Printer log attributes, specify the management of log files The
attributes are meaningful, if OD = "LOG" or "BOTH”
OJ Open on Job Basis, set value to 1
The printer is opened before each print job and closed when the
job is completed
2. If needed, map the printer for an application with the APLn:BPR attribute, see
"Device Mapping" in Section 6.1. The printer mapping is required only if you
want to use a logical printer number which is not the same as the printer object
number.
Only the printers mapped with the logical printer numbers 1 ... 15
can be used as alarm and event printers; printer 15 is reserved for
event lists.
80
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
81
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Only the printers mapped with the logical printer numbers 1 ... 15
can be used as alarm and event printers; printer 15 is reserved for
event lists.
82
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Include the following definitions in the NET unit to which the printer is directly
connected:
Frontend
NET 1 NET 2
Node number: 1 Node number: 2
Station address: 201 Station address: 202
Printer 1
PRI 1
83
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
1. Select a line for the printer and define the line with the ASCII protocol:
PO 4
IU 1
LT 0
MS, MI System message handling, see Chapter 17.
PS Buffer pool sizes, see Section 9.2
BR Baud rate (recommended value 2400)
PY 0
RD 8
SB 1
TD 8
OS Output synchronization, see the System Objects manual,
Chapter 13
2. Define a printer (a PRI object) on the selected printer line with the attributes:
LI The number of the selected line
IU 1
MI, MS System message handling, see Section 15.1
AL, AS 0 (the printer reservation is handled automatically by the base
system
PT Printer type
1 = character-based, black-and-white
2 = "transparent"
3 = pixel based, black-and-white
5 = character-based, black-and-white, graphical
characters replaced by printer characters
6 = Facit 4544
7 = pixel-based, color
For more information on the attributes of the PRI object, see the System Objects
manual, Chapters 12 and 15.
In some cases, the printout from a printer connected to frontends can be improved
with some system object attributes. These attributes can be applied during operation,
not in the reconfiguration:
• If the printer is color and pixel based, the colors can be converted from screen
colors to printer colors with the PRIn:SCC attribute.
• If the printer is of type 5 (PT = 5), the MicroSCADA characters can be exchanged
to appropriate printer characters by means of the PRIn:SCT attribute.
• For pixel printers, each character can be specified separately by a bit pattern with
the PRIn:SPX attribute.
The three attributes mentioned can be found in the System Objects manual, Chapter
15.
When a base system is started, its default application (the application created
first in SYS_BASCON.COM) sends a message to the printers (form feed).
Therefore, make sure that these applications are defined in the NETs.
84
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Alarm units
To use an alarm unit for audio-visual alarms:
1. Set the SYS:BAA attribute in the base system configuration to any value <> 0,
e.g. 1.
Example:
#CREATE SYS:V.......
#SET SYS:BAA = 1
.......
#CREATE SYS:B = %SYS
The alarm unit works only for process objects with a logical printer
connection (defined in the process database, see the Application
Objects manual, Chapter 3).
The following executable syntax can be applied, when the alarm unit is used.
AUDIO_SET ALARM_CLASS [on | off]
Enables setting alarms on or off manually when using the ISA based Flytech card
and the compatible alarm panel.
'alarm_class' The number of alarm class. Integer expression, 1 … 7, or all
'on | off' Alarm(s) can be set on or off. If neither of these values is given,
alarm(s) will be set off by default
Audio_set can be called by using ops_call, ops_process or it can be called directly
from the command line (or called from batch file). The caller receives a return value
from audio_set, which can be used to determine whether the command was
successful or not. Return value 0 means that the execution was successful and any
other value means that an error happened during the execution. When audio_set is
run from the command line, possible error messages are shown in the workstation.
These are of course not seen if ops_call or ops_process are used.
The user should notice that when ops_call and ops_process are used, the commands
should be given so that they wait that the execution of audio_set is finished. If they
do not wait, they cannot get the return value returned by audio_set. More details
from using these SCIL commands can be found from the Programming Language
SCIL manual. The user should also notice that when audio_set is used from the
command line, the user should take care of the return value of audio_set (it cannot
be seen automatically).
Examples:
;; Set alarm 1 on from SCIL
@a = ops_call("c:\sc\prog\exec\audio_set 1 on")
85
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
;; This is given from the command line and it sets alarm 1 off
audio_set 1
External clocks
To use a Meinberg PC31 radio clock in the base system:
1. Set the SYS:BCL attribute to "PC31" and the CA attribute to any value <> 0,
e.g. 1.
Example:
#CREATE SYS:V
.......
#SET SYS:BCL = "PC31"
#SET SYS:BCA = 1
.......
#CREATE SYS:B = %SYS
86
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Stations
The following instructions are not valid when using the System
Configuration Tool, which is decribed in Chapter 16.
All process devices that will exchange information with MicroSCADA are regarded
as stations and must be defined as station objects both in the process communication
system (NETs) and in the base systems. The concept station comprises RTUs, PLCs
and bay units of various types. It also comprises protocol converters and control
centres which are connected to the NET for data transfer between MicroSCADA and
external devices. However, it does not comprise e.g. the star couplers situated in the
LONWORKS network, as they have no direct data communication with
MicroSCADA.
This section presents the general configuration requirements for connecting stations
to MicroSCADA.
87
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
88
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
89
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
90
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
91
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
ER - Embedded Response
Message
DE - CTS Delay
RTS
CTS
DE=0: Data
DE>0: Data
ANSI_line_attr.eps
92
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Base System 3
Node Number: 11 Apl5
Station Address: 211
Communication Unit 3
Node number: 3
Station Address: 203
STA4
Station Address: 72
Basys&Sta.eps
Line 1
PO Protocol: 1
IU In Use: 1
MS Message Application: 5
MI Message Ident.: 6301
LT Link Type: 0
BR Baud Rate: 9600
SB Stop Bits: 1
PY Parity: 2
93
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
dec oct
94
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
1. 2 (BO) 0 0 750 3 0 1 0
2. 4 (AO) 1000 1750 1000 4 0 1 0
1. 2 (BO) 0 0 1000 3 0 1 0
Memory area 10 is not used in SPSC500.
Message split
It is often desired that spontaneous messages from the process stations are sent to
several applications in one or several base systems. This can be established with the
Message Split feature. Message Split means that a copy of a message is sent not only
to the application defined by the AS attribute, but also to other applications. The
Message Split feature is memory area specific, i.e. the feature must be defined
individually for each memory area.
95
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
selected as receiving applications. In order to set the attribute on-line with SCIL, see
the System Objects manual, Section 14.3.7. and the example below. In the
preconfiguration, the SL attribute can be found under "Memory Rung".
Example
Taking Message Split into use on-line:
#SET STA2:SSP = 2
#SET STA2:SSL101 = 2050
#SET STA2:SSL303 = 2049
The SPLIT function is activated. An error message will be generated, if the base
system defined in the station does not answer. The messages connected to memory
area 1 are sent also to APL2. Messages connected to memory area 3 are sent also to
APL1.
96
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Example
A SCIL command procedure for the creation of an AI type SRIO object:
Defining Variables:
@OBJ_IND = Object nr (index) in the SRIO database
@ANSI_A = Object address in the MIcroSCADA database
@BUS = Bus number
@SPA_A = SPA address as a 6 word vector (see the SRIO manuals)
@DTYPE = Data type
@DFORM = Data format
@DELTA = Delta value
@STATUS = Status word as an integer
Defining Constants:
@OB_PAR_I = 5000
@ANSI_A_I = %OB_PAR_I
@BUS_I = %OB_PAR_I + 500
@SPA_A_I = %OB_PAR_I + 1500
@DATA_T_F_I = %OB_PAR_I + 4500
@DELTA_I = %OB_PAR_I + 5500
@STATUS_I = %OB_PAR_I + 6500
Creating Object:
#SET STA1:SME (%ANSI_A_I+%OBJ_IND) = %ANSI_A
#SET STA1:SME (%BUS_I+%OBJ_IND) = %BUS
@SPA_STADR = %SPA_A_I + 6 * %OBJ_IND
#SET STA1:SME (%SPA_STADR..(%SPA_STADR+5)) = %SPA_A
@D_T_F_ADR = %DATA_T_F_I + 2 * %OBJ_IND
@DATA_T_F(1) = %DTYPE
97
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
@DATA_T_F(2) = %DFORM
#SET STA1:SME (%D_T_F_ADR..(%D_T_F_ADR + 1))=%DATA_T_F (1..2)
@DELTA_S_A = %DELTA_I + 2 * %OBJ_IND ;32-BIT ADDRESS
#SET STA1:SME (%DELTA_S_A) = %DELTA
#SET STA1:SME (%STATUS_I+%OBJ_IND) = %STATUS
A data group may consist of 10 data items, and there may be up to 100 data groups.
The data group definition tells the ordinal numbers of the data items in the group.
The data group definitions are found from the address (7000 + object parameter area
start address). Above is an example of a SCIL command procedure which defines a
data group.
The event data polling may comprise up to 300 SPA bus slave units (100 slaves/bus).
In the address range starting from 8000 + object parameter area start address. The
following features of each object to be event polled are defined:
• Bus number
• Unit number
• Unit type
• Status
Examples:
Defining variables:
@GROUPNR = Number of the group to be created
@MEMBERS = Vector containing the ordinal numbers of the group members
in the SRIO 1000M database.
Defining Constants:
@GROUPDEFSA = 12000
@GROUPLEN = 10
Variables:
@ENTRYNR = Nr of the event data poll list entry
@DEF ;@DEF(1) = %BUS
;@DEF(2) = %UNIT_NR
;@DEF(3) = %UNIT_TYPE
;@DEF(4) = %STATUS
98
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
99
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
TD = 8
SB = 1
PS = Buffer pool size, see Section 9.1.
DE = CTS delay in milliseconds
EN = Enquiry limit time in milliseconds
PD = Poll delay in milliseconds
PP = Polling of suspended stations
RP = Number of consecutive polls
TI = Timeout length in seconds
HT = Timeout in milliseconds for start of response reception
(default = 700 ms)
RI = Time delay in milliseconds before enabling a line after a
message. Default = 0. A time delay must be used, if NET's
transmission echoes back into the receiver.
RK = RTS keep up padding characters, see the System Object
manual, Section 13.4
2. Make sure that the application which will receive the spontaneous messages
from the station (the station attribute AS) is defined as an APL object. See
Chapter 9.
3. Define a station of type RTU connected to the RP 570 line:
Device type = 4
LI = Selected line number
AL = 1
AS = The number of the connected application
MS = The application receiving system message
MI = The object receiving system messages, see Section 15.1.
SA = RP570 station address (= the address in the RTU)
RT = Reply timeout in seconds
If several stations are connected to the same line, define the stations with the same
line number (LI).
The NET unit will recognise an automatically created "station", STA0, as "broadcast
station". The broadcast station notates all S.P.I.D.E.R. RTUs connected to the same
NET.
Regarding communication loops, see Section 14.3.
The following RTU200 features must be handled on-line:
4. Synchronize the RTU200 clock with the clock of the NET unit at start-up by
setting the SY attribute, e.g. #SET STAn:SSY (supposing that the NET clock
has been synchronized before). By using the broadcast station number, all RTUs
connected to one NET can be synchronized simultaneously.
5. If needed, change the AW attribute of the RP 570 line (see the System Objects
manual, Section 13.5). This is normally not necessary.
100
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Sub-RTUs
MicroSCADA revision beginning with 8.2B supports the configuration of
hierarchical RTU structures. Define the sub-RTUs as STA objects in NET and in the
base system, in the same manner as an RTU connected directly to NET as described
in the manual. The only difference between the directly connected RTUs and sub-
RTUs is the STAn:SHR attribute, see the System Objects manual, Section 14.4.1.
For STA objects corresponding to sub-RTUs, the HR attribute is the station address
of the RTU one level above in the hierarchy.
101
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Procedure
The RTU configuration can be performed independently of MicroSCADA, which
means that the MicroSCADA process object definition is built separately with no
help from the RTU configuration files. Alternatively, the RTU configuration can be
built via MicroSCADA, which means that the MicroSCADA engineer can utilize
the configuration in the process object definitions. Changes in the MicroSCADA
process database can then be loaded down to the RTUs.
The latter configuration method, which is recommended, is performed in the
following steps (see Fig. 12.2.1.-2):
• RTU configuration tool for RTU engineering, the EDU (Engineering and
Diagnostic Unit) tool. The RTU configuration is stored in keyed files. When
using EDU, a file conversion is required.
• Defining the process database objects in the MicroSCADA system using the key
files.
• Loading down the complete configuration, including possible changes made in
the MicroSCADA process database, to the RTU.
Station types
MicroSCADA recognises the following station types in the LONWORKS network:
REx A REx station is a unit communicating with MicroSCADA with
vertical communication as defined in LON Applications Guidelines
(e.g. REF 543 protection terminal)
SPA A SPA station is a SPACOM module connected to the LONWORKS
network via a protocol converter (i.e. an LSG device)
LMK An LMK station comprises all types of devices, except SPA and REx
devices, connected to the LONWORKS network using the standard
LONWORKS interface (e.g. an LSG device or a Weidmüller I/O device)
102
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
103
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
13. Mirroring
105
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The application containing the host station, is called the host application (of the
station) and the application containing the image station is called the image
application (of the station). Note however, that an application may have both host
and image stations, so it may act in different roles for different stations.
The process objects of a host station and an image station are mapped according to
their object address: If the object address (OA and OB) of a process object is
identical in the host and image database, the objects are considered to denote the
same signal in the station device. The logical names of the process objects may be
different in different databases.
All the process objects in an image database that are in use (IU = 1), have the switch
state AUTO (SS = 2) and map to an in-use AUTO state process object in a host
database, are subject for mirroring. No new process object attributes are used to
configure mirroring communication.
An image application subscribes to the events of process objects in its process
database. The image database may contain only a subset of addresses found in the
host database, the uninteresting signals may be dropped from the communication
load.
The mirroring functionality contains the following sub-functions:
1. The host application replicates the messages from the station device to each
image application that has subscribed to the object address.
2. The process commands (#SET and #GET) executed in an image application are
routed to be executed by the host application. The changed OV value is sent to
the image applications by the host.
3. Any access of STA:S attributes in an image application is routed to be executed
by the host application.
4. The host application replicates the system messages from the NET to each
image application that has subscribed to the system messages.
The mirroring communication between the host and image application is
implemented as APL-APL communication. Consequently, LAN, WAN and serial
communication may be used. The APL-APL communication between the host and
image applications must be configured to enable mirroring.
The communication between the host and the image is buffered and the
communication breaks are handled automatically. The events that have occurred
during the break are sent when the connection is re-established.
The hot stand-by configurations are supported, the switch-overs are handled
automatically with no events lost.
Mirroring may be disabled/enabled on a host/image application pair basis by setting
new APL object attributes. While the mirroring is disabled, the host buffers events
just like during other types of communication breaks.
Significant mirroring events, such as established or lost connections and
configuration mismatches, are reported to the application via application events
(event channels APL_EVENT and HOST_ADDRESS_MISSING).
Diagnostic counters, implemented as APL object attributes, help monitoring the
traffic between the host and image application.
106
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Because it is possible to create very large image applications using the mirroring
functionality, the maximum number of STA base system objects
(MAX_STATION_NUMBER in SCIL) has been increased from 2000 to 5000.
Station mapping
There are three station (STA:B) attributes that define the role and addressing of the
station in the mirroring network.
The MR (Mirroring Role) attribute defines the role of the station:
• MR = "HOST": This is a host station that transmits the process data to one or
more image stations defined by the attribute IS.
• MR = "IMAGE": This is an image station that receives the process data from the
host station defined by the attribute HS.
• MR = "BOTH": This is an image station that receives the process data from the
host station defined by the attribute HS. Furthermore, it itself acts as a host
station to the image stations defined by the attribute IS.
• MR = "NONE": This station does not participate in mirroring (default).
The HS (Host Station) attribute of an image station object defines where the
corresponding host station is to be found. It has a list value with two attributes:
APL The number of the (usually external) host application
UN The unit number of the host station in the host application
The IS (Image Stations) attribute of a host station object defines where the
corresponding image stations are to be found. The attribute is a vector of up to 10
list values with the following attributes:
APL The number of the (usually external) image application
UN The unit number of the image station in the image application
Process messages
In principle, all the messages from the station device to the host database are
replicated by the host database and sent to the image applications that have
subscribed to the object address. For the load control, however, some measurement
events may be dropped, see ‘Buffering and communication breaks’ below for
details. In a hierarchical mirroring network, the image application may also act as a
host and re-replicate the messages and send them further to their upper level image
applications.
The substituted values of the process objects (the ones written by SCIL along with
the SU attribute) are handled as real process values, i.e. they are subject to the
mirroring as well. This feature can be used to send mirroring events by SCIL: Define
an AUTO state process object with a pseudo-address (an address having no real
counterpart in the process station), and write to it using the following notation:
#SET ABC:P1 = LIST(OV = 1, SU = 1)
Process commands
Process commands, i.e. #GET commands and #SET commands of the OV (BO, DO,
AO or BS) attribute of an AUTO state process object, are sent to the host application
which executes them on behalf of the image application. In a hierarchical mirroring
network, the commands are delivered to the lowest level host. If the command is
107
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
successful, the new OV value is distributed as a mirroring event to the host database
and all the image databases. If it is unsuccessful, the status of the failed command is
returned to the controlling SCIL program in the image application.
When a process command is executed by the host application, the new OV value is
mirrored to all image databases.
System object (STA:S) communication
Evaluation of STA:S object attributes in an image application, as well as the SET
command (#SET) and GET command (#GET), is routed via the mirroring
mechanism to the lowest level host application, which executes the request on behalf
of the image application. The results (the status of SET and GET command and the
result of evaluation) are back-routed to the image application. The host database and
other image applications are affected only if the setting/getting/evaluation indirectly
generates messages from the station.
Because of the routing via the mirroring mechanism, the tools that communicate
with a station via its system object attributes may be run in an image application
without any SCIL code changes.
System Messages
System messages from the NET are delivered to image applications in a way very
similar to process messages. There is a slight difference in configuration due to the
fact that in the host application the system messages are always sent to virtual unit
number 0.
In the image application, a (non-zero) unit number must be reserved for each host
whose system messages are received. This unit then represents the virtual unit 0 of
the host. As in the case of process messages, the process objects within this unit and
the host unit 0 are mapped by their object addresses. In the STA object of the image
database, the unit is mapped to unit 0 of the host application by setting HS =
LIST(APL = host_application, UN = 0). When the image application starts up, it
subscribes to the system messages (object addresses) of the unit exactly in the same
way as it subscribes to the process messages.
In the host application, no STA objects related to system message mirroring are
needed, because system messages are always received to unit 0. Instead, the image
stations which are to receive system messages are listed in a new application
attribute IS (Image Stations for System Messages).
The IS attribute of the host application is similar to the IS attribute of a host station.
It is a vector of up to 10 list values, which define the image stations mapped to the
system messages of this host application.
Subscriptions
The communication between the host and image is subscription based. When the
image application successfully connects to the host, it scans through its process
database and sends a list of object addresses that it is interested in, i.e.: the addresses
that
• Are in use
• Are in AUTO switch state
• Belong to a unit (station) that is connected to the host
108
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
When the host receives a subscription, it immediately sends back the current value
of the object (with CT, cause of transmission, set to INTERROGATED). If the
requested object address is not found in the host database, an ADDRESS_MISSING
event is sent back.
An address is unsubscribed when a mirrored process object in the image database is:
• Deleted
• Turned out of use
• Set out of switch state AUTO
On the other hand, when an in-use AUTO object is created, the image application
automatically subscribes to its events ."
When an object with subscriptions to it is deleted or its state switched from in-use
AUTO state in the host database, an ADDRESS_MISSING event is sent to all the
subscribers. When a new process object is created (or switched to in-use AUTO
state), a NEW_ADDRESS event is sent to the image applications. They may then
decide to subscribe to its events.
The database of the image application may be only a subset of the host database, thus
reducing the required communication rate.
Each image application does its own subscription. The subscriptions may be
different.
Buffering and communication breaks
The events to be sent to image applications are buffered by the host system. Each
external application that serves as an image application in mirroring has its own
event queue.
• The EM attribute of the application (Event Queue Length Maximum) defines the
maximum length of the queue.
• The EU attribute (Event Queue Used) shows the current length of the queue
• The EP attribute of the APL object (Event Queue Overflow Policy) specifies the
policy to be followed when the maximum length is reached.
Two different event queue overflow policies are defined below:
• EP = "DISCARD": The queue is destroyed, an overflow message is sent to the
image and the communication is stalled. In this case, the image application does a
general interrogation to the host database, but some events may be lost.
• EP = "KEEP": The events are not allowed to be lost. In this case, the process
communication between the host application and PC-NET will be slowed down
just as if the EU attribute of the host application would have reached EM.
The "KEEP" policy is obeyed only during the established communication between
the host and image. If the limit is reached during a communication break, the
"DISCARD" policy is used.
When the connection to the image application is lost, the host only buffers events
without trying to send them. When the image application (or its HSB partner, if there
has been a take-over at image site) succeeds in re-establishing the connection, it
109
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
sends the sequence number of the last received message to the host and requests
retransmitting of newer events. If the host still have the requested events in its
buffer, it sends them and no events have been lost.
If the requested events are no longer available (because of queue length having
reached its maximum during the break or the host has been down), the image
application will do a new subscription and events may be lost.
During a communication break, the process objects in the image database are
marked as old by setting the object status value to 2.
The load control in the communication is done by reducing the rate of measurement
events. The term ‘measurement event’ here means a process message to an analog
input process object when all the following 3 conditions are met:
1. The object has a real value representation. Integer valued AI objects, i.e. the
ones with IR = 1, are not considered as measurements.
2. The event is a measurement event according to the load control policy of the
station, see below.
3. The object address is not included in the list of analog event addresses (attribute
AE) of the station, see below.
The rate of measurement events is reduced by the following two rules:
1. A measurement event is not sent if there is an event with the same value in the
queue already.
2. If there are two measurement events for the same object in the queue and a third
one is coming, the second one is discarded provided that the AZ (Alarm Zone)
attribute of all the three events is equal.
The LP (Load Control Policy) attribute of the station (STA:B) object defines which
analog events may be considered as ‘measurement events’ in the sense described
above. The attribute may take one of the following four values:
110
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
The AE (Analog Events) attribute of the station (STA:B) object is defined in the host
system. Its value is an integer vector of any length and it contains a list of the analog
input object addresses (OA) within the station that are not to be taken as
‘measurements’ in the sense described above.
Hot stand-by
HSB switch-overs are automatically taken care of, no SCIL command procedures
are involved.
To be able to do this, the base system must know which external applications make
up an HSB pair. Therefore, the SN (Shadowing Number) attribute of the external
applications that participate in mirroring must be set. Either of the two applications
numbers may be given as the APL attribute of the HS or IS attribute of the stations
participating in the mirroring.
For example, if in an image system, external host applications 7 and 8 make up an
HSB pair, the SN attribute of APL7 must be set to 8 and the SN attribute of APL8
must be set to 7. Either 7 or 8 may be defined as the APL attribute of the HS attribute
of the stations located in the host.
No events are lost due to HSB switch-overs, because the mirroring event queues are
shadowed by the host application and the events are sequence-numbered. After an
HSB switch-over of the host or the image application, the image application asks the
host to retransmit all the events newer than the last received event.
Disabling mirroring
In an image system, the mirroring communication with a particular host application
may be temporarily disabled by setting the HE (Host Enabled) attribute of the APL
object of the host to 0. Mirroring is re-enabled by setting the attribute back to 1.
In a host system, the mirroring communication with a particular image application
may be temporarily disabled by setting the IE (Image Enabled) attribute of the APL
object of the image to 0. Mirroring is re-enabled by setting the attribute back to 1.
While the mirroring is disabled, the host buffers events breaks, just like during other
types of communication, and sends them to the image when the mirroring is enabled
again
Application events
Various significant mirroring events are reported to the application via application
event channels APL_EVENT and HOST_ADDRESS_MISSING. For full
description of these event channels, see the Application Objects manual, Predefined
application event channels.
HOST_ADDRESS_MISSING is used in an image application to log the object
addresses that according to the image database should be mirrored but are not found
in the host database.
APL_EVENT is used both in the host and in the image application.
111
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The events reported by the event channel in the image application are the following:
The events reported by the event channel in the host application are the following:
112
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
“OVERFLOW” The event buffer for the image has overflown. Events
have been lost.
“BLOCKING” The event buffer for the image have become full, but
because of the defined event queue overflow policy
"KEEP", the buffer is not discarded. The connection is
now blocking (or slowing down) the communication
between the SYS and the NET in order not to lose any
events in the image application.
“NON_BLOCKING” The event buffer for the image is not full anymore. The
connection does not slow down the communication
between the SYS and the NETanymore. This event is
generated when the length of the event queue (EU) has
dropped below 90 % of its maximum (EM).
“DISABLED” The communication with the image has been disabled by
setting APL:BIE to 0.
“ENABLED” The communication with the image has been enabled by
setting APL:BIE to 1.
“IMAGE_DISABLED” The communication with the image has been disabled by
the image (by setting APL:BHE to 0).
“IMAGE_ENABLED” The communication with the image has been enabled by
the image (by setting APL:BHE to 1).
Diagnostics
Two diagnostic attributes of (external) application objects count various events in
the mirroring communication.
The HD (Host Diagnostics) attribute is a 10-element vector that, in an image system,
contains the following counters for the mirroring communication with the host
application:
113
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The elements 8 to 10 of both attributes are counted down when a mirroring session
is disconnected.The others are cleared only by explicitly doing so though a SCIL
program.
13.3. Configuration
The configuration of a mirroring system is quite a straightforward task. The main
steps of the mirroring configuration procedure are the following:
• Create a node for each base system in the mirroring system (and a LAN link).
• Create an external application for each image in the host system and an external
application for each host in the image system.
• Define the mirroring attributes for each station; the mirroring role (MR) of a
station, the image stations (IS) which are to receive events from the host for the
host stations and the host station (HS) for image stations.
• Raise the amount of APL-APL servers (APL:BAA) of each mirroring application
to 10. In most real applications, a lower value would do as well, but the cost of 10
servers is pretty low compared to finding out the smallest usable value. If, for a
reason or another, a lower value is preferred, the following rule-of-thumb can be
used: In a host application, set the APL:BAA attribute to 10 or two times the
number of connected image applications, whichever is lower. In an image
application, set the AA attribute to 10 or two times the number of connected host
applications, whichever is lower.
• Copy/create the process objects of the image application.
The process database of the image system can be a subset of the host process
database. All process objects, which are of interest, can be copied from the host to
the image.
Three example configurations are described in the following. The first example
describes a simple system where process events are mirrored from a host to an
image. Second case is an example of a system where a redundant image system
receives process events from several hosts. The usage of station mapping is
demonstrated in case 3.
114
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
mir_1.bmp
Mirroring attributes of the host stations can be defined in the user-defined programs
of the system configuration tool. The definition can be written in the user-defined
program of each station, or definitions can be grouped in the user-defined program
of the net node. If the system configuration tool is not used then the mirroring
attributes can be defined in SYS_BASCON.COM. The definition must be done for
each mirroring station; the definitions for unit 51 as an example in the following.
115
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The host application is connected to one image application, so there shall be at least
two APL-APL servers.
#SET APL1:BAA = 2
Now the host part of the mirroring configuration is ready. The image system
configuration is described in the following.
Image
A base system node for the host:
#CREATE NOD232:B = LIST(- ;Node for SYS_H
LI = 1,-
NN = “SYS_H“,-
SA = 232)
The mirroring configuration additions of the stations in the image base system can
be written in SYS_BASCON.COM.
Mirroring attributes for stations, here station 51 as an example:
#SET STA51:BMR = “IMAGE“
#SET STA51:BHS = LIST(APL=2, UN=51)
The image application receives messages from one host, which defines that the
number of APL-APL servers should be at least 2.
#SET APL1:BAA = 2
Now the configuration of the image system is ready. Both base systems can now be
started and the process objects which are of interest shall be copied from the host to
the image.
System messages
Some additional configuration is required to get the system messages from the NET
to the image. In the host application the attribute IS must be defined to introduce the
image station, which is to receive system messages.
#SET APL1:BIS = vector(list(APL=2, UN=91))
In the image system the respective station, here unit number 91, must be created to
receive system messages from the host.
#CREATE STA91:B = LIST(-
TT = “EXTERNAL“,-
ST = “RTU“,-
MR = “IMAGE“,-
HS = LIST(APL=2, UN=0)
TN = 91)
This unit 91 in the image base system now represents the virtual unit 0 of the host
and system messages from the NET will be delivered to the image application.
116
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
An external application shall be created for each image. The following code is added
in SYS_BASCON.COM of each host base system. Note the attribute SN which
defines the application number of the shadowing partner. Here external applications
2 and 3 make up a HSB pair.
117
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Mirroring attributes of the host stations can be defined in the user-defined programs
of the system configuration tool. The definition can be written in the user-defined
program of each station, or definitions can be grouped in the user-defined program
of the net node. If the system configuration tool is not used then the mirroring
attributes can be defined in SYS_BASCON.COM. The definition must be done for
each mirroring station; below an example of the definitions for unit 51:
#SET STA51:BMR = “HOST“
#SET STA51:BIS = VECTOR(LIST(APL=2, UN=51))
The host application serves one image application, so there shall be at least two
APL-APL servers.
#SET APL1:BAA = 2
The mirroring configuration additions of the stations for the image base systems can
be written in SYS_BASCON.COM
118
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Mirroring attributes for the stations, here the configuration for stations 51 and 53, is
presented as an example. Station 51 receives messages from host 1 and station 53
from host 2.
#SET STA51:BMR = “IMAGE“
#SET STA51:BHS = LIST(APL=5, UN=51)
The image application receives messages from two hosts, so there shall be at least
four APL-APL servers.
#SET APL1:BAA = 4
The mirroring configuration of the image base systems is now ready. All base
systems can now be started and process objects can be copied from the hosts to the
hot image.
Overlapping unit numbers
In a mirroring system where process events are gathered from several existing hosts
it is possible, even probable, that the same unit number exists in several hosts. Thus
after the process objects have been copied the overlapping unit numbers must be
changed in the image application. In the host base system this must be noticed when
defining mirroring attributes for the station. For example if unit 2 exists both in host
1 and host 2, the unit number of the process objects from host 2 must be changed to
any valid value which is not in use. Here the new unit number in the image
application can be 3. The mirroring definitions for station 2 shall then be
#SET STA2:BMR = “HOST“
#SET STA2:BIS = VECTOR(LIST(APL=2, UN=2))
in host 1 and
#SET STA2:BMR = "HOST"
#SET STA2:BIS = VECTOR(LIST(APL=2, UN=3))
in host 2.
In the image base system a new STA object, station 3, must be created with the
appropriate mirroring attribute values:
#CREATE STA3:B = LIST(-
TT = “EXTERNAL“,-
ST = “RTU“,-
MR = “IMAGE“,-
HS = LIST(APL=6, UN=2)
TN = 3)
119
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
120
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Image
Mirroring related configurations for the image.
#CREATE NOD232:B = LIST(- ;Node for SYS
LI = 1,-
NN = “SYS_H1“,-
SA = 232)
Station STA9 receives messages from unit 9 of host 1 and STA109 from unit 9 of
host 2.
#SET STA9:BMR = “IMAGE“
#SET STA9:BHS = LIST(APL=3, UN=9)
121
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
mir_5
122
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Create two external applications, one for the image and another for the host.
123
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Create nodes.
124
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
System architecture
Two base systems, based on the same or different hardware, are interconnected via
a LAN. The redundant base systems can share the same communication frontends,
or the communication frontends may be doubled as well.
125
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Minimum configuration:
• Two complete base systems connected to a LAN, each including at least two
applications - one main application, which is a part in the hot stand-by relation,
and one watchdog application which is dedicated for monitoring the main
application and performing a switch-over when needed.
• A LAN, TCP/IP.
• One or two communication frontends connected to the LAN.
• A standard watchdog application software package in each of the base systems.
The watchdog software package contains command procedures and data objects
for monitoring the operation and reconfiguring at switch-over.
Options:
• Printers connected via the communication frontends
• Additional applications in both base systems
• Operator workstations
The most reliable Hot stand-by configuration is obtained with stations of type
S.P.I.D.E.R. RTU and SPACOM.
Functional description
During normal operation, the running application in the primary base system sends
continuously shadowing data to an identical application in the stand-by base system.
Shadowing means that the following data is copied from the running application to
the stand-by application:
• All updating, including deletions, on disk under the application subdirectories
(APL_, PICT, FORM, MLIB, etc.), e.g. the process and report databases, the
picture database, text files and RTU configuration files.
• Updating of application data stored in RAM, e.g. process and report data, history
buffer and alarm buffer. Updating of cache memories, monitor states, printer
spool and execution queues are not copied.
• Last transaction number, i.e. the number of the last RP 570 or SPACOM event
message transferred from NET.
126
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Besides the shadowing data messages, the hot application sends cyclically
diagnostic commands and time synchronization commands to the stand-by
application. If it receives no acknowledgement to the messages, the connection to
the stand-by application is regarded as broken, and the shadowing halts until the
connection is re-established.
The watchdog application in the stand-by base system monitors the diagnostic
commands and messages from the hot application, and starts an event channel if no
message nor any diagnostic command is received within a specified time. The event
channel starts a command procedure, which examines the situation and performs a
switch-over if needed.
Switch-over means that the former stand-by application is switched to hot
application. When the stand-by application is set to HOT, an event channel
APL_INIT_H is started (instead of APL_INIT_1 and 2), which may be used, e.g. for
reconfigurations and updating (e.g. updating of the last transactions on RP 570 and
SPA lines). Apart from an ordinary application start-up, no process data is copied
from disk to RAM. The watchdog application in the new primary base system tries
to establish contact with the former hot application (which is now regarded as stand-
by application) cyclically with a specified time interval. At switch-over, the full
graphic workstations must be handled by application programs, or manually.
When the former primary computer is restarted after recovery, all files under the
redundant application directory are automatically deleted and the application files
are copied from the running application ("file dump"). Likewise, all application data
of the running application stored in RAM (e.g. process object data) is copied to the
redundant application in the recovered computer ("RAM dump"). While the RAM
data is copied, which may take some seconds depending on the application, the
running application is out of operation. The recovered computer continues as stand-
by computer. A new switch-over is obtained by a simulated error, e.g. by setting the
primary main application to cold.
127
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
@NO_OF_VS = 6 ;# OF VS MONITORS
@NO_OF_X = 0 ;# OF X MONITORS
@NO_OF_STAS = 0 ;# OF STATIONS
@STA_TYP = “RTU” ;DEFAULT STATION TYPE
@STA_NOD = %FE_NODES(1) ;DEFAULT NODE FOR STA
@NO_OF_PRIS = 2 ;# OF PRINTERS
@PRI_TYP = “NORMAL” ;DEFAULT PRINTER TYPE
@PRI_NOD = %FE_NODES(1) ;DEFAULT NODE FOR PRI
#CASE %THIS_IS
#WHEN %SYSTEMS(1) #BLOCK
@MY_NOD = %BS_NODES(1)
@ADJACENT_NOD = %BS_NODES(2)
#BLOCK_END
#WHEN %SYSTEMS(2) #BLOCK
@MY_NOD = %BS_NODES(2)
@ADJACENT_NOD = %BS_NODES(1)
#BLOCK_END
#CASE_END
@l_Standard_Paths = do(read_text(“/STool/Def/Path_Def.txt”))
128
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
;LIN_BEGIN
#LOOP_WITH I = 1 .. LENGTH(%LINKS)
@NAM = SUBSTR(%LINKS(%I),2,0)
#CASE %NAM
#WHEN “LAN” #CREATE LIN1:B = LIST(LT = “LAN”)
#WHEN “RAM1” #CREATE LIN2:B = LIST(LT = “RAM”, SD = “RM00”, RE =
“BCC”)
#WHEN “RAM2” #CREATE LIN3:B = LIST(LT = “RAM”, SD = “RM01”, RE =
“BCC”)
#WHEN “INTEGRATED” #CREATE LIN4:B = LIST(LT = “INTEGRATED”,-
SC = “\SC\PROG\PC_NET\PC_NETS.EXE”)
#CASE_END
#LOOP_END
;LIN_END
;FE_NOD_BEGIN
#CREATE NOD:V ;FRONT-END NODE
#LOOP_WITH I = 1 .. LENGTH(%FE_NODES)
#SET NOD:VLI = %FE_NODE_LINKS(%I) ;LINK NUMBER
@NODE = %FE_NODES(%I)
#SET NOD:VSA = 200 + %NODE ;STATION ADDRESS
#CREATE NOD’NODE’:B = %NOD
#LOOP_END
;FE_NOD_END
;BS_NOD_BEGIN
#CREATE NOD:V ;BASE SYSTEM NODE
#SET NOD:VLI = 1 ;LINK NUMBER
#LOOP_WITH I = 1 .. LENGTH(%BS_NODES)
@NODE = %BS_NODES(%I)
#SET NOD:VSA = 200 + %NODE ;STATION ADDRESS
#SET NOD:VNN = %SYSTEMS(%I)
#CREATE NOD’NODE’:B = %NOD
#LOOP_END
;BS_NOD_END
;STA_BEGIN
#CREATE STA:V = LIST(-
ND=%STA_NOD,-
ST=%STA_TYP,-
TT=”EXTERNAL”)
#LOOP_WITH I = 1 .. %NO_OF_STAS
#SET STA:VTN=%I
#CREATE STA’I’:B=%STA
#LOOP_END
;STA_END
;PRI_BEGIN
@PRI_MAP(1..20) = 0
#LOOP_WITH I = 1 .. %NO_OF_PRIS
129
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
#CREATE PRI:V
#SET PRI:VND=%PRI_NOD
#SET PRI:VDT=%PRI_TYP
#SET PRI:VTT=”LOCAL”
#SET PRI:VTN=%I
#IF PRI:VND == %MY_NOD #THEN #SET PRI:VDC = “LINE”
#ELSE #SET PRI:VDC=”NET”
@PRI_MAP(%I) = %I
#CREATE PRI’I’:B=%PRI
#LOOP_END
;PRI_END
;MON_BEGIN
@FIRST_FREE_MON = 1
@MON_MAP(1..50) = 0
#LOOP_WITH I = 0 .. (%NO_OF_VS - 1)
@MON = %FIRST_FREE_MON
@FIRST_FREE_MON = %FIRST_FREE_MON + 1
@MON_MAP(%MON) = -1
#CREATE MON’MON’:B = LIST(TT = “LOCAL”, DT = “VS”)
#LOOP_END
#LOOP_WITH I = 0 .. (%NO_OF_X - 1)
@MON = %FIRST_FREE_MON
@FIRST_FREE_MON = %FIRST_FREE_MON + 1
@MON_MAP(%MON) = -1
#CREATE MON’MON’:B = LIST(TT = “LOCAL”, DT = “X”)
#LOOP_END
;MON_END
#block_end
130
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
#CREATE APL:V
#SET APL:VNA = “WD” ;APPLICATION NAME
#SET APL:VTT = “LOCAL” ;TRANSLATION TYPE
#SET APL:VAS = “HOT” ;APPLICATION STATE
#SET APL:VPQ = 2 ;PARALLELL QUEUES
#SET APL:VMO = %MON_MAP ;MONITOR MAPPING
#SET APL:VPR = %PRI_MAP ;MONITOR MAPPING
;APPLICATION MAPPING
#LOOP_WITH I = 1 .. LENGTH(%APL_NUMS)
@NUM = %APL_NUMS(%I)
#SET APL:VAP(%NUM) = %NUM
#LOOP_END
@APLN = %APL_NUMS(2)
#CREATE APL’APLN’:B = %APL
;WD_APL_END
131
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
#LOOP_WITH I = 1 .. LENGTH(%APL_NUMS)
@NUM = %APL_NUMS(%I)
#SET APL:VAP(%NUM) = %NUM
#LOOP_END
@APLN = %APL_NUMS(1)
#CREATE APL’APLN’:B = %APL
;MAIN_APL_END
;----------------------------------------------------
;Station Types
;----------------------------------------------------
;Node, Link for PC-NET & Stations
132
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
THIS_IS The node name of the base system in question. Note that this
number is different in the other hot stand-by base system
configurations.
APL_NAME The name of the main application. Give the main applications
the same name in both base systems.
APL_NUMS The numbers of the main and watchdog applications, and the
main and watchdog applications in the partner base system.
Other variables define the used links (marked by an asterisk) and the total number
of stations. The default stations defined in SYS_BASCON.HSB are of type
S.P.I.D.E.R. RTU ("RTU") and connected to node 1.
2. Define the base system as a SYS:B object with the Shadowing attribute SH = 1.
3. If the system contains other than default types of stations, or stations connected
to other nodes, edit the STA block. If there are several types of stations, or
stations connected to different nodes, copy the STA block and edit the copied
block.
You may also want to check the application definitions. The configurations below
are the default values that can often be used as such.
The local watchdog application, an APLn:B object with:
Shadowing State SS = "NONE"
Application State AS = "HOT"
• The external applications, APLn:B, for the main (partner) and watchdog
applications in the redundant base system. For more information, see Chapter 5.
• The main application, an APLn:B object. The following shadowing attributes are
specified:
Application State AS "COLD"
Application Mapping AP Both the watchdog application and the
external applications are mapped to
the application
Monitor Mapping MO The monitors (windows) are mapped
for the application
Shadowing Number SN The logical application number of the
shadowing application according to
the AP attribute
Shadowing Watchdog SW The logical application number of the
watchdog application according to the
AP attribute
Shadowing Flush Time SF The maximum time interval between
shadowing data transmission
Shadowing Diagnostic Interval SI The time interval between diagnostic
commands from the primary system to
the hot stand-by
Shadowing Connection Time SC Time-out for contact taking with the
stand-by application
133
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
134
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Application
The watchdog application software package handles the following procedures for all
hot stand-by applications within the base system:
• When a base system is started, it checks which main application was operating
last and sets the state of the application to "HOT_SEND".
• During the operation, it monitors the messages sent from the hot application. If
no messages are received in a specified time defined by the Shadowing Receive
Timeout (SR) attribute a switch-over is started and the stand-by application is set
to "HOT" and "HOT_SEND".
• If the hot system does not get acknowledgments from the stand-by system, it
regards the connection as broken, and the shadowing ceases (SS = "NONE"). The
watchdog application then checks the connection by sending commands
cyclically (with an interval of a few minutes) to the stand-by system, and starts
shadowing (SS = "HOT_SEND") when the connection has been re-established.
Installing
To install the watchdog application package:
1. Enter the Base System tool from the Tool Manager.
2. Select Base Objects.
3. Select Tools - HSB Management.
135
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The file dump is completed when the File dump time appears to the Shadowing
dialog, which is opened from the Applications dialog in the Base System
Configuration tool. For more information on supervising and controlling hot stand-
by systems, see Chapter 3 in the System Management manual.
136
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Shadusr example
In this example the shadusr is used for programming functionality related to the
event list. The texts that should appear in the event list are specified in the following
situations: transmission starts, dump done, connection lost to receiver and take-over.
Below this, the texts for different state changes are specified. In the end of the
command procedure different actions are specified for the hot application appearing
when the state changes and in the other events.
137
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
#ERROR CONTINUE
@NODE_NRO=SYS:BND
@SYS_NAME=SYS:BNN
@APL_NM=APL'APL':BNA
#ERROR STOP
#CASE %EVENT
#WHEN 1 @TOX ="APL 'APL_NM' Copying is started "
#WHEN 2 @TOX ="APL 'APL_NM' Copying is finished "
#WHEN 3 @TOX ="APL 'APL_NM' Connection is lost "
#WHEN 4 @TOX ="APL 'APL_NM' The application is started "
#WHEN 5 #BLOCK
#ERROR IGNORE
@S=STATUS
@ST=SHADEXTAS:DOV(%APL)
@S=STATUS
#ERROR STOP
#IF %S==0 #THEN #BLOCK
@STATE=%ST
@TOX_AS="EXT APL ADJ_'APL_NM' The state changed "
#BLOCK_END
#ELSE #BLOCK
@STATE=10
@TOX_AS="EXT APL ADJ_'APL_NM' State "
#BLOCK_END
#BLOCK_END
#CASE_END
@ACTION=%EVENT-1
#LOOP_WITH DST_APL=1..2
@APL_ST=APL'DST_APL':BAS
138
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
;
#BLOCK_END
#LOOP_END
LAN
COM 510 or 530 1 COM 510 or 530 2 COM 510 or 530 3 COM 510 or 530 4
Node Number Node Number Node Number Node Number
NET1 NET2 NET3 NET4 NET5 NET6 NET7 NET8 NET9 NET10 NET11 NET12 NET13 NET14 NET15 NET16 NET17 NET18
serv_and_front.eps
Fig. 14.1.7.-1 A MicroSCADA system where there are two SYS 500 System
Servers and four COM 510 or 530 Communication frontends
Shadusr
In this example configuration there is no modifications made to the Shadusr.
Therefore, hot stand-by functionality related events and alarms are not generated
and shown to the operator.
LN = "SHADUSR",
CM = "USER DEFINED PROCEDURE FOR ALARM AND EVENT HANDLING", IU = 1,
ZT = 98-11-26 11:13:37, EP = 255, SE = 0, TC = "", PE = 0, PQ = 0,
HN = 0, MO = 1, IN =
; SHADUSR - USER DEFINED COMMAND PROCEDURE FOR GENERATING ALARMS AND
; EVENTS IN USER APPLICATION
;
; INPUT PARAMETER:
; %APL (INTEGER 1 .. MAX_APPLICATION_NUMBER,
; APPLICATION NUMBER)
; %EVENT (INTEGER:
; 1 = TRANSMISSION STARTS
; 2 = DUMP DONE
; 3 = CONNECTION LOST TO RECEIVER
; 4 = TAKEOVER
; 5 = EXTERNAL APPLICATION STATE CHANGE,
; STATE STORED IN SHADEXTAS:D(%APL),
; OS == 0 => AVAILABLE,
; OS == 10 => NOT AVAILABLE,
; OV == 0 => COLD,
; OV == 1 => WARM,
139
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
; OV == 2 => HOT)
;
;-END-ABB-----------------------------------------------------------
Shadmapmon
In this example configuration the monitors that are opened at take-over are specified.
The first part of the command procedure ending with the text
;-END-ABB------------------------------------------
is ready made. The text after this is the project specific part made by the project
engineer.
If the base system with the node number 21 becomes hot at the take-over, 3
predefined monitors of number 4 and 3 predefined monitors of number 5 will be
opened with the ops call to the computer named JSE_SYS1. When the base system
with the node number 22 becomes hot at the take-over, 3 predefined monitors of
number 4 and 3 predefined monitors of number 5 are opened to the computer named
JSE_SYS2. For more information about opening a predefined monitor and
monitors.dat file, see Chapter 2 in System Management.
LN = "SHADMAPMON",
CM = "USER DEFINED PROCEDURE MAPPING MONITORS AT TAKEOVER", IU = 0,
ZT = 99-04-14 13:05:25, EP = 255, SE = 0, TC = "", PE = 0, PQ = 0,
HN = 0, MO = 1, IN =
; SHADMAPMON - USER DEFINED COMMAND PROCEDURE FOR MAPPING MONITORS
; AT TAKEOVER
;
; INPUT PARAMETER:
; %APL (INTEGER 1 .. MAX_APPLICATION_NUMBER)
;
;-END-ABB------------------------------------------------------------
#Error Continue
@HOT=SYS:BND
#CASE %HOT
#WHEN 21 #LOOP_WITH I=1..3
@I=%I+1
@OPS=OPS_CALL("MONS -N -D JSE_SYS1 4",1)
@OPS=OPS_CALL("MONS -N -D JSE_SYS1 5",1)
#LOOP_END
#WHEN 22 #LOOP_WITH I=1..3
@I=%I+1
@OPS=OPS_CALL("MONS -N -D JSE_SYS2 4",1)
@OPS=OPS_CALL("MONS -N -D JSE_SYS2 5",1)
#LOOP_END
#CASE_END
Shadmapnet
In this example configuration the monitors that are opened at take-over are specified.
The first part of the command procedure ending with the text
;-END-ABB------------------------------------------
140
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
is ready made. The text after this is the project specific part made by the project
engineer.
First the time is specified in which data should have been received from the NET.
Then the numbers of the NETs, applications and base systems in the application
named JSE are specified. Then there are programs that translate:
LN = "SHADMAPNET",
CM = "USER DEFINED PROCEDURE FOR CONFIGURING NET'S AT TAKEOVER",
IU = 1, ZT = 99-03-15 01:11:02, EP = 255, SE = 0, TC = "", PE = 0,
PQ = 0, HN = 0, MO = 1, IN =
; SHADMAPNET - USER DEFINED COMMAND PROCEDURE FOR RECONFIGURING
; MICROFRONTENDS AT TAKEOVER
;
; INPUT PARAMETER:
; %APL (INTEGER 1 .. MAX_APPLICATION_NUMBER)
;
;-END-ABB----------------------------------------------------------------
---
#ERROR CONTINUE
@My_Nod = SYS:BND
#CASE APL1:BNA
#WHEN "JSE" #BLOCK
@NETS=(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18)
@APLS=( 5, 6, 7, 8)
@SYSS=(23,24,25,26)
#BLOCK_END
#OTHERWISE #BLOCK
@S=CONSOLE_OUTPUT("SHADMAPNET UNKNOWN APPLICATION")
#BLOCK_END
#CASE_END
141
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Shadgohot
LN = "SHADGOHOT",
CM = "USER DEFINED CHECKS FOR STARTING STANDBY APPLICATION", IU = 1,
ZT = 99-03-03 18:28:32, EP = 255, SE = 0, TC = "", PE = 0, PQ = 0,
HN = 0, MO = 1, IN =
; SHADGOHOT - USER DEFINED COMMAND PROCEDURE FOR CHECKING WETHER
; APPLICATION IS ALLOWED TO HOT OR NOT WHEN THE SHADOWING
; HAS DISCOVERED A CONNECTION LOST
;
; INPUT PARAMETER:
; %APL (INTEGER 1 .. MAX_APPLICATION_NUMBER,
; APPLICATION NUMBER)
; OUTPUT PARAMETER:
; %GO_HOT (BOOLEAN, TRUE OR FALSE)
;
;-END-ABB--------------------------------------------------------------
@A = Console_Output("SHADGOHOT:C Begin")
@a = Timeout(500)
@Counter=0
@New_Node = (9,10,11,12,13,14,15,16,1,2,3,4,5,6,7,8,18,17)
#Loop_With J = 1 .. Length(%New_Node)
#error Continue
@nods=Nod'J':ssa
@Know = status
#If %Know == 0 #Then @Counter = %Counter + 1
#Error Continue
#Loop_End
@a = Timeout(0)
@A = Console_Output("SHADGOHOT:C Go_Hot = 'Go_Hot'")
Shadremhot
LN = "SHADREMHOT", CM = "CHECK IF ALLOWED TO REMAIN HOT", IU = 1,
ZT = 99-03-10 13:48:51, EP = 255, SE = 0, TC = "", PE = 0, PQ = 0,
HN = 0, MO = 1, IN =
; SHADREMHOT - USER DEFINED COMMAND PROCEDURE FOR CHECKING WETHER
; APPLICATION IS ALLOWED TO REMAIN HOT AFTER DISCOVERING
; THAT ALSO THE SHADOWING PARTNER IS HOT
;
; INPUT PARAMETER:
; %APL (INTEGER 1 .. MAX_APPLICATION_NUMBER,
; APPLICATION NUMBER)
; OUTPUT PARAMETER:
; %REMAIN_HOT (BOOLEAN, TRUE OR FALSE)
;
;-END-ABB----------------------------------------------------------------
@A = Console_Output("SHADREMHOT:C Begin")
@a = Timeout(500)
@NET_CNT = 0
@New_Node = (9,10,11,12,13,14,15,16,1,2,3,4,5,6,7,8,18,17)
@BS_NODE=SYS:BND
@APL_NODE=%BS_NODE*10000+%APL
#Loop_With J = 1 .. Length(%New_Node)
#Error Continue
@NET_NRO = %New_Node(%J)
@ST = NET'NET_NRO':SSA
@STS = STATUS
142
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
@a = Timeout(0)
@A = Console_Output("SHADREMHOT:C Rem_Hot = 'Remain_Hot'")
Shadglobal
143
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
System architecture
A redundant frontend pair consists of:
• Two communication frontends with one communication board in each.
Additional boards require extensions to the standard redundant frontend
application software.
• Line switches with 1...7 external RP 570 lines for RTU communication. There is
one line switch per Process Station line.
• A standard redundant frontend application software package.
Each of the communication frontends is permanently connected to one or more (up
to four) base systems via a LAN. One base system can be connected via a COM port
and a serial RS-232-C line.
The two frontends must be interconnected for transmission of event data, either via
a COM port or a NET line. If a COM port is occupied for a base system connection,
the communication frontends are connected via a NET line.
Functional description
Both communication frontends are permanently physically connected to all line
switches. The switches are controlled by a DTR signal issued by the stand-by
frontend. As long as the DTR signal from the stand-by frontend is passive, the RTUs
are connected to the hot frontend. When DTR is activated by the stand-by frontend,
144
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
the line switches turn towards this one, which gets the Process Station connections.
Provided that the line switches are sensitive to the rising DTR edge, the former hot
frontend can take the lines back after recovery. The operation of the RTUs is not
effected by the NET redundancy procedures.
The frontend switching can be initiated by the operator from the NET configuration
tool picture, e.g. for testing purposes.
During normal operation, the hot NET sends the following data cyclically to the
stand-by NET:
• RTU event information and RP 570 line status
• Communication loop configuration data
Table 14.2.-1 Information transferred from the running NET to the standby
NET
WHEN WHAT
NET configuration
The NET programs of the both redundant communication units have the same
preconfiguration, except for the node number, ACP station address and system
message handling attributes. Both NETs are basically defined as described in
Section 8.1. The NETs must know each other as nodes residing on the redundant
connection line, i.e. either a NET line or a serial line via a COM port. Regarding the
connected stations and applications, both NETs must have exactly the same
configuration.
To build two redundant frontends, configure each of the NETs as follows in the
preconfiguration of the NET programs:
1. Define the fundamental configuration of the NET as described in Section 8.1.
Use the default MI values for system message addresses. If there are ANSI
stations, the SX attribute must be the same in both NETs. Define the NET
system message enabled SE attribute to value 2.
2. Check that line 13 is defined for the common RAM interface.
145
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
3. If the redundancy information will be sent via a NET line, define the line as an
ACP line with the following attributes:
PO Protocol: 00001
IU In Use: 00001
MS Message Application: 00001
MI Message Ident: 00000
LK Link Type: 00000
BR Baud Rate: 09600
SB Stop Bits: 00001
PY Parity: 00002
RD Receiver Data Bits: 00008
TD Transm. Data Bits: 00008
OS Output Synchronise: 00000
RE Redundancy: 00002
TI Time-out Length: 00001
NA NAK Limit: 00001
EN ENQ Limit: 00001
DE CTS Delay Length: 00000
ER Embedded Response: 00001
RP Reply Poll Count: 00000
PD Poll Delay: 00000
PS Buffer Pool Size: 00030
P Polling Period: 00000
CN Connection: [Ign]
4. Define the redundant partner NET as an external node, either on line 13 (if the
COM port is used), or on the NET line reserved for the redundant
communication.
5. Define the same STA objects and APL objects in both NETs, see Chapters 11 -
13.
All the STA definitions in both NETs must also be defined as STA objects in the
base systems.
Possible on-line configuration changes must be done in both communication
frontends. The only on-line configuration changes that are automatically transferred
between the communication frontends are communication loop data structures.
To restore the preconfiguration of the running NETs, restart them by setting the RS
attribute of the communication frontend to 3.
146
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Frontend configuration
Include the following configuration parameters in the MFLCONF.DAT file of each
of the redundant frontends:
1. Set CMOD =2 for the redundant NET.
2. Set CPNOD = the node number of the pair NET in the partner frontend (default
= subsequent numbers, 1 - 2, 3 - 4, etc.).
3. If the redundant communication will go via the COM1 port, define the peer
NET by the DST parameter.
4. Define the base system communication parameters.
LAN
Frontend Frontend
Node Number: Node Number:
Net 1 Net 4
Node Number: 1 Node Number: 4
Line 8 Line 8
Refeconf.eps
147
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Table 14.2.-2 An example configuration of two redundant frontends when the redundancy information is
transferred via a NET line. If the base systems are doubled, both base systems contain the same
configuration regarding the frontends and the RTUs.
Configuration of NET1 Configuration of NET4
148
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
149
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
150
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
RF_U_ONLC:C
This procedure will be used, if on-line configuration of the NET is needed.
RF_U_STA:C
Sets the stations in use and makes station specific actions on switch-over.
System architecture
Hardware requirements:
• A Loop control unit DSTC3002 or equivalent and two modems at each RTU
Software requirements:
• DCP-NET or PC-NET software, revision 8.2 or 8.4.
• MicroSCADA base system base product software revision 8.2 or 8.4.
• RTU200 or RTU210 software rel. 2. including loop support
• Communication loop application software package
Each RTU is equipped with a loop reversal unit and two modems. The ends of a
communication loop can either be connected to two lines of the same NET unit or
to two lines of different NETs (as in the example configuration on the following
page). The maximum number of RTUs per loop is 16. Branched communication
loop lines are not supported.
A maximum of 10 loops is allowed per application.
151
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
LAN
Base System 1
RTUs Communication_loop.eps
Functional description
The loop has a logical breakpoint, normally near the midpoint of the loop. All RTUs
on one side of the breakpoint are polled from that direction and the RTUs on the
other side are polled from the other direction. The breakpoint can be moved to any
loop segment, thus, all the RTUs can be even polled from the same direction.
Each RTU controls its own loop reversal unit and can change the listening direction
by opening or closing its loop reversal unit. The breakpoint is formed where two
adjacent RTUs are linked to different directions. A NET can command an RTU to
change the state of its loop reversal unit with an RP 570 command. If the RTU is not
polled from the current direction with other telegrams than SCI in the loop reversal
time, it will automatically turn its loop reversal unit and listen in the other direction.
Consequently, under all circumstances, all RTUs must be polled within this time,
otherwise some RTUs may turn to the wrong direction.
The loop reversal time-out is configured in the RTU, and can be set with an FTAB
command. The loop reconfiguration time depends on the number of RTUs in the
loop and the loop reversal unit turn time-out in the RTUs. An automatic
reconfiguration of a loop with 16 RTUs may take a few minutes.
If an RTU polled from one direction is suspended, a system message is sent to the
message application of the RTU in question. The application waits for a while. If one
or more RTUs are still suspended, a loop reconfiguration starts. The breakpoint can
be moved, e.g. so that all the suspended RTUs and all the RTUs situated between
them on the loop are polled from the other direction. During the reconfiguration, the
loop reversal units of the RTUs are turned according to the physical order of the
RTUs on the loop, and the loop is thus extended step by step.
152
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
When a NET starts to poll an RTU which has been shifted from the other direction,
it always starts with a status check (SCI). This means that the latest indication and
measured values are transmitted by the RTU. Events, pulse counter messages and
other queued data (from the four last telegrams if found) are automatically
retransmitted by the RTU. Therefore, no RTU information gets lost.
The communication loop configuration is built on-line. The standard loop
application software loads the communication loop configuration each time the
NETs have been restarted. If the NETs controlling the loop have redundant NETs,
the configuration commands will be forwarded to the stand-by NET. Information is
forwarded several times during a loop reconfiguration procedure.
NET configuration
Communication loop sets no special requirements on the preconfiguration of the
NETs. No direct communication between the separate NETs which control the two
ends of a loop is required. The NETs are defined to one another as normal nodes as
described in Chapter 8.
1. Define the loop line in both NETs. The line is configured as an ordinary RP 570
line, see Section 11.1.
2. Define all RTUs in both NETs. The RTUs in the loop are not in use (IU = 0).
153
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
are defined by a freely chosen name, the STA object number, listening direction,
and loop switch state.
7. When the loop is ready, build the application command procedures by clicking
on INSTALL CMD PROCEDURES.
The function keys CHANGE DIRECTION, OPEN/CLOSE, and SET BREAK do
not affect the configuration of the loop.
HSB_61850
Fig. 14.4.-1 Typical HSB system with IEC 61850 process communication
Both computers, A and B, consist of their own MicroSCADA base system, OPC
Data Access Client and IEC 61850 OPC Server.
When a fault occurs in the primary base system (computer A) including the HOT
application, the shadowing application in the stand-by base system (computer B) is
started and it takes over all the operational functions.
Typically there is need to minimize the switch-over time in the Hot-Stand-By
systems.
Hot stand-by
The watchdog application in the stand-by base system monitors the diagnostic
commands and messages from the hot application. If no message or diagnostic
command is received within a specified time, the watchdog application examines the
situation and performs a switch-over if needed.
154
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
; IEC61850 OPC_Client_Nod_begin
#CREATE NOD:V ;Client node
#SET NOD:VLI = 1 ;Client Link number
@NODE = 8 ;Node number
#SET NOD:VSA = 208 ;Node address
#SET NOD:VNN = "HSB1" ;Name of the base system
#SET NOD:VDI = 10 ;Diagnostic interval
#SET NOD:VDT = 30 ;Diagnostic timeout
#CREATE NOD'NODE':B = %NOD ;Creating node
; IEC61850 OPC_CLIENT_Nod_end
In this configuration set the stations in use. Use ‘Enable Circular Buffering’ in the
OPC Configuration Tool (see figure in chapter ‘Event Buffering Policies’).
155
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
CPI_Node_properties
HSB_install_packages
156
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
HSB_install_applications
START_OPC_DA_CLIENT_INSTANCE:C
#error ignore
@abb = ops_call("C:\sc\prog\OPC_Client\DA_Client\daopccl.exe -id ""iec61850""
-start ""C:\sc\sys\active\sys_\iec61850.ini"" -trace normal",0) ;
alternative -trace high
Create a STOP_OPC_DA_CLIENT_INSTANCE:C
#error ignore
@abb= ops_call("C:\sc\prog\OPC_Client\DA_Client\daopccl.exe -id ""iec61850""
-stop",0)
157
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Disable Buffering
When the policy is Disable Buffering, the OPC Data Access Client does not buffer
the events.
158
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
PC_Client_parameters
HSB_104
159
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
For each NCC connection there will be a separate IP interface. Three interfaces are
needed in the system example above in both COM500 computers for the NCC
connections. Each interface is assigned with an unique IP address. A switch is used
to connect different Ethernet cards to the network. It is also possible to use multiple
IP-addresses with one card as there is no restrictions in MicroSCADA to use this
configuration.
Three different IEC 104 communication slave lines should be created, one line per
IP-interface. Each line uses its own IP-address, defined with the LD-attribute of the
line.
In the Stand-By COM 500 Computer, the communication lines should be IU = 0
Limitations
• no keep-alive connection to stand-by COM500
• the switch is initiated by the Hot-Standby application of the COM500 and not by
the NCCs
• events may be lost or doubled when the COM500 switch occurs
Assumptions
• IEC104 master in NCC tries to establish the connection to another IP-address
(another COM500) when the communication has been broken for a
preconfigured time.
• Fixed IP-addresses are used, the network interfaces are non-removable.
160
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
15. Miscellaneous
This chapter describes:
15.1 Handling of the system messages generated in the communication
units.
15.2 Configuration of auto-dialling.
15.3 Time synchronization.
15.4 Storing the event history.
161
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
162
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Application requirements
To use the system messages in an application:
1. Create a fictitious process object of type ANSI analog input and set the Unit
Number (UN) attribute to 0. The system message codes of the device will be
registered as the object value of this object.
2. Set the objects Object Address (OA) attribute equal to the Message
Identification (MI) attribute and set the Switch State (SS) attribute to Auto.
3. Select direct scale (1-1).
Define the consequential operations by means of event, alarm and printout
attributes. See the Application Objects manual, Sections 3.2.6. and 3.2.7. for alarm
generation; 3.2.8. for activation of event channel and automatic updating in pictures;
3.2.10. for printout activation and 3.2.9. for including event history in the event list.
163
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
NET itself General messages, e.g. start-up messages 6000 + NET no.
Value: Status code.
Application supervision. 6050 + NET no.
Value: APL no.= failure
1000 + APL no. = recovery
(APL no. as known to NET)
Redundant frontend supervision 5900 + NET no.
Value: Peer NET no. = failure
1000 + peer NET no. = recovery
NET line All NET line messages 6000 + 100 NET no. + line no.
STA, ANSI Stations All STA messages from ANSI stations. 1000 + STA no.
Value: Status code
STA, S.P.I.D.E.R. RTU General messages, e.g. station suspension, 8000 + STA no.
recovery, etc.
Value: Status code.
Terminal status 8500 + STA no.
Value: Status code.
Terminal message 9000 + STA no.
Value: Message tag number, 0 ... 999.
Terminal event 9500 + STA no.
Value: Event tag number, 0 ... 999.
STA, SPA units All STA messages from SPA stations 1000 + STA no.
Value: Status codes
PRI, printers All PRI messages 3000 + PRI no.
Value: Status code
15.2. Auto-dialling
Auto-dialling can be used on all NET serial lines defined for the ANSI X3.28 Half
Duplex or Full Duplex protocols, ACP (MicroPROTOCOL), Modbus, IEC 1107 or
the RP 570 protocol. Auto-dialling is for example useful:
• For the connection of remote stations with infrequent data transfer
• For the connection of home terminals
• For taking a reserve line into use
Auto-dialling is possible in both directions
The auto-dialling line can be defined in the preconfiguration. However, the auto-
dialling feature cannot be preconfigured, it must be configured and taken into use
on-line.
Create the line in the preconfiguration or on-line. Depending on the device(s)
connected to the line, set the Protocol (PO) attribute to 1 for the ANSI X3.28 Full
Duplex protocol, 2 for the ANSI X3.28 Half Duplex protocol, 25 for Modbus RTU
mode master protocol and 26 for the IEC 1107 protocol.
The auto-dialling feature for a line can be added by using a tool or SCIL. The dial-
up modem has to be connected to the line while defining the auto-dialling feature.
164
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
which means that the connection is broken automatically after 500 seconds.
5. If needed, set the Radio Disconnection Delay (DD), Pulse Dialling (PU), Radio
Connection Wait Time (RW) and ACE AT S Register (SR) attributes. See the
System Objects manual, Section 13.6.
6. Set the In Use (IU) attribute of the line to 1, for example:
#SET NET1:SIU5 = 1
Dialling procedures
To dial up a workstation or RTU from a NET:
1. Set the Connection (CN) attribute in an application program as follows:
#SET NETn:SCNline = "phone"
where
'line' Line number
'phone' Phone number of the receiver
'station' Station number of the receiver
Dialling is done while the line is in use (IU = 1).
When the NET is dialling, system messages with codes 16107, 16208 or 16825
(depending on the protocol) are generated. If a station is dialling, the codes 16108,
16209 or 16826 will be generated. A failed dial-up generates the code 16704.
The connection to an RTU will be broken automatically, if the RTU becomes
inoperable, if it hangs up, or when the RTU is the dialling part,or if it has nothing to
send (after two subsequent CCR2 responses). In addition, the connection can be
broken automatically according to the Connection Time (CT) attribute. If the
connection is not broken automatically, break it as follows:
2. Set the Connection (CN) attribute to 0:
#SET NETn:SCNline = 0
A succeeded hang-up generates the system message with code 16733. If the hang-
up failed, the code 16702 or 16703 is generated. The status codes 16106, 16107 and
16810 indicates that disconnection has started.
165
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Examples:
Dialling a MicroTERMINAL:
#SET NET1:SCN5 = "1234567"
166
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
The time of the stations (S.P.I.D.E.R. RTUs and ANSI stations) are synchronized by
means of the Clock Synchronization (SY) attribute. SPACOM units are
synchronized automatically.
which read the base system time and copy it to the NET time. In order to get better
accuracy, regard the transmission and execution delays. Use the program under the
function key SYNC NET FROM SYS in the SYSO_NNET.PIC picture as a model.
This does not regard the transmission and execution delays, it requires a more
extensive procedure.
This procedure does not regard the time delay required for executing the command
and communicating with NET.
Synchronising stations
To synchronise NET and a S.P.I.D.E.R. RTU200 or ANSI station, set the Clock
Synchronization (SY) attribute of the station, e.g. #SET STAn:SSY. For
S.P.I.D.E.R. RTUs, all the RTUs connected to one NET can be synchronized
simultaneously by using the broadcast station number. ANSI stations must be
synchronized individually.
167
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
168
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
For more information about these attributes, see Chapter 3 in the Application
Objects manual.
Configuration
Define the HP attribute as "DATABASE". History database requires no special
configuration, in addition to this. Note that the HL attribute has no meaning, if
APL:BHP == "DATABASE".
Configuration
To build an event log on disk, create a PRIn:B base system object with the
following attributes:
169
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
For detailed information on the attributes, see the MicroSCADA System Objects
manual, Chapter 10.
The event log files are not destroyed by MicroSCADA, but should
be deleted manually when no longer needed.
170
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Debug support
For debug support, System Configuration tool provides a mechanism to view the
interpreted command lines, which are constructed from the configuration view.
In case of invalid configuration interpretation, possible SCIL errors are echoed in the
MicroSCADA Notification window. SCIL errors are also saved in a log file.
171
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
SCTPage1
Fig. 16.2.-2 Menu bar, tool bar, object tree and an attribute tree in the System
Configuration tool
172
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
A tree can be expanded by clicking the + sign on the left or double-clicking the text
area on the right. Likewise, the tree can be collapsed by clicking the - sign or double-
clicking the text area. The - sign means that the branch of the tree cannot be
expanded any further.
The whole attribute tree can be expanded and collapsed using the + and - buttons that
are situated below the tree (see Fig. 16.3.-1).
Fig. 16.3.-1 The Expand and collapse buttons for the attribute tree
173
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Node3
Fig. 16.5.1.-2 A new object is added by using the menu bar command
• Click the Object creation tool icon in the toolbar
174
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Fig. 16.5.1.-4 Number five is entered for the new line object
The new object is added to the object tree.
175
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
176
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
The default configuration is loaded in the tool. The tool is opened in the off-line
mode, which is shown in the status bar.
To save a configuration as the default configuration:
From the menu bar, choose Configuration > Save Active.
This command saves the configuration currently open in the tool as the default
configuration in the Sysconf.ini file. The configuration can be saved at any time and
this can be done in both the on-line and the off-line mode.I
In the on-line mode, only the objects that are In Use are saved with
Configuration > Save Active command.
Loading:
To load the current MicroSCADA system configuration in the tool, choose
Configuration > Open Online.
This changes the System Configuration tool to the on-line mode. The back-
ground color of the object and attribute trees are set to "Lavender" and the
text in the lower rigth corner is changed to “Online” when the Online mode
is selected.
Under MicroSCADA Configuration node there is a node called Station Type
Definitions (see Fig. 16.7.-1). This object includes all the different station types and
it appears, when the MicroSCADA Configuration node is expanded. Deletion of this
object is not possible.
177
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Online1
Saving:
If the online configuration is saved using the command Configuration > Save
Active, the following notification dialog appears on the screen:
"Saving the on-line configuration overrides current active configuration in
files. If e.g. some stations do not communicate in the on-line mode for some
reason, they are removed from the active configuration. Proceed?"
• Clicking Yes overrides the current active configuration in the System
Configuration tool and saves the online configuration as the default
configuration.
• Clicking No cancels the saving operation.
If the menu bar command Configuration > Save Active is selected, the
configuration must include a Link object and a NET Node object related to the
Link.
178
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
If the Link object and/or the NET Node object are not present, the
PC-NET wil not start up successfully. Therefore, it is not possible to
save this kind of invalid configuration with the Save > Active
command.
Attr.tree1
179
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
PS_attribute
Fig. 16.7.-3 Editing the PS attribute value with the numeric spinner
180
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
LON_line5
Fig. 16.8.-1 The LON line number five is selected in the Object tree
3. Double-click the text Basic Line Attributes (or click the + sign beside the text)
in the Attribute tree (see Fig. 16.8.-2).
This will expand the Basic Line Attribute group and show all the attributes in it.
LON_attrib
InUseState1
181
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Delete_station
Remove_redu
182
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Paste
1. In the configuration tree, select the parent object for the object on the clipboard.
2. Choose Edit > Paste from the menu bar.
The pasted object will be a child object for the selected parent object.
During the Edit > Paste sequence, the possible signal data is taken into use from the
clipboard. (This concerns REx, LMK, SPA and LON Clock Master devices only.)
The System Configuration tool guards against incorrect configuration: It is not
possible to paste a SPA device directly under a LON line (an LMK device is needed)
or to paste an LMK device under a SPA line.
Paste As Range
The configuration object that was copied into the clipboard can be pasted several
times. The paste object number collection is based either on the definition of the
minimum and maximum object numbers (e.g. from 1 to 10) or on the definition of
individual object numbers (e.g. 4, 5, 8, 10). The Paste As Range function can be
found in the Edit menu.
Paste_as_range
Fig. 16.10.-1 The minimum object number is defined to be 1 and the maximum
object number 10
183
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
If the copied object includes a set of child objects (e.g. copied LMK station includes
several SPA stations), the pasting of the object (LMK station) does not include
pasting of the child objects (SPA stations). If there is a need to copy also the child
objects, they have to be copied separately.
System Configuration tool includes error handling during the pasting of objects.
Preview_options
Preview_options2
184
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
In the status bar of the System Configuration Tool, there is information for user-
defined SCIL programs with the following meanings:
• If an enabled symbol exists, the selected object includes a user-defined SCIL
program.
• If a disabled symbol exists, it is possible to include a user-defined SCIL program
for the selected object, but nothing has been attached yet.
• If no symbol exists, it is not possible to include a user-defined SCIL program for
the selected object.
1. Select the object to be modified.
If the symbol exists in the status bar, you can modify the SCIL program or create a
new one.
2. From the menu bar, choose Program > User-Defined.... (see Fig. 16.12.-2).
Open_SCIL_editor
SCIL_editor
185
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Fig. 16.13.-1 The General Object Handling Command dialog will be opened
A dialog box is opened (see Fig. 16.13.-2).
3. Enter the appropriate values.
If you click Send, the command will be send to the selected REx Station. The Close
button closes the dialog without sending any command.
Example:
Fig. 16.13.-2 General Object Handling Command dialog with example values
If you enter the same value definitions that you can see in the above dialog (see
Fig. 16.13.-2) and click Send (or press ENTER on the keyboard), the following
SCIL command will be send to the REx station number one:
#SET STA1:SGO = (1, 1342, 3, 4, 2, 0, 1)
186
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
16.14. Environment
The attribute tree definitions and PC-NET Start-up delay time can be set in the
Environment dialog.
187
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Fig. 16.15.-2 This dialog informs the user that the current SYS_BASCON.COM
template must be replaced to enable the system self-supervision
188
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Supervision log
The System Configuration Tool includes also access to Supervision Log. To enter
the Supervision Log dialog, choose Tools > Supervision Log from the menu bar
The Supervision Log displays all the different events in MicroSCADA and the
Windows system (see Fig. 16.15.-3). Different log types are:
• Common system messages
• Unknown process objects
• System events from operating system
• Security events from operating system
• Application events from operating system
To select the log type, choose Log from the menu bar and select the appropriate log
type from the menu items. For the events shown in the view, there is a possibility to
set a different filter condition, e.g. events from a certain station number.
189
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
190
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Supervision_disp
191
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Communication
The application object source for communication depends from used component
(IEC 61850 or PC-NET) in MicroSCADA system.
• For IEC 61850 OPC Server, the supervision should be based on mapping of
specific OPC Item found from the IEC 61850 OPC Server
• For PC-NET, the supervision should be based on cyclical reading of PC-NET
internal communication line
In both of these cases, the binary input process object should be found from the
process database.
Station
The application object source for station object supervision depends from the
protocol used in MicroSCADA system.
• When there are stations connected through IEC 61850 communication protocol,
the supervision of stations should be based on mapping of Device Connection
Status OPC item found from the IEC 61850 OPC Server
• In the case of all other protocols, the supervision of stations should be based on
mapping of system message process object received from PC-NET
Again, in both of these cases, the binary input process object should be found from
the process database.
192
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
16.16.1.2. Dynamics
When dynamics is added to the supervision symbols, they start to reflect the
communication status of components in the system. The following issues need to be
taken into consideration:
• Object and location of dynamics in symbol
• Settings for dynamics
• Usage of own Palette
• Saving of supervision display
Object and location of dynamics in symbol
Following chapters describes the possible dynamic objects to be used for
supervision symbols, and principles about location of these objects related to static
supervision symbol.
Object in symbol
Select some of the items found from the Objects toolbar of Display Builder to be
used, when including the dynamics into supervision symbol.
Obj_toolbar
193
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Inside_dynamics
Beside_dynamics
194
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Polyline_obj
For the object there is need to introduce the Min and Max values. Using the
Threshold Editor, the possible values of Data Variable are mapped to use certain
colors, see the figure below.
195
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Threshold_editor
When the threshold values have been introduced for some supervision symbol type,
use the Save button of Threshold Editor to save these definitions into threshold file.
Then later on, load this threshold file for every supervision symbol of this same
threshold value semantics.
Usage of Own Palette
To increase the productivity, when building-up supervision display, the most
efficient engineering is achieved, when these proposed SA symbols are taken as a
source, and extended with dynamics.
Create a new folder with name 11 - Supervision into
\sc\prog\graphicsEngine\Palette folder. Then include all the supervision sub-
drawing files with bitmap files into this folder. The 32 x 32 pixel bitmaps can be
created with any applicable software that is able to save in 256 color 8-bit BMP
format.
196
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Note that next time, when Display Builder is started, the Palette folders appear in
alphabetical order. To hide the bitmap files in the tab do the following. Select a
bitmap file, select Hide Item from the pop-up menu accessed from the right-mouse
button.
Supervision_palette
When later instantiating the supervision symbols, select the symbols from this tab.
Then, when connecting the symbol to the related application object, use the Open
Subdrawing menu item of pop-up menu, when symbol is selected in the Display
Builder.
Saving of Supervision Display
Before saving, select all graphical objects and click Actions > Remove Selected
Objects from Topology. This ensures that Busbar Coloring ignores the supervision
display in Monitor Pro.
197
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
When process objects are connected to the predefined event channel SYS_EVENT,
the binary information is used as a source for base system supervision with
following semantics.
Command Procedure
An example of the command procedure to be attached into predefined event channel
SYS_EVENT
#case %SOURCE
#when "NOD" #block
#case %SOURCE_NR
#when 9 #block
#if %EVENT == "LOST" #then #set SYS_N0009:POV10 = 1
#else #set SYS_N0009:POV10 = 0
#block_end
#when 10 #block
#if %EVENT == "LOST" #then #set SYS_N0010:POV10 = 1
#else #set SYS_N0010:POV10 = 0
#block_end
#case_end
#block_end
#case_end
Sup_base_syst1
198
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Example
Sup_monitor
16.16.1.5. Communication
The application objects related to communication depends in which way the
communication occurs to the MicroSCADA system.
PC-NET
The status of PC-NET should be supervised through a cyclical period. The
application object for PC-NET supervision could be process object updated through
time channel.
Command Procedure
An example of the command procedure to be attached into time channel to supervise
the PC-NET
@i_Timeout = timeout(1000)
#error ignore
@i_Status = status
@i_IU = NOD3:SSA
199
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
#error stop
@i_Timeout = timeout(%i_Timeout)
The codes are converted to the appropriate MicroSCADA status codes. The
correspondence of the codes is the following:
200
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
When above process object is used as a source for communication line supervision,
the following semantics is found from the attribute value.
16.16.0.1. Station
The application objects related to station supervision depends in which way the
stations are connected to the MicroSCADA system.
• PC-NET
• IEC 61850 OPC Server
PC-NET
When stations are connected to the MicroSCADA through PC-NET, it is possible to
use the related STAn:Bnn attributes together with process objects updated by the
system messages from PC-NET.
When STAn:Bnn attributes are used as a source for station supervision, the
following semantics could be utilized to provide additional information beside the
station symbol itself.
The system message process objects should be created according to the definitions
in the Application Objects manual.
201
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
When above process objects are used as a source for station supervision, the
following semantics is found from the attribute value.
202
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Fig. 16.17.-1 The indicator shows that the selected object includes signal
information
203
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Add/Edit
Add and edit functions open the signal Add/Edit dialog for entering or changing the
signal information. The user interface of this dialog depends on the station type.
OK
The OK button accepts the entered values into the signal list of the device and closes
the Add/Edit dialog.
Cancel
The Cancel button cancels the add/edit operation and closes the Add/Edit dialog.
Apply
The Apply button accepts the entered values into the signal list without closing the
dialog.
• When a device configuration tool is closed, the signals related to the selected
device are transferred to the System Configuration tool. When Configuration -
Save Active is chosen, these signals are saved into the configuration files and
they become a part of the configuration data. The device signals are interpreted
automatically, when the NET communication is starting.
• SCIL commands which are constructed from the device signals, can be seen by
choosing Configuration - Preview... from the System Configuration tool menu
bar.
To edit signal information:
1. In the Object Tree, select the station to be engineered.
2. Choose Tools - Signal Engineering... from the menu bar (see Fig. 16.17.-2).
The station configuration page opens and it can be edited.
204
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Fig. 16.17.-3 The topic information of a PLC station is shown in the Advanced
page of the System Configuration tool
A new topic item can be added by clicking Add, which opens the Add Topic Item
dialog (see Fig. 16.17.-4). In this dialog, the default topic type is object command or
the type of the last added topic item. The maximum number of topic items for each
device is 100. If the station already includes 100 topic items, the Add button is
disabled.
Fig. 16.17.-4 New topic item Object Command is to be added to a PLC station
Existing topic items can be deleted by selecting the appropriate item in the list and
by clicking Delete. Before the delete operation is done, a notification dialog is
displayed to the user. Clicking Yes deletes the selected topic item and refreshes the
list. Clicking No cancels the delete operation.
205
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
An existing topic item is edited by selecting the appropriate topic item in the list and
by clicking Edit... or double-clicking the topic item. The selected topic items are
displayed in the Topic Configuration Editor with the existing definitions (see
Fig. 16.17.-5). In this dialog, the topic type, allocation, first object address, last
object address, base address, format, interval and deadband are defined.
Allocation
This item specifies if the topic is in use or not. The memory needed for the topic is
reserved, when the topic is taken into use. Values: Enabled or disabled.
Base Address
The address of first item of topic in the device's memory. Values: 0 … 65535.
Format
Specifies how the data is stored in an external device.
206
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Interval
The frequency that the data of topic is read from an external device. The interval
units are milliseconds. If the interval is 0, the topic will not be polled. Values: 0 …
65535.
Deadband
If the type of topic is an analog value, then the deadband value is used to minimise
the amount of updating messages from the PC-NET to the base system. The new
analog value is sent to the base system, when the change or sum (integral) of changes
is bigger than the deadband. Values: 0 … 65535.
Fig. 16.17.-6 The memory area configuration of STA station is shown in the Advanced page of the System
Configuration tool
A new item can be added by clicking the Add button, which opens the Add Memory
Area Item dialog (see Fig. 16.17.-7). In this dialog, the default type is binary input
or the type of the last added item. If STA station already includes thirty items, the
Add button is disabled, because the maximum number of the memory area items for
each STA device is thirty.
207
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
STA_Advanced2
Fig. 16.17.-7 New memory area item, Binary Input, is to be added to the STA
station
The existing memory area items can be deleted by selecting the appropriate item in
the list and by clicking Delete. Before the delete operation is done, a notification
dialog is displayed to the user. Clicking Yes deletes the selected memory area item
and refreshes the list. Clicking No cancels the delete operation.
The existing memory area item is edited by selecting the appropriate item in the list
and by clicking Edit or double-clicking the memory area item. The selected items
are displayed in the Memory Area Configuration Editor with the existing definitions
(see Fig. 16.17.-8). In this dialog, the data type, coding, start address, length, access
type, block format, time stamp and split destination are defined.
208
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
STA_Advanced3
Data Type
Specifies the data type of process objects. The following data types of STA device
are available: Binary Input, Binary Output, Analog Input, Analog Output,
Transparent and Time Sync Data.
Coding
Coding of the data elements in the address interval defined by the memory area. The
value of CO attribute tells the communication program how to interpret the data of
the memory area.
209
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Values:
1 - 8 Bit Binary Value
2 - 12 Bit Binary Value
3 - 16 Bit Binary Value
4 - 32 Bit Binary Value
5 - 3 Digit BCD Value
6 - 4 Digit BCD Value
7 - Not in Use
8 - Not in Use
9 - 32 Bit Floating Point Value
10 - ASCII Data
11 - 16 Bit Integer Value
12 - 32 Bit Integer Value
Start Address
The word address of the first word’s memory area. Value range: 0 - 32767.
Length
Number of words in the memory area. Value range: 0 - 32767.
Access Type
Defines whether the write commands directed to this memory area are protected or
unprotected. The attribute is relevant only to Allen Bradley stations. Values:
0 = Unprotected
1 = Protected
Block Format
States if the spontaneous command messages from the station use the basic format
of the protocol, or if an additional address field is utilized. Values:
1 = Basic Allen-Bradley
2 = Special 1 (the message contains a second word address, which is a
BCD coded octal number)
3 = Special 2 (the message contains a second, binary word address)
4 = Multi-Event Transmission (allows transmission of many events with
non-continuous addresses in the same telegram)
Time Stamp
States whether the time tagged information is included in spontaneous commands
from the station. Values:
0 = No Time Stamp
1 = Time Stamp
210
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
211
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
17.1. Requirements
The NETCONF program requires a PC computer running under the MS-DOS
operating system with 286 processor or later, and at least 512 kB memory. Running
NETCONF requires at least 1 Mb free disk or diskette memory.
17.2. Installation
To install the NETCONF program:
1 Create a subdirectory for NETCONF.
If you want to install NETCONF on the C: drive in the NETCONF directory
enter the following command:
MD C:\NETCONF
If you are using the Windows operating system:
1. In the Windows Explorer (Start - Programs - Windows Explorer) select drive C:.
2. In the menu bar choose File, point New and click Folder.
3. Enter the name NETCONF to the created folder.
2 Copy the NETCONF program from the MicroSCADA installation CD to
the newly created directory. The NETCONF program can be found in
directory \Frontend\netconf on the CD.
If you have the installation CD in drive E: and want to copy the program to
C:\NETCONF, enter the following command:
COPY E:\FRONTEND\NETCONF\NETCONF.EXE C:\NETCONF
In the Windows Explorer:
1. Double-click the CD drive.
2. Double-click the folder FRONTEND.
3. Double-click the folder NETCONF.
4. Select the file NETCONF.EXE and press Ctrl+C on the keyboard.
5. Select the file NETCONF in the drive C: and press Ctrl+V on the keyboard.
Use
The NETCONF tool is applied for viewing, adding, modifying, copying and
documenting the preconfiguration parameters stored in the communication
programs. It can also be used for verifying the consistency of communication
programs.
187
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The NETCONF tool runs under the DOS operating system. It is therefore convenient
to use NETCONF for the preconfiguration of stand-alone communication units.
There is also a tool for preconfiguration handling during the MicroSCADA
operation. The tool performs the same tasks as NETCONF and is to be preferred
when internal frontends are preconfigured. For information on this tool, see chapter
15.
The preconfiguration tools should only be used by the system managers.
Files
The NETCONF tool can recognise and handle two types of files:
• Communication program files including configuration data.
• Journal files, which contain only the preconfiguration data, not the entire
communication program. These files are created by NETCONF or the NET
PRECONFIGURATION tool and can be used exclusively by NETCONF and the
NET PRECONFIGURATION tool. The journal files cannot be used in a running
communication unit.
Buffers
The NETCONF tool can use two buffers:
• A base buffer containing the configuration data to be modified. This data is called
base data.
• If needed, an extra buffer which can contain configuration data to be viewed or
copied. This data is called extra data.
The base buffer must always be loaded with a communication program. The extra
buffer can contain a communication program or a journal file.
Menu selections
The NETCONF program is used through a number of menus: one main menu which
goes horizontally on the screen and a number of sub-menus in the shape of drop-
down menus. The drop-down menus in turn can contain other sub-menus. A menu
selection is indicated by a highlighted cursor, which is moved by the arrow keys,
Home and End, see below. The Esc key performs a return to the previous level of
menus.
In order to select a menu option:
1. Move the highlighted cursor to the menu item.
2. Press Enter.
188
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Keyboard keys
The keyboard keys are used in the following way:
Enter Execution. The key executes the option selected by the
highlighted cursor.
Esc Return. The key exits the current menu and returns to the
previous menu, i.e. the menu one step upwards in the menu
hierarchy. In the main menu this key exits the NETCONF
program without storing the made modifications.
Up Arrow Up, down. In the drop-down menus, the keys move the Down
Arrow highlighted cursor one step up and down respectively.
Left Arrow Left, right. In the main menu, these keys move the Right Arrow
highlighted cursor to the left and to the right respectively.
Home First option. The key moves the highlighted cursor to the first
option in the menu.
End Last option. The key moves the highlighted cursor to the last
option in the menu.
F1 Help. The key displays a help text. If no help text is available, an
error message will be shown.
F2 , space Direct selection. The key enables a direct selection of another
device of the same type. If you, for example, want to edit line 9
while you are editing line 3, press F2, type 9 and press Enter.
Return to line 3 by pressing F2, 3 and Enter.
F3, PgDn Next item. The key browses to the next object of the same type.
F4, PgUp Previous item. The key browses to the previous object of the
same type.
F5, Tab This key works only for stations of type Allen-Bradley. The key
displays a window containing the configuration data of the
memory rung of the actual station, starting from memory rung
number 1.
189
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Start-up
To start the NETCONF program:
1. Move to the NETCONF directory.
If NETCONF was installed in the C: drive in the NETCONF directory, enter the
following commands:
C:
CD \NETCONF
2. Start the NETCONF program by entering:
NETCONF [-M] [file]
Start-up from the Windows Explorer:
1. In the C: drive double-click the NETCONF folder.
2. Double-click the file NETCONF.EXE.
By default, the program uses the colour mode. Including the optional argument -M
means that the program will be run in the monochrome mode. The mode can also be
selected during the program execution, see “Options” on page 191 on the next page.
The optional argument 'file' means the name of the file to be loaded to the base
buffer. The file must be a communication program file. The file can also be loaded
after the program has been started.
The appearance of the screen is shown on the previous page (see Fig. 17.3.-1).
Before you load a file to the NETCONF tool, make sure you have a
backup copy of the file.
190
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
When the file has been loaded successfully, the following message is displayed:
If the loading did not succeed, one of the following messages are displayed:
*** Modules Missing***
Frame Checksum ERROR
or
Can't access input file: ....
The last error message indicates that the file cannot be found. Check that you have
typed the name of the file correctly.
Now you can continue in any of the following ways:
• By modifying the preconfiguration in the base buffer and storing the new
configuration.
• By loading the extra buffer with a communication program or a journal file. This
enables you to easily copy the preconfiguration from another file.
• By viewing the configurations in the base and extra buffers.
• By documenting the base buffer.
Options
The appearance and function of the NETCONF program itself can be changed in
the following way:
1. Select "Options" in the main menu, or press F9 (it can be pressed any time).
The following options can be selected:
Toggle Screen Colours This item toggles between colour and monochrome
display mode.
Disable Field Check Toggles the field check state.
Enable Field Check When the field check is on, the cursor cannot be moved up
and down with the arrow keys, unless the Enter key has
been pressed
Display Format The attribute values can be displayed and entered in three
different ways:
Numeric 5-Dig: The values are displayed with five digits
with leading zeroes.
191
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
192
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
To delete an object:
1. Set the "Device type" to "not" or 0.
The line protocol can be given by a code number or a text abbreviation. The
following code numbers and abbreviations are used:
1 XF ANSI X3.28 Full Duplex or MicroPROTOCOL
2 XH ANSI X3.28 Half Duplex
3 RM Common RAM
4 AS ASCII
7 SR RP 570
8 AD ADLP80
9 PR P214
10 AL ADLP180
11 CL COMLI
12 LC LCU500
13 AM ALDP180 Master
14 SP SPA
15 AG ASCII General
16 RP RP 570 Slave
193
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
194
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
195
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Use
The NET tool is applied for viewing, adding, modifying, copying and documenting
the preconfiguration parameters stored in the communication programs. It can also
be used for verifying the consistency of communication programs.
The preconfiguration tool should be used by the system managers only.
Files
The NET preconfiguration tool can recognise and handle two types of files:
• Communication program files including configuration data.
• Journal files, which contain only the preconfiguration data, not the entire
communication program. These files are created by the NET configuraton tool
and can be used by this tool exclusively. The journal files cannot be used in a
running communication unit.
Buffers
The NET preconfiguration tool uses three buffers. Each of these buffers can be
loaded with a communication program or a journal file.
197
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Function keys
Start the NET preconfiguration tool by clicking the NET PRECONFIGURATION
button on the NET CONFIGURATION page.
198
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Startup
To open the NET PRECONFIGURATION tool:
1. The NET PRECONFIGURATION tool is opened by clicking the NET icon
located on the System Configuration page of the Tool Manager (see Fig. 18.-1).
2. Click the NET PRECONFIGURATION button (see Fig. 18.1.-1).
199
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The window gets the appearance shown on the previous page (see Fig. 18.1.-2).
Loading buffers
Load the communication programs or the journal files to be configured, viewed,
copied, documented or verified in the following way:
1. Click LOAD SAVE.
2. If you have loaded one or more files into the buffers, select the buffer to load.
The first file loaded is always loaded into buffer 1. A window appears on the
screen.
3. Enter the name of the file to be loaded. The tool assumes that the file is located
in the SYS_ directory. Change the path if the file is in any other directory.
While NET PRECONFIGURATION loads the file, it verifies the consistency of
the file. If the loading did not succeed, an error message is displayed. For
example:
*** Modules Missing***
Frame Checksum ERROR
Can't access input file: ....
The last error message indicates that the file cannot be found. Check that you have
typed the name of the file correctly.
Now you can continue in any of the following ways:
• By loading other buffers with a communication program or a journal file.
• By viewing the configurations in the buffers.
• By copying the preconfigurations from one buffer to another.
• By modifying the preconfiguration in the buffers. The configuration of individual
devices can be copied.
• By storing the new configuration.
• By documenting the configurations in the buffers.
Display mode
The attribute values can be displayed and entered in two ways:
• In numeric format. This is the format used in the attribute descriptions in the
System Objects manual.
• In text format, which means that the attribute values are displayed as short
descriptive texts where applicable.
In order to change the view mode of the attribute values:
1. Click MISCELLANEOUS
2. Click CHANGE VIEW MODE.
If desired, the two-letter attribute names can be included in the list of the
configuration data. In order to include or exclude the attribute names:
3. Click MISCELLANEOUS.
200
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
201
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The tool uses the following names and numbers for the device types:
1 APL = Application
2 NOD = Node: communication unit or base system
3 STA = Stations on ANSI lines
4 RTU = S.P.I.D.E.R. RTUs
5 SIN = Stations of type SINDAC using the ADLP80 protocol
6 PCL = Stations of type P214
7 SID = Stations of type SINDAC using the ADLP180 protocol
8 PAC = Stations of type PAC-5
9 SAT = Stations of type SATTCON using the COMLI protocol
11 PRI = Printer
20 LCU = Stations of type Load Control Unit
21 SPA = SPACOM
22 SPI = S.P.I.D.E.R./RP 570
In order to create a new device of the selected type:
1. Browse to a free device number by clicking on the arrow keys in the upper part
of the window.
2. Click CREATE.
The attributes of the new object get the default values.
In order to modify an attribute:
1. Click the attribute field.
A window appears with a list of possible values.
2. Enter a new value or select one from the list.
In order to delete an object:
Browse to the object and click DELETE.
202
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
203
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
204
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
205
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Operation
The REx Configuration tool is used according to the same principles as other
Windows based applications. The tool is used for off-line REX station configuration
to the PC-NET.
Opening files
The configurations are saved in a configuration file.
You can either open a file that already exits or create a new one. To open a file:
1. Choose Open from the File menu. The file chooser appears on the screen.
2. Choose a folder and a file. The default extension for the file is .cfg.
3. Click OK. The configuration file is loaded. If you have not saved changes to the
previous file, you can do it at this point.
Saving files
To save a file choose Save or Save As from the File menu. The Save option saves
the file with the current name.
The Save As saves the file with a name the user specifies. The default file extension
is .cfg. The default folder and path is \sc\sys\active\sys_. If the specified path does
not exist, a notification will appear on the screen. If the folder already contains a file
with that name, you will be asked whether you want to replace the existing file.
Copying
You can copy devices, characters and SPA points. To copy:
1. Select the part you want to copy.
2. Choose Copy from the Edit menu. The part is copied to the clipboard.
3. Place the cursor at the position where you want to insert the copied part.
4. Choose Paste from the Edit menu. A new SPA Point is added to the end of the
SPA Points list.
Moving
You can move devices, characters and SPA points. To move:
1. Select the part you want to move.
2. Choose Cut from the Edit menu. The text is moved to the clipboard.
3. Place the cursor at the position where you want to insert the part.
4. Choose Paste from the Edit menu. A new SPA Point is added to the end of the
SPA Points list.
206
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Adding devices
To add a device:
1. Choose Add from the Devices menu.
2. Type the name of the device in the dialog box that appears on the screen.
3. Click OK. If the device number exists, a notification appears on the screen.
Click Yes, if you want to replace the previous device with that number.
Otherwise click Cancel.
Renaming devices
To change the number of the device:
1. Select the device.
2. Choose Rename from the Device menu and type the new number. Click OK.
Deleting Devices
To delete a device:
1. Select the device.
2. Choose Delete from the Device menu and confirm the deletion by clicking Yes.
Device attributes
The device attributes are defined in the Define Attributes page. The following
attributes can be defined (for more information on the attributes, see the System
Objects manual):
Allocation AL
In Use IU
Message Identification MI
This attribute is automatically calculated when a new
device is added. The automatic calculation is based on the
formula (1000 + Device Number).
Node Number NN
REx Line Number RX
Running Mode RM
Subnet Number SN
Unit Number UN
Unit Type UT
SPA points
The binary output objects of the REX stations are defined in NET as SPA points.
REX commands and SYS process objects are tied together using the SPA point
definition. The main purpose of this definition is to create a cross-reference between
the SPA items and the SYS process object addresses. The purpose of this definition
is also to tell NET how to convert a command from SYS to the corresponding SPA
command.
207
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
The SPA points for REx devices are defined in the SPA Points page (see Fig. 19.2.-
1) . One device number can consist several SPA points. To add a new SPA point,
click Add. The point is appended to the end of the list. Enter the following
information:
Type 10 (transparent-SPA command def.)
Channel 1 A value between 0...999
Channel 2 A value between 0...999
Data Category The available values are I, O, S, V, M, C, F, T, D, F, T, D,
L, B
Data 1 A value between 1 ... 999999
Data 2 A value between 1 ... 999999
Data Format The available values are bits, hexadecimal, real and
longinteger
Object Address The base system process object address that is connected
to this SPA point
For more information on the SPA point definition, see the corresponding manual for
the relay.
To modify an existing SPA point, double-click its row in the list or select the row
and click Edit. To delete a selected SPA point, click Delete.
Fig. 19.2.-1 The SPA Points page in the REx Configuration Tool
208
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Example:
@rex_test = do(read_text("sys_tool/proc_rex.scl"),"sys_/example.cfg",1)
The interpreter is located in the folder that is referred with logical name sys_tool.
The file name is proc_rex.scl.
An example of the result of the configuration file interpretation.
#SET NET1:SRX1=1
#SET STA1:SAL=1
#SET STA1:SNN=1
#SET STA1:SRM=7
#SET STA1:SSN=1
#SET STA1:SUT=1
#SET STA1:SUN=1
#SET STA1:SMI=1001
#SET STA1:SSP1=(10,12,12,"I",221,221,4,1)
#SET STA2:SSP2=(10,12,12,"I",241,241,4,2)
#SET STA2:SSP3=(10,12,12,"I",261,261,4,3)
#SET STA2:SSP4=(10,12,12,"I",281,281,4,4)
#SET STA2:SSP5=(10,12,12,"I",301,301,4,5)
#SET STA2:SSP2=(10,12,12,"I",321,321,4,6)
#SET STA2:SSP2=(10,12,12,"I",341,441,4,7)
#SET STA2:SSP2=(10,12,12,"I",361,361,4,8)
#SET NET1:SRX2=1
#SET STA2:SAL=1
#SET STA2:SNN=3
#SET STA2:SRM=7
#SET STA2:SSN=1
#SET STA2:SUT=1
#SET STA2:SUN=2
#SET STA2:SMI=1002
#SET STA1:SIU=1
#SET STA2:SIU=1
#SET NET1:SIU1=1
209
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
The LMK Configuration tool is used for making the necessary on-line system object
definitions to the PC-NET for LMK stations.
LMK_config
211
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Operation
The LMK Configuration tool is used according to the same principles as other
Windows based applications. The tool is used for on-line configuring of LMK
station, e.g. LSG devices connected to LON and LONWORKS devices other than
REX type stations.
Fetching
Fetching reads the LMK stations from the PC-NET. The stations that were found are
listed in ascending order in a device list. If no LMK stations are found, a notification
will appear on the screen.
Copying
You can copy devices, characters and LON points. To copy:
1. Select the text you want to copy.
2. Choose Copy from the Edit menu. The text is copied to the clipboard.
3. Place the cursor at the position where you want to insert the copied part.
4. Choose Paste from the Edit menu. If you paste a station, you should rename it.
This is because every station should have a different number. If you paste a
LON Point, you should edit the NV Index. This is because every LON Point
should have its own NV index. A new LON Point is added to the end of the
LON Points list.
Moving
You can move devices, characters and LON points. To move:
1. Select the text you want to move.
2. Choose Cut from the Edit menu. The text is moved to the clipboard.
3. Place the cursor at the position where you want to insert the part.
4. Choose Paste from the Edit menu. A new LON Point is added to the end of the
LON Points list.
Cutting the Device or LON Point from the list copies its contents to clipboard. At
the same time it is deleted in the PC-NET. If the cut or deleted LON Point is not the
last one in the list, all the points after that are collapsed one index.
Fetching devices
Fetching reads the latest information for a selected device from the NET. To fetch,
select the device and choose Fetch from the Device menu. The information appears
on screen.
212
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Adding devices
To add devices:
1. Choose Add from the Device menu.
2. Type the number of the device in the dialog box that appears on the screen.
3. Click OK. If the device number exists, a notification will appear on the screen.
Click Yes, if you want to replace the previous device with that number.
Otherwise click Cancel.
When a device is added into configuration, it is expected that the corresponding
station object is already defined in the base system. A notification will appear on the
screen, if it is not defined.
Renaming devices
You can change the number of the device by choosing Rename from the Device
menu and typing the new number. Then click OK.
Deleting devices
You can delete a device by choosing Delete from the Device menu and confirming
the deletion by clicking Yes.
Sending messages
Using the LMK Configuration Tool you can send a LONTALK message to a
selected device. To send a message:
1. Choose Send Message from the Device menu.
2. Type the message as hex string in the dialog box that appears on the screen.
3. Click Send. The response message is displayed to the received message field. If
an error occurs, a notification will appear on the screen.
4. Click Close.
NET properties
By using the NET properties you can specify the default NET number. It is used
when a line is changed from on-state to off-state. The default NET link number is
used when LON stations are added to the NET. When a LON station is added to a
different link, the default link number should be changed before adding.
To define the NET properties:
1. Choose Properties from the NET menu.
2. Type the Net Number and Default Net Link Number in the dialog box that
appears on the screen.
3. Click OK. If an invalid value for NET Properties is given, a notification will
appear on the screen. The values will be accepted, if they do not generate a
SCIL error code.
It is assumed that when the NET number is changed, the base system contains the
definition for the node object with a specified number. It is also assumed that when
the default link number is changed, the base system includes the definition for the
link object with the specified number.
213
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
214
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
Fig. 20.1.1.-1 The LON Points page in the LMK Configuration tool
Initialization file
The initialization file of the LMK Configuration tools uses the Windows
initialization file format. The file is read during the starting procedure of the tool. If
an attribute definition does not exist, the default values will be used (Default Net
Number is 1, Default Net Link Number is 1). Below is an example of the
initialization file:
[LMKStation]
Default_Net_Number=3
Default_Net_Link_Number=2
215
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
Default_Net_Number
Specifies the default net number used when adding or deleting LMK Stations in
net.
E.g. #SET NET3:SLM1=2
Default_Net_Link_Number
Specifies the default net link number used when adding or deleting LMK Stations
to link object.
E.g. #SET NET3:SLM1=2
216
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
21. Index
Symbols
#CREATE ................................................................................................. 17
#SET ......................................................................................................... 30
A
AA ............................................................................................................ 41
AC ........................................................................................................... 165
ACE ........................................................................................................ 165
ACE AT S Register ................................................................................ 165
ACP .......................................................................................................... 51
AD ............................................................................................................ 92
AE ........................................................................................................... 111
AL ....................................................................................... 84, 90, 207, 214
Alarm ........................................................................................................ 12
Allen-Bradley PLC ................................................................................... 87
Allocation ............................................................................................... 207
Analog Events ........................................................................................ 111
Analog input ........................................................................................... 215
Analog output ......................................................................................... 215
ANALOG_SWITCH_STATE_CLOSED ................................................ 20
ANALOG_SWITCH_STATE_MIDDLE ................................................ 20
ANALOG_SWITCH_STATE_OPEN ..................................................... 20
ANSI X3.28 ............................................................................................ 162
ANSI X3.28 protocol ................................................................................ 89
ANSI X3.28/A-B protocol ........................................................................ 87
AP ..................................................................................................... 43, 133
APL ............................................................................................... 43, 53, 59
APL object .................................................................................... 17, 88, 90
APL_EVENT ......................................................................................... 111
APLn
BMO ................................................................................................... 77
BPR ..................................................................................................... 80
Application ................................................................................................. 9
Application Suspension Time ................................................................. 161
Apply button ........................................................................................... 204
AS ....................................................................... 37, 43, 44, 84, 88, 90, 133
AT ............................................................................................................. 92
Attribute group ....................................................................................... 179
Attribute Tree ......................................................................................... 179
Auto-dial ................................................................................................. 164
AW ......................................................................................................... 100
B
Base system ................................................................................................ 9
Base system configuration .................................................................. 41, 89
217
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
218
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
219
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
220
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
221
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
222
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
O
OA .......................................................................................................... 163
Object ..................................................................................................... 174
Object Address ....................................................................................... 163
Object number .......................................................................................... 53
OD .................................................................................................... 82, 169
Off-line configuration ............................................................................... 27
OK button ............................................................................................... 204
On-line .................................................................................................... 177
On-line configuration ......................................................................... 27, 29
On-line reconfiguration ............................................................................ 32
Operator workstation ................................................................................ 77
OS ............................................................................................................. 84
Output Destination .................................................................................. 169
P
Parity ......................................................................................................... 39
Paste ........................................................................................................ 183
Paste As Range ....................................................................................... 183
PC ....................................................................................................... 41, 44
pc_net.cf ................................................................................................... 28
PC_NET.CF1 ...................................................................................... 21, 58
PC_NET.COM ......................................................................................... 21
PC-NET .............................................................................................. 21, 28
PC-NETs ................................................................................................... 14
PD ............................................................................................................. 90
Peer node number of NET ........................................................................ 38
PICO_MEMORY_POOL_SIZE .............................................................. 19
Picture Cache Size .................................................................................... 44
PM ...................................................................................................... 44, 86
PO ....................................................................... 63, 65, 69, 84, 86, 89, 164
PO attribute ......................................................................................... 29, 59
PP .............................................................................................................. 90
PQ ............................................................................................................. 44
PR ............................................................................................................. 43
Preconfiguration ....................................................................................... 28
Preview function ..................................................................................... 184
PRI ............................................................................................................ 53
PRI object ................................................................................................. 17
PRIn
SCC ..................................................................................................... 84
SCT ..................................................................................................... 84
SPX ..................................................................................................... 84
PRIN_MEMORY_POOL_SIZE .............................................................. 20
Printer ....................................................................................................... 12
Printer connection ..................................................................................... 79
Process database mirroring ..................................................................... 105
223
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
224
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
RW .......................................................................................................... 165
RX ........................................................................................................... 207
S
S.P.I.D.E.R. RTU ........................................................... 126, 133, 144, 162
Base system configuration .................................................................. 99
NET unit configuration ....................................................................... 99
SA ................................................................. 41, 47, 57, 61, 65, 88, 91, 180
Save Active ............................................................................................. 204
SB ................................................................................................. 70, 84, 90
SC ................................................................................................... 133, 149
SCAN TIME ........................................................................................... 153
SCI .......................................................................................................... 149
SCIL commands ..................................................................................... 204
SCIL Editor ............................................................................................ 184
SCIL errors ............................................................................................. 171
SCIL programs ....................................................................................... 184
SD ............................................................................................... 41, 61, 137
SE ............................................................................. 58, 135, 145, 150, 163
Serial communication ............................................................................... 38
SET ........................................................................................................... 18
SET_CLOCK ......................................................................................... 166
SF .............................................................................................. 86, 126, 133
SH ............................................................................................. 41, 133, 149
SHADGLOBAL ..................................................................................... 137
SHADGOHOT ....................................................................................... 137
SHADMAPMON ................................................................................... 137
SHADMAPNET ..................................................................................... 137
Shadowing .............................................................................. 111, 126, 149
SHADREMHOT .................................................................................... 137
SHADUSR ............................................................................................. 137
Shadusr ................................................................................................... 137
SI ............................................................................................................. 133
Signal ...................................................................................................... 203
Signal Engineering
Station level ...................................................................................... 203
Signal Information .................................................................................. 203
Indicator ............................................................................................ 203
Signal information transfer ..................................................................... 203
signals.ini .................................................................................................. 28
SL ............................................................................................................. 95
SLC-500 ................................................................................................... 87
SN ........................................................................................... 111, 133, 207
SP .................................................................................................. 41, 91, 92
SPA
LONWORKS ................................................................................... 102
SR ........................................................................................... 134, 135, 165
225
SYS 600 *9.1 MicroSCADA Pro 1MRS751846-MEN
System Configuration
Configuration Manual
226
1MRS751846-MEN MicroSCADA Pro SYS 600 *9.1
System Configuration
Configuration Manual
227
1MRS751846-MEN EN 03.2005
ABB Oy
Substation Automation Products
P.O. Box 699
FI-65101 Vaasa
FINLAND
Tel. +358 10 22 11
Fax. +358 10 224 1094
www.abb.com/substationautomation