SMP Gateway User Manual

download SMP Gateway User Manual

of 224

Transcript of SMP Gateway User Manual

  • 5/26/2018 SMP Gateway User Manual

    1/224

    User Manual

    SMP Gateway

  • 5/26/2018 SMP Gateway User Manual

    2/224

    Copyright Cooper Power Systems 2007, hardware, software and manual

    The information in this document applies to software version 4.0or later and is subject

    to change without notice.

    Cooper Power SystemsEnergy Automation Solutions730 Commerciale St.

    Suite 200

    Saint-Jean-Chrysostome (Quebec)Canada

    G6Z 2C5

    Phone: (418) 834-0009

    Fax: (514) 227-5256

    Email: [email protected]

    Web Site: http://www.cybectec.com

    GUI-00316-00001 T, version 16

  • 5/26/2018 SMP Gateway User Manual

    3/224

    SMP Gateway User Manual i

    Contents

    Welcome 1

    SMP models.........................................................................................................................1

    Related documentation ........................................................................................................2

    Getting assistance with our products ...................................................................................3

    Getting started......................................................................................................................3

    Document overview.............................................................................................................4

    Principles of operation 7

    Introduction .........................................................................................................................7

    Logical architecture .............................................................................................................7

    Masters and slaves.................................................................................................7

    Introducing the SMP in the automation system.....................................................8

    SMP internals ........................................................................................................8

    Communication components...............................................................................10

    Configuring the SMP.........................................................................................................11

    Step 1 The transparent SMP .............................................................................12Using the SMP as a protocol translator ...............................................................14

    Using the SMP as a data concentrator or device multiplexer ..............................15

    Using the SMP as a communications gateway ....................................................16

    Putting it all together ...........................................................................................17

    Securing the substation........................................................................................17

    The SMP Tools 19

    SMP Manager 21Starting SMP Manager and logging on..............................................................................21

    Main window.....................................................................................................................22

    Adding an SMP..................................................................................................................22

    Information provided by the SMP gateway icon ...............................................................23

    Customizing the display.....................................................................................................24

    Adding or removing a column.............................................................................24

  • 5/26/2018 SMP Gateway User Manual

    4/224

    ii SMP Gateway User Manual

    Changing the position of a column......................................................................25

    Configuring the SMP 27

    Introduction .......................................................................................................................27

    Creating master protocol instances ....................................................................................29

    Creating a master protocol instance from a template ..........................................29

    Creating a master protocol instance manually .....................................................30

    Configuring the master protocol general settings ................................................30

    Configuring the data points................................................................................................32

    Adding data points from a protocol template ......................................................33

    Creating a template from a master protocol instance.........................................................34

    Duplicating a master protocol instance..............................................................................34

    Configuring the communication links ...............................................................................35

    Configuring the serial port interfaces ..................................................................35Configuring the operation of the serial ports .......................................................36

    Configuring TCP/IP connections.........................................................................37

    Associating a master protocol instance with a communications link.................................38

    Testing the configuration...................................................................................................39

    Validating and saving the configuration..............................................................39

    Sending the configuration to the SMP gateway...................................................40

    Retrieving an SMP gateway configuration file....................................................40

    Working with SMP Config grids .......................................................................................41

    Selecting cells and lines.......................................................................................41

    Duplicating a line ................................................................................................41

    Copying a value to a group of cells .....................................................................41

    Resequencing a group of lines.............................................................................42

    Deleting an item ..................................................................................................44

    Using tooltips ......................................................................................................44

    Viewing the SMP log files 45

    Information provided by SMP Log....................................................................................45

    SMP Log features ..............................................................................................................46

    Searching in SMP Log.........................................................................................46

    Printing a log .......................................................................................................46

    Saving a log file...................................................................................................46

    Viewing multiple log folders at once...................................................................47

    Changing how the time is displayed....................................................................47

  • 5/26/2018 SMP Gateway User Manual

    5/224

    SMP Gateway User Manual iii

    Viewing protocol exchanges in real time 49

    Information provided by SMP Trace .................................................................................50

    SMP Trace features............................................................................................................51

    Searching in SMP Trace......................................................................................51

    Printing a trace.....................................................................................................51Recording a live trace..........................................................................................51

    Saving all the scrolled information......................................................................52

    Changing how the time is displayed....................................................................52

    Viewing communication statistics in real time 53

    Information provided by SMP Stats ..................................................................................54

    SMP Stats features.............................................................................................................54

    Resetting statistics ...............................................................................................54

    Printing statistics .................................................................................................54Changing how the time is displayed....................................................................54

    Using a web browser to view data in real time 57

    Applying a filter to a data point display.............................................................................58

    Acknowledging data point value changes..........................................................................58

    Connecting the SMP to a control center 61

    Creating slave protocol instances.......................................................................................61

    Configuring slave protocol instances.................................................................................61Subscribing to the master data points ................................................................................62

    Configuring the data points................................................................................................64

    Configuring the communication links ...............................................................................64

    Setting up a TCP/IP connection...........................................................................64

    Associating a slave protocol instance with a communications link ...................................65

    Validating and activating the configuration.......................................................................65

    Testing the configuration...................................................................................................65

    Connecting to another SMP 67Introduction .......................................................................................................................67

    Configuring the slave SMP................................................................................................68

    Configuring the master SMP .............................................................................................69

    Security 72

    Introduction .......................................................................................................................72

  • 5/26/2018 SMP Gateway User Manual

    6/224

    iv SMP Gateway User Manual

    Meeting NERC CIP requirements .....................................................................................72

    Managing the security configuration of one or more SMP gateways ................................73

    Getting started .....................................................................................................73

    Accessing the Login Information dialog box ......................................................74

    Appropriate Use banner in the Login dialog box ................................................74Defining your authentication policy ....................................................................75

    Groups and privileges..........................................................................................77

    Editing user groups and privileges ......................................................................78

    Managing user groups and privileges..................................................................79

    Validating and saving the security configuration ................................................81

    Sending the security configuration to one or more SMP gateways .....................81

    Retrieving the security configuration of an SMP gateway ..................................83

    Removing the security configuration from one or more SMP gateways .............83

    Unlocking a user account ....................................................................................84Viewing the security log......................................................................................85

    File certification and integrity checking ............................................................................85

    Introduction .........................................................................................................85

    Detecting an integrity check failure.....................................................................85

    Recovering from an integrity failure ...................................................................86

    VPN connections and the SMP gateway firewall ..............................................................86

    Introduction .........................................................................................................86

    Customizing the firewall and VPN connections..................................................86

    Connecting and disconnecting VPN when the firewall is enabled ......................90

    Connecting and disconnecting VPN when the firewall is disabled .....................91

    Substation network security considerations.......................................................................92

    Setting up a secure substation LAN ....................................................................92

    Using the SMP Tools through a substation LAN firewall...................................93

    Locking incoming RAS and passthru connections ............................................................95

    Locking or unlocking all incoming RAS dialup connections ..............................95

    Locking or unlocking a passthru connection .......................................................96

    Using passthru connections 97

    Introduction .......................................................................................................................97

    Principles of operation.......................................................................................................98

    Setting up passthru connections.........................................................................................99

    Configuring SMP passthru ..................................................................................99

    Installing a loopback cable, if necessary ...........................................................100

  • 5/26/2018 SMP Gateway User Manual

    7/224

    SMP Gateway User Manual v

    Setting up a list of applications and loopback connections ...............................101

    Connecting to the device..................................................................................................103

    Testing the passthru connection.......................................................................................104

    Deactivating the SMP passthru connection .....................................................................104

    Retrieving DFRs or other event files retrieved from the devices 105

    Defining the system folders .............................................................................................105

    Configuring the master protocol event file processing ....................................................106

    Creating an Annunciator interface 109

    Introduction .....................................................................................................................109

    Configuring an Annunciator in SMP Config ...................................................................110

    Touch screen configuration in SMP Config ......................................................110

    Creating the Annunciator ..................................................................................110

    Setting General parameters................................................................................111

    Setting Alarm inputs..........................................................................................112

    Annunciator Pages editor.................................................................................................113

    The Alarm tab....................................................................................................114

    The Readings tab...............................................................................................116

    Setting cell contents...........................................................................................117

    Displaying static text or colors ..........................................................................118

    Displaying analog data points............................................................................119

    Displaying binary data points............................................................................121Formatting groups of cells.................................................................................121

    Selecting the display font ..................................................................................123

    Connecting to the Annunciator option into the SMP gateway.........................................124

    Calibrating the touch screen ............................................................................................124

    Using the Annunciator Interface......................................................................................125

    Navigation .........................................................................................................125

    Interface displayed in all the pages....................................................................125

    The Alarms page ...............................................................................................125

    The Readings page ............................................................................................129

    The Blocked page..............................................................................................129

    The History page ...............................................................................................130

    System States page ............................................................................................131

    The SMPs automation functions 133

  • 5/26/2018 SMP Gateway User Manual

    8/224

    vi SMP Gateway User Manual

    Introduction .....................................................................................................................133

    The SMP Automation Functions module ........................................................................133

    Adding an Automation Functions instance........................................................134

    Defining an automation function.......................................................................135

    Understanding automation function settings .....................................................138Logic Processor .................................................................................................138

    The Soft PLC...................................................................................................................145

    The CoDeSys development environment ..........................................................146

    Using CoDeSys to create SMP automation scripts............................................147

    Using syslog with an SMP gateway 149

    Introduction .....................................................................................................................149

    Setting up SMP Config for syslog messages ...................................................................149

    Redundancy 151

    Introduction .....................................................................................................................151

    Redundant group operation..............................................................................................151

    Redundant IEDs ................................................................................................152

    Priority...............................................................................................................153

    Grouping 2 SMPs for redundancy ...................................................................................154

    Introduction .......................................................................................................154

    Setting up two SMPs with SMP Manager .........................................................154

    The Redundancy column ...............................................................................157Hot standby......................................................................................................................158

    Managing redundancy .....................................................................................................159

    Forcing an active SMP to become a standby SMP............................................159

    Additional failover conditions...........................................................................159

    Modifying the redundancy settings of an existing group...................................160

    Ungrouping 2 SMP gateways............................................................................160

    Testing and validating the configuration...........................................................160

    Checking the redundancy status through the front panel...................................160

    Testing a redundant network .............................................................................161

    Setting up the SNMP server 163

    Introduction .....................................................................................................................163

    SNMP traps......................................................................................................................163

    Configuring the SNMP server .........................................................................................164

  • 5/26/2018 SMP Gateway User Manual

    9/224

    SMP Gateway User Manual vii

    Time synchronization 165

    Setting the clock in your SMP .........................................................................................165

    Concerning daylight saving time in 2007..........................................................165

    Why synchronize the SMP gateway? ..............................................................................166

    IRIG-B and GPS accuracy...............................................................................................167What is SNTP? ................................................................................................................168

    Setting up SNTP on the SMP gateway ............................................................................168

    Monitoring the SNTP status ............................................................................................169

    Remote access to the SMP gateway through a serial port 171

    Windows XP setup procedures........................................................................................171

    Setting up a dial-up (modem) connection..........................................................171

    Setting up a direct serial connection..................................................................174

    Windows 2000 setup procedures .....................................................................................176Setting up a dial-up (modem) connection..........................................................176

    Setting up a direct serial connection..................................................................178

    Using a Dial-Up Connection for DNP3 or IEC 60870-5-101 181

    Specifying which serial ports have modems....................................................................182

    Creating a modem pool....................................................................................................182

    Adding a modem to a modem pool ..................................................................................184

    Adding a modem pool master connection........................................................................185

    Adding a modem pool slave connection ..........................................................................185

    Updating the SMP software and tools 186

    Software architecture of the SMP Gateway.....................................................................186

    Procedure update checklist ..............................................................................................186

    Updating the SMP Tools on the PC.................................................................................187

    Updating the SMP software on the SMP Gateway ..........................................................187

    Updating the SMP firmware..............................................................................187

    Updating the SMP gateway application ............................................................190

    Updating the configuration file..........................................................................190

    Activating a new license 191

    Updating your license information ..................................................................................191

    Updating the SMP gateway application...........................................................................193

    Miscellaneous SMP Tool features 194

  • 5/26/2018 SMP Gateway User Manual

    10/224

    viii SMP Gateway User Manual

    SMP Manager features.....................................................................................................194

    Setting SMP Manager options .........................................................................................194

    SMP Config features........................................................................................................196

    System data points ...........................................................................................................196

    SMP Loader.....................................................................................................................199Using SMP Loader ............................................................................................199

    Transferring files to the SMP gateway..............................................................202

    Log file ..............................................................................................................203

    Updating bootstraps under unusual circumstances............................................203

    Troubleshooting 205

    Introduction .....................................................................................................................205

    Getting additional help ......................................................................................205

    Creating an SMP gateway report file...............................................................................206Viewing an SMP gateway report file...............................................................................207

    Startup problems..............................................................................................................207

    No configuration file .........................................................................................207

    Protocols failed..................................................................................................208

    Critical component missing...............................................................................209

    Safe mode..........................................................................................................209

    Communication problems................................................................................................209

    Physical layer ....................................................................................................209

    Link layer ..........................................................................................................210

    Protocol layer ....................................................................................................210

    Problems with data validity .............................................................................................211

    Problems executing a control operation...........................................................................211

  • 5/26/2018 SMP Gateway User Manual

    11/224

    SMP Gateway User Manual ix

    Figures

    Figure 1 Master and slave systems .............................................................................................8

    Figure 2 The SMP as a Master-and-slave system .......................................................................8

    Figure 3 The SMP real-time data exchange................................................................................9

    Figure 4 SMP communication components ..............................................................................10

    Figure 5 The transparent SMP ..................................................................................................12

    Figure 6 Additional SMP functions ..........................................................................................13

    Figure 7 The SMP protocol translator.......................................................................................14

    Figure 8 The SMP data concentrator ........................................................................................15Figure 9 The SMP communications gateway ...........................................................................16

    Figure 10 The SMP substation gateway......................................................................................17

    Figure 11 The SMP substation gateway with a firewall .............................................................18

    Figure 12 Network security ........................................................................................................92

    Figure 13 Using a passthru connection .......................................................................................98

  • 5/26/2018 SMP Gateway User Manual

    12/224

  • 5/26/2018 SMP Gateway User Manual

    13/224

    SMP Gateway User Manual 1

    Welcome

    Congratulations on acquiring your new SMP gateway! You now have unlimited connectivity for

    all the equipment in your substation.

    In this manual, we will show you how to use the SMP to integrate existing and new RTUs, IEDs,

    PLCs and control centers into a single modern, homogeneous substation automation system.

    You will learn how to set up your SMP as a:

    Protocol Translator The SMP translates standard or proprietary device protocols to control

    center protocols such as DNP3, TEJAS, IEC-60870-5-101/103/104 or IEC-61850 (UCA 2.0).

    Data Concentrator The SMP collects the data from all connected devices, regardless ofprotocol, and makes it available to control centers using LAN, WAN, modem or serial

    connections.

    Terminal Server The SMP supports centralized maintenance, monitoring and control of alldevices by using the pass-thru communications mode.

    Substation Communications Gateway The advanced capabilities of the SMP make it theideal choice for any substation automation project.

    SMP models

    There are currently 3 SMP models:

    The SMP 4has 4 ports. It comesin a compact and economical format that allows it to be

    installed directly within relay protection enclosures. There is also an optional internal modem

    available, which allows the SMP 4 to communicate with a SCADA or device via a dialup

    connection.

    The SMP 16, which can be mounted in a 19-inch rack, comes in two versions, both of which

    have the same basic characteristics:

    The SMP 16/CPis a gateway that offers 16 RS-232/422/485 universal serial ports,

    2 Ethernet ports and an integrated modem.

    The SMP 16/SGhas, in addition, expansion slots where accessories and options can be

    added to make it an ideal communications gateway for all your automation projects.

  • 5/26/2018 SMP Gateway User Manual

    14/224

    2 SMP Gateway User Manual

    Both versions can also be equipped with the PM option, a new 1.1 GHz Pentium-M

    processor, that improves the gateway's speed tenfold. This is ideal for high-capacity

    application or complex automation schemes.

    The manual applies to all models, and differences are indicated where applicable. Refer to yourSMP installation guide for a detailed description of your particular SMP model.

    Related documentation

    This manual provides you with the basic information you need to get started with your SMP

    gateway. To reduce paper use, we have included the following related documentation on the CD-

    ROM you received with the product. Should you want printed documents, you can order them

    from Cybectec using reference number P-DPRN-0102.

    Your Documentationfolder contains the following related documents:

    SMP 4-20 SMP 8-40 Installation Guide, GUI-00316-00027 T. This document gives you

    detailed instructions on installing and setting up the SMP 4-20 or SMP 8-40.

    SMP 4 Installation Guide, GUI-00316-00026 T. This document gives you detailed

    instructions on installing and setting up the SMP 4.

    SMP 16 Installation Guide, GUI-00316-00032 T. This document gives you detailed

    instructions on installing and setting up the SMP 16/CP or the SMP 16/SG.

    SIOM Adding Serial Ports to Your SMP, AUT-00123-00432 T. This document describes how

    to add serial ports to an SMP 4-20 or SMP 8-40.

    SMP 16 GPS Clock Option Installation Guide AUT-00316-0047-T. This document describes

    how to install the wiring and setup the software if you have the GPS clock option for the

    SMP 16.

    Master Protocol Common Concepts. This document describes the concepts and settings

    common to the protocols used by most substation devices. Separate documents describe the

    protocol-specific settings.

    SMP 4 Diagnostics Reference Guide, GUI-00316-00040 T. This document takes you through

    the steps required to run diagnostic tests on the SMP 4.

    SMP 16 Diagnostics Reference Guide, GUI-00316-00036 T. This document takes you through

    the steps required to run diagnostic tests on the SMP 16.

    SMP 4-20 SMP 8-40Diagnostics Reference Guide, GUI-00316-00024 T. This document takes

    you through the steps required to run diagnostic tests on the SMP 4-20 or SMP 8-40.

  • 5/26/2018 SMP Gateway User Manual

    15/224

    SMP Gateway User Manual 3

    Getting assistance with our products

    If you have any questions regarding the performance, application, testing or repair of this or any

    other component of the Cybectec product line, do not hesitate to contact us. Our staff will be

    happy to assist you.

    Cybectec Technical Support

    Cooper Power Systems

    Energy Automation Solutions

    730 Commerciale Street, Suite 200

    Saint-Jean-Chrysostome, Quebec

    Canada G6Z 2C5

    Email: [email protected]

    Phone: (418) 834-0009

    Fax: (514) 227-5256

    For emergency service on weekends and holidays, you can reach us between 8 a.m. and

    5 p.m. EST. Simply leave your name and phone number on our pager at (418) 260-6000, and we

    will get back to you as soon as possible.

    Getting started

    When you receive your SMP, you have to go through several steps before you can perform the

    tasks described in this document. Namely, you have to do the following:

    Unpack the SMP.

    Install the SMP.

    Set-up the SMP.

    Install the PC software.

    Make the SMP Toolsaware of your new SMP gateway.

    Load the SMP firmware.

    All of these steps are explained in detail in the following documents:

    SMP 4-20 SMP 8-40 Installation Guide, GUI-00316-00027 T

    SMP 4 Installation Guide, GUI-00316-00026 T.

    SMP 16 Installation Guide, GUI-00316-00032 T.

    Make sure you have performed all the steps described in those documents before proceeding

    with the material explained in the present document.

  • 5/26/2018 SMP Gateway User Manual

    16/224

    4 SMP Gateway User Manual

    Document overview

    Once you have performed all the steps explained in your SMP installation guide, you are ready to

    perform the following tasks, as described in this user manual:

    Configure your SMP so that it can communicate with your devices:

    Define the hardware.

    Configure the master protocol instances that will communicate with your substation

    devices.

    Configure the data points.

    Set-up the communication links between the SMP and the substation devices.

    Associate master protocol instances with communication links.

    Validate, activate and test your configuration.

    View the following information in real time:

    The SMP log files.

    Protocol exchanges.

    Communication statistics.

    Data points, using a Web browser.

    Configure your SMP so that it can communicate with one or more control centers:

    Configure a slave protocol instance for each control center.

    Have each control center subscribe to the data points.

    Associate slave protocol instances with communication links.

    You will also become familiar with the following SMP features:

    Security.

    Passthru connections.

    DFR and event file processing.

    Automation functions.

    Design a local HMI on the SMP 16

    Redundancy.

    SNMP exporting.

    Time synchronization.

    SMP access through a direct or dial-up connection.

    SMP access through a dial-up connection for DNP3 and IEC 60870-5-101 protocols.

  • 5/26/2018 SMP Gateway User Manual

    17/224

    SMP Gateway User Manual 5

    You will also learn how to update the SMP software and tools, and to troubleshoot any problems

    you may encounter with your SMP gateway.

  • 5/26/2018 SMP Gateway User Manual

    18/224

  • 5/26/2018 SMP Gateway User Manual

    19/224

    SMP Gateway User Manual 7

    Principles of operation

    Introduction

    Electrical power utilities face a number of challenges when attempting to automate their

    substations. They have legacy devices that they want to continue using. They want to integratenew devices. They may want to add one or more control centers. They may want to use a local

    HMI in order to keep a close watch on all events that occur in the substation.

    There are a number of problems to contend with: connectivity, protocol incompatibilities,

    interoperability problems, security considerations, logistics for migration, downtime, and not theleast of which, total project cost.

    The SMP gateway has been specifically designed to address all these issues. It is the ideal product

    to ensure a smooth, safe and cost-effective approach to substation modernization. Indeed, you can

    use a step-by-step approach. You decide which steps to take, in which order, and when.

    Logical architecture

    The SMP is designed to meet all the requirements for power substation automation. It has an openarchitecture that allows you to easily add new protocols, devices, local area networks, wide area

    networks, and control centers.

    In this section, we will describe the logical architecture of the SMP gateway and we will see howit implements all the functions required of a substation gateway.

    Masters and slaves

    A typical automation system consists of a SCADA system, located in a control center, which isconnected to devices located in the substation. The SCADA regularly polls the devices in order to

    retrieve device readings and statuses. The operator uses the SCADA system to perform control

    functions on selected devices.

    Since it is the control system that initiates data acquisition and control, it is considered to be themastersystem. Since the substation device responds to data acquisition and control requests, it is

    considered the slavesystem.

  • 5/26/2018 SMP Gateway User Manual

    20/224

    8 SMP Gateway User Manual

    SCADA

    DEVICE

    MASTER

    SLAVE

    Figure 1 Master and slave systems

    Introducing the SMP in the automation systemWhen an SMP is introduced in the automation system, it has to act as both a slave and a master.The SCADA system interrogates the SMP as if it were a substation device. The SMP is thus a

    slave to the SCADA. However, since the SMP is connected to the substation devices, it must also

    be able to perform the functions of a master, such as polling for data and sending control requests.

    SCADA

    DEVICE

    MASTER

    SLAVE

    MASTER

    SLAVE

    Figure 2 The SMP as a Master-and-slave system

    SMP internals

    The SMP's internal architecture is based on a series of software components called protocolcomponents. Slave protocol componentsimplement all the functions necessary to process

  • 5/26/2018 SMP Gateway User Manual

    21/224

    SMP Gateway User Manual 9

    requests received from a SCADA or control center. Master protocol componentsimplement the

    functions necessary to poll devices and send control requests. Cybectec provides components for

    most standard protocols, such as DNP3, MODBUS, IEC-60870-5-101/103/104 and IEC 61850, as

    well as a large number of proprietary protocols such as SEL, ABB TEN BYTE, Motorola MDAC,

    and more.

    The master protocol component polls the device and stores the data that it retrieves in an internal

    database, called the Real-Time Data Exchange (RTDX). The RTDX is much more than a simpledata store. Besides storing the current value of all the device data points, it also stores the different

    types of information than can be provided by a substation device, such as the quality and

    timestamp of the data. It also stores information such as device tags used for control functions.

    REAL-TIMEDATA EXCHANGE

    SLAVE

    PROTOCOL

    MASTERPROTOCOL

    SCADA

    DEVICE

    Figure 3 The SMP real-time data exchange

  • 5/26/2018 SMP Gateway User Manual

    22/224

    10 SMP Gateway User Manual

    Communication components

    SMP protocol components process the messages exchanged among the control centers and the

    devices. However, these messages can be transmitted using various communication methods. Forinstance, the MODBUS protocol can be used on a TCP/IP network or on an RS-232 serial link.

    SMP communication components implement all the functions required to communicate with adevice or control center using a variety of communication technologies. Cybectec provides

    communication components for asynchronous serial ports, RS-232, RS-422, RS-485, TCP/IP and

    modems.

    REAL-TIME

    DATA EXCHANGE

    SLAVE

    PROTOCOL

    COMPONENT

    MASTERPROTOCOL

    COMPONENT

    SLAVE

    COMMUNICATIONCOMPONENT

    MASTER

    COMMUNICATIONCOMPONENT

    SCADA

    DEVICE

    Figure 4 SMP communication components

  • 5/26/2018 SMP Gateway User Manual

    23/224

    SMP Gateway User Manual 11

    Configuring the SMP

    The SMP configuration process consists of establishing the relationships among the internalcomponents, and providing the specific settings for each of these components. This task is greatly

    simplified by Cybectecs SMP Toolsfamily of software programs. These Windows-based

    programs help you configure your SMP and identify and correct any problems.

    The configuration process consists of the following steps:

    Identifying the SMP model and the installed options.

    Creating a master protocol component for each device that is connected to the SMP.

    Defining all the data points in the device.

    Defining the communications link to be used to connect the device to the SMP.

    Creating a slave protocol component for each SCADA or control center.

    Defining the data points that the SMP will report to the SCADA.

    Defining the communications link to be used to connect to the SCADA.

    Adding a firewall and optionally a security server that supports corporate network users.

    Thus, the configuration settings define the functions that the SMP performs. These settings are

    stored in a file that you load onto the SMP. The flexibility of the SMP architecture is the basis of

    Cybectecs step-by-step substation modernization strategy.

    In the following sections, we will show you how you can configure the SMP to perform all the

    functions required of a substation gateway.

  • 5/26/2018 SMP Gateway User Manual

    24/224

    12 SMP Gateway User Manual

    Step 1 The transparent SMP

    As a first step in a substation automation project, you can easily set up the SMP to act as a

    transparent interface between the SCADA and a substation device. The following diagramillustrates how you can do this for a MODBUS protocol.

    REAL-TIMEDATA EXCHANGE

    MODBUS

    SLAVE

    MODBUSMASTER

    RS-232CONNECTION

    RS-232CONNECTION

    SCADA

    DEVICE

    Figure 5 The transparent SMP

    In this configuration, the master component polls the device and stores the values in the RTDX.The slave component processes the SCADA polling requests and sends the values provided by the

    device.

    There is not much use for a transparent SMP. However, it contains much more than thecomponents that we described previously. Simply by adding the SMP to the substation, you now

    have access to the following advanced functions:

    Centralized automation functions, using the built-in Automation functions or the IEC 61131-3

    Soft PLC logic processor.

    Real-time data display, using the built-in web server.

  • 5/26/2018 SMP Gateway User Manual

    25/224

    SMP Gateway User Manual 13

    Transparent access to devices, using the passthru server, for local or remote IED maintenance.

    SNMP support to monitor communication status.

    Sophisticated HMI, interactive diagrams, data logging and reporting, using CybectecsVisual Substationsoftware.

    Sophisticated Windows tools for remote or local maintenance.

    A sophisticated security server to support corporate network users.

    Even more important, the transparent SMP is the first step in integrating new substation devices toyour existing SCADA and automation system.

    REAL-TIMEDATA EXCHANGE

    MODBUSSLAVE

    MODBUS

    MASTER

    RS-232

    CONNECTION

    RS-232

    CONNECTION

    WEBSERVER

    IEC 1131

    SOFT PLC

    PASSTHRU

    VISUALSUBSTATION

    SNMP

    SCADA INTERNET

    EXPLORER

    VISUAL

    SUBSTATIONHMI

    DEVICE

    STATS LOGS TRACES

    MAINTENANCE

    TOOLS

    Figure 6 Additional SMP functions

  • 5/26/2018 SMP Gateway User Manual

    26/224

    14 SMP Gateway User Manual

    Using the SMP as a protocol translator

    As we saw in the last section, the SMP is transparent when the master and slave protocols are the

    same. When you configure different master and slave protocols, the SMP becomes a protocol

    translator.

    Since you can independently configure the communication links for the master and slavecomponents, you can easily use the SMP to integrate legacy serial devices in a modern network

    environment. Similarly, you can connect modern IEDs to a legacy control center.

    REAL-TIME

    DATA EXCHANGE

    DNP3

    SLAVE

    MODBUSMASTER

    TCP/IPCONNECTION

    RS-232CONNECTION

    SCADA

    DEVICE

    Figure 7 The SMP protocol translator

  • 5/26/2018 SMP Gateway User Manual

    27/224

    SMP Gateway User Manual 15

    Using the SMP as a data concentrator or device multiplexer

    The SMP architecture is designed to simultaneously support any number of master components.

    Each component has its own communications link and its own protocol. All the data retrievedfrom the devices is stored in the RTDX, where it becomes available to the SCADA. Using the

    SMP as a data concentrator is a simple matter of configuration, and it provides a highly efficientmeans of adding new devices to an existing automation system. The SCADA system has noknowledge of the new devices; it only sees new data points.

    REAL-TIME

    DATA EXCHANGE

    DNP3

    SLAVE

    MODBUS

    MASTER

    TCP/IPCONNECTION

    RS-232

    CONNECTION

    SEL

    MASTER

    RS-232

    CONNECTION

    SCADA

    DEVICE DEVICE

    Figure 8 The SMP data concentrator

  • 5/26/2018 SMP Gateway User Manual

    28/224

    16 SMP Gateway User Manual

    Using the SMP as a communications gateway

    The SMP architecture supports any number of slave components. Each component has its own

    communications link, and all the device data can be sent to any number of SCADA and controlcenters, each with its own protocol. Using the SMP, sending data to a new control center is a

    simple matter of configuration.

    REAL-TIMEDATA EXCHANGE

    MODBUS

    SLAVE

    MODBUSMASTER

    RS-232

    CONNECTION

    RS-232

    CONNECTION

    DNP3

    SLAVE

    TCP/IP

    CONNECTION

    SCADAMAINTENANCE

    CENTER

    DEVICE

    Figure 9 The SMP communications gateway

  • 5/26/2018 SMP Gateway User Manual

    29/224

    SMP Gateway User Manual 17

    Putting it all together

    The SMPs sophisticated architecture allows it to integrate existing and new RTUs, IEDs, PLCs

    and control centers into a single homogeneous substation automation system. It provides you witha complete solution for automating new substations and modernizing legacy systems.

    REAL-TIMEDATA EXCHANGE

    MODBUS

    SLAVE

    MODBUS

    MASTER

    RS-232

    CONNECTION

    RS-232CONNECTION

    WEB

    SERVER

    IEC 1131

    SOFT PLC

    PASSTHRU

    VISUAL

    SUBSTATION

    SNMP

    SCADA INTERNETEXPLORER

    VISUAL

    SUBSTATION

    HMI

    DEVICE

    DNP3

    SLAVE

    SEL

    MASTER

    TCP/IP

    CONNECTION

    RS-232CONNECTION

    SCADA

    DEVICE

    STATS LOGS TRACES

    MAINTENANCETOOLS

    LOCAL HMI

    TOUCHSCREEN

    Figure 10 The SMP substation gateway

    Securing the substation

    Widespread data access within the SMP Substation Gateway can become an important securityrisk if it is compromised, but it can also become a security asset. This is why the gateways are

    ready for NERC CIP-002-1 to CIP-009-1 Cyber Security Standards. The gateway provides a

    single point of access to all substation data. The security features of the SMP gateway allow youto protect the substation devices (see Figure 11).

    If you activate the security features within your substation SMP you will be able to:

    Comply with authentication and authorization policies.

    Set-up a firewall to protect from substation LAN security breaches.

    Monitor and lock out remote connections; and have a file integrity check on the SMP files.

  • 5/26/2018 SMP Gateway User Manual

    30/224

    18 SMP Gateway User Manual

    The access inside the firewall protection has additional layers of protection, so that only a few

    users of your choice will have the possibility to modify parameters inside the substation.

    Figure 11 The SMP substation gateway with a firewall

    In the following chapters, we will learn how to configure the SMP to perform these functions.

  • 5/26/2018 SMP Gateway User Manual

    31/224

    SMP Gateway User Manual 19

    The SMP Tools

    To assist you with the tasks you will want to perform with the SMPs in your organization, we have

    provided you with our suite of SMP Tools.

    The SMP Tools are Microsoft Windows-based programs that make it easy for you to configure

    the SMP gateway and perform maintenance functions. They run on a PC, are simple to use, and

    provide advanced features that allow you to rapidly configure all the devices and communicationlinks in your substation. They can be used locally or remotely through a LAN, WAN or VPN.

    When security is activated, users must log in before they can use any function.

    The Cybectec SMP Toolsinclude the following applications:

    SMP Manager

    Manages all the SMPs in your organization. It displays the state of each SMP, manages their

    configuration files, allows you to group two SMPs together to achieve redundancy, and isused to invoke the configuration and maintenance tools for any SMP to which it is connected.

    From SMP Manager, you can also start Internet Explorer to view the data points, logs and

    traces in real time, and you can start a Telnet session in order to set-up certain advancedfeatures such as dial-up access or IRIG-B signal output type.

    SMP Config

    Used to configure the SMP. It has a spreadsheet-like grid that you use to specify the devicesand control centers connected to the SMP, their protocols, their communication links and their

    data points. Advanced editing functions make it easy for you to enter the data points.

    Template editing allows you to pre-define standard devices with standard data points, therebyreducing labor intensity and the possibility of errors.

    61850 Config

    Used to configure the IEC 61850 and UCA 2.0 protocols on the SMP.

    SMP Log

    Used to browse through and manage the log files maintained by the SMP. All significant

    events are logged, including local and remote control events, system failures, special protocolevents, and so on.

    SMP Stats

    Used to browse through and manage a large variety of dynamically updated statistics, ranging

    from full communication statistics for each link to the processor load for each protocol

    component.

    SMP Trace

    Used to browse through the real-time traces generated by the SMP. SMP Trace can display

  • 5/26/2018 SMP Gateway User Manual

    32/224

    20 SMP Gateway User Manual

    detailed traces of all protocol and communications link activity. Traces are displayed in both

    hexadecimal and application protocol format. The tracing functions are similar to those

    usually provided by protocol analyzers, with the notable exception that they can be used

    remotely at any time on any SMP and that they decode information at the application level.

    As such, they constitute an excellent commissioning or debugging tool.

    SMP ConnectUsed to establish passthru connections with any IED connected to an SMP, for the purpose of

    doing remote configuration and maintenance of IEDs using manufacturer-provided software.

    SMP Loader

    Used with the SMP 4-20 and SMP 8-40 to load new versions of most of the SMP firmware

    components, and with the SMP 4, SMP 16/CP and SMP 16/SG, to load the secondarybootstrap program. Refer to Appendix A and to your SMP installation guide for details on

    using SMP Loader.

    The next chapter will discuss how to create a list of SMP gateways with SMP Manager, and willthen explain how to do a complete configuration of your SMP using SMP Config.

  • 5/26/2018 SMP Gateway User Manual

    33/224

    SMP Gateway User Manual 21

    SMP Manager

    SMP Manageris the doorway to your SMPs. It runs on your PC, as do all the tools you launch

    through SMP Manager. You are already familiar with the application, since you added your new

    SMP to the list of SMP gateways managed by SMP Managerwhen you installed your SMP. This

    section goes over a few of the points that were covered in your SMP installation guide, and

    provides additional information.

    Starting SMP Manager and logging on

    To start SMP Manager:

    On the Windows taskbar, click Start.

    Point to Programs, then Cybectec, and then SMP Tools.

    In the SMP Toolsmenu, click SMP Manager.

    The SMP Managermain screen appears and shortly after the Login Informationdialog box

    appears.

    Just click OKto close the dialog box unless security is configured.

  • 5/26/2018 SMP Gateway User Manual

    34/224

    22 SMP Gateway User Manual

    Main window

    The following figure shows a typical SMP Managerwindow.

    As illustrated, the main window displays information such as:

    The list of SMP gateways and the tools that are currently running for each SMP gateway in

    the list.

    The current status of each SMP in the list (started, failed, safe mode, max safe mode, on

    standby, and various intermediate states).

    The SMP model: SMP 4-20, SMP 8-40, SMP 4, SMP 16/CP or SMP 16/SG.

    The IP address and redundancy status of any SMPs you have grouped together for the purpose

    of redundancy. This information is available only if your license supports redundancy. This

    column is not available by default.

    Whether the SMP's built-in firewall is active and whether VPN is connected or disconnected.This information is available only if your version of the SMP software supports the SMPs

    security features. The firewall information is not available by default

    You can choose which columns you want to display and their order of appearance, with a rightclick on the column header.

    Adding an SMP

    Creating a list of the SMP gateways you want to monitor is easy. Proceed as follows for each SMPgateway you want to add to the list:

    In the SMP ManagerGateway menu, click Addto add your SMP gateway to the list.

    The Gateway Propertiesdialog box appears.

  • 5/26/2018 SMP Gateway User Manual

    35/224

    SMP Gateway User Manual 23

    Enter the name by which you want to identify your SMP gateway in Gateway Name. The

    Configuration fileis the file that will be opened by default in SMP Config. If you change its

    name afterwards through the Filemenu, you must come back to this dialog box and change

    the name in the Configuration Filetext box, so it opens the right file at startup.

    In the First Addressbox, type the IP address of the first Ethernet port. You can also type theaddress of the second Ethernet port in the Second Addressbox, although it is not necessary to

    do so.

    If the SMP gateway cannot be directly accessed through the network, but requires a dialup

    connection, check the box The gateway is connected over a remote dial-upto prevent SMP

    Manager from polling the gateway for its status.

    Click Add.

    The SMP gateway gets added to the list, and SMP Managerautomatically detects the model of

    the new SMP and in the case of an SMP 4, whether an internal modem is installed.

    Information provided by the SMP gateway icon

    The SMP gateway icon, which is displayed beside each SMP gateway name, provides additional

    information about the SMP gateway.

    The following table gives the meaning of each icon:

    Icon Description

    A device with two red LEDs.SMP Manageris unable to establish a connection with the SMP gateway.

    A device with flashing yellow and green LEDs.SMP Manageris connected to the SMP gateway.

    A blank page.

    A file (configuration file, new software, etc.) has been modified and will be activatedwhen the SMP is restarted.

    A lined page and a pencil.A report is currently in progress.The report file provides detailed information about the SMP gateway. You should,

  • 5/26/2018 SMP Gateway User Manual

    36/224

    24 SMP Gateway User Manual

    Icon Description

    therefore, send an SMP gateway report file with any request for technical support.

    A device, flashing yellow and green LEDs and a yellow telephone.SMP Manageris connected to the SMP gateway via remote dialup.

    A device and a telephone, greyed.

    The SMP gatewayis configured for remote dialup but not currently connected toSMPManager.

    A device, red LEDs and a yellow telephone.SMP Manageris unable to establish a connection with the SMP gateway over theremote dialup connection.

    Customizing the display

    You can customize the display in theSMP Managerwindow to suit your needs. You can choosewhich columns you want to display, and the order in which you want them to appear.

    Column Description

    Gateway The list of SMP gateways and, if you request it, the tools that are currently running foreach SMP gateway in the list.

    IP Address The IP address of any SMPs you have grouped together in SMP Manager. This columnis not available by default.

    Status The current status of each SMP in the list (started, failed, safe mode, max safe mode, onstandby, and various intermediate states).

    Platform The SMP model: SMP 4-20, SMP 8-40, SMP 4, SMP 16/CP or SMP 16/SG.

    Firewall Whether the SMP's built-in firewall is active. This information is available only if your

    version of the SMP software supports the SMPs security features.

    VPN If the SMP is connected to SMP Manager using VPN or not.

    Group This column shows the virtual address given to the redundancy group. If the address ismodified, the new address will appear beside the old one, separated by an arrow. Upon

    the next reboot, the device will be grouped under the new address only.

    Security This column shows whether the security is activated or not, if it is global or local, and

    how recent it is.

    Adding or removing a column

    To toggle between displaying a column and removing it from the display:

  • 5/26/2018 SMP Gateway User Manual

    37/224

    SMP Gateway User Manual 25

    Right-click any column heading.

    In the shortcut menu, locate the column you are interested in.Put or remove a checkmark to add or remove the column to or from the display.

    Changing the position of a column

    To change the order of a column in the display:

    Click the column heading of the column you want to relocate.

    Drag the heading to the target location.

  • 5/26/2018 SMP Gateway User Manual

    38/224

  • 5/26/2018 SMP Gateway User Manual

    39/224

    SMP Gateway User Manual 27

    Configuring the SMP

    Introduction

    As we saw under Principles of operation, you have to configure the SMP before you can use it.

    For this, you use SMP Configto define the characteristics of your SMP and the functions it has toperform. The configuration is stored in a file that is then loaded onto the SMP, where it is stored in

    non-volatile flash memory.

    Using SMP Config, you will perform the following configuration steps:

    For an SMP 4-20, SMP 8-40, or an SMP 16/SG define the hardware options installed.

    Create a master protocol instance for each device to be supported.

    Define each data point on each device.

    Configure the communications link to be used to connect to each device.

    Create a slave protocol instance for each SCADA or control center.

    Configure the communications link to be used to connect to the SCADA.

    Map the device data points to SCADA data points.

    You will then use SMP Managerto send the configuration file to the SMP.

    Note:There can only be one instance of SMP Config running at any given time.If you launch the tool for a given SMP and then launch it again for a second SMP,SMP Configwill prompt you to save any changes you have made, close theconfiguration file of the first SMP, and then open the configuration file of thesecond SMP.

    To create a configuration file for your SMP gateway, proceed as follows:

    Start SMP Manager.

    In the SMP Managerapplication window, click your SMP gateway.

    In the Toolsmenu, click SMP Configto start the application.

  • 5/26/2018 SMP Gateway User Manual

    40/224

    28 SMP Gateway User Manual

    The SMP Config display includes 3 panes. The left pane is a tree structure of all the configurationtopics. The top right pane displays the settings for the topic you have selected in the left pane. The

    bottom right pane appears when your request that the configuration be validated; it displays error

    and warning messages.

    The gateway name is the name you assigned when you added the SMP gateway in SMPManager. The configuration file name on the title bar was also assigned when you added the SMP

    gateway in SMP Manager.

    If you open the Master Protocolsand Slave Protocolsbranches, you will see that the treestructure offers you a fixed set of protocols. These are the protocols currently supported by your

    product license.

  • 5/26/2018 SMP Gateway User Manual

    41/224

    SMP Gateway User Manual 29

    Creating master protocol instances

    You need to add a master protocol instance for each device you want to access with your SMP

    (see Figure 2). Even if a number of devices share a multidrop link, each of them requires its own

    master protocol instance. Each device is a slave, so the SMP acts as a master when communicatingwith the device, which is why it requires a master protocol instance.

    There are two ways to add the master protocol instance:

    You can use a template, which eases the task of configuring the master protocol instance, by

    automatically entering the points list for the device. SMP Configprovides templates for anumber of common substation devices.

    If no template is available, you will need to enter the points list. If you are configuring a

    number of devices of the same type, you can save the first device configuration as a template

    that you will then use to enter the other devices.

    Once you have added a master protocol instance and entered its data points (manually or via a

    template), you can click a particular data point type in the left pane and see the list of data points

    and their settings in the right pane, as shown next.

    Creating a master protocol instance from a template

    To add a master protocol instance from a template:

    In the left pane, open the Master Protocolsbranch, to display the list of master protocols

    provided under your product license.

    In the left pane, click the protocol for which you want to add an instance.The list of all defined master protocol instances appears in the right pane.

    In the Tools menu, click New Instance From Template.

  • 5/26/2018 SMP Gateway User Manual

    42/224

    30 SMP Gateway User Manual

    Choose the appropriate template, and click Open.

    In the dialog box, enter:

    The name of the new instance.

    The device prefix.

    The device prefix is a string that identifies the device and is used as a prefix for all of itsdata point names. The prefix ensures that every name in the system is unique. An

    explanation of the usage of prefixes is provided under Configuring the master protocol

    general settings, in the next sections.

    The new instance appears in the left pane. If you open its tree structure and click the various

    physical data point types, all the data points supported by the device will be displayed in the rightpane.

    Creating a master protocol instance manually

    To add a master protocol instance manually:

    In the left pane, open the Master Protocolsbranch, to display the list of master protocolsprovided under your product license.

    In the left pane, click the protocol for which you want to add an instance.

    The list of all defined master protocol instances appears in the right pane.

    In the right pane, enter the name of the new instance at the end of the list of names, and press

    the Tabkey on your keyboard.

    The new protocol instance is added in the left pane, under the protocol type you had selected. If

    you expand its tree branch and click an item, the corresponding protocol settings will be displayedin the right pane. Note that if you click a physical data point type in the left pane, the right pane

    will display an empty row since you will have to add the physical data points manually.

    Configuring the master protocol general settings

    All master protocol components share common settings that define how they interact with a

    device. The following procedure describes how to enter these settings. If you created the protocol

    instance from a template, the general settings have been defined for you. However, you shouldverify the settings to make sure they match your device configuration, and you should familiarize

    yourself with the naming conventions discussed in this section.

    In the left pane, click Generalto display the list of general settings for the selected protocol.

    In the right pane, enter a Device Prefix.

    The string you enter will be used as a prefix for all the I/O point names of the device. It ismandatory for each instance of a protocol. It is used to distinguish data point names that are

    on the same device type, but on multiple physical devices. The device prefix ensures thatevery data point name in the system is unique. Device prefixes are described in the following

    section,Adding data points from a protocol template.

    Device prefix and naming conventions

  • 5/26/2018 SMP Gateway User Manual

    43/224

    SMP Gateway User Manual 31

    A typical substation automation project requires the configuration of thousands of data points.

    You can significantly reduce the effort by carefully planning how to name devices and data points.

    Cybectec tools provide additional functionality if the names of data points are based on some type

    of convention. For our engineering projects, we use a naming convention such as the following:

    A data source name, such as the substation name: MAPLE, CEDAR.

    A voltage level: 220or 25.

    A device name: L1to indicate a line, T1to indicate a transformer, F1to indicate a feeder,BUSfor a bus bar.

    A signal name: V_phsA_magto indicate the phase A voltage magnitude, A_phsA_magtoindicate the phase A current magnitude, Pos_stto indicate the status of a breaker or a lineswitch.

    With such a convention, a data point called CEDAR_220_BUS_V_phsA_magclearlyindicates the voltage magnitude of phase A on the 220 kV bus of the CEDAR substation. A data

    point called MAPLE_025_F1_Pos_stindicates the status of the breaker switch of feeder 1 atthe MAPLE substation.

    Still in the Generalsettings, enter the scanning settings.

    For instance, to configure a MODBUS master protocol, you would provide settings such as

    the following:

    A Device Address, typically 1.

    A MODBUS Type, typically RTU Serial.

    A Scan Interval, typically 1000 ms.

    A complete description of all settings is provided in the document entitledMaster Protocol

    Common Concepts. Protocol-specific settings are described in individual documents, such asDNP3 Master Protocol.

    Accessing protocol-specific documentation

    There are Cybectec documents available, to which you can refer for details on the settings of the

    currently supported protocols.

    To access the documents, proceed as follows:

    Click Start, on the Windows taskbar.

    Point to All Programs, then Cybectec, then SMP Tools, and then Documentation.

    In the Documentationmenu, click Protocols.

    The list of available documents is displayed in an explorer window.

    Click the document you want to read.

    In the Filemenu of the explorer window, click Open with Acrobat.

    Your Adobe Acrobat program starts up and displays the document in a window.

  • 5/26/2018 SMP Gateway User Manual

    44/224

    32 SMP Gateway User Manual

    Configuring the data points

    Once you have provided the general settings of the protocol component, you then enter all the datapoints on the device. If you created the protocol instance from a template, all the data points have

    already been added; however, we suggest you read this section for your information.

    Protocol components typically support physical and logical data points of the following types:

    Analog inputs

    Binary inputs

    Analog outputs

    Binary outputs

    A physical data pointrepresents a real-life value, implemented on an external device. You need

    to identify all the device data points, either manually or using a device template.

    A logical data pointis a value managed by the SMP. These data points are built-in and cannot be

    modified, but they can be disabled.

    Analog inputsare measured values. The system keeps 2 values for each analog measurement

    obtained: a raw value, which is usually the value retrieved from the device, and a calculated value

    expressed in engineering units, obtained using the following standard formula:

    Engineering value = Raw Value X Scaling Factor + Offset

    Binary inputs represent the state of a data point. The state is either ON or OFF.

    Analog and binary outputs are typically initiated by a slave component, which sends a control

    request originating from a control center, to the master component involved.

    When you create a data point, you specify the type of data and you indicate how the SMP will

    retrieve it. General properties such as name, type and units, are independent of the type of device

    or protocol used. Protocol-specific properties indicate how the SMP will retrieve the data from thedevice. Each protocol uses its particular form of addressing, such as index values or data offsets.

    For example, to add a data point for a MODBUS device:

    Click the appropriate branch under the protocol instance.

    In the right pane, enter the name of the data point and fill in all the appropriate settings.

    For instance, to define an analog input you would provide the following settings:

    The name of the data point, such as BUS_VA. SMP Configwill automatically add the

    device prefix to this name, thereby generating the full name of the data point.

    The input source, such as Input Registers.

    The input format, such as Unsigned Integer.

    The input size, such as 16or 32bits.

    The word offset in the MODBUS device memory.

    The scaling information required to convert the raw value to engineering units.

    The Unitsand Descriptionstrings used to provide meaningful data displays.

  • 5/26/2018 SMP Gateway User Manual

    45/224

    SMP Gateway User Manual 33

    A complete description of all settings is provided in the document entitledMaster Protocol

    Common Concepts. Protocol-specific settings are described in individual documents, such as

    Modicon Modbus Master Protocol. A complete description of system data points can be found in

    System data pointson page 196of this manual.

    To access the various protocol documents:

    Click Start, on the Windows taskbar.

    Point to Programs, then Cybectec, then SMP Tools, and then Documentation.

    In the Documentationmenu, click Protocols.

    Adding data points from a protocol template

    Protocol templates can also be used to add points to a protocol component. For instance, you could

    use a template to add the data points provided by an optional device feature. You can do this by

    retrieving the data points from a protocol template.

    To do this:

    In the left pane, click the protocol instance to which you want to add the data points.

    In the Tools menu, click New Points from Template.

    A standard Windows Open dialog box appears.

    In the Templatesfolder for the protocol type you selected, choose the .tpl file you want to

    use, and click Open.

    A dialog box appears, prompting you for the optional prefix and suffix to be added to every new

    data point name. The upper portion of the dialog box provides information about the open

    template file, while the lower portion shows warning and error messages.

    Specify a prefix and a suffix, if applicable.

    The new data points now appear in their respective categories under the selected protocol instance,

    and their names contain the specified prefix and suffix.

    Note that the prefix and suffix are not applied to logical data points, and that the logical data

    points are reset every time you add data points from a protocol template. You should, therefore,

    configure these data points once you have completed the list of physical data points.

  • 5/26/2018 SMP Gateway User Manual

    46/224

    34 SMP Gateway User Manual

    Creating a template from a master protocol instance

    You can create a template of a master protocol instance, which you can retrieve later in order to

    quickly generate new protocol instances.

    To create the template:

    In the Filemenu, click Save As Template.

    Choose the Templatesfolder in which you want to store the template, and click Save.

    Note that a template file can contain only one protocol instance. So if you want to create templates

    for several protocol instances, create a new configuration for each one and save individualtemplates.

    Duplicating a master protocol instanceOnce you have created a master protocol instance and configured its data points, you may want to

    generate one or more additional instances with the same general and data point settings. A quick

    way to accomplish this is by duplicating the master protocol instance.

    To do this:

    In the left pane, click the protocol instance you want to duplicate.

    In the Toolsmenu, click Duplicate.

    A dialog box appears, prompting you for the instance name and device prefix, as shown in the

    following.

    Enter the name and prefix of the protocol instance, and click OK.

  • 5/26/2018 SMP Gateway User Manual

    47/224

    SMP Gateway User Manual 35

    The new protocol instance now appears in the left pane.

    Configuring the communication links

    A protocol component communicates with a device or control center using one of the following: a

    serial link, a modem or a TCP/IP network. The configuration of a communications component iscompletely independent of the protocol used. Before you connect a device to the SMP, you have

    to choose and configure the communications link.

    Configuring the serial port interfaces

    Depending on the options you choose in the hardware configuration, you can configure the SMP

    serial ports to support RS-232, RS-422 or RS-485 communication.

    Click Serial Portsin the left pane, to display all the available ports.

    For each port, choose the type of interface to be used. Most substation devices typically use

    either Asynchronous RS-232or Asynchronous RS-422/485. If you are using a serial port fora touch screen, select ELO Touchscreen.

    Serial port naming conventions

    The SMP 16 provides 16 serial ports, identified as A01through A16. It also has a modem port

    labeled Modem, which has a Modem Asynchronous interface. The SMP 16/SG can also

    house up to 2 additional serial ports boards, that will be identified as B01 to B16 and D01 toD16.

    The SMP 4 and SMP 4-20 both provide 4 built-in serial ports. These ports are identified as

    COM1 Board Athrough COM4 Board A.

    The SMP 4 also provides a built-in console serial port. This port is identified as Built-inConsole 1 Board A. This feature allows you to use the Console port as a standard serial port.

    If the SMP 4 has an internal modem, then it provides 3 built-in serial ports and 1 built-in

    modem port. These ports are also identified as COM1 Board Athrough COM4 Board A;however, the Interfacecolumn in the right pane indicates that the interface for COM4 Board

    Ais Modem Asynchronous.

    The SMP 8-40 provides 4 additional ports named COM1 Board Bthrough COM4 Board B.

    The SMP 4-20 and SMP 8-40 SIOM use IPack modules to provide additional ports in groupsof 8. The ports in the first group are called IPack_A1 Board Athrough IPack_A8 Board A.

    The ports in the second group are called IPack_B1 Board Athrough IPack_B8 Board A.

    The SMP 8-40 supports two additional groups of ports called IPack_A1 Board BthroughIPack_A8 Board B and IPack_B1 Board Bto IPack_B8 Board B.

    The purpose of each interface is given in the following table:

    Interface Description

    Asynchronous RS-232 Use this value to indicate that the serial port is dedicated to establishinga standard asynchronous RS-232 connection.

  • 5/26/2018 SMP Gateway User Manual

    48/224

    36 SMP Gateway User Manual

    Interface Description

    Asynchronous RS-422/485 Use this value to indicate that the serial port is dedicated to establishingan asynchronous RS-422 or RS-485 connection.

    Modem Asynchronous This value indicates that the port is used for modem asynchronouscommunication. The value is automatically assigned to the Modemport

    of an SMP 16 and to the COM4 Board Aport of an SMP 4 equippedwith an internal modem.

    RAS (remote access server) Use this value to indicate that the serial port is configured to acceptincoming direct serial connections. This type of connection allows you

    to use the SMP Toolsas if you were connected to the SMP via a normalnetwork connection. By default, the console port is always configuredfor RAS.

    Refer to the SMP 4 Installation Guide, GUI-00316-00026 T, or to theSMP 16 Installation Guide, GUI-00316-00032 T, for instructions on

    setting up a RAS IP address pool. Then refer to Remote access to theSMP gateway, page 171, in the present manual, for the step-by-stepinstallation procedure.

    Constraint for the SMP 4-20 and the SMP 8-40:

    An SMP CPU board can support up to 4 different bit rates for the serialports located on the front panel. This means that if you specify that the

    console serial port is configured for RAS, only 3 other bit rates will beavailable for the remaining 4 serial ports on Board A and that if all theother Board A serial ports are used, 2 of the 5 serial ports must have thesame bit rate. Note that if you set the console serial port toReserved and

    you do, in fact, accept incoming direct serial connections on the consoleserial port as well as on the 4 remaining serial ports, the SMP gatewayapplication will disable the console port connection. This constraintobviously does not apply to Board B, since it has 4 serial ports and there

    are 4 bit rates available.

    Redundancy Use this value to indicate that the serial port is reserved for connecting2 SMPs together as a redundancy group. See Error! Not a valid result

    for table., page 149.

    Reserved Use this value to indicate that the serial port is reserved for purposes

    other than those stated previously.

    Configuring the operation of the serial ports

    Each serial port needs to be configured with the appropriate settings for the connected device.

    In the left pane, open the Connectionsbranch to display all the supported connection types.

    Click Asynchronous Serial Portsto display the list of available ports.Note that if you choose Redundancy as the interface for a serial port, that port will not

    appear in the list of Asynchronous Serial Ports, as it will be reserved for connecting the

    2 SMPs that will be grouped together.

    In the right pane, enter the settings for the selected serial ports.The required settings are usually provided in the device manufacturers reference manual:

  • 5/26/2018 SMP Gateway User Manual

    49/224

    SMP Gateway User Manual 37

    If you are using RS-485 2-wire communication, choose RS-485. If you are using RS-485

    4-wire communication, choose RS-422.

    Choose the device communication settings: baud rate, byte size, parity and number of

    stop bits, such as 9600 baud, 8 bits, no parity, and 1 stop bit.

    Choose the device hardware handshaking mode:

    If the link type is RS-232, most devices do not use handshaking, so you should keepthe default values: RTSto Always On, DTRto Always On, and CTSto Ignore.

    If the link type is RS-422, set RTSto Always On. You shouldnt have any problem

    if you keep the other default values: DTRto Always On, and CTSto Ignore.

    If the link type is RS-485, set RTS to TX Request. You shouldnt have any problem

    if you keep the other default values: DTRto Always On, and CTSto Ignore.

    If you are using RS-422 or RS-485 communication, specify whether or not you will be

    using line terminators. Refer to your SMP installation guide for a discussion of

    termination resistors.

    Configuring TCP/IP connections

    TCP/IP connections are most often used by slave components to connect to control centers.

    However, an increasing number of modern IEDs can be connected to a substation LAN using a

    TCP/IP connection.

    To configure a TCP/IP connection for a master protocol component:

    In the left pane, click Connections, and then on TCP/IP Masters, to display the list of

    defined connections.

    In the right pane, enter the settings for the new TCP/IP connection in an empty row of thegrid:

    Provide a significant name for the connection

    If you are setting up an SMP 8-40, specify whether you will be using board A or board B

    to interface with the network.

    Enter the IP address of the device.

    Enter the logical port number of the device. This information is provided by the device

    manufacturer.

  • 5/26/2018 SMP Gateway User Manual

    50/224

    38 SMP Gateway User Manual

    Associating a master protocol instance with acommunications link

    In the preceding steps, you configured a master protocol component and a communicationscomponent. Now, you have to associate the protocol component with the communications

    component.

    To associate a master protocol instance with a communications link:

    In the left pane, click Connection Usage.

    In the right pane, for each master protocol instance under Master Connection Usage, put acheckmark for the appropriate connection.

    Note:If you have several devices that share a multidrop link, each device must have adifferent device address.

  • 5/26/2018 SMP Gateway User Manual

    51/224

    SMP Gateway User Manual 39

    Testing the configuration

    Since the configuration of an SMP gateway offers so many features, SMP Configtests and

    validates the configuration files before you load it onto the SMP gateway. Before going any

    further, you should make sure your configuration is error-free. Then, you will send it to the SMPin order to test it in a real-life situation.

    Validating and saving the configuration

    To validate the configuration:

    In the Validatemenu, click Validate All.

    If your configuration contains any errors, messages will appear in the Messagespane, as shown

    next.

    Correct any errors and repeat the process un