Professional Documents
Culture Documents
Connecting LONWORKS Devices To MicroSCADA
Connecting LONWORKS Devices To MicroSCADA
Connecting LONWORKS Devices To MicroSCADA
Notice 1
The information in this document is subject to change without notice and should not
be construed as a commitment by ABB. ABB assumes no responsibility for any error
that may occur in this document.
Notice 2
This document complies with the program revision 4.0.
Notice 3
Additional information such as Release Notes and Last Minute Remarks can be
found on the program distribution media.
Trademarks
1 Introduction 1
2 Safety information 2
3 Instructions 3
4 Technical description 4
5 Glossary 5
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide Contents
Contents:
1. Introduction ...............................................................................1
1.1. About this chapter .........................................................................1
1.2. Other material required .................................................................1
1.3. Communication .............................................................................2
1.3.1. LONWORKS communication is considered if: ...................3
1.3.2. Communication ..................................................................3
1.3.3. Benefits of using LonTalk protocol in ABB Station Automation
systems: .............................................................................3
1.4. Device types ..................................................................................3
1.5. Restrictions In LONWORKS network ............................................4
1.6. Description of the system ..............................................................4
1.6.1. Small substations ...............................................................4
1.6.2. Medium-Sized substations .................................................5
1.6.3. Big substations ...................................................................6
2. Safety information .....................................................................9
2.1. Backup copies ...............................................................................9
2.2. Fatal errors ....................................................................................9
3. Instructions ..............................................................................11
3.1. Hardware installation ...................................................................11
3.1.1. Transceiver card installation ............................................11
3.1.2. I/O address of the PCLTA card ........................................12
3.2. Software installation ....................................................................14
3.2.1. Complementary software .................................................14
3.3. Device driver ...............................................................................15
3.3.1. installation ........................................................................15
3.3.2. MicroSCADA device driver configuration .........................15
3.3.3. Device driver start-up .......................................................17
3.4. System configuration basics in LONWORKS network ................17
3.4.1. LONWORKS network ......................................................18
3.5. Preparatory operations and off-line engineering .........................18
3.5.1. How to prepare the PCLTA card for communication .......18
3.5.2. How to change the PCLTA card address .........................22
3.5.3. LON node address and service pin method .....................22
3.5.4. How to save a configuration from a former release .........22
3.5.5. How to create a new configuration ...................................22
3.5.6. Default configuration ........................................................23
3.5.7. Taking lines and stations In use or out of use in PC-NET 23
3.5.8. LSG device ......................................................................23
3.5.9. LON star coupler ..............................................................24
3.5.10.LON clock master ............................................................25
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide Contents
1. Introduction 1
This manual is designed for the project engineers to guide through the installation
and configuration procedures, which are needed, when a device that uses LonTalk®1
protocol is connected to MicroSCADA.
The specific set up and configuration instructions are found in chapter three. This
chapter offers important background information and may also be used as a guide
when designing new systems. Technical information concerning design and
functionality is found in chapter four and chapter five offers a glossary of the
essential terminology.
+DUGZDUHLQVWDOODWLRQ
Transceivers: LONWORKS® SMX™ TRANSCEIVER Installation
Instructions (followed with the transceiver package)
LSG device: SPA-ZC 100 LON®2/SPA gateway Installation Manual
REF 54_: RE_ 54_ Protection, Monitoring and Control
Unpacking & Mounting Manual
6RIWZDUHLQVWDOODWLRQ
LNT 505: Installation and Commissioning Manual
(CAP 505: Installation and Commissioning Manual)
,QVWUXFWLRQVIRUXVLQJWKHVRIWZDUHWRROV
LNT 505 tool: Operator’s Manual
(CAP 505 tool: Operator’s Manual)
&RQILJXUDWLRQ
MicroSCADA: System Configuration manual
System Objects manual
LSG device: SPA-ZC 100/102 LON®/SPA gateway Programming
Manual
LNT 505 Operator’s Manual
1
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
1. Introduction Configuration Guide
1.3. Communication
The name LON stands for Local Operating Network, which specifies that it is
intended for short-range communication. Typically LONWORKS communication is
used when a set of devices physically located near to each other require
communication with each other, transferring relatively small amounts of data.
The substation communication network is built up by means of a fibre optic star
connection. The fibre optic cables are connected to the devices using fibre optic
converters, RER 103 modules. The interface between RER 103 module and the
device is RS485 or RS232 depending on the device to be connected.
LONWORKS device bus is a peer-to-peer bus, where all the nodes (e.g. protection
terminals) in the system can talk to each other, hence horizontal communication on
station level is enabled. Other types of media may also be connected to the network,
e.g. TP (Twisted Pair), by means of option cards in the star-coupler RER 111.
When connecting LONWORKS network to some other system another communication
method may be used.
LONWORKS network
In LONWORKS network the communication means is LonTalk protocol. LONWORKS
technology has been designed for communication in distributed control networks.
These networks are typically characterised by:
• Short messages (few data bytes).
• Variety of communication media.
• Relatively low bandwidth but usually short response time.
• Very low interface cost per node.
• Integration of multi vendor equipment.
• Low maintenance and support costs.
With the LONWORKS communication technology it is possible to build a protection
and control system including more than one higher level devices, which receive
status values, measurements and time-tagged events from the bay level devices.
LonTalk protocol
LonTalk protocol is used in the ABB substation automation system in two different
levels:
• $WVWDWLRQOHYHO as the communication protocol between protection and control
devices (i.e. in horizontal communication).
• 8SWR KLJKHUOHYHOV\VWHPV, e.g. MicroSCADA (i.e. in vertical communication).
Facts About LonTalk Protocol:
• Communication is fast: 1.25 Mbits/s.
• LonTalk protocol is an open (non ABB) protocol.
• It is a peer-to-peer protocol, which enables horizontal (relay-to-relay)
communication.
2
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 1. Introduction
1.3.2. Communication
The MicroSCADA base system communicates with devices which use LonTalk
protocol through the PC-NET and a LONWORKS network interface card. The
interface card can be a PCLTA (PC LonTalk Adapter) card for a PC or a PCCLON-
1 card (formerly PCMCIA) for a laptop. Only PCLTA card is handled in this
manual.
3
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
1. Introduction Configuration Guide
4
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 1. Introduction
)LJ 7KHVWUXFWXUHRIDVPDOOVXEVWDWLRQ
A gateway in this kind of a system must be especially reliable and capable of
operating without problems for several years in demanding conditions. Very often a
PC is not considered to be reliable enough to be used as a gateway.
In most cases all control operations are initiated remotely from the network control
centre - even if there is maintenance personnel at the substation. Only if the
communication with the network control centre does not work the operations are
performed locally at the substation.
5
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
1. Introduction Configuration Guide
)LJ 7KHVWUXFWXUHRIDPHGLXPVL]HGVXEVWDWLRQ
If the gateway fulfils the same requirements as stated in the case of a small
substation, the HMI computer does not have to be an industrial PC but a standard
office type PC can be applied. If local control is used only very seldom the PC could
even be normally switched off. Also the use of a portable PC could be considered.
If the HMI computer is used to collect and store information from the substation all
the time during the normal operation, and this information is used e.g. as back-up (in
case the remote communication is not working), an industrial PC must be applied
for reliability reasons.
6
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 1. Introduction
)LJ 7KHVWUXFWXUHRIDELJVXEVWDWLRQ
In addition to LONWORKS network an Ethernet network may be used for
communication between HMI computers and gateways.
7
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 2. Safety information
2. Safety information
This chapter gives information about prevention of hazards.
2
2.1. Backup copies
It is suggested to take backup copies before making any changes, especially changes
that might have side effects. Software and data need to be copied to another place,
usually to a backup tape. A DAT tape is commonly used.
Backup copies make it easier to restore application software in case of a disk crash
or any other serious failure when stored data is lost. It is therefore recommended that
backup copies are taken regularly.
There should be at least two system backup copies and two application copies. A
new backup is copied over the oldest backup. This way the latest version is always
available, even if the backup procedure fails.
Detailed information on how to take backup copies should be delivered to the
customer with the application.
System backup
Usually a system backup is taken after the application is made. A backup should be
taken again when changes are made to the MicroSCADA system. For example, if
the driver configuration or the network set-up is changed.
Application backup
An application backup is also taken at the same time with system backup, after the
application is made. A backup should be taken again when changes are made to the
application, for example if pictures or databases are edited or new pictures are
added.
Shut down the MicroSCADA main program. If this cannot be done in the
MicroSCADA Control Panel, try to end the task in Windows NT™1 Task
Manager.
9
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
2. Safety information Configuration Guide
!
Shutting down base system computers by switching the power off, might damage
files.
In Windows NT, data kept in the main memory at the moment of a fatal error is
placed in the drwtsn32.log file. It is placed in a system folder, for example
Winnt. Analyse and copy the data in this file.
10
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
3. Instructions
Introduction
From the MicroSCADA viewpoint, the :installation and configuration of devices
that use LonTalk protocol consists of three phases
• Hardware installation of the network interface card (i.e. PCLTA card) and the
3
transceiver card, and possible I/O address setting for the PCLTA card.
• Software installation (Device driver, PC-NET and configuration tools).
• Configuration.
If the CAP 505 or LNT 505 configuration tools are installed on the same computer
! as the MicroSCADA base system, please note that the configuration tools, when
they are in use, reserve one channel from the PCLTA card.
11
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ ,QVWDOODWLRQRIWKHWUDQVFHLYHUFDUG
For more detailed instructions, see the LONWORKS® SMX™ TRANSCEIVER
Installation Instruction.
Each transceiver will be a NET line connected to a star coupler. The transceiver
module can be connected to a glass fibre optic or a plastic fibre optic LONWORKS
network with the communication rate of 1.25 Mbits/s maximum.
! We recommend that you do not change this setting, if there is not any DCP-MUX
card in the configuration.
12
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
card), the base address of either DCP-MUX or PCLTA card has to be changed. It is
preferred to change the base address of the DCP-MUX. Possible base address
conflicts during system start-up can be seen from the Event Viewer of the Windows
NT Diagnostics.
)LJ 6HWWLQJWKH,2DGGUHVVRQWKH3&/7$FDUG
Note down the selected I/O address. This will be needed during the driver
configuration. Use Table 3.1.2-2.
See also the example of the PCLTA card information in Table 3.1.2-3.
0 A
B
1 A
B
13
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
! Default value for a NET line is n+1, but we recommend that you use value 5 for the
first LON line, 6 for the second and so on.
If the Echelon driver is used, the device name and number are not according to
Table 3.1.2-3 on page 14.
The I/O address of Channel B is automatically set to be the Channel A I/O address
+ 4.
0 A 340 0 LONP0 5
B (344) 1 LONP1 6
1 A 350 2 LONP2 7
B (354) 3 LONP3 8
The NET Line numbering is started from 5 to leave the lines 1 to 4 free for the COM
ports.
Install the PCLTA card into a free ISA-card slot in the base system computer.
Follow the instructions supplied with the card.
14
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
3.3.1. installation
If the Echelon device driver is used, it can be installed via Windows NT Control
Panel, whereas MicroSCADA device driver MiSCLONP is installed via
MicroSCADA Control Panel. The installation of the MicroSCADA device driver is
described in the SYS 500 Installation manual and the installation of the Echelon
device drive (recommended) in the documentation available from Echelon
Corporation.
During device driver configuration, the I/O base address of the card is requested.
! This address must be the same as the address physically set on the card. See
Table 3.1.2-3 on page 14.
The Neuron Chip of the PCLTA card must also be configured. This is declared in
section 3.5.1.
By default, the NET line number of the transceiver card is the device number plus
! 1, but we recommend that you start LON line numbering from number 5 and
continue upwards.
Card Number:
Number of the PCLTA card. It is recommended that you set the first card as card
number 0 and the second card as card number 1.
Type of Card:
15
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
This indicates the type of the PCLTA card. The following types are supported:
Device Number:
Each channel is seen as a device with a device number. It is recommended that
you set channel A on card 0 as device 0 and channel B as device 1 (Use channel
numbers 2 and 3 on card 1).
This way channel A on card 0 will be NET line number 1, by default, and other
channels will be NET line numbers 2, 3 and 4.
! However, we recommend that you use line numbers 5, 6, 7 and 8 to leave the line
numbers 1, 2, 3 and 4 for the COM ports.
IRQ Level:
The interrupt level used by the channel. This must be unique among all devices
in the computer. Permitted values are 5, 9, 10, 11, 12, and 15.
The user can check for possible free IRQ levels in the Windows NT Diagnostics
tool under Resources.
Although some IRQ levels are listed as free in the diagnostics tools, they might be
Clock Select:
The Neuron clock rate for the channel. The value should be set at 10 MHz.
Uplink Buffers:
The number of uplink buffers used by the channel. The default value 20 is
recommended.
16
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
Downlink Buffers:
Number of downlink buffers used by the channel. The default value 20 is
recommended.
DL Priority Buffers:
The number of downlink priority buffers used by the channel. The default value
3
20 is recommended.
If Channel B and another PCLTA card are present, configure them in the same way
as channel A.
! Please, note that the IRQ level must be different for each channel.
17
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
For more detailed technical and functional information, please refer to Chapter four.
)LJ $QH[DPSOHRIDFRQILJXUDWLRQZLWKRQH3&1(7LQDEDVHV\VWHP
18
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
Before the PCLTA card can be prepared, a LONWORKS communication line (a LON
! line) must be created (or existing) and the PC-NET must be started as described in
this section.
7RFUHDWHD/21OLQH
From the Object tree, select Node 3(NET) and from the menu bar, choose
Object > New (or Ctrl+N on the keyboard). See Fig. 3.5.1.-1.
)LJ $GGLQJDQHZOLQHLQWKHFRQILJXUDWLRQWUHH
Enter a line number (5 recommended for the first LON line) and click OK.
! The PCLTA card can be initialised only if the LON line IU (In Use) attribute value
is 0 (Not In Use).
7RFKDQJHWKH,8DWWULEXWHYDOXH
From the menu bar choose Configuration > Open Active (if it is not already
open).
19
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ 6HOHFWLQJD/21OLQHLQWKHFRQILJXUDWLRQWUHH
In the Attribute tree, double-click the text Basic Line Attributes. See Fig. 3.5.1.-
3.
If the IU (In Use) attribute value is 1 (In Use), change it to 0 (Not In Use) in the
following way:
• In the Attribute tree, click the IU attribute line.
• In the attribute editing area, click the IU check box clear (to the 0/
Not In Use state).
7RVDYHWKHFKDQJHVDQGVWDUWWKH3&1(7
If the PC-NET is started, choose Stop PC-NET from the Communication menu.
20
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
,IWKH3&1(7GRHVQRWVWDUW
If the PC-NET is not started, an error message is shown in the Notification Window
in the following form:
Date Time Type Description
Status: Code STATUS_MESSAGE 3
([DPSOH
98-06-05 09:14:07 ERROR Could not start PC_NET (StartPCNET.scl)
Status: 7143 SYST_NODE_ROUTING_ERROR
3UHSDUHIXQFWLRQ
Select the device that you want to prepare and Operation Mode Prepare. Click
Initialize.
When the Prepare function has run successfully, the following message appears:
)LJ 0HVVDJHDERXWVXFFHVVIXO3UHSDUHIXQFWLRQ
If multiple PCLTA card channels are being initialised, the PC-NET should be
! stopped and started again by choosing Communication > Stop PC-NET and
Communication > Start PC-NET before starting the initialisation of the next PCLTA
card channel.
The PCLTA card is ready to communicate with LONWORKS devices. The settings
that were made are described in Chapter 4.
21
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
Change the address (subnet and node number of the selected device).
Click Initialize.
The address of the PCLTA card channel is changed and the Nettools.ini file is
updated (if it exists in the system).
! To set the PCLTA card to communication mode again, the Prepare method should
be used after the Change Address operation.
Start the Install Node command of the device that is responsible of network
management functions (usually the master node). This function asks you to
press the service pin of the node that is being installed.
Press the service pin of the node (SLCM card, for example).
When the network manager node receives the Service Pin Message, it will set
the address of the node.
The node address is stored to the Neuron chip internal EEPROM memory (in the
domain table) and usually to the node list of the network manager node as well.
22
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
The default configuration is loaded in the tool. The tool is opened in offline mode,
which is shown in the status bar.
7RVDYHDFRQILJXUDWLRQDVWKHGHIDXOWFRQILJXUDWLRQ
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 online and offline mode.
! In online mode, only the objects that are in use are saved with the
23
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
! When using LON Network Tool, the LSG CFG tool should be used in integrated
mode only (not in standalone mode).
Configuration using the LON Network Tool is described in the LNT 505 Operator’s
Manual and the SPA-ZC 100/102 LON®/SPA Gateway Programming Manual.
MicroSCADA sees the LSG device as a special version of an LMK device .
Therefore the rest of the configuration work should be done using the System
Configuration tool in the MicroSCADA Tool Manager.
From the object tree, select the LON line where you want to add the device.
Enter the number that you have planned for this device and click OK.
)LJ /216WDU&RXSOHULQWKHFRQILJXUDWLRQWUHH
7RVDYHWKHFRQILJXUDWLRQ
24
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
Press any button on the HMI of the device to turn on the backlight.
• In idle mode the MIMIC configuration picture is shown in the main
window.
• In the help window some help messages are shown.
Press and hold E for at least 2 seconds to enter the MAIN MENU.
• A password is requested. The factory setting for the requested
password is 3.
Select the password using the up and down arrows and press E briefly.
In the MAIN MENU use the up and down arrows to select Communic.lib. Open
the library with the right arrow.
63$DGGUHVV
In the Communication library, select SPA using the up and down arrows and
open the SPA library with the right arrow.
Check the address and change it, if necessary. Note down the address.
7RFKDQJHWKHDGGUHVV
1. Select the SPA address using the up and down arrows and press E.
2. Change the address with the arrow keys.
3. Press E to confirm the setting.
25
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
6XEQHWDQG1RGH1XPEHU
Select LON and use the right arrow to open the library. Check the Subnet
number and the Node number. If necessary, change the address as described
earlier, and write it down.
Press the left arrow repeatedly until you get back to the MAIN MENU.
Integrated link
Parent Object: MicroSCADA Configuration
Link number range: 1-20
If you choose Configuration > New from the menu bar, a default configuration that
includes an integrated link is opened to the System Configuration tool.
NET node
Parent Object: Link (Integrated)
NET Node number range: 1-99
)LJ $GGLQJD1(71RGH
Line
Parent object: Node (NET)
Line number range: 1-12
26
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
5HFRPPHQGDWLRQ
• SPA lines: 1 to 4
• LON lines: 5 to 12
We recommend that you start the LON line numbering from number 5 upwards.
3
! This reduces the modifications that are required, if the COM ports are taken in use
later on.
)LJ 6HOHFWWKHOLQHW\SHDQGFOLFN,QVHUW
)LJ 6WDWLRQW\SHVHOHFWLRQGLDORJLQD/21OLQH
5(;6WDWLRQ
Parent object: Line (LON)
Station number range: 1-2000
27
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
/0.6WDWLRQ
Parent object: Line (LON)
Station number range: 1-2000
Recommendation: 10, 20, 30 etc.
/21&ORFN0DVWHU
Parent object: Line (LON)
Station number range: 1-2000
)LJ (QWHULQJWKHGHYLFHQXPEHUIRUDQHZ/21&ORFN0DVWHUGHYLFH
/216WDU&RXSOHU
Parent object: Line (LON)
Station number range: 1-2000
63$6WDWLRQLQD/21/LQH
Parent object: LMK Station
Station number range: 1-2000
Recommendation:
• LMK Station number 10: SPA Station numbers 11, 12, 13 etc.
• LMK Station number 20: SPA Station numbers 21, 22, 23 etc.
28
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ 6WDWLRQW\SHGHILQLWLRQVLQDQRQOLQHFRQILJXUDWLRQ
6DYLQJ
The online configuration can be saved using the menu bar command
Configuration > Save Active.
This action overrides the current active configuration in the System Configuration
tool and saves the online configuration as the default configuration. Please, notice
that if, for some reason, e.g. some stations do not communicate in online mode, they
are removed from the active configuration.
! If the menu bar command Configuration > Save Active is selected, the configuration
must include a Link object and a NET Node object related to that Link.
If the Link object and/or the NET Node object are not present, the PC-NET would
not start up successfully. Therefore it is not possible to save this kind of invalid
configuration with the Save > Active command.
29
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ 6LJQDOHQJLQHHULQJLVVWDUWHGZLWKWKHPHQXEDUFRPPDQG7RROV!
6LJQDO(QJLQHHULQJ«
7RHGLWVLJQDOLQIRUPDWLRQ
From the menu bar, choose Tools > Signal Engineering....See Fig. 3.7.1.-1.
The configuration page that is opened includes all signal information for the selected
station.
19 1HWZRUN9DULDEOH
Network variables are used to deliver small data items such as measurement values,
status changes, interlocking data, blocking signals, alarms and events. Network
variables are addressed using network variable selectors.
;$ ([WHQGHG$GGUHVVWDEOH
Using this attribute, the LONWORKS device address table configuration can be read
and written.
More profound description of these attributes can be found in the System Objects
manual.
If LON Configuration attributes were defined in the System Configuration tool, they
are automatically set during PC-NET start-up via the System Configuration tool
interpreter mechanism. When the System Configuration tool is set to online mode,
these and XA attribute indices are read from the MicroSCADA system.
30
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ $GYDQFHGSDJHRID/21OLQH
If a line is selected from the Extended Address Table, the corresponding lines are
shown coloured in the Network Variable Configuration table and vice versa. See
Fig. 3.7.2.-1.
$GG
When Add... is clicked in the Network Variable Configuration table or in the
Extended Address Table, the relevant editor opens and the index is calculated
automatically as the first free index on that LON line.
(GLW
When Edit... is clicked in the Network Variable Configuration table or in the
Extended Address Table, or a line in the index list is double-clicked, the relevant
editor opens. The element values are assigned into the corresponding text fields.
Editing can be cancelled with Cancel button and accepted with OK button.
'HOHWH
When an index line is selected and the Delete button is clicked in the Network
Variable Configuration table or in the Extended Address Table, a caution dialog
with the text ”Do you really want to delete the selected network variable
configuration index?” or ”Do you really want to delete the selected extended address
table index?” is displayed. Clicking Yes deletes the selected index. Clicking No
cancels the delete operation. Only one index can be deleted at a time.
31
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
&DOFXODWH
When all LMK stations are installed in the configuration tree or some changes have
been made, this function can be used to calculate automatically all the XA indices.
The node and subnet numbers are fetched from the configuration tree and the timers
get their default values.
From the object tree, select the star coupler that you want to configure. See
Fig. 3.5.9.-1.
From the menu bar, choose Tools > LON Star Coupler Configuration…
The device configuration page opens, if the connection to the selected LON Star
Coupler is established. See Fig. 3.7.3.-1. If no connection is established, an error
dialog is shown. In this case, check that your configuration data includes correct sub
net and node numbers and then try again.
The LON Star Coupler device configuration page is divided in three sections:
General Information, Network Variable Configuration and Address Table. See fig.
3.7.3.-1. The information is updated in each and every section, if Refres button in
the bottom of the page is clicked.
32
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ /216WDU&RXSOHU&RQILJXUDWLRQSDJH
To edit the configuration information, select the row item that you want to edit
and click Edit or alternatively double-click the row item.
The appropriate edit dialog opens.
33
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
If an error occurs during sending the information, a message is displayed with the
received status code and status message.
)LJ (GLWGLDORJIRUJHQHUDOLQIRUPDWLRQRID/216WDU&RXSOHU
)LJ 1HWZRUN9DULDEOH&RQILJXUDWLRQ(GLWRUGLDORJIRUD/216WDU
&RXSOHUGHYLFH
34
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
Updating the information and clicking Send updates the network variable
configuration entry that is stored to the neuron chip of the LON Star Coupler device.
Note that the indices and NV selector values have relationship to the firmware that
is stored in the LON Star Coupler device.
If an error occurs during the send operation to the device, a message is displayed to
the user. In the case of successful send operation, the editor dialog is closed and the 3
contents of the Network Variable Configuration section is refreshed by reading all
network variable configuration information from the device.
)LJ /216WDU&RXSOHU$GGUHVV7DEOH(GLWRUGLDORJ
Updating the information and clicking Send updates the address table entry
definition to the neuron chip of the LON Star Coupler device.
Note that e.g. the indices have relationship to the firmware that is stored to the LON
Star Coupler device. If an error occurs during sending of address table entry to the
35
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ 1&(GLWRULQGHIDXOWPRGH
In default mode you have to configure the following fields:
• NV Index.
• NV Selector.
• Service Type.
• Address Table Index.
• XA Index.
All the unavailable fields are given the default values by the System Configuration
tool.
In this editor it is not possible to enter values which are out of the ranges. The
configuration tool also checks that the entered NV and XA indices are free. If the
36
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
entered index value is already in use, the tool informs the user, that the configuration
already includes an entry with the same index, and the editor stays open.
196HOHFWRU
Network variables are addressed using network variable selectors. The selector is a
14-bit number in the range 0 H to 3FFF H (0 to 16383).
The decimal value of the NV Selector changes automatically when the hexadecimal
3
value is changed.
Range
NV Index 0 to 4095
Acknowledged
Service type Unacknowledged/Repeated
Unacknowledged
0 to 255
XA Index Default 15
0 to 14 not recommended!
XA index values from 0 to 14 are reserved for the Neuron Chip. Some of them might
! be available, but to ensure that the Neuron Chip does not overwrite the information
that you have entered, we recommend that you start the XA Index numbering from
15 upwards.
6HUYLFHW\SHV
• Acknowledged:
When a message is sent to a node or a group of nodes, individual
acknowledgements are expected from each receiver. If the acknowledgements
are not all received, the sender times out and retries the transaction.
• Unacknowledged/Repeated:
The message is sent to a node or a group of nodes multiple times and no
response is expected. This is typically used when multicasting to a large group
of nodes. In this situation the traffic generated by all the responses would
otherwise overload the network.
• Unacknowledged:
The message is sent once to a node or a group of nodes and no response is
expected. This is typically used when the highest attainable transmission rate is
required or large amounts of data are to be transferred. When using this service,
the application must not be sensitive to the occasional loss of a message.
37
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ 1&(GLWRULQ$GYDQFHG0RGH
If the Advanced Mode check box is checked in the NC Editor, it is possible to edit
the following fields:
• NV Index.
• Network Variable Priority.
• Direction.
• NV Selector.
• Turnaround.
• Service Type.
• Authentication.
• Address Table Index.
• XA Index.
NV Index, NV Selector, Service Type, Address Table Index and XA Index are as
described earlier.
1HWZRUN9DULDEOH3ULRULW\(QDEOHG
The priority mechanism improves the response time for critical packets. The
user can specify priority time slots on a channel, dedicated to priority nodes.
Each priority time slot on a channel adds time to the transmission of every
message, but dedicated bandwidth is available at the end of each packet for
priority access without any contention for the channel.
'LUHFWLRQ
• Input Network Variable.
38
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
7XUQDURXQG(QDEOHG 3
This field is checked if the NV is a turnaround network variable. This means
that it is bound to another network variable on the same node. If turnaround is
enabled, the node sends back the opposite object with the same selector.
$XWKHQWLFDWLRQ(QDEOHG
Authenticated messages allow the receivers to determine whether the sender is
authorised to send that message. By checking this field, it is possible to prevent
unauthorised access to, or control of, nodes and their applications.
Please, note that the used network variable indices are the same as the ones defined
in LON Points for LMK devices in LMK Configuration tool and the ones defined in
LON/SPA Analog Inputs for SPA devices in SPA Configuration tool.
([DPSOH
LMK Device 70 could contain a LON Point:
#set sta70:slp1=(3,70,"SPAC SNVT_ALARM",88,1); where 70 = network variable
index
39
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ 'HIDXOWYDOXHVLQWKH;$(GLWRU
In the default mode the user can enter the following values:
• XA Index.
• Node or Member Number.
• Subnet or Group Number.
In this editor it is not possible to enter values which are out of the ranges. The
configuration tool also checks that the entered XA index is free. If the entered index
value is already in use, the tool informs the user, that the configuration already
includes an entry with the same index, and the editor stays open.
40
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ ;$(GLWRULQWKHDGYDQFHGPRGH
XA Index, Node or Member Number and Subnet or Group Number ranges are as
described earlier.
;$,QGH[
When a new XA index is added to the Extended Address Table, it gets the first free
index value on the line. Please, note that the values 0 to 14 are reserved for the
Neuron Chip.
! To avoid the loss of set values, we recommend that you start the XA Index
numbering from 15 and continue upwards.
41
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
$GGUHVV(QWU\(QDEOHG
• If the Unbound Address Table Entry is selected, the Domain Index Enabled check
box and the Node or Member Number field become unavailable and the latter
gets the default value 0.
• If the Turnaround Address is selected, the Domain Index Enabled check box and
the Node or Member Number field become unavailable and the latter gets the
default value 1.
• If the Subnet and Node Address is selected, the Domain Index Enabled check box
and the Node or Member Number field are available.
• If the Broadcast Address is selected, the Domain Index Enabled check box and
the Node or Member Number field are available. All nodes listen to subnet 0.
This means that when subnet 0 is broadcast, it is received by all the LONWORKS
devices
*URXS$GGUHVV(QDEOHG
If the group address is enabled, the Group Size text box can be entered a value in the
range 0 to 127.
'RPDLQ,QGH[(QDEOHG
Checking the check box enables the domain index. Domain is the top level of the
addressing hierarchy. If different network applications are implemented on a shared
communication medium, different domain identifiers can be used to keep the
applications completely separate. A single node can be a member of up to two
domains.
1RGHRU0HPEHU1XPEHU
Range: 0 to 127.
5HSHWLWLRQ,QWHUYDO7LPH
The time interval between the messages sent with the unacknowledged repeated
service. See Table 3.7.5-2.
5HWU\&RXQW
Range: 0 to 15
Default: 3
*URXS0HVVDJH5HFHLYHU7LPHU
Receive timeout for group messages. See Table 3.7.5-2.
7UDQVPLW7LPHRXW
Timeout between retries. See Table 3.7.5-2.
42
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
Table 3.7.5-2 Time ranges and default values in the XA Editor Advanced
Mode
)LJ 'LDORJIRUDGGLQJD63$SRLQW
43
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
The 8 SPA point elements consist of the types and values that are shown in
Table 3.7.6-1. See also Fig. 3.7.6.-1.
Type 10 (fixed)
Channel 1 0 to 999 (integer)
Channel 2 0 to 999 (integer)
Data Category I, O, S, V, M, C, F, T, D, L or B (text)
Data 1 0 to 999999 (integer)
Data 2 0 to 999999 (integer)
Data Format Bits, Hexadecimal, Real or Long integer
Object Address 0 to 65535 (integer)
SCIL commands
The SCIL commands which are automatically constructed from the REx device
signals can be located by choosing Configuration - Preview... from the System
Configuration tool.
The SCIL commands from the NET part of the configuration could be as follows:
#set sta1:ssp1=(10,120,120,"V",6,6,2,1)
#set sta1:ssp10=(10,123,123,"V",7,7,2,10)
#set sta1:ssp11=(10,123,123,"V",11,11,2,11)
#set sta1:ssp12=(10,123,123,"V",10,10,2,12)
#set sta1:ssp13=(10,123,123,"V",6,6,2,13)
#set sta1:ssp14=(10,123,123,"V",7,7,2,14)
#set sta1:ssp15=(10,123,123,"V",11,11,2,15)
44
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
#set sta1:ssp16=(10,123,123,"V",10,10,2,16)
#set sta1:ssp2=(10,120,120,"V",7,7,2,2)
#set sta1:ssp3=(10,120,120,"V",11,11,2,3)
#set sta1:ssp4=(10,120,120,"V",10,10,2,4)
#set sta1:ssp5=(10,122,122,"V",6,6,2,5)
#set sta1:ssp6=(10,122,122,"V",7,7,2,6)
#set sta1:ssp7=(10,122,122,"V",11,11,2,7)
#set
#set
sta1:ssp8=(10,122,122,"V",10,10,2,8)
sta1:ssp9=(10,123,123,"V",6,6,2,9)
3
3.7.6.1. Send general object handling command
This command is available in the System Configuration tool, when the tool is used
in online mode and a REx device is selected from the Object tree.
From the menu bar, select Tools > Send General Object Handling Command....
See Fig. 3.7.6.1.-1.
)LJ 6HQG*HQHUDO2JMHFW+DQGOLQJ&RPPDQGLVVHOHFWHGIURPWKH
7RROVPHQX
The General Object Handling Command dialog is opened. See Fig. 3.7.6.1.-2.
45
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ *HQHUDO2EMHFW+DQGOLQJ'LDORJZLWKH[DPSOHYDOXHV
([DPSOH
If you enter the value definitions that are shown in Fig. 3.7.6.1.-2 and click Send
(or press ENTER on the keyboard), the following SCIL command is sent to REx
device number 1:
#SET STA1:SGO = (1, 1342, 3, 4, 2, 0, 1).
From the menu bar, select Tools > Send Event History Start Time. See
Fig. 3.7.6.2.-1.
)LJ 6HQG(YHQW+LVWRU\6WDUW7LPHLVVHOHFWHGIURPWKH7RROVPHQX
The Send Event History Start Time dialog is opened. See Fig. 3.7.6.2.-2.
46
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ 7KHGLDORJIRUVHQGLQJHYHQWKLVWRU\VWDUWWLPHLQIRUPDWLRQ
After a succesfull send operation, the HS attribute value is changed in the Attribute
tree. This attribute is described in the System Objects manual.
47
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ /21SRLQWW\SHV
Selecting a LON point type and clicking OK opens the definition dialog.
Depending on the LON point type, the user interface of the add (and edit) dialog may
be different (Fig. 3.7.7.-2).
)LJ 7KH/21SRLQWGHILQLWLRQGLDORJIRU$QDORJ,QSXWV
OK button accepts the entered values to the signal list of the LMK device and closes
the Add dialog (Fig. 3.7.7.-2.). Clicking Cancel closes the dialog without adding the
entered values to the signal list. Clicking Apply adds the entered values to the signal
list without closing the LON point definition dialog.
%DVHW\SHHOHPHQW
LON Base Type element of the LON point definition is selected from the drop-
down list, where the text strings represent the following values:
• Unsigned 16 (1)
• Signed 16 (2)
• Unsigned 8 (3)
• Signed 8 (4)
• Signed 32 (5)
• Float iee754 (7)
• Structure (8)
• LSG control (9)
• LSG bit write (10)
48
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
6197W\SH
A node may be installed in a network and logically connected to other nodes via
network variables as long as the data types match. A list of all the available SNVTs
and details of their definitions are provided in The Master SNVT List, which is
available in the Internet.
3
'HIDXOW
Alarm state SNVT_alarm type 88
The different LON point types have the following value ranges:
'LJLWDO,QSXW
1 Definition 6 (fixed)
2 (Network Variable) Index 0 to 4095 (integer)
3 (LON) Base Type 1 to 8 (integer)
4 Text max. of 30 characters (text)
5 (SNVT) Type (integer)
6 (Process) Object Address 0 to 65535 (integer)
$QDORJ,QSXW
1 Definition 2 (fixed)
2 (Network Variable) Index 0 to 4095 (integer)
3 (LON) Base Type 1 to 8 (integer)
4 Text max. of 30 characters (text)
5 (SNVT) Type (integer)
6 (Process) Object Address 0 to 65535 (integer)
7 Dead Band 0 to 0.9999 (real)
'LJLWDO2XWSXW
1 Definition 4 (fixed)
2 (Network Variable) Index 0 to 4095 (integer)
3 (LON) Base Type 1 to 10 (integer)
49
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
$QDORJ2XWSXW
1 Definition 5 (fixed)
2 (Network Variable) Index 0 to 4095 (integer)
3 (LON) Base Type 1 to 8 (integer)
4 Text max. of 30 characters (text)
5 (SNVT) Type (integer)
6 (Process) Object Address 0 to 65535 (integer)
6WUXFWXUH,QSXW
1 Definition 3 (fixed)
2 (Network Variable) Index 0 to 4095 (integer)
4 Text max. of 30 characters (text)
5 (SNVT) Type (integer)
6 (Process) Object Address 0 ... 65535 (integer)
From the Object tree, select the SPA device that you want to engineer.
50
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
If the SPA device is connected to a LON/SPA gateway (LMK device) in a LON line,
the LON/SPA Analog Inputs page is also visible. LON points can be added using
Add button in the LON/SPA Analog Inputs page.
)LJ 7KH63$SRLQWW\SHV
Selecting a point type and clicking OK opens the add dialog. Depending on the SPA
point type, the user interface of this dialog may vary. See Fig. 3.7.8.-2.
)LJ 7KH63$SRLQWGHILQLWLRQGLDORJIRU'LJLWDO,QSXWV
51
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
The SPA point elements consist of the following element value ranges in the
different point types:
,QGLFDWLRQ
'LJLWDO,QSXW
Table 3.7.8-2 Table 14.The element value ranges for the Digital Inputs
Element Description Value range
52
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
$QDORJ,QSXW
Table 3.7.8-3 The element value ranges for the Analog Inputs
Element Description Value range
1
2
P-Object Type
Channel
Analog Input (2) (fixed)
0 to 16 (integer)
3
3 Data Type I (Input Data)
O (Output Data)
S (Setting Values)
V (Variables)
M (Memory Data)
C (Slave Status)
(text)
4 Data NR 0 to 16 (integer)
5 (Process Object) Address 0 to 65535 (integer)
6 Data Format Bits, Hexadecimal, Real
7 Dead Band 0 to 65537 (real)
'LJLWDO2XWSXW
Table 3.7.8-4 The element value ranges for the Digital Outputs
Element Description Value range
53
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
$QDORJ2XWSXW
Table 3.7.8-5 The element value ranges for the Analog Outputs
Element Description Value range
2EMHFW&RPPDQG
Table 3.7.8-6 The element value ranges for the object commands
Element Description Value range
3XOVH&RXQWHU
Table 3.7.8-7 The element value ranges for the pulse counter
Element Description Value range
54
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
LON points
The LON point attribute ties together the LON Network Variable indices with the
process objects in the MicroSCADA process database. A unique LON point number
assigns each LON point in the NET. Numbering is started from 1 and increased with
one until 4095 is reached.
55
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ /2163$$QDORJ,QSXWVSDJH&OLFN$GG«WRFUHDWHDQHZ/21
SRLQW
Table 3.7.8-8 Element value ranges for the LON/SPA Analog Input.
Element Description Value range
56
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
7RVWDUWWKHFRQILJXUDWLRQ
57
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ )LJXUH/21&ORFN0DVWHU&RQILJXUDWLRQ
6XEQHWDQG1RGH1XPEHU
Subnet and Node numbers were set, when you created the LON Clock Master device
with the System Configuration tool in offline mode. In this editor you can change
the address, if it is needed. See Fig. 3.7.9.-2. If you change any other information
than Subnet and Node Number, please, fill in the pre-set Subnet and Node values.
If you change the Subnet or Node number, change also the configuration data, in
! order to have connection to this LON Clock Master again. You have to change the
attribute values of the NET attributes SN (subnet number) and NN (node number)
to equal with the values that were entered in this General Information page.
58
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
6XEQHW1XPEHU
Range: 0 ... 255
1RGH1XPEHU
Range: 0 ... 127
3
:DUQLQJ,QWHUYDO
Range: 30 ... 100 ms
Default: 30 ms
'HOD\&RPSHQVDWLRQ
Range: 0 ... 655300 ìs
Default value: 0 ìs
7LPH=RQH
Range: -127.59 ... +127.59 UTC
Default value: 0.00 UTC
)LJ /21&ORFN0DVWHU*HQHUDO,QIRUPDWLRQHGLWRU
59
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
Parameter information
The configured parameter information is read from the LON Clock Master into the
System Configuration tool, if the configuration is opened in online mode.
Time settings
LON Clock Master’s internal clock is adjusted to the UTC time by receiving a time
message and a second pulse from GPS receiver device.
19BWLPH
LON Clock Master’s internal clock can be adjusted to the UTC time by receiving a
second or a minute pulse from other time references than GPS (e.g. DCF77). When
there is no time message available from time reference, the user given time can be
delivered through the LONWORKS device bus by using network variables.
Accuracy: 10...100 ms
6\QFKURQLVDWLRQXVLQJ6197BWLPHBVWDPS
Network variable of type SNVT_time_stamp is broadcast to the network by a clock
master node. The nodes that own this type of network variable receive the time in
the network variable and synchronise the internal real-time clocks accordingly.
SNVT_time_stamp contains year, month, day, hour, minute and second. It may be
expected that in the best case the real-time clocks of the clock master node and the
other nodes are synchronised to each other with the accuracy of 10...100 ms, if the
clock master node attempts to send the SNVT_time_stamp exactly when the full
second is elapsing.
Accuracy: 10...100 ms
(Strongly dependent on the network load and the input load of
the synchronised nodes.)
6\QFKURQLVDWLRQXVLQJ19BFORFNBZDUQLQJDQG19BFORFN
Network variables NV_clock_warning and NV_clock messages are broadcast to the
LONWORKS network by a clock master node once a second, one after another, with
the delay of 30...100 milliseconds.
When a node receives the NV_clock_warning it must stop sending other than high
priority messages and start waiting for NV_clock. The time received in NV_clock
is used to adjust the real-time clock of the node.
The length of time interval between NV_clock_warning and NV_clock message is
user configurable and it is given in network variable nv_warn_interval.
Accuracy: 1...5 ms
(Provided that after broadcasting NV_clock_warning all system
nodes will suspend transmission of normal priority messages,
otherwise may be more than 5 ms.)
60
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
9$76SXOVHEDVHGV\QFKURQLVDWLRQ
! Please note that the REF 5xx relays do not support the VATS based synchronisation
methods yet.
3
VATS pulse based synchronisation uses the common NV_clock_warning message
of the previously defined method. After some delay there will be a synchronisation
pulse transmitted in the preamble of a data package. This pulse (predefined length
min. 80ìs, max. 120ìs) can be detected by the hardware added for this purpose. The
detection of the pulse occurs in the master end and in the slave end of the LONWORKS
device bus. After the pulse has been broadcast, a clock message including the
master’s pulse detection time will be transmitted. Using this message and the own
time of pulse detection the slave adjusts its internal clock.
Accuracy: 100ìs
9$76ZLWKELWSDWWHUQUHFRJQLWLRQ
This method is quite similar to the pulse based VATS method. Different
synchronisation event is used: a pulse in the preamble of a message is substituted by
a predefined bit pattern in the message. Detection of this bit pattern requires a special
hardware to be added.
Accuracy: 100 ìs
Reference time
If some cyclical sending of reference time is needed, the valid interval times are
between 1 minute and 1 hour. The reference time is always in the form of local time.
If the Master - Master concept is being used, the sending of the reference time is
handled by one LON Clock Master . In this case, MicroSCADA is not involved in
sending the reference time at all. There is a need to use this kind of solution, if
routers are used in the configuration. There should be a LON Clock Master before
and after a router.
0 No clock synchronisation
1 Send LSG Clock synchronisation pulse
2 Send minute pulse
3 Send LSG and minute pulse
61
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ /21&ORFN0DVWHU1HWZRUN9DULDEOH&RQILJXUDWLRQ(GLWRU
%RXQGHGQHWZRUNYDULDEOH
During the start-up of PC-NET, the initial state of a bounded network variable is
read through NV Poll LON network management command, if the Diagnostic
Interval (DI) attribute of station with type LMK is higher than 0. It is also possible
to configure the background network variable polling mechanism into PC-NET by
defining the interval time in minutes to the Consistency Check Time (CT) attribute
of station with type LMK. See Fig. 3.7.9.-4.
Small interval time increases the LON load, because of the repeating collections of
! the NV Poll commands in that LON line. Value 0 in CT attribute disables this
mechanism.
62
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ ,WLVSRVVLEOHWRFRQILJXUHWKHEDFNJURXQGQHWZRUNYDULDEOHSROOLQJ
PHFKDQLVPLQWR3&1(7E\GHILQLQJWKHLQWHUYDOWLPHLQPLQXWHVWR
WKH&RQVLVWHQF\&KHFN7LPH&7DWWULEXWHRIDQ/0.VWDWLRQ
8QERXQGHGQHWZRUNYDULDEOH
If unbounded network variables are defined into PC-NET, their initial state is not
read during PC-NET start-up in spite of the station’s DI attribute value. The network
variable update is occurred only to the unbounded network variable, if the device
itself sends NV Update LON network management command. As a default, when
network variables are included into the neuron chips of the LON devices, the default
selector values are usually located inside unbounded network variable range. This
means that during LON configuration engineering the selector values has to be
configured inside bounded network variable range with System Configuration Tool
or LON Network Tool inside the neuron chip of a LON device. These definitions
have to be consistent with the contents of the NC attribute of the LON line.
For further information, see the text earlier in this section (Direction and NV
Selector) and the descriptions in section 3.7.4 Network variable configuration.
63
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ /21&ORFN0DVWHU$GGUHVV7DEOH(GLWRU
Index range: 0 ... 14
Node or Member Number range: 0 ... 127
Subnet or Group Number range: 0 ... 255
See Fig. 3.7.9.-5. Further information can be found in section 3.7.5 Extended
address table.
From the menu bar, choose Configuration > LON Network Variables. See
Fig. 3.8.-1.
64
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ 6LQJOHQRGHGDWDWUDQVIHUZLOOEHVWDUWHGIURP/211HWZRUN7RRO
Importing of single node means that the data is read from a certain LON node only
(e.g. from file S001N001.lon). Importing of multiple nodes means that data is read
from certain specified LON nodes or from all LON nodes that are included into a
LON Network Tool project (e.g. all files with .lon extension). The LON file is
selected by using the File Chooser. See Fig. 3.8.-2.
65
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ &ORFN0DVWHUGHYLFHZLWKQRGHQXPEHUDQGVXEQHWQXPEHUZLOO
EHLPSRUWHGIURP/211HWZRUN7RROWR0LFUR6&$'$6\VWHP
&RQILJXUDWLRQWRRO
([DPSOH
Before data importation, the LON line is selected from the Object tree. See
Fig. 3.8.-4.
)LJ 2EMHFWWUHHEHIRUHWKH6LQJOH1RGHLVLPSRUWHG
A LON/SPA Gateway with two child objects (two SPACOM devices) is imported
from LNT (LON Network Tool). The object information is shown in the import
dialog.
66
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
)LJ 2EMHFWGDWDLQWKH6LQJOH1RGHLPSRUWGLDORJ
When the import button is clicked in the import dialog, the data is transferred to the
System Configuration tool. The new object with its child objects is shown in the
object tree.
)LJ $IWHUWKHLPSRUWRSHUDWLRQWKHUHLVDQHZ/0.VWDWLRQZLWKWZRFKLOG
REMHFWVLQWKH2EMHFWWUHH
The imported configuration data can be seen and edited if the device is selected from
the Object tree and Tools > Signal engineering is chosen from the menu bar.
)LJ /213RLQWLQIRUPDWLRQIRU/0.GHYLFHQXPEHU
67
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ /2163$$QDORJ,QSXWLQIRUPDWLRQIRU63$GHYLFHQXPEHU
The LON line number 3 imported information can be seen and edited, if the
mentioned line is selected from the Object tree and the Advanced page is clicked
visible.
)LJ 1HZHQWULHVIRU1HWZRUN9DULDEOHVDQG([WHQGHG$GGUHVV7DEOHIRU
/21OLQHQXPEHU
68
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
([DPSOH
Before data importation, the LON line is selected from the Object tree. See
Fig. 3.8.-10.
)LJ 7KH2EMHFWWUHHEHIRUHPXOWLSOHQRGHVKDYHEHHQLPSRUWHG
Two REx devices, a LON/SPA Gateway with two child objects (two SPACOM
devices) and four LON Clock Masters are imported from LNT (LON Network
Tool). The object information is shown in the import dialog. See Fig. 3.8.-11.
)LJ 0XOWLSOH/21ILOHVDUHLPSRUWHGWRWKH6\VWHP&RQILJXUDWLRQWRRO
ZKHQWKH,PSRUWEXWWRQLVFOLFNHG
When the import button is clicked in the import dialog, the data is transferred to the
System Configuration tool. The new objects with the possible child objects are
shown in the object tree.
69
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
)LJ 7KH2EMHFWWUHHDIWHUPXOWLSOH/21ILOHVKDYHEHHQLPSRUWHG
The imported configuration data can be seen and edited if the device is selected from
the Object tree and Tools > Signal engineering is chosen from the menu bar.
)LJ /213RLQWGDWDIRUWKHLPSRUWHG/21&ORFN0DVWHUGHYLFHQXPEHU
)LJ /213RLQWGDWDIRUWKHLPSRUWHG/0.GHYLFHQXPEHU
)LJ /2163$$QDORJ,QSXWGDWDIRUWKHLPSRUWHG63$GHYLFHQXPEHU
70
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
3
)LJ /213RLQWGDWDIRUWKHLPSRUWHG/21&ORFN0DVWHUGHYLFHQXPEHU
The LON line number 3 imported information can be seen and edited, if the
mentioned line is selected from the Object tree and the Advanced page is clicked
visible.
)LJ 1HWZRUN9DULDEOHVDQG([WHQGHG$GGUHVVWDEOHIRU/21OLQHQXPEHU
71
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
The parameter value is stored into the permanent configuration file SysConf.ini with
the key name PCNET_Start_Delay. The delay time is utilised by the
StartPCNET.scl program assigned into the folder \sc\STOOL\SysConf.
↔ 3 × 5 s < 20s
↔ 15s < 20s
! In MicroSCADA, the event filter (EF attribute) must be defined before setting the
station in use.
72
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 3. Instructions
• Click Send RF, or write SPA message RF: and click Send. See Fig. 3.8.-11.
If you get an identification to your message in the text field Reply from SPA, the
communication is OK.
)LJ 7HVWLQJFRPPXQLFDWLRQZLWKWKH6\VWHP&RQILJXUDWLRQWRRO
([DPSOH
Reply to the RF: message from a REF terminal:
<1D:REF543 :2A, when the station/node number is 1 and the terminal is REF
543.
It is also possible to test the connection to a SPA device the similar way:
([DPSOH
Reply to the RF: message from a SPA device:
<11D:SPTO 1D2:07, when the station number is 11 and the SPA module is
SPTO 1D2
It is also possible to test the connection to an LMK device by sending the node status
poll.
,QWKH7HVW'LDORJ
Press ENTER.
73
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
3. Instructions Configuration Guide
,QWKH5([WRROSLFWXUH
3.12. Troubleshooting
74
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
4. Technical description
75
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
• Interrogation requests.
76
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
/LQN
If a valid link object number is entered, this new object becomes a child object of
the MicroSCADA Configuration. During the addition of this new object, its
attributes are given the following default values:
1RGH
If a valid node object number is entered as an object number, this new object
becomes a child object of a Link [INTEGRATED]. During the addition of this new
object, its attributes are given the following default values:
77
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
DT Diagnostic Time- 60
out:
CX Comment Text: ""
/21/LQH
During the addition of a new LON Line object, its attributes are given the following
default values:
63$/LQH
During the addition of a new SPA Line object, its attributes are given the following
default values:
78
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
5(;6WDWLRQ
If a valid REX Station object number is entered, this new object becomes a child
object of a Line [LON]. During the addition of a new REX station object, its
attributes are given the following default values:
79
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
/0.6WDWLRQLQD/21/LQH
During the addition of a new LMK station object, its attributes are given the
following default values:
Table 4.1.6.2-6 Default attribute values for the LMK Station in a LON Line
IU In Use: 0
LI Link Number: 1 ( number of the parent object Line [LON])
NN Node Number: 2 (station number)
SN Subnet Number: 1
UT Unit Type: 3
ST Station Type: "LMK" (type of the new station object)
ND Node Number: 1 (parent object number of the Line [LON])
TT Translation Type: "EXTERNAL"
TN Translated Object Number: 2 (station number)
AL Allocation: 0
AS Allocating Application: 0
CT Consistency Check Time: 0
DI Diagnostic Interval: 0
RT Reply Time-out: 5000
MI Message Identification: 1002, where 1002 = 1000 + station number
MS Message System: 1 (current application number)
CX Comment Text: ""
63$6WDWLRQLQD/21/LQH
If a valid SPA Station object number is entered, this new object becomes a child
object of a Line [LON]. During addition of this new SPA station object, its
attributes are given the following default values:
Table 4.1.6.2-7 Default attribute values for the SPA Station in a LON Line
IU In Use: 0
LI Link Number: 1 ( number of the parent object Line [LON])
SA Station Address: 3 ( station number)
80
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
UT Unit Type: 3
RL Router LMK 2 (number of the parent object Station [LMK])
ST Station Type: "SPA" (type of the new station object)
ND Node Number: 1 (parent object number of the Line [LON])
TT Translation Type: "EXTERNAL"
TN Translated Object Number: 3 (station number)
AL
AS
Allocation:
Allocating Application:
0
0
4
UP Update Points: 0
RT Reply Time-out: 60
EC Event to Data Consistency 20
Check Period
EP Event Poll Priority Class 1
MI Message Identification: 1003, where 1003 = 1000 + station number
MS Message System: 1 (current application number)
CX Comment Text: ""
63$6WDWLRQLQD63$/LQH
If a valid SPA Station object number is entered, this new object becomes a child
object of a Line [SPA]. During the addition of a new SPA station object, its
attributes are given the following default values:
Table 4.1.6.2-8 Default attribute values for the SPA Station in a SPA Line
IU In Use: 0
LI Link Number: 2 ( number of the parent object Line [SPA])
SA Station Address: 4 ( station number)
UT Unit Type: 0
ST Station Type: "SPA" (type of the new station object)
ND Node Number: 1 (parent object number of the Line [SPA])
TT Translation Type: "EXTERNAL"
TN Translated Object Number: 4 (station number)
AL Allocation: 0
AS Allocating Application: 0
UP Update Points: 0
RT Reply Time-out: 60
EC Event to Data Consistency Check 20
Period
EP Event Poll Priority Class 1
MI Message Identification: 1004, where 1004 = 1000 + station number
MS Message System: 1 (current application number)
CX Comment Text: ""
81
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
Delete operation is not allowed for the MictoSCADA Configuration object (the
! main object) or configuration objects, which include child objects.
Before the delete operation occurs, a caution dialog is displayed with the text "Do
you really want to delete the selected object?" and Yes and No buttons. Clicking Yes
deletes the selected object and clicking No cancels the delete operation. If the object
to be deleted includes user-defined SCIL-programs or signals, those are deleted as
well.
82
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
In the System Configuration tool there is a view called "All Attributes" for each
station type. This view includes two categories: "Basic Attributes" and
"Miscellaneous Station Type Attributes". System Configuration Tool displays
following information about the station types:
Basic Attributes
NA Type Name No
DB Database Interface No
Miscellaneous Station Type Attributes
CX Comment Text Yes
CT Cause of Transmission Yes
83
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
Table 4.1.7-1 The subtools that are integrated into the System
Configuration Tool
Tool: Configuration objects:
SPA Points for SPA devices on LON and SPA lines, Event
SPA Configuration Tool
to Data for SPA devices
4.2. Design
4.2.1. Introduction
The LONWORKS device bus connects together different parts of a protection and
control system, including bay level devices (protection relays, control units, alarm
annunciators, disturbance recorders) and higher level devices (e.g. control panel,
operator terminal, SMS or SCS computer, RTU, process controller, Programmable
Logic Controller or a gateway to the network control centre). A fibre-optic medium
is used in ABB protection and control systems, to protect against the
electromagnetic noise generated by the primary equipment.
The integration of third party devices or subsystems, e.g. distributed I/O modules or
condition monitoring equipment, can be supported using routers with transceivers to
other media, e.g. twisted pair. In a similar way, remote devices can be connected to
the main system with routers using e.g. a radio channel or a telephone line with
modems.
84
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
)LJ $QH[DPSOHRID/21:25.6WHFKQRORJ\EDVHGVXEVWDWLRQ
FRPPXQLFDWLRQQHWZRUN
The physical structure of a LONWORKS technology based interbay bus is a star
coupled fibre optic bus. Up to 27 fibre optic connections can be made to one star-
coupler RER 111. The RER 111 can be linked to another RER 111, either directly
or via a router.
A fibre optic transceiver RER 107 is used for the connection between a PCLTA card
and the star-coupler. A fibre optic connection unit RER 103 is needed for connecting
a RE_54_ series terminal to the network.
The following modules are usually needed when building a network that uses the
LonTalk protocol:
• RER 103 - Interface module for the RE_ 5_ _ series devices.
• RER 107 - SMX fibre optic transceiver for the PCLTA card.
• RER 109 - PCLTA card.
• RER 111 - Star-coupler.
• SFIBER - Fibre optic option card, glass fibre or plastic fibre
connection.
• SRS485 - RS485 option card.
• SREDU - Double connection option card, glass fibre or plastic fibre
connection.
• SSLTA - SLTA option card (serial LonTalk adapter).
• SROUT - Router option card.
• SLCM - LON Clock Master card.
• SPA-ZC 100/102 - LSG device.
85
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
4.2.3.1. PC-NET
PC-NET is communication software which runs on the main processor of a
Windows NT computer in parallel with the base system. The PC-NET software can
use the serial line COM ports of the PC and the optical lines of the PCLTA card as
communication channels.
PC-NET supports the following protocols:
• ACP (the MicroSCADA internal protocol).
• LonTalk.
• SPA.
• IEC 870-5-101 master and slave.
• IEC 870-5-103 master.
• IEC 1107.
• RP570 master and slave.
• RP571 master.
• ADLP80 slave.
• LCU 500.
4.2.3.4. Subnets
A LONWORKS technology-based network may be divided into segments called
subnets. Subnets can be connected together with or without routers. For performance
reasons, it is recommended that not more than approximately 25 high performance
devices should be connected to one subnet.
When connecting the PC-NET to a LONWORKS technology-based network, one
channel of the PCLTA card should be reserved for each subnet.
4.2.3.5. Lines
The LONWORKS communication channel corresponds to a line in the PC-NET.
Currently, one PC-NET supports up to 8 lines. Since 2 PCLTA cards, with 2
channels each, can be installed in one base system computer, only four LONWORKS
channels can be used in one base system.
86
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
Each communication channel occupies one IRQ level on the base system computer
! and LNT 505 occupies one communication channel.
87
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
• SLCM Option card for LON® Star Coupler RER 111, Technical reference
manual.
• SLCM Option card for LON® Star Coupler RER 111, Buyers guide TOB.
88
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
6HYHUDO3&1(76XSSRUW
When PC-NET is started or stopped and multiple PC-NET communication software
is included into configuration, it is possible to identifity, in a separate dialog, the PC-
NET , which the operation is applied to.
PC-NETs are numbered in a list. The net that has the lowest NET node number
receives the number 1. The NET node number is also displayed in this list. One
selected item in the list could, for example, be PC-NET 1 in Node 3.
Before the dialog is displayed, the PC-NETs, which can be started and stopped, are 4
checked. If e.g. PC-NET 1 in Node 3 is already running, it is not included into the
list, if Communication - Start PC-NET... is selected from the menu bar.
Each PC-NET configuration can be previewed separately. This is done via
Configuration - Preview - PC-NET... In the case of several PC-NETs, a selection
dialog is opened. This dialog lists all the PC-NETs that are included in the current
configuration in the tool.
The System Configuration tool saves constructed NET specific SCIL -statements
with the name sys_net’node_number’, where node number refers to the NET node
number of the PC-NET. If, for example, the configuration includes two PC-NETs
assigned to NET nodes 3 and 4, the files which include their constructed SCIL -
statements are named sys_net3.scl and sys_net4.scl.
If several PC-NETs are included into configuration, a separate dialog is displayed to
identify into which PC-NET the selected LONWORKS channel is connected to.
*HQHUDOPHFKDQLVPIRUWKHEDVHV\VWHPFRQILJXUDWLRQDWV\VWHPVWDUWXS
The base system objects, depending on the configuration entered in the
configuration tool, are created when the base system starts. In the
SYS_BASCON.COM file there is a call to a procedure which configures the base
system objects.
*HQHUDOPHFKDQLVPVIRUDXWRPDWLFVWDUWLQJDQGFRQILJXUDWLRQRIWKH3&1(7V
The System Configuration tool creates procedures for automatic start-up and
configuration of the PC-NET(s). The automatic starting/configuration can be
switched on or off.. The PC-NET can be started and stopped manually in online
mode.
The automatic starting and configuration of the PC-NET works in the following
way:
• A command procedure SYS_INIT_1:C is connected to the event channel
APL_INIT_1:A as the first secondary object. If the list of the secondary objects
is full, the last one is removed and a warning is generated (notify window, log
file).
• The command procedure SYS_INIT_1:C calls a text file (StartPCNET.scl)
which starts the PC-NET. The program in the text file first updates the sys_/
pc_net.cf1 file and then starts the PC-NET by setting the corresponding base
system link object type to "INTEGRATED.
89
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
For each PC-NET found from the permanent configuration file SysConf.ini located
in folder \sc\sys\active\sys_, the following information is found out to fulfill the
contents of the pc_net.cf1 file:
Table 4.2.4.1-1 Basic information for each PC-NET that is found from the SysConf.ini file
Source Key name Example
• The PC-NET sends a system message to the application when it is started. This
message is received by a process object to which an event channel,
SYS_NET'net_number'D:A, is connected. This event channel calls a command
procedure SYS_NET'net_number'D:C. If the process object exists (e.g. created
by LIB5xx) and has an event channel connected to it, all objects connected to
that event channel are moved to the SYS_NET'net_number'D:A event channel
as secondary objects. In other cases, the tool automatically creates a process
object SYS_NETD:P('net_number'), to which the event channel
SYS_NET'net_number'D:A is connected.
• The command procedure SYS_NET'net_number'D:C checks the message
coming from the PC-NET and if this is the start message (10001), the PC-NET
is configured according to the information entered in the tool.
All error messages which occur during the start-up or configuration of the PC-NET
are shown in the Notification window and logged in a log file, which can be viewed
in the configuration tool.
2QOLQHPRQLWRULQJRIWKHEDVHV\VWHPDQGWKH1(7FRQILJXUDWLRQ
The online configuration can be read into the tool by selecting Configuration/Open
Online. Reading the online configuration sets the tool in online mode. Online mode
includes the following functions:
• Diagnostic counters of the links.
• Diagnostic counters of the NET lines.
• Diagnostic counters of the stations.
• Starting/stopping of the PC-NET.
• PCLTA initialisation/LON address setting.
The following information is read from the online configuration:
• Station type definitions, STYn:B (where n = 3 .. 9, 17, 20 .. 29).
• Integrated link between base system and PC-NET, LINn:B and base system
links of the type LAN and RAM.
• PC-NET node object, NODn:B.
90
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
• PC-NET lines with protocol: LonTalk, SPA, IEC 870-5-101/103 and DNP
V3.00 Slave.
• Lines with protocol: ANSI X3.28 XF, RAM, ASCII, RP570M/RP571M and
RP570S.
• Stations of the type REX, LMK, SPA, LON Clock Master, IEC, SPI and RTU.
• LON and SPA-points for REX, LMK and SPA devices.
Table 4.2.4.2-1 The information that is found in the Diagnostic Counters tabI
• Index 1 = Transmitted Telegrams • Index 12 = Parity Errors
• Index 2 = Failed Transmissions • Index 13 = Overrun Errors
• Index 4 = Transmitted Commands • Index 14 = Check Sum Errors
• Index 5 = Transmitted Replies • Index 15 = Framing Errors
• Index 11 = Received Messages • Index 16 = Buffer Overflow Errors
91
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
4. Technical description Configuration Guide
These files are all located in \sc\Stool\SysConf\ folder. They can also be found by
using sys_tool logical path. Each function has an argument called Object Type.
This argument can have following values and meanings
92
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 4. Technical description
2. If the address was successfully received, the Neuron chip is set to configured
online state.
3. The program checks whether the whole operation was successful and carries out
a reset operation.
93
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 5. Glossary
5. Glossary
This section describes terminology and defines words used in this document. The
same words may have quite different meanings in other circumstances; these
explanations refer only to this document and the systems described in this document.
$SSOLFDWLRQ
An application contains all the data and tools which are needed for the supervision 5
and control of a system. It contains supervisory pictures, event lists, alarm lists,
event and alarm printouts, reports on a daily, weekly and monthly basis, etc. It stores
actual values, which are essential to allow the supervisory staff to monitor the
current state of the system. Likewise, it stores data and performs calculations for
reports. The application may also contain automatic functions which carry out not
only simple routine tasks, such as verifying user authorisations and printing out
reports, but also operational sequences which are activated, for instance, in fault
situations.
$WWULEXWH
Individual data items which form part of an object are called attributes. Each object
has a set of attributes that store information and describe the qualities of the object.
The attributes contain, for instance, measured values, texts, program lines, time
stamps etc., depending on which object type is concerned.
&ROOLVLRQGHWHFWLRQ
Collision detection is used optionally in our systems. It is not mandatory for all
devices connected to the system to support collision detection. This would not be
possible for some devices which interface with specific network media. Collision
detection should be used by devices which send time-critical messages, e.g.
interlocking data or blocking signals. Collision detection, together with priority slot
assignment, is used to guarantee deterministic transfer of these messages especially
in high load situations. If a collision occurs and is detected, the transmitting nodes
will terminate transmission and start waiting for their time slot within the next
packet cycle. This allows the retransmission of a priority message to be started
immediately within the next packet cycle. It is then extremely unlikely that a
collision will occur with this message.
&RPPXQLFDWLRQFKDQQHO
A physical connection layer established for communication between devices,
specified by the medium being used, transmission speed and other timing
parameters.
&RQILJXUDWLRQSURSHUWLHV
Configuration properties contain configuration and parametrisation data, used to
customise and optimise the behaviour of a node or a particular application in the
95
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
5. Glossary Configuration Guide
([SOLFLWPHVVDJH
An application layer object containing a maximum of 229 bytes of data. Explicit
messages are used to transfer longer pieces of information such as packed sequences
of events and explicit read and write messages to access device data. SPA-bus
messages can also be sent transparently in explicit messages to transfer e.g. device
parameters.
*DWHZD\
See LSG device.
+RUL]RQWDOFRPPXQLFDWLRQ
Direct communication between bay level devices, for example REF54x protection
terminals.
,QWHURSHUDELOLW\
A property which ensures that different devices (from the same or different
manufacturers) which communicate with one another can be integrated into the
same network without any need for the customisation of device-specific features.
,62
International Standardisation Organisation.
/$1
Local area network. Workstations and communication units can be connected to the
base system via a LAN.
/0.
LonMark device. See LMK device.
/0.GHYLFH
An LMK device comprises all types of devices, with the exception of SPA and REX
devices, which are connected to a LONWORKS network using the standard
LONWORKS network interface, e.g. an LSG device or a Weidmüller I/O device.
/21
See LONWORKS network.
96
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 5. Glossary
/RQ0DUN
See LonMark Interoperability Association.
/210$5.GHYLFHEXV
A LONMARK device bus is a peer-to-peer bus, in which all nodes (e.g. protection
terminals) in the system can talk to each other. This allows horizontal
communication at station level.
/RQ0DUN,QWHURSHUDELOLW\$VVRFLDWLRQ
An independent world-wide industry association, which facilitates the development 5
and implementation of open, interoperable LONWORKS technology based control
products and systems. The LonMark association includes manufacturers, end-users
and integrators of LONWORKS products. The association establishes guidelines such
as “LonMark Application Layer Interoperability Guidelines”, defines standard
functional profiles of control devices and certifies products on compliance with
interoperability guidelines.
/RQ0DUNFRPSOLDQFH
Conformance to LonMark interoperability guidelines. On the application layer
interoperability between LONWORKS technology-based products is facilitated
through the use of SNVTs and LonMark objects.
/RQ0DUNREMHFW
A set of one or more network variables implemented as SNVTs with definitions
relating to the behaviour of the object and the network variable values, as well as to
the set of configuration properties. LonMark functional profiles serve as classes for
LonMark objects.
/2163$*DWHZD\
See LSG device.
/RQ7DONSURWRFRO
The communication protocol used in LONWORKS networks. The LonTalk protocol is
an open protocol Which follows the reference model for open system
interconnection (OSI) designed by the International Standardisation Organisation
(ISO). The LonTalk protocol is a CSMA-type protocol (Carrier Sense Multiple
Access) with a built-in predictive collision avoidance algorithm and optional
collision detection. The collision avoidance algorithm is based on synchronised
random selection of the time slot by all nodes which are ready to transmit. The
number of randomised slots can be dynamically increased when a higher network
load is predicted by the protocol.
/21:25.6QHWZRUN
“Local Operating Network”. (The abbreviation LON is used in some documents, but
should not be used as a separate word.) A network based on LONWORKS technology.
97
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
5. Glossary Configuration Guide
/21:25.6WHFKQRORJ\
Communication technology developed by Echelon Corporation.
/21:25.6WHFKQRORJ\EDVHGV\VWHP
A system that uses the LonTalk protocol as a communication protocol in some or all
parts of the system. The communication network is based on LONWORKS technology.
/6*
See LSG device.
/6*GHYLFH
A protocol converter. Carries out conversions between the SPA protocol and the
LonTalk protocol. This means that SPACOM relays can be connected to the
LONWORKS network.
00,
Man Machine Interface.
1HWZRUNYDULDEOH
An application layer data object, containing a maximum of 31 bytes of data.
Network variables are used to deliver small data items such as measurement values,
status changes, interlocking data, blocking signals, alarms and events. Network
variables are addressed using network variable selectors. A selector is a 14-bit
number in the range 0 to 12287 (2FFFH).
1HXURQFKLS
An 8-bit microcontroller with a communication interface, manufactured by
Motorola and Toshiba. The LonTalk protocol is implemented in firmware. In simple
devices the Neuron chip can execute both the protocol firmware and an application
program. In complex devices (e.g. PC-based) an application program is run in the
host microprocessor, while the Neuron chip is used only as a LonTalk protocol
processor.
1RGH
A device in a subnet, e.g. REF Protection Terminal.
1RGHQXPEHU
A unique identifier of the node within a subnet.
98
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 5. Glossary
19
See Network variable.
2EMHFW
The data in the process and report databases is organised into objects. These are
entities containing sets of different kind of data. The objects have logical names and
they are able to communicate with each other according to the rules defined by
application programming.
26, 5
Open system interconnection.
3&/7$
PC LonTalk Adapter. See also PCLTA card.
3&/7$FDUG
LONWORKS network interface card for a PC. An ISA bus card with slots for two
transceiver cards for optical connections to the network.
3ULRULW\VORWV
Dedicated time windows to be used for transmitting emergency messages. Each
configured time slot is exclusively assigned to a selected node. A maximum of 255
priority time slots can be configured in the LonTalk protocol. Each device which
transmits time-critical data, such as interlocking/blocking messages or clock
synchronisation messages, must be assigned as a priority slot to enable prioritised
access to the communication medium.
3URFHVV8QLW
An interface between the process and the MicroSCADA system.
5(;GHYLFH
A unit which communicates verticallay with MicroSCADA, as defined in the LON
Applications Guidelines (e.g. a REF54x protection terminal).
5RXWHU
A router is a device equipped with two network interfaces. It is capable of
interconnecting two different communication channels. These channels may use
different network media, different network speeds and timing parameters or may be
used by different subsystems identified by subnet numbers.
576
Request to send.
99
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
5. Glossary Configuration Guide
578
Remote terminal unit.
6&,/
Supervisory Control Implementation Language. SCIL is a picture and object
oriented, high level language for application programming in MicroSCADA. SCIL
is used in pictures and in command procedures. SCIL expressions and conditions are
also used in datalog objects and time channels.
6&37
Standard Configuration Property Type. The definition of an SCPT includes unit,
range, resolution and data format. SCPTs are listed in “The SCPT Master List”,
which is updated by Echelon Corp. and includes configuration property types
commonly agreed on by a large number of manufacturers.
6,6'LQIRUPDWLRQ
Self Identification / Self Documentation information, which is stored as an ASCII
text array in a node’s memory and contains information about the node and its
network variables.
6/7$
Serial LonTalk Adapter. An option card with a serial interface for the star-coupler
RER 111. Enables serial line connection (e.g. RS-232) to the LONWORKS network.
63$GHYLFH
A SPACOM module connected to the LONWORKS network via a protocol converter.
The converter is called an LSG device.
6WDUFRXSOHU
A star-coupler (RER 111) is a device which provides connectivity to 3 or more
devices with fibre optic interfaces. Each external interface of the star-coupler is a
fibre optic transmitter-receiver pair, internally connected to a common bus. The star-
coupler itself does not contain a network node but its operation is restricted to the
physical layer of the protocol. A signal provided to the receiver of one external
connection is forwarded to the transmitters of all remaining external connections.
6XEQHW
Part of a network. A network may include several subnets separated from each
others by star-couplers. For example, HV (high voltage) devices may constitute one
subnet and a group of MV (medium voltage) devices another one.
6197
Standard Network Variable Types (SNVTs) facilitate interoperability by providing
a well-defined interface for communication between nodes made by different
100
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide 5. Glossary
9HUWLFDOFRPPXQLFDWLRQ
Communication between bay level devices and higher level devices, for example
between a REF54x Protection Terminal and MicroSCADA.
5
101
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide Index
Index
Page
$
Address ............................................................................................................. 22, 25, 41
Address Table Editor ..................................................................................................... 64
address table information .............................................................................................. 35
Advanced page .............................................................................................................. 84
Application .................................................................................................................... 95
Attribute ......................................................................................................................... 95
Authentication ............................................................................................................... 39
Automatic start-up of the PC-NET ................................................................................ 89
%
Back up copies ................................................................................................................. 9
Base address conflicts ................................................................................................... 13
Bay level devices ........................................................................................................... 84
Big substations ................................................................................................................ 6
Bounded network variable ............................................................................................. 62
Buffers ........................................................................................................................... 16
Bus ................................................................................................................................. 85
&
Card Number ................................................................................................................. 15
Clock (internal) .............................................................................................................. 77
Clock Select ................................................................................................................... 16
Collision detection ......................................................................................................... 95
Communication ................................................................................................ 3, 96, 101
Communication channel ................................................................................................ 95
Communication rate ...................................................................................................... 12
Configuration ...........................................................................................................14, 17
Configuration data ......................................................................................................... 88
Configuration properties ................................................................................................ 95
Configuration tool ......................................................................................................... 15
Control Panel ................................................................................................................. 15
Copy .............................................................................................................................. 82
CSMA type protocol ..................................................................................................... 97
CT attribute .................................................................................................................... 62
Cut ................................................................................................................................. 82
'
Data transfer ............................................................................................................64, 75
DCP-MUX ..................................................................................................................... 12
Default configuration .................................................................................................... 23
Default values ................................................................................................................ 77
Delay Compensation ..................................................................................................... 59
Delete function .............................................................................................................. 82
Device bus .................................................................................................................2, 97
Device Driver
6WDUWXS ....................................................................................................................... 17
Device driver ................................................................................................................. 15
Device Number .............................................................................................................. 16
Device types .................................................................................................................... 3
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
Index Configuration Guide
DI .................................................................................................................................. 72
DI attribute .............................................................................................................. 62, 63
Dip switch values .......................................................................................................... 13
Direction ........................................................................................................................ 39
DNP ............................................................................................................................... 91
Domain .......................................................................................................................... 42
Double connection card ................................................................................................ 76
Driver configuration ...................................................................................................... 15
Dual Channel ................................................................................................................. 16
(
Echelon device driver .................................................................................................... 15
Edit ................................................................................................................................ 82
EF attribute .................................................................................................................... 72
Error message ....................................................................................................21, 74, 90
Event filtering ............................................................................................................... 72
Event History Start Time ............................................................................................... 46
Explicit message ..................................................................................................... 75, 96
Extended Address Table .......................................................................................... 30, 39
)
Factory setting ............................................................................................................... 25
Fatal error ........................................................................................................................ 9
Flush cancel ................................................................................................................... 17
FLUSH state .................................................................................................................. 17
*
General Information dialog ........................................................................................... 33
General Information Page ............................................................................................. 58
General Object Handling Command ............................................................................. 45
Group Message Receiver Timer .................................................................................... 42
+
Higher level devices ...................................................................................................... 84
HS .................................................................................................................................. 47
,
I/O address .................................................................................................................... 12
I/O Port Address ............................................................................................................ 16
Importing Multiple Nodes ............................................................................................. 68
Importing of multiple nodes .......................................................................................... 65
Importing of single node ............................................................................................... 65
Initialisation .................................................................................................................. 18
Initialize .................................................................................................................. 21, 22
Installation and configuration (phases) ......................................................................... 11
Integrated link ............................................................................................................... 26
IRQ Level ...................................................................................................................... 16
/
LAN .............................................................................................................................. 96
Line ......................................................................................................................... 26, 86
Link ...................................................................................................................19, 23, 77
LMK .......................................................................................................................... 3, 28
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide Index
0
Manuals required ............................................................................................................. 1
Master ............................................................................................................................ 86
Maximum values ............................................................................................................. 4
Medium-sized substations ............................................................................................... 5
MiSCLONP ................................................................................................................... 15
Mode ........................................................................................................................23, 30
Modules ......................................................................................................................... 85
1
NC attribute ................................................................................................................... 62
%RXQGHGQHWZRUNYDULDEOH ......................................................................................... 62
NC Editor ...................................................................................................................... 36
NET Node ...................................................................................................................... 26
NetAgent .................................................................................................................14, 17
Nettools.ini .................................................................................................................... 22
Network interface .......................................................................................................... 11
Network variable .....................................................................................................75, 98
Network Variable Configuration Editor ..................................................................34, 62
Network Variable Priority ............................................................................................. 38
Neuron Chip .................................................................................................................. 15
Neuron chip ................................................................................................................... 98
Neuron clock rate .......................................................................................................... 16
Neuron ID ...................................................................................................................... 22
Neuron ship ................................................................................................................... 18
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
Index Configuration Guide
2
Object ............................................................................................................................ 99
Object Type ................................................................................................................... 92
Online ............................................................................................................................ 28
Online configuration ..................................................................................................... 90
Option card .................................................................................................................... 76
OSI ................................................................................................................................ 97
3
Paste .............................................................................................................................. 82
PCLTA ....................................................................................................................... 3, 99
PCLTA card ..........................................................................................11, 12, 76, 77, 86
&RPPXQLFDWLRQ .......................................................................................................... 15
6HWWLQJV ....................................................................................................................... 15
PCLTA card address ...................................................................................................... 92
PCLTA card configuration ............................................................................................ 15
PCLTA card information ............................................................................................... 14
PCLTA-card .................................................................................................................. 22
PC-NET .............................................................................................................76, 86, 89
0XOWLSOH3&1(7V ................................................................................................ 71, 89
6WDUWGHOD\ .................................................................................................................. 71
Prepare function ...................................................................................................... 18, 21
Prepare function settings ............................................................................................... 92
Preview function ........................................................................................................... 82
Priority .......................................................................................................................... 72
Priority time slot ............................................................................................................ 99
Programs ....................................................................................................................... 14
Protocol converter ......................................................................................................... 98
Protocols ........................................................................................................................ 86
5
REF Terminals .............................................................................................................. 25
Reference time .............................................................................................................. 61
Repetition Interval Time ............................................................................................... 42
RER 103 ........................................................................................................................ 85
RER 107 .................................................................................................................. 76, 88
RER 111 ........................................................................................................................ 76
Restrictions ...................................................................................................................... 4
Retry Count ................................................................................................................... 42
REX ........................................................................................................................... 3, 27
REX device ................................................................................................................... 99
REx device .................................................................................................................... 25
REX station ................................................................................................................... 79
1MRS751845-MEN Connecting LONWORKS® Devices to COM 500
MicroSCADA
Configuration Guide Index
6
SCIL commands ............................................................................................................ 44
SCIL program ................................................................................................................ 82
SCPT ............................................................................................................................ 100
Selector .......................................................................................................................... 98
Send Event History Start Time ...................................................................................... 46
Send General Object Handling Command .................................................................... 45
Send Message dialog ..................................................................................................... 73
Serial LonTalk Adapter ............................................................................................... 100
Service Pin ..................................................................................................................... 24
service pin ...................................................................................................................... 22
Service Pin Message ...................................................................................................... 22
Service Pin method ........................................................................................................ 23
Service types .................................................................................................................. 37
$FNQRZOHGJHG ............................................................................................................ 37
8QDFNQRZOHGJHG ........................................................................................................ 37
8QDFNQRZOHGJHG5HSHDWHG ........................................................................................ 37
Service-pin message ...................................................................................................... 24
Signal engineering ......................................................................................................... 84
'DWDWUDQVIHUIURP/17 ............................................................................................. 64
Single Channel .............................................................................................................. 16
SLCM ............................................................................................................................ 87
SLCM option card ...................................................................................................25, 77
SLTA ............................................................................................................................ 100
SLTA card ...................................................................................................................... 76
Small substations ............................................................................................................. 4
SNVT .....................................................................................................................49, 101
Software ......................................................................................................................... 14
Software installation ...................................................................................................... 14
SPA ............................................................................................................................3, 28
SPA address ................................................................................................................... 25
SPA Configuration tool ................................................................................................. 50
SPA device ................................................................................................................... 100
SPA Line ........................................................................................................................ 78
SPA point .......................................................................................................... 43, 51, 55
SPA points ..................................................................................................................... 44
SPA station ..............................................................................................................80, 81
SPA-bus message ........................................................................................................... 75
SPACOM relays ............................................................................................................ 25
STAnn
657VHWWLQJ ................................................................................................................. 74
Star Coupler
&RQILJXUDWLRQ ............................................................................................................. 24
Star-coupler ...........................................................................................................76, 100
Station ......................................................................................................................27, 79
Station Address .............................................................................................................. 25
Station number ............................................................................................................... 27
Station Type ................................................................................................................... 28
Station Type Definitions ................................................................................................ 28
COM 500 Connecting LONWORKS® Devices to 1MRS751845-MEN
MicroSCADA
Index Configuration Guide
7
Testing ........................................................................................................................... 73
TI ................................................................................................................................... 74
time ................................................................................................................................ 77
Time Zone ..................................................................................................................... 59
Transceiver ........................................................................................................17, 76, 85
Transceiver card
6HWWLQJV ....................................................................................................................... 16
Transceiver card (installation) ....................................................................................... 11
Transmit Timeout .......................................................................................................... 42
TRANSP_MSG_ ........................................................................................................... 74
Turnaround .................................................................................................................... 39
Type of Card .................................................................................................................. 15
8
Unbounded network variables ...................................................................................... 63
User-defined SCIL programs ........................................................................................ 88
UTC time ....................................................................................................................... 60
9
VATS with bit pattern recognition ................................................................................. 61
:
Warning Interval ............................................................................................................ 59
;
XA ................................................................................................................................. 30
XA attribute ................................................................................................................... 30
XA index ....................................................................................................................... 41