ProSoft Technology MVI56-103M User Manual

MVI56-103M
IEC 60870-5-103 Master Communication Module
February 22, 2013
USER MANUAL
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about our products, documentation, or support, please write or call us.
How to Contact Us
ProSoft Technology
5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com support@prosoft-technology.com
Copyright © 2013 ProSoft Technology, Inc., all rights reserved.
MVI56-103M User Manual
February 22, 2013
ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk ®, and RadioLinx ® are Registered Trademarks of ProSoft Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products and services of, their respective owners.
ProSoft Technology® Product Documentation
In an effort to conserve paper, ProSoft Technology no longer includes printed manuals with our product shipments. User Manuals, Datasheets, Sample Ladder Files, and Configuration Files are provided on the enclosed CD-ROM, and are available at no charge from our web site: www.prosoft-technology.com
Printed documentation is available for purchase. Contact ProSoft Technology for pricing and availability. North America: +1.661.716.5100 Asia Pacific: +603.7724.2080 Europe, Middle East, Africa: +33 (0) 5.3436.87.20 Latin America: +1.281.298.9109
Important Installation Instructions
Power, Input, and Output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods, Article 501-4 (b) of the National Electrical Code, NFPA 70 for installation in the U.S., or as specified in Section 18-1J2 of the Canadian Electrical Code for installations in Canada, and in accordance with the authority having jurisdiction. The following warnings must be heeded:
A WARNING - EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR
CLASS I, DIV. 2;
B WARNING - EXPLOSION HAZARD - WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE
REPLACING OR WIRING MODULES
C WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN
SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
D THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY.
MVI (Multi Vendor Interface) Modules
WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS.
AVERTISSEMENT - RISQUE D'EXPLOSION - AVANT DE DÉCONNECTER L'ÉQUIPEMENT, COUPER LE COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX.
Warnings
North America Warnings
Power, Input, and Output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods, Article 501-4 (b) of the National Electrical Code, NFPA 70 for installation in the U.S., or as specified in Section 18-1J2 of the Canadian Electrical Code for installations in Canada, and in accordance with the authority having jurisdiction. The following warnings must be heeded:
A Warning - Explosion Hazard - Substitution of components may impair suitability for Class I, Division 2. B Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or rewiring modules. C Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be non-hazardous.
Avertissement - Risque d'explosion - Avant de déconnecter l'équipement, couper le courant ou s'assurer que l'emplacement est désigné non dangereux.
D Suitable for use in Class I, Division 2 Groups A, B, C and D Hazardous Locations or Non-Hazardous Locations.
ATEX Warnings and Conditions of Safe Usage
Power, Input, and Output (I/O) wiring must be in accordance with the authority having jurisdiction.
A Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules. B Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be non-hazardous.
C These products are intended to be mounted in an IP54 enclosure. The devices shall provide external means to
prevent the rated voltage being exceeded by transient disturbances of more than 40%. This device must be used only with ATEX certified backplanes.
D DO NOT OPEN WHEN ENERGIZED.
Battery Life Advisory
The MVI46, MVI56, MVI56E, MVI69, and MVI71 modules use a rechargeable Lithium Vanadium Pentoxide battery to backup the real-time clock and CMOS. The battery should last for the life of the module. The module must be powered for approximately twenty hours before the battery becomes fully charged. After it is fully charged, the battery provides backup power for the CMOS setup and the real-time clock for approximately 21 days. When the battery is fully discharged, the module will revert to the default BIOS and clock settings.
Note: The battery is not user replaceable.
Agency
Applicable Standard
RoHS
CE
EMC-EN61326-1:2006; EN61000-6-4:2007
ATEX
EN60079-15:2003
cULus
UL508; UL1604; CSA 22.2 No. 142 & 213
CB Safety
CA/10533/CSA IEC 61010-1 Ed.2; CB 243333-2056722 (2090408)
GOST-R
EN 61010
CSA
EN 61010
243333
ME06
E183151
Markings
Electrical Ratings
Backplane Current Load: 800 mA @ 5.1 Vdc; 3 mA @ 24 Vdc  Operating Temperature: 0°C to 60°C (32°F to 140°F)  Storage Temperature: -40°C to 85°C (-40°F to 185°F)  Shock: 30 g, operational; 50 g, non-operational; Vibration: 5 g from 10 Hz to 150 Hz  Relative Humidity: 5% to 95% with no condensation  All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground conductors must be at least
4mm(squared).
Label Markings
ATEX II 3 G EEx nA IIC T6 0°C <= Ta <= 60°C
cULus E183151 Class I Div 2 Groups A,B,C,D T6
-30°C <= Ta <= 60°C
Agency Approvals and Certifications
MVI56-103M ControlLogix Platform Contents IEC 60870-5-103 Master Communication Module User Manual
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
ProSoft Technology® Product Documentation .................................................................................... 2
Important Installation Instructions ....................................................................................................... 3
MVI (Multi Vendor Interface) Modules ................................................................................................ 3
Warnings ............................................................................................................................................. 3
Battery Life Advisory ........................................................................................................................... 3
Guide to the MVI56-103M User Manual 9
1 Start Here 11
1.1 System Requirements ............................................................................................. 12
1.2 Package Contents ................................................................................................... 13
1.3 Setting Jumpers ...................................................................................................... 14
1.4 Installing the Module in the Rack ............................................................................ 15
1.5 Connecting Your PC to the ControlLogix Processor ............................................... 17
1.6 Opening the Sample Ladder Logic .......................................................................... 18
1.6.1 Configuring the RSLinx Driver for the PC COM Port .............................................. 18
1.7 Downloading the Sample Program to the Processor .............................................. 20
1.8 Connecting Your PC to the Module ......................................................................... 21
2 Configuring the MVI56-103M Module 23
2.1 Configuration File .................................................................................................... 24
2.1.1 Editing the Configuration File .................................................................................. 25
2.2 Quick Start ............................................................................................................... 27
2.3 [Backplane Configuration] ....................................................................................... 34
2.3.1 Module Name .......................................................................................................... 34
2.3.2 Read Register Start ................................................................................................. 34
2.3.3 Read Register Count ............................................................................................... 34
2.3.4 Write Register Start ................................................................................................. 35
2.3.5 Write Register Count ............................................................................................... 35
2.3.6 Failure Flag Count ................................................................................................... 35
2.3.7 Pass-Through Events .............................................................................................. 35
2.4 [IEC-870-5-103 Master] ........................................................................................... 36
2.4.1 Session Count ......................................................................................................... 36
2.5 [IEC-870-5-103 Master Port x] ................................................................................ 37
2.5.1 Baud Rate ............................................................................................................... 37
2.5.2 Parity ....................................................................................................................... 37
2.5.3 RTS On.................................................................................................................... 37
2.5.4 RTS Off.................................................................................................................... 38
2.5.5 Minimum Delay ........................................................................................................ 38
2.5.6 Receive Timeout ..................................................................................................... 38
2.5.7 Single char ACK F0, 1, or 3..................................................................................... 38
2.6 [IEC-103 Master Commands] .................................................................................. 39
2.6.1 Enable Code ............................................................................................................ 39
2.6.2 Database Index ....................................................................................................... 39
ProSoft Technology, Inc. Page 5 of 152 February 22, 2013
Contents MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
2.6.3 Poll Interval ............................................................................................................. 40
2.6.4 Session Index ......................................................................................................... 40
2.6.5 Sector Index ............................................................................................................ 40
2.6.6 Data Type ............................................................................................................... 41
2.6.7 Function Code......................................................................................................... 42
2.6.8 Point Index .............................................................................................................. 42
2.6.9 Override Flag .......................................................................................................... 42
2.6.10 Override Value ........................................................................................................ 42
2.7 [IEC-103 Master Session x] .................................................................................... 43
2.7.1 Communication Port ............................................................................................... 43
2.7.2 Sector Count ........................................................................................................... 43
2.7.3 Data Link Address .................................................................................................. 43
2.7.4 Failure Delay ........................................................................................................... 43
2.7.5 Confirm Timeout ..................................................................................................... 43
2.7.6 Retry Count ............................................................................................................. 44
2.7.7 C1/C2 Poll Count Pend ........................................................................................... 44
2.7.8 Class 1 Polls ........................................................................................................... 44
2.7.9 Class 1 Pend Delay ................................................................................................ 44
2.7.10 Class 2 Pend Delay ................................................................................................ 44
2.7.11 Class 1 Poll Delay ................................................................................................... 44
2.7.12 Class 2 Poll Delay ................................................................................................... 44
2.8 [IEC-103 Master Session x Sector y] ...................................................................... 45
2.8.1 Common ASDU Address ........................................................................................ 45
2.8.2 Online Time Sync ................................................................................................... 45
2.8.3 Online General Int ................................................................................................... 45
2.8.4 EOI Time Sync ........................................................................................................ 45
2.8.5 EOI General Int ....................................................................................................... 45
2.8.6 ASDU Type ............................................................................................................. 46
2.8.7 Database Index ....................................................................................................... 46
2.8.8 Function Code......................................................................................................... 46
2.8.9 Point Index .............................................................................................................. 47
2.9 Uploading and Downloading the Configuration File ............................................... 48
2.9.1 Required Hardware ................................................................................................. 48
2.9.2 Required Software .................................................................................................. 48
2.9.3 Transferring the Configuration File to Your PC ...................................................... 49
2.9.4 Transferring the Configuration File to the Module .................................................. 51
3 Ladder Logic 55
3.1 Module Data............................................................................................................ 56
3.1.1 Module Status Data and Variables (I103MModuleDef) .......................................... 56
3.1.2 Data Object ............................................................................................................. 59
3.2 Command Control Data Object............................................................................... 60
3.3 Event Message Data Object ................................................................................... 62
3.4 Adding the Module to an Existing Project ............................................................... 63
4 Diagnostics and Troubleshooting 67
4.1 Reading Status Data from the Module ................................................................... 68
4.1.1 The Configuration/Debug Menu .............................................................................. 68
4.1.2 Required Software .................................................................................................. 69
4.1.3 Using the Configuration/Debug Port ....................................................................... 69
4.1.4 Main Menu .............................................................................................................. 70
Page 6 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Contents IEC 60870-5-103 Master Communication Module User Manual
4.1.5 Database View Menu .............................................................................................. 73
4.1.6 IEC-103 Master Driver Menu................................................................................... 74
4.1.7 IEC-870-Master Command List Menu ..................................................................... 77
4.1.8 Port Configuration Menu ......................................................................................... 78
4.1.9 Port Status Menu ..................................................................................................... 79
4.1.10 Data Analyzer .......................................................................................................... 79
4.1.11 Session Configuration Menu ................................................................................... 82
4.1.12 Sector Configuration Menu...................................................................................... 82
4.1.13 Sector Database Menu ............................................................................................ 83
4.2 LED Status Indicators .............................................................................................. 84
4.3 Clearing a Fault Condition ....................................................................................... 85
4.4 Troubleshooting ....................................................................................................... 86
4.5 Frequently Asked Questions ................................................................................... 87
4.5.1 Why is the module not communicating with the slave? .......................................... 87
4.5.2 The slave is responding but I cannot see the monitor data in the Module database.87
4.5.3 How can I confirm if the configuration was received by the module? ..................... 87
5 Reference 89
5.1 Product Specifications ............................................................................................. 90
5.1.1 General Specifications ............................................................................................ 90
5.1.2 Functional Specifications - MVI56-103M ................................................................. 90
5.1.3 Hardware Specifications.......................................................................................... 92
5.2 General Concepts ................................................................................................... 97
5.2.1 Module Power Up .................................................................................................... 97
5.2.2 Main Logic Loop ...................................................................................................... 97
5.2.3 Backplane Data Transfer......................................................................................... 98
5.2.4 Data Types and Mapping ........................................................................................ 99
5.3 Normal Data Transfer ............................................................................................ 102
5.3.1 Read Block ............................................................................................................ 102
5.3.2 Block Request from Processor to the Module ....................................................... 103
5.4 Command Control Blocks...................................................................................... 104
5.4.1 User Constructed Command Block (9901) ........................................................... 104
5.4.2 Command Control Block (9902) ............................................................................ 106
5.4.3 Event Message Block (9903) ................................................................................ 107
5.4.4 Read Command Error List Block (9950) ............................................................... 109
5.4.5 Set ControlLogix Time Block (9970) ..................................................................... 110
5.4.6 Set Module Time Block (9971) .............................................................................. 111
5.4.7 Warm Boot Block (9998) ....................................................................................... 111
5.4.8 Cold Boot Block (9999) ......................................................................................... 111
5.5 Master Driver ......................................................................................................... 112
5.6 MVI56-103M Status Data Area ............................................................................. 114
5.6.1 MVI56-IEC 60870-5-103 Master Communication Module Error/Status Data Format114
5.6.2 MVI56-IEC 60870-5-103 Master Communication Module Error Codes ................ 116
5.7 Configuration Data ................................................................................................ 118
5.7.1 MVI56 IEC 60870-5-103 Master Communication Module Configuration .............. 118
5.8 103M Protocol Support .......................................................................................... 122
5.8.1 List of Type Identification Codes ........................................................................... 122
5.8.2 List of Cause of Transmission Codes ................................................................... 123
5.8.3 List of Function Types ........................................................................................... 123
5.8.4 Information Numbers Used in Monitor Direction ................................................... 124
5.8.5 Information Numbers used in Control Direction .................................................... 127
5.8.6 Definition and Presentation of ASDUs In Monitor Direction .................................. 128
ProSoft Technology, Inc. Page 7 of 152 February 22, 2013
Contents MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
5.8.7 Definition and Presentation of ASDUs in Control Direction .................................. 132
5.9 IEC 60870-5-103 Master Protocol Interoperability Documentation ...................... 133
5.9.1 Physical Layer....................................................................................................... 133
5.9.2 Electrical Interface ................................................................................................ 133
5.9.3 Optical Interface .................................................................................................... 133
5.9.4 Transmission speed .............................................................................................. 134
5.9.5 Link Layer ............................................................................................................. 134
5.9.6 Application Layer .................................................................................................. 134
5.9.7 Transmission mode for application data ............................................................... 134
5.9.8 Common Address of ASDU .................................................................................. 134
5.9.9 Selection of standard information numbers in monitor direction .......................... 134
5.9.10 System functions in monitor direction ................................................................... 134
5.9.11 Status indications in monitor direction .................................................................. 135
5.9.12 Supervision indications in monitor direction ......................................................... 135
5.9.13 Earth fault indications in monitor direction ............................................................ 135
5.9.14 Fault indications in monitor direction .................................................................... 136
5.9.15 Auto-reclosure indications in monitor direction ..................................................... 136
5.9.16 Measurands in monitor direction........................................................................... 137
5.9.17 Generic functions in monitor direction .................................................................. 137
5.9.18 System functions in control direction .................................................................... 137
5.9.19 General commands in control direction ................................................................ 137
5.9.20 Generic functions in control direction ................................................................... 138
5.9.21 Basic application functions ................................................................................... 138
5.9.22 Miscellaneous ....................................................................................................... 138
5.10 103M Network Design Forms ............................................................................... 139
5.10.1 Form to Define Sector Database .......................................................................... 139
5.10.2 Form to Define Command List .............................................................................. 140
6 Support, Service & Warranty 141
Contacting Technical Support ........................................................................................................ 141
6.1 Return Material Authorization (RMA) Policies and Conditions ............................. 143
6.1.1 Returning Any Product .......................................................................................... 143
6.1.2 Returning Units Under Warranty ........................................................................... 144
6.1.3 Returning Units Out of Warranty ........................................................................... 144
6.2 LIMITED WARRANTY .......................................................................................... 145
6.2.1 What Is Covered By This Warranty ...................................................................... 145
6.2.2 What Is Not Covered By This Warranty ................................................................ 146
6.2.3 Disclaimer Regarding High Risk Activities ............................................................ 146
6.2.4 Intellectual Property Indemnity ............................................................................. 147
6.2.5 Disclaimer of all Other Warranties ........................................................................ 147
6.2.6 Limitation of Remedies ** ..................................................................................... 148
6.2.7 Time Limit for Bringing Suit ................................................................................... 148
6.2.8 No Other Warranties ............................................................................................. 148
6.2.9 Allocation of Risks ................................................................................................ 148
6.2.10 Controlling Law and Severability .......................................................................... 148
Index 149
Page 8 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Guide to the MVI56-103M User Manual
Function
Section to Read
Details
Introduction (Must Do)
Start Here (page 11)
This section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
Diagnostic and Troubleshooting
Diagnostics and Troubleshooting (page 67)
This section describes Diagnostic and Troubleshooting procedures.
Reference
Product Specifications
Functional Overview
Reference (page 89)
Product Specifications (page
90)
Functional Overview
These sections contain general references associated with this product, Specifications, and the Functional Overview.
Support, Service, and Warranty
Index
Support, Service and Warranty (page
141)
Index
This section contains Support, Service and Warranty information.
Index of chapters.
IEC 60870-5-103 Master Communication Module User Manual
Guide to the MVI56-103M User Manual
ProSoft Technology, Inc. Page 9 of 152 February 22, 2013
Guide to the MVI56-103M User Manual MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
Page 10 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Start Here
In This Chapter
System Requirements ........................................................................... 12
Package Contents ................................................................................. 13
Setting Jumpers .................................................................................... 14
Installing the Module in the Rack ........................................................... 15
Connecting Your PC to the ControlLogix Processor .............................. 17
Opening the Sample Ladder Logic ........................................................ 18
Downloading the Sample Program to the Processor ............................. 20
Connecting Your PC to the Module ....................................................... 21
IEC 60870-5-103 Master Communication Module User Manual
1 Start Here
To get the most benefit from this User Manual, you should have the following skills:
Rockwell Automation® RSLogix™ software: launch the program, configure
ladder logic, and transfer the ladder logic to the processor
Microsoft Windows: install and launch programs, execute menu commands,
navigate dialog boxes, and enter data
Hardware installation and wiring: install the module, and safely connect
103 and ControlLogix devices to a power source and to the MVI56-103M module’s application port(s)
ProSoft Technology, Inc. Page 11 of 152 February 22, 2013
Start Here MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
1.1 System Requirements
The MVI56-103M module requires the following minimum hardware and software components:
Rockwell Automation ControlLogix™ processor, with compatible power
supply and one free slot in the rack, for the MVI56-103M module. The module requires 800 mA of available power.
Rockwell Automation RSLogix 5000 programming software version 2.51 or
higher
Rockwell Automation RSLinx communication software Pentium® II 450 MHz minimum. Pentium III 733 MHz (or better)
recommended
Supported operating systems:
o Microsoft Windows XP Professional with Service Pack 1 or 2 o Microsoft Windows 2000 Professional with Service Pack 1, 2, or 3 o Microsoft Windows Server 2003
128 Mbytes of RAM minimum, 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space (or more based on application
requirements)
256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color
1024  768 recommended)
CD-ROM drive ProSoft Configuration Builder, HyperTerminal or other terminal emulator
program.
Note: You can install the module in a local or remote rack. For remote rack installation, the module requires EtherNet/IP or ControlNet communication with the processor.
Page 12 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Start Here
Qty.
Part Name
Part Number
Part Description
1
MVI56-103M Module
MVI56-103M
IEC 60870-5-103 Master Communication Module
1
Cable
Cable #15, RS232 Null Modem
For RS232 Connection to the CFG Port
3
Cable
Cable #14, RJ45 to DB9 Male Adapter cable
For DB9 Connection to Module’s Port
2
Adapter
1454-9F
Two Adapters, DB9 Female to Screw Terminal. For RS422 or RS485 Connections to Port 1 and 2 of the Module
1
ProSoft Solutions CD
Contains sample programs, utilities and documentation for the MVI56-103M module.
IEC 60870-5-103 Master Communication Module User Manual
1.2 Package Contents
The following components are included with your MVI56-103M module, and are all required for installation and configuration.
Important: Before beginning the installation, please verify that all of the following items are present.
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
ProSoft Technology, Inc. Page 13 of 152 February 22, 2013
Start Here MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
1.3 Setting Jumpers
If you use an interface other than RS-232 (default), you must change the jumper configuration to match the interface. There are three jumpers located at the bottom of the module.
The following illustration shows the MVI56-103M jumper configuration:
1 Set the PRT 2 (for application port 1) and PRT 3 (for application port 2)
jumpers for RS232, RS422, or RS485 to match the wiring needed for your application. The default jumper setting for both application ports is RS-232.
2 The Setup Jumper acts as "write protection" for the module’s flash memory.
In "write protected" mode, the Setup pins are not connected, and the
module’s firmware cannot be overwritten. Do not jumper the Setup pins
together unless you are directed to do so by ProSoft Technical Support.
Page 14 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Start Here IEC 60870-5-103 Master Communication Module User Manual
1.4 Installing the Module in the Rack
If you have not already installed and configured your ControlLogix processor and power supply, please do so before installing the MVI56-103M module. Refer to your Rockwell Automation product documentation for installation instructions.
Warning: You must follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result in damage to hardware or data, or even serious injury or death to personnel. Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI56-103M into the ControlLogix chassis. Use the same technique recommended by Rockwell Automation to remove and install ControlLogix modules.
Warning: When you insert or remove the module while backplane power is on, an electrical arc can occur. This could cause an explosion in hazardous location installations. Verify that power is removed or the area is non-hazardous before proceeding. Repeated electrical arcing causes excessive wear to contacts on both the module and its mating connector. Worn contacts may create electrical resistance that can affect module operation.
1 Turn power OFF. 2 Align the module with the top and bottom guides, and slide it into the rack
until the module is firmly against the backplane connector.
ProSoft Technology, Inc. Page 15 of 152 February 22, 2013
Start Here MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
3 With a firm but steady push, snap the module into place. 4 Check that the holding clips on the top and bottom of the module are securely
in the locking holes of the rack.
5 Make a note of the slot location. You must identify the slot in which the
module is installed in order for the sample program to work correctly. Slot numbers are identified on the green circuit board (backplane) of the ControlLogix rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably.
Page 16 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Start Here IEC 60870-5-103 Master Communication Module User Manual
1.5 Connecting Your PC to the ControlLogix Processor
There are several ways to establish communication between your PC and the ControlLogix processor. The following steps show how to establish communication through the serial interface. It is not mandatory that you use the processor's serial interface. You may access the processor through whatever network interface is available on your system. Refer to your Rockwell Automation documentation for information on other connection methods.
1 Connect the right-angle connector end of the cable to your controller at the
communications port.
2 Connect the straight connector end of the cable to the serial port on your
computer.
ProSoft Technology, Inc. Page 17 of 152 February 22, 2013
Start Here MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
1.6 Opening the Sample Ladder Logic
The sample program for your MVI56-103M module includes custom tags, data types and ladder logic for data I/O and status monitoring. For most applications, you can run the sample ladder program without modification, or, for advanced applications, you can incorporate the sample program into your existing application.
The inRAx Solutions CD provides one or more versions of the sample ladder logic. The version number appended to the file name corresponds with the firmware version number of your ControlLogix processor. The firmware version and sample program version must match.
1.6.1 Configuring the RSLinx Driver for the PC COM Port
If RSLogix is unable to establish communication with the processor, follow these steps.
1 Open RSLinx. 2 Open the COMMUNICATIONS menu, and choose CONFIGURE DRIVERS.
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the Available Driver Types list. The recommended driver type to choose for serial communication with the processor is RS-232 DF1 Devices.
Page 18 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Start Here IEC 60870-5-103 Master Communication Module User Manual
3 Click to select the driver, and then click CONFIGURE. This action opens the
Configure RS-232 DF1 Devices dialog box.
4 Click the AUTO-CONFIGURE button. RSLinx will attempt to configure your
serial port to work with the selected driver.
5 When you see the message Auto Configuration Successful, click the OK
button to dismiss the dialog box.
Note: If the auto-configuration procedure fails, verify that the cables are connected correctly between the processor and the serial port on your computer, and then try again. If you are still unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooting steps.
ProSoft Technology, Inc. Page 19 of 152 February 22, 2013
Start Here MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
1.7 Downloading the Sample Program to the Processor
Note: The key switch on the front of the ControlLogix processor must be in the REM or PROG position.
1 If you are not already online with the processor, open the Communications
menu, and then choose DOWNLOAD. RSLogix 5000 will establish communication with the processor. You do not have to download through the processor's serial port, as shown here. You may download through any available network connection.
2 When communication is established, RSLogix 5000 will open a confirmation
dialog box. Click the DOWNLOAD button to transfer the sample program to the processor.
3 RSLogix 5000 will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix 5000 will open another
confirmation dialog box. If the key switch is in the REM position, click OK to switch the processor from PROGRAM mode to RUN mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
Page 20 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Start Here IEC 60870-5-103 Master Communication Module User Manual
1.8 Connecting Your PC to the Module
With the module securely mounted, connect your PC to the Configuration/Debug port using an RJ45-DB-9 Serial Adapter Cable and a Null Modem Cable.
1 Attach both cables as shown. 2 Insert the RJ45 cable connector into the Configuration/Debug port of the
module.
3 Attach the other end to the serial port on your PC.
ProSoft Technology, Inc. Page 21 of 152 February 22, 2013
Start Here MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
Page 22 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Configuring the MVI56-103M Module
In This Chapter
Configuration File .................................................................................. 24
Quick Start ............................................................................................. 27
[Backplane Configuration] ..................................................................... 34
[IEC-870-5-103 Master] ......................................................................... 36
[IEC-870-5-103 Master Port x] ............................................................... 37
[IEC-103 Master Commands] ................................................................ 39
[IEC-103 Master Session x] ................................................................... 43
[IEC-103 Master Session x Sector y] ..................................................... 45
Uploading and Downloading the Configuration File ............................... 48
IEC 60870-5-103 Master Communication Module User Manual
2 Configuring the MVI56-103M Module
ProSoft Technology, Inc. Page 23 of 152 February 22, 2013
Configuring the MVI56-103M Module MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
2.1 Configuration File
The MVI56-103M module stores its configuration in a text file called IEC103M.CFG, located in the module's flash memory. When the module starts up, it reads the configuration file and uses the information to control how the 103 protocol interacts with the module's application port(s).
The configuration file is arranged in Sections, with a heading in [ ] characters at the beginning of each section. Each Section contains a list of Parameters and Values, followed by an optional Comment that explains the parameter.
The following illustration shows an example of a Section, a Parameter, a Value, and a Comment.
The Parameter must be followed by a [:] (colon) character. The text following the
[:] is a Value.
The module ignores "comment" text following the [#] character. Use comments to document your configuration settings.
You can get a sample configuration file for the module in the following places:
Copy the IEC103M.CFG from the module's flash memory to your PC Copy the IEC103M.CFG from the ProSoft Solutions CD-ROM supplied with
the module
Download the IEC103M.CFG from the ProSoft Technology web site at
www.prosoft-technology.com
Page 24 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Configuring the MVI56-103M Module IEC 60870-5-103 Master Communication Module User Manual
2.1.1 Editing the Configuration File
The DNPSNET_Q.CFG file consists of the following sections:
[Module] [Backplane Configuration] [DNP ENET Slave] [DNP ENET IP Addresses] [DNP Slave Binary Inputs] [DNP Slave Analog Inputs] [DNP Slave Float Inputs] Important notes to consider when editing the sample configuration file: Comments within the file are preceded by the pound (#) sign. Any text on a
line that occurs after the # character will be ignored.
Do not use tabs or other non-printing characters instead of spaces to
separate parameters (spacebar).
Parameter names must begin in the first column of a line, and may not be
preceded with a space (spacebar) or other non-printing character.
The IEC103M.CFG file is a plain ASCII text file. Use a text editor such as Notepad.exe (included with Microsoft Windows) to open and edit the file.
To open the configuration file in Notepad
1 Click the START button, and then choose PROGRAMS 2 Expand the Programs menu, and then choose ACCESSORIES. 3 On the Accessories menu, choose NOTEPAD.
4 In Notepad, open the FILE menu, and then choose OPEN
ProSoft Technology, Inc. Page 25 of 152 February 22, 2013
Configuring the MVI56-103M Module MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
5 In the Open dialog box, select ALL FILES in the Files of Type: dropdown list.
Tip: Sample configuration files are stored under the LadderLogic folder on the ProSoft Solutions CD-ROM.
6 Navigate to the folder containing the configuration file, and then select the file
to edit.
7 Click OPEN to open the file. 8 When you have finished editing, SAVE the file and close Notepad.
Important: Changes to the configuration file will not take effect until you download the file to the module, and then reboot the module.
Page 26 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Configuring the MVI56-103M Module IEC 60870-5-103 Master Communication Module User Manual
2.2 Quick Start
This section provides the steps required to configure the module. After you download the sample configuration file, please perform the following steps:
Step 1: Configure the Number of Slaves (Sessions)
The IEC 60870-5-103 protocol is a Master-slave protocol where the slaves are typically protection equipments for substations. The MVI56-103M module supports up to 32 slaves (total) connected to its application serial ports. Each slave has to be configured as a session. Refer to the configuration file to enter the number of slaves that will be connected to the MVI56-103M module:
[IEC-870-5-103 Master] Session Count: 5 #1 to 32 - maximum number of slaves on all channels
In the example above, the module will only poll sessions 0 to 4. The module would not poll sessions 5 to 31.
In Step 3, you will configure each session as an actual slave in the network.
Step 2: Configure the Port Communication Parameters
The user should configure the port communication parameters in order to enable data transfer between the Master and the slave(s). The port communication parameters include baud rate, parity, RTS ON, RTS OFF and Minimum Delay. The IEC 60870-5-103 protocol uses two baud rates: 19200 or 9600 kb/s and even parity.
Refer to the [IEC-870-5-103 Master Port 0] section in the configuration file in order to configure the communication parameters for the 103M port:
[IEC-870-5-103 Master Port 0] # Communication Parameters Baud Rate : 19200 #Baud rate for port 9600-19200 Parity : E #N=None, O=Odd, E=Even, M=Mark, S=Space RTS On : 0 #0-65536 mSec before message RTS Off : 1 #0-65536 mSec after message Minimum Delay : 10 #Minimum # of mSec before response sent Receive Timeout: 2000 #Maximum mSec from first char to last to wait # These parameters are protocol specific Single char ACK F0,1 or 3: Y #Single E5 resp to ACK func 0, 1 & 3 req (Y/N)
The user should also configure the jumpers located at the bottom of the module to select the correct electrical interface mode: RS-232, RS-422 or RS-485.
Step 3: Configure the Session (Slave) Poll Parameters
According to the IEC 60870-5-103 protocol, the Master cyclically polls data from the slaves. The data is classified into two classes; Class 1 and Class 2. Events belong to Class 1 and analog data to Class 2. The module can request data through Class 1 or Class 2 requests. Responses to control command and general interrogation commands are also sent as Class 1 data.
Refer to the [IEC-103 Master Session x] section in the configuration file in order to configure how each slave will be polled.
ProSoft Technology, Inc. Page 27 of 152 February 22, 2013
Configuring the MVI56-103M Module MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
Initially, the user should enter the MVI56-103M port number that will be connected to the session (slave) using the "Communication Port" parameter. Valid values are 0 or 1.
These parameters include the Data Link Address, which is the slave address that identifies all protection equipment on the network. There should be a unique number for each slave on the network. There are also certain parameters that pertain to how the Class 1 and Class 2 polls will be used for data transfer.
You must enter the number of sectors for each session using the Sector Count parameter. The module accepts up to 5 sectors per session.
[IEC-103 Master Session 0] Communication Port : 0 #Index of COM port for session (0 or 1) Sector Count : 5 #5 is max for this version of app Data Link Address : 0 #Range is 0 to 65535 DL address of slave
Failure Delay : 3 #Min Sec to delay before poll of offline slave #(0 to 2000 seconds) Confirm Timeout : 20000 #0 to 4,294,967,295 msec to wait for DL confirm Retry Count : 5 #0 to 255 retries for if no confirm Response Timeout : 5000 #Timeout for confirm of req (0 to 4,294,967,295 msec) C1/C2 Poll Count Pend: 6 #Class 1 or 2 polls before next slave tried (0-
65535) Class 1 Polls : 10 #Max Class 1 polls to this session Class 1 Pend delay : 1000 #Min mSec delay between call (0 to 4,294,967,295 msec) Class 2 Pend delay : 1000 #Min mSec delay between call (0 to 4,294,967,295 msec) Class 1 Poll delay : 1000 #Min mSec delay between call (0 to 4,294,967,295 msec) Class 2 Poll delay : 1000 #Min mSec delay between call (0 to 4,294,967,295 msec)
This step should be repeated for each session to be used. For example, if the user selected 8 sessions during Step 1, he or she should configure sessions 0 to 7:
[IEC-103 Master Session 0] [IEC-103 Master Session 1] [IEC-103 Master Session 2] [IEC-103 Master Session 3] [IEC-103 Master Session 4] [IEC-103 Master Session 5] [IEC-103 Master Session 6] [IEC-103 Master Session 7]
Step 4: Sector (Data Set) Configuration
For each session (slave), you must configure one or more sectors (maximum of
5). A sector is a data set defined by the vendor. Each sector is identified by the Common ASDU Address parameter in the [IEC-103 Master Session x Sector 0] area in the configuration file. This area also contains some parameters that will affect the module initialization procedure.
[IEC-103 Master Session 0 Sector 0] Common ASDU Address : 0 #Range 0 to 255 Sector address
Page 28 of 152 ProSoft Technology, Inc. February 22, 2013
MVI56-103M ControlLogix Platform Configuring the MVI56-103M Module IEC 60870-5-103 Master Communication Module User Manual
#Req init requests when session first online (not req if slave sends# EOI sequence) Online Time sync : Y #Send time sync message when first online Online General Int : Y #Send general interrogation
#Req init requests when EOI (end of initialization) received from slave EOI Time sync : Y #Send time sync message when first online EOI General Int : Y #Send general interrogation
# Database definition for this session/sector # Types are as follows: # # Monitored ASDU Types # 1 = Time-tagged message (bit addressed with 2 bits/point) # 2 = Time-tagged message with relative time (bit addressed with 2 bits/point) # 3 = Measurands I (4 word values using word address using double-word address) # 4 = Time-tagged measurands with relative time (1 float value) # 5 = Identification (12 characters using a byte address) # 9 = Measurands II (9 word values using word address) # 205 = SIEMENS Meter Data (Private Range) # # Point Index is the information object number in the slave unit. # ASDU Index Description # 1 Bit address with each point occupying 2 bits # 2 Bit address with each point occupying 2 bits # 3 Word address with each point occupying 4 words # 4 Double-word address for the single float value # 5 Byte address with each point occupying 12 bytes # 9 Word address with each point occupying 9 words # 205 Double-word address for each meter point # # Function Code Values # Code Definition # 128 Distance protection # 160 Overcurrent protection # 133 Energy # 176 Transformer differential protection # 192 Line Differential protection # 255 Global function type # # Database Index = Database address in module # # ASDU Database Function Point # Type Index Code Index START 1 0 128 16 1 16 128 18 1 32 128 19 1 48 128 20 1 64 128 21 1 80 128 22 1 96 128 23 1 112 128 24
ProSoft Technology, Inc. Page 29 of 152 February 22, 2013
Configuring the MVI56-103M Module MVI56-103M ControlLogix Platform User Manual IEC 60870-5-103 Master Communication Module
1 128 128 25 1 144 128 26 205 100 133 51 205 100 133 52 END
This step should be repeated for each sector used by the application. The module will only use the sectors configured in the previous step.
Step 5: Monitor Point Configuration (Monitor Direction)
After the slave receives a Class 1 or Class 2 request from the Master, it responds with a message containing data. Each piece of equipment is normally configured to respond with specific points when it is being polled with a Class 2 request. During a Class 2 response, the slave may set a control bit (ACD) to inform the Master that there are new events to be transmitted. Then, the Master will send a Class 1 poll to read the events from the slave.
The IEC 60870-5-103 protocol states that the data is transferred between the Master and slave using an ASDU (Application Service Data Unit) format. Each format is given by:
Type Identification Variable Structure Qualifier Cause Of Transmission Common Address of ASDU Function Type Information Number Data…
Refer to the protection equipment specification for the following information about each point:
Type: Type of the message Function Type: Type of protection function Information Number: Point Identification
This information will identify each point in the MVI56-103M configuration file. The user has to configure the points that will be updated in the MVI56-103M database when a Class 2 or Class 1 response containing data is sent from the slave. Refer to [IEC-103 Master Session x Sector y] section in the configuration file in order to configure each point:
# ASDU Database Function Point # Type Index Code Index START 1 0 128 16 1 16 128 17 1 32 160 18 1 48 176 19 1 64 192 20 1 80 128 21 END
Where the user should enter:
ASDU Type: ASDU type for the point Function Type: Function type for the point
Page 30 of 152 ProSoft Technology, Inc. February 22, 2013
Loading...
+ 122 hidden pages