103M PDPS User Manual
103M PDPS User Manual
ProLinx Gateway
IEC 60870-5-103 Master to
PROFIBUS Slave Gateway
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
® ® ® ® ®
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.
Label Markings
CL I Div 2 GPs A, B, C, D
II 3 G
Ex nA nL IIC X
-20°C <= Ta <= 60°C
II – Equipment intended for above ground use (not for use in mines).
3 – Category 3 equipment, investigated for normal operation only.
G – Equipment protected against explosive gasses.
183151
5105-103M-PDPS ♦ ProLinx Gateway Contents
IEC 60870-5-103 Master to PROFIBUS Slave Gateway User Manual
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
®
ProSoft Technology Product Documentation .................................................................................... 2
Important Installation Instructions ....................................................................................................... 3
®
ProLinx Products Warnings ............................................................................................................... 3
ProLinx Gateways with Ethernet Ports ............................................................................................... 3
To upgrade a previously purchased Series C model:.................................................................... 3
To order a ProLinx Plus gateway with the -WEB option ................................................................ 3
Markings .............................................................................................................................................. 4
1 Start Here 11
1.1 System Requirements ............................................................................................. 12
1.2 Package Contents ................................................................................................... 13
1.3 Setting Debug and Port 0 Configuration Jumpers .................................................. 14
1.4 Mounting the Module on the DIN-rail ...................................................................... 15
1.5 Connecting Power to the Unit ................................................................................. 16
1.6 Configure the Module .............................................................................................. 17
1.6.1 Installing ProSoft Configuration Builder Software ................................................... 17
1.6.2 Adding a Module ..................................................................................................... 18
1.6.3 Quick Start ............................................................................................................... 20
1.6.4 Renaming PCB Objects .......................................................................................... 29
1.7 103M Protocol Configuration ................................................................................... 31
1.7.1 [IEC-103 Master Commands] .................................................................................. 31
1.7.2 [IEC-870-5-103 Master] ........................................................................................... 34
1.7.3 [IEC-870-5-103 Master Port x] ................................................................................ 34
1.7.4 [IEC-103 Master Session x]..................................................................................... 36
1.7.5 [IEC-103 Master Session x Sector y] ...................................................................... 38
1.8 PDPS Protocol Configuration .................................................................................. 41
1.8.1 [PROFIBUS SLAVE] ............................................................................................... 41
1.8.2 Set_Param (SAP61) ................................................................................................ 43
1.9 Using the CommonNet Data Map ........................................................................... 45
1.9.1 From Address .......................................................................................................... 46
1.9.2 To Address .............................................................................................................. 46
1.9.3 Register Count ........................................................................................................ 46
1.9.4 Swap Code .............................................................................................................. 47
1.9.5 Delay Preset ............................................................................................................ 48
1.10 Printing a Configuration File .................................................................................... 49
1.11 Downloading a File from PC to the Module............................................................. 50
3 Reference 87
3.1 Product Specifications ............................................................................................. 88
3.1.1 General Specifications - ProLinx ............................................................................. 88
3.1.2 Internal Database .................................................................................................... 88
3.1.3 Using ProSoft Configuration Builder ....................................................................... 89
3.1.4 PROFIBUS Slave Port Specifications ..................................................................... 89
3.1.5 Serial Port Specifications ........................................................................................ 90
3.2 Functional Overview ................................................................................................ 91
3.2.1 IEC 60870-5-103 Master Protocol Implementation ................................................. 91
3.2.2 PDPS Protocol Implementation ............................................................................. 109
Index 141
Introduction → Start Here (page 10) This section introduces the customer to the
(Must Do) gateway. Included are: package contents,
system requirements, hardware installation, and
basic configuration.
Support, Service, and → Support, Service This section contains Support, Service and
Warranty and Warranty (page Warranty information.
133)
Index Index of chapters.
Index
1 Start Here
In This Chapter
System Requirements ........................................................................... 12
Package Contents ................................................................................. 13
Setting Debug and Port 0 Configuration Jumpers ................................. 14
Mounting the Module on the DIN-rail ..................................................... 15
Connecting Power to the Unit ................................................................ 16
Configure the Module ............................................................................ 17
103M Protocol Configuration ................................................................. 31
PDPS Protocol Configuration ................................................................ 41
Using the CommonNet Data Map .......................................................... 45
Printing a Configuration File .................................................................. 49
Downloading a File from PC to the Module ........................................... 50
For most applications, the installation and configuration steps described in this
section will work without additional programming. ProSoft Technology strongly
recommends that you complete the steps in this chapter before developing a
custom application.
Important: Before beginning the installation, please verify that all of the following items are
present.
Qty. Part Name Part Number Part Description
1 5105-103M-PDPS 5105-103M-PDPS IEC 60870-5-103 Master to PROFIBUS
Module Slave Gateway
1 Cable Cable #15, RS232 For RS232 Connection to the CFG Port
Null Modem
3 Cable RJ45 to DB9 Male For DB9 Connection to Module’s Port
Adapter
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 5105-103M-PDPS
module.
If any of these components are missing, please contact ProSoft Technology
Support for replacement parts.
Note: Series A gateways have active jumpers for both the Debug and application Port 0.
The following diagram details the jumper position for the ProLinx 5000/6000
series gateways.
WARNING: Ensure that you do not reverse polarity when applying power to the gateway. This
could cause damage to the gateway’s internal systems.
Note: Many of the configuration and maintenance procedures use files and other utilities on the
CD-ROM. You may wish to copy the files from the Utilities folder on the CD-ROM to a convenient
location on your hard drive.
1 Double-click the DEFAULT MODULE icon to open the Choose Module Type
dialog box.
2 On the Choose Module Type dialog box, select the MODULE type.
Or
1 Open the PROJECT menu and choose LOCATION.
2 On the LOCATION menu, choose ADD MODULE.
To add a module to a different location
1 Right-click the LOCATION folder and choose ADD MODULE. A new MODULE
icon appears.
Or
1 Select the LOCATION icon.
2 From the PROJECT menu, select LOCATION, and then select ADD MODULE.
Note: The actual number of available sessions (slaves) will depend on the total number of
sessions and sectors (configured. The recommended maximum number of sessions is sixteen.
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.
You must also configure the port jumpers to select the correct communication
mode: RS-232, RS-422, or RS-485.
Note: Actual number of available sectors per session will depend on the total number of sessions
and sectors configured. The recommended maximum number of sectors is three.
Repeat this step for each session. For example, if you configured 5 sessions
during Step 1, configure Sessions 0 to 4.
Note: The actual number of available sectors per session will depend on the total number of
sessions and sectors configured. The recommended maximum number of sectors is three.
Repeat this step for each sector used by the application. The module will only
use the sectors configured in the previous step.
Every time the module responds with a Class 1 or Class 2 poll with these points,
the module will copy the value to the database.
All the points configured in this section are sent from the slave to the master. The
protocol specification refers to this data flow as the Monitor Direction.
Repeat this step for each sector.
To send a General Command, you can associate the source data with a register
in the module database to be sent to the remote slave. The following example
will send 8 commands to the slave configured as Session 0/Sector 0. Use bit
addressing to send a General Command.
Refer to the device specification for the Point Index (Information Number) listing
available for control direction.
The module can also send a periodic General Interrogation command in order to
initialize and refresh the event-updated points in its database. The slave keeps a
list of all data subject to General Interrogation.
At this time, you may wish to rename the Default Project and Default Location
folders in the tree view.
1 Select the object, and then click the right mouse button to open a shortcut
menu. From the shortcut menu, choose RENAME.
2 Type the name to assign to the object.
3 Click away from the object to save the new name.
Enable Code
0 = Disabled
1 = Enabled, will execute using Poll Interval parameter (page 32) (seconds)
2 = Conditional (executed when point in database changes)
This field defines whether the command is to be executed, and under what
conditions. To disable the command, set this parameter to 0 (Disabled). You can
still execute commands through the processor, using a Special Function block.
To enable the command, set this parameter to 1.
Set the Poll Interval Time to 0 to execute the command during each scan of
the command list.
Set the Poll Interval Time to a value in seconds, to execute the command at
the specified interval (page 32).
To execute the command only if the internal data associated with the command
changes, set this parameter to 2. This value is valid only for write commands.
Database Index
Database Index is the location in the module's database to use as the source for
the data in the command. Refer to Data Type for specific information on
addressing (page 33).
The data type field determines the meaning of the database index as follows:
Type Description DB Index type
6 Clock synchronization NA
7 General interrogation NA
20 General Command Bit address
Poll Interval
This parameter specifies the minimum frequency at which the module should
execute the command when the Enable Code is set to one 1. The value is
entered in units of seconds. For example, to execute a command every 10
seconds, enter a value of 10 in the field. A value of 0 for the parameter implies
that the command should be executed every scan of the list, as quickly as
possible.
Session Index
0 to 31
Session Index represents the session index in the module to associate with the
command. This index is set when the session is read in from this file. The range
of values for this field is 0 to 31.
Sector Index
0 to 4
Sector Index represents the sector index for the specific session. There are a
maximum of five (5) sectors per session.
Data Type
Data type file represents the ASDU type as follows:
Type Description
6 Clock synchronization
7 General interrogation
20 General Command
Function Code
Code Definition
128 Distance protection
160 Overcurrent protection
176 Transformer differential protection
192 Line Differential protection
255 Global function type
133 Meter Data for SIEMENS Devices
1 Reset Process
2 Class 2 Polls
x User-defined
Note: The last item in the Function Code dropdown list is user-defined. If you select USER DEFINED
from the dropdown list, a text box will appear below the list. You may enter any function code in
this text box that will be accepted by the destination slave.
Point Index
Point Index specifies the address in the remote slave device of the point to
interact with.
Index Value 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
Override Flag
0 or 1
Override Flag field is used for general commands to determine the value to be
written. If the override flag is clear (0), the value in the database will be utilized. If
the override flag is set (1), the value specified in the override value field will be
used.
Override Value
If the Override Flag is set to "Yes", you can use this setting to always force a
control parameter to a fixed value. Use Enable code CONDITIONAL and the
database value for the command to determine when the value should be written.
Session Count
1 to 16
This parameter specifies the maximum number of sessions (slaves) to interface
with the module's 103M application ports. This value represents the total number
of slaves on all ports.
Baud Rate
Baud Rate Value
This is the baud rate to be used on the port. Enter the baud rate as a value. For
example, to select 19K baud, enter 19200. Valid entries for this field include: 110,
150, 300, 600, 1200, 2400, 4800, 9600, 19200 (may also enter as 192 or 1920),
28800 (may also enter 288 or 2880), 38400 (may also enter as 384 or 3840),
57600 (may also enter as 576 or 5760), and 115200 (may also enter as 115,
1152, or 11520).
Parity
N, O, E, M, or S
This parameter sets the parity to be used on the port. The values correspond to
the following settings: N=None, O=Odd, E=Even, M=Mark and S=Space.
RTS On
0 to 65535 milliseconds
This parameter sets the number of milliseconds to delay after Ready To Send
(RTS) is asserted before data will be transmitted.
RTS Off
0 to 65535 milliseconds
This parameter sets the number of milliseconds to delay after the last byte of
data is sent before the RTS modem signal will be set low.
Minimum Delay
1 to 60000 milliseconds
This parameter specifies the minimum number of milliseconds to delay before
sending the message (setting RTS high). This can be used when the serial
network requires time for units to turn off their transmitters.
Receive Timeout
1 to 65535 milliseconds
This value represents the number of milliseconds to wait on a port from the time
the first character is received until the last character in the longest message is
received. This parameter will be dependent on the baud rate. A value of 2000
should work with most applications.
Communication Port
0 or 1
This parameter sets the port to which the controlled device is connected. On this
module, values of 0 and 1 are permitted.
Sector Count
1 to 3
This parameter sets the number of Sectors (separate databases or Multiple
Application Layer ASDU addresses) contained in this Session (controlled
device). This version of the application supports 1 to 3 sectors for each session.
Failure Delay
0 to 2000 seconds
This parameter sets the minimum number of seconds to delay before polling this
session when it is not online. This parameter is only used in unbalanced mode.
Confirm Timeout
0 to 4,294,967,295 (two raised to the power of 32, minus one) milliseconds
This parameter sets the number of milliseconds to wait for a confirm response
from the controlled device.
Retry Count
0 to 255
In balanced mode, this parameter specifies the number of retries (0 to 255) if a
response is not received. In unbalanced mode, this parameter is ignored.
Class 1 Polls
0 to 100
This parameter sets the maximum number of Class 1 polls performed on this
session before switching to another session. This parameter prevents a session
from monopolizing the communication port.
Propagation Delay
0 to 65535
This parameter sets the fixed propagation delay to be utilized if the Auto Clock
Req Mode parameter is set to a value of 1.
Response Timeout
0 to 4,294,967,295 milliseconds
This parameter sets the maximum number of milliseconds to wait for a
confirmation from the controlled station to a request from this module.
ASDU Type
This field contains the ASDU type code for the data contained in the message.
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
Database Index
Database Index is the location in the module's database to use as the source for
the data in the command. Refer to Data Type for specific information on
addressing (page 33).
The data type field determines the meaning of the database index as follows:
Type Description DB Index type
6 Clock synchronization NA
7 General interrogation NA
20 General Command Bit address
Function Code
Code Definition
128 Distance protection
160 Overcurrent protection
176 Transformer differential protection
192 Line Differential protection
133 For SIEMENS ASDU type 205
255 Global function type
x User-defined
Note: The last item in the Function Code dropdown list is user-defined. If you select USER DEFINED
from the dropdown list, a text box will appear below the list. You may enter any function code in
this text box that will be accepted by the destination slave.
Point Index
Point Index specifies the address in the remote slave device of the point to
interact with.
Index Value 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
Slave Address
0 to 125
The parameter specifies the node address on the PROFIBUS network for the
slave emulated in the module. Each node on the network must have a unique
address.
Note: Although valid PROFIBUS Node addresses range from 0 to 125, Node 0 is not a valid node
number for a Slave module and that Nodes 0, 1, and 2 are usually reserved for PROFIBUS
Masters. Users are advised to use Node numbers 3-125
Byte 7 Spec_User_Prm_Byte
Bit Name Significance Default State
0 Dis_Startbit The start bit monitoring in the receiver Dis_Startbit = 1,
is switched off with this bit That is, start bit monitoring is disabled.
1 Dis_Stopbit Stop bit monitoring in the receiver is Dis_Stopbit = 0
switched off with this bit That is, stop bit monitoring is enabled
2 WD_Base This bit specifies the time base used to WD_Base = 0
clock the watchdog. That is, the time base is 10 ms.
WD_Base = 0: time base 10 ms
WD_Base = 1: time base 1 ms
3 to 4 Res To be parameterized with 0 0
5 Publisher_Enable DXB-publisher-functionality of the Publisher_Enable = 0, DXB-request-
SPC3 is activated with this bit telegrams are ignored;
Publisher_Enable = 1, DXB-request-
telegram are processed
6 to 7 Res To be parameterized with 0 0
1.9.2 To Address
0 to 3999
This parameter specifies the beginning destination register address for the copy
operation. This address must always be within the User Data registers area.
Take care to specify a destination address that will not overwrite data that has
been stored in memory by one of the communication protocols running on the
gateway.
In This Chapter
Using ProSoft Configuration Builder (PCB) for Diagnostics................... 52
Main Menu............................................................................................. 56
Database View Menu ............................................................................ 59
PROFIBUS Slave Menu ........................................................................ 61
IEC-103 Master Driver Menu ................................................................. 69
IEC-870-Master Command List Menu ................................................... 73
Port Configuration Menu........................................................................ 74
Port Status Menu ................................................................................... 75
Data Analyzer ........................................................................................ 76
Session Configuration Menu ................................................................. 81
Sector Configuration Menu .................................................................... 82
Sector Database Menu .......................................................................... 83
Data Map Menu ..................................................................................... 84
LED Indicators ....................................................................................... 85
Frequently Asked Questions ................................................................. 86
Tip: You can have a ProSoft Configuration Builder Diagnostics window open for more than one
module at a time.
2 Verify that the null modem cable is connected properly between your
computer’s serial port and the gateway. A regular serial cable will not work.
3 On computers with more than one serial port, verify that your communication
program is connected to the same port that is connected to the gateway.
If you are still not able to establish a connection, contact ProSoft Technology for
assistance.
2.1.3 Navigation
All of the submenus for this gateway contain commands to redisplay the menu or
return to the previous menu. You can always return from a submenu to the next
higher menu by pressing [M] on your keyboard.
The organization of the menu structure is represented in simplified form in the
following illustration:
The remainder of this section shows the menus available for this gateway, and
briefly discusses the commands available to you.
Keystrokes
The keyboard commands on these menus are usually not case sensitive. You
can enter most commands in lowercase or uppercase letters.
The menus use a few special characters (?, -, +, @) that must be entered exactly
as shown. Some of these characters will require you to use the SHIFT, CTRL, or
ALT keys to enter them correctly. For example, on US English keyboards, enter
the ? command as SHIFT and /.
Also, take care to distinguish the different uses for uppercase letter "eye" (I),
lowercase letter "el" (L), and the number one (1). Likewise, uppercase letter "oh"
(O) and the number zero (0) are not interchangeable. Although these characters
look alike on the screen, they perform different actions on the gateway and may
not be used interchangeably.
Caution: Some of the commands available to you from this menu are designed for advanced
debugging and system testing only, and can cause the gateway to stop communicating with the
processor or with other devices, resulting in potential data loss or other failures. Only use these
commands if you are specifically directed to do so by ProSoft Technology Technical Support staff.
Some of these command keys are not listed on the menu, but are active nevertheless. Please be
careful when pressing keys so that you do not accidentally execute an unwanted command.
For more information about the commands on this menu, refer to IEC-103 Master
Driver Menu (page 69).
Tip: Repeat this command at one-second intervals to determine the frequency of program
execution.
Command Description
[0] Display registers 0 to 99
[1] Display registers 1000 to 1099
[2] Display registers 2000 to 2099
And so on. The total number of register pages available to view depends on your
gateway’s configuration.
This screen displays the current page of 100 registers in the database.
Cfg Len is the configuration length for the slave with S as the pointer.
RCfg len is that received from the master with S as the pointer.
Ident is the PROFIBUS identification number for the module.
FDL SAP last PTR is the end of all the PDPS data in the SPC3 chip. A value
greater than 0xFF indicates a memory overflow problem.
Comm Failure mode is that from the configuration file as is the swapping of
input and output data.
Translated as follows:
Extended diagnostics length 0E= 14 bytes, Product Version 56 = "V", 30 =
"0", 31 = "1", 2E = ".", 30 = "0", 35 = "5", Product Name 50 = ""P", 44 = ""D", 53
= "S", 34 = "4" (MVI46),
Status Register [0] 41 = SPC3 in passive idle and WD-State is in DP_Control
State, Status Register [1] 03 = 1.5 Baud rate, Module State 04 = not in data
exchange
Enable State
Indicates the initialized state of the 5105-103M-PDPS module.
0 = Module is not initialized
1 = Module is initialized
Module State
Indicates the current state of the 5105-103M-PDPS module.
0 = Normal Operation
1 = Shutdown
2 = File Transfer
3 = SPC3 ASIC problem
4 = Not in data exchange
The SPC3 is able to identify the baud rate automatically. The "baud search" state
is located after each RESET and also after the watchdog (WD) timer has run out
in the "Baud_Control_state." As a rule, SPC3 begins the search for the set rate
with the highest baud rate. If no SD1 telegram, SD2 telegram, or SD3 telegram
was received completely and without errors during the monitoring time, the
search continues with the next lowest baud rate.
After identifying the correct baud rate, SPC3 switches to the "Baud_Control"
state and monitors the baud rate. The monitoring time can be parameterized
(WD_Baud_Control_Val). The watchdog works with a clock of 100 Hz (10
milliseconds). The watchdog resets each telegram received with no errors to its
own station address. If the timer runs out, SPC3 again switches to the baud
search state.
Diagnostic State
0 = Normal Operation or not in data exchange with Status Register [0] Bit
0x20 set.
1 = Not in data exchange state with the Status Register [0] bit 0x20 not set or
normal operation with the Status Register [0] bit 0x20 not set.
3 = Not in a defined state or in module state 1, 2 or 3.
4 = Normal operation with Status Register [0] bit 0x20 set
Important: When in analyzer mode, program execution will slow down. Only use this tool during a
troubleshooting session. Before disconnecting from the Config/Debug port, please press [S] to stop
the data analyzer, and then press [M] to return to the main menu. This action will allow the gateway
to resume its normal high speed operating mode.
The Busy/Idle message indicates the current activity state of the module. "Idle"
means it is waiting to execute a command. "Busy" means it is executing a
command and is waiting for the response to the request. This does not include
the normal Class 1 and 2 polls as these are automatically generated.
The counter data displays the number of memory areas allocated for the
application layer. When no packets are pending, the counts should all be 0. If
messages are waiting to be sent, the applRec count will indicate the number
waiting to be sent. If many messages are received at the same time, the applRec
count will indicate the number of packets that must be processed. The "anything"
count indicates any other buffer area that is allocated and must be processed by
the application.
For more information about the commands on this menu, refer to IEC-870-Master
Command List Menu (page 73).
The Port Configuration Menu section has more information about the commands
on this menu.
The Port Status Menu section has more information about the commands on this
menu.
The Sector Configuration Menu section has more information about the
commands on this menu.
Note: The Port selection commands on the Data Analyzer menu differs very slightly in different
modules, but the functionality is basically the same. Use the illustration above as a general guide
only. Refer to the actual data analyzer menu on your module for the specific port commands to
use.
Important: When in analyzer mode, program execution will slow down. Only use this tool during a
troubleshooting session. Before disconnecting from the Config/Debug port, please press [S] to stop
the data analyzer, and then press [M] to return to the main menu. This action will allow the module
to resume its normal high speed operating mode.
Important: When in analyzer mode, program execution will slow down. Only use this tool during a
troubleshooting session. Before disconnecting from the Config/Debug port, please press [S] to stop
the data analyzer, and then press [M] to return to the main menu. This action will allow the module
to resume its normal high speed operating mode.
After the "Data Analyzer" mode has been selected, press [?] to view the Data
Analyzer menu. You will see the following menu:
From this menu, you can select the "Port", the "format", and the "ticks" that you
can display the data in.
For most applications, HEX is the best format to view the data, and this does
include ASCII based messages (because some characters will not display on
HyperTerminal and by capturing the data in HEX, we can figure out what the
corresponding ASCII characters are supposed to be).
The Tick value is a timing mark. The module will print a _TT for every xx
milliseconds of no data on the line. Usually 10milliseconds is the best value to
start with.
After you have selected the Port, Format, and Tick, we are now ready to start a
capture of this data. The easiest way to do so is to go up to the top of you
HyperTerminal window, and do a TRANSFER / CAPTURE TEXT as shown below:
After selecting the above option, the following window will appear:
Next name the file, and select a directory to store the file in. In this example, we
are creating a file ProSoft.txt and storing this file on our root C: drive. After you
have done this, press the button.
Now you have everything that shows up on the HyperTerminal screen being
logged to a file called ProSoft.txt. This is the file that you will then be able to
email to ProSoft Technical Support to assist with issues on the communications
network.
To begin the display of the communications data, you will then want to press [B]
to tell the module to start printing the communications traffic out on the debug
port of the module. After you have pressed [B], you should see something like
the following:
The <R+> means that the module is transitioning the communications line to a
transmit state.
All characters shown in <> brackets are characters being sent out by the module.
The <R-> shows when the module is done transmitting data, and is now ready to
receive information back.
And finally, all characters shown in the [ ] brackets is information being received
from another device by the module.
After taking a minute or two of traffic capture, you will now want to stop the "Data
Analyzer". To do so, press the [S] key, and you will then see the scrolling of the
data stop.
When you have captured the data you want to save, open the Transfer menu and
choose Capture Text. On the secondary menu, choose Stop.
You have now captured, and saved the file to your PC. This file can now be used
in analyzing the communications traffic on the line, and assist in determining
communication errors.
2.15.2 The slave is responding but I cannot see the monitor data in
the Module database.
Ensure that the monitor points are correctly configured. Refer to your protection
equipment’s documentation for the correct ASDU type, Function Code, and
Information Number. These values must match the parameters that are entered
for every monitor point in the [IEC-103 Master Session 0] section of the
configuration file.
The addressing type in the module database depends on the point ASDU type.
The Database Index parameter can be interpreted as bit, byte, word, or double-
word address. For more details, refer to Data Types and Mapping.
3 Reference
In This Chapter
Product Specifications ........................................................................... 88
Functional Overview .............................................................................. 91
Setting the Module's Date and Time.................................................... 122
IEC 60870-5-103 Master Protocol Interoperability Documentation...... 125
103M Network Design Forms .............................................................. 131
Configuration File
This file contains gateway configuration information such as port configuration,
network information, and command configuration. This configuration file is
transferred to or from the gateway.
Important Note: The slave node address is set to 126 by default in the module configuration file.
The default node address must be changed to a valid address between 0 to 125 by the user for the
slave to function on the PROFIBUS network.
Type Specifications
Serial Ports
Serial Port Adapter Cables One Mini DIN to DB-9M adapter cable included for
each configurable serial port
Config Port Connector/ Pinout DB-9F connector / DTE pinout
Serial Port Isolation 2500V RMS port-to-port isolation per UL 1577.
3000V DC min. port to ground and port to logic
power isolation.
Serial Port Protection RS-485/422 port interface lines TVS diode protected
at +/- 27V standoff voltage.
RS-232 port interface lines fault protected to +/- 36V
power on, +/- 40V power off.
Note: On all ProLinx gateways, data from the application port on the main board, serial Port 0, is
not buffered. Packets go directly to and from the serial chipset to the processor. This has the
potential to cause the serial communications to become erratic at baud rates above 38,400 baud.
ProLinx gateways with 4 serial ports have a separate serial interface board for serial Ports 1, 2,
and 3. These serial ports are buffered and can handle communications up to 115,200 baud.
General Specifications
The 103M module acts as an input/output module between the IEC 60870-5-103
network and many of the other serial and network protocols, as well as several
proprietary interfaces. A 4000-word register space in the module exchanges data
between the two protocols.
General specifications include:
Built in accordance to the approved international specification
Support for the storage and transfer of up to 4000 registers between
protocols
User-definable module memory usage
Configuration via a user-generated text file (downloadable to the module)
Protocol implementation conforms to the IEC 60870-5-103 specification with
fully configurable parameters
Master Driver
The master driver supported on the application port of the module emulates an
IEC 60870-5-103 Master device.
The module communicates with one or more controlled stations on what are
referred to as sessions. A session represents a controlled device with a unique
data link layer address. Each session (controlled device) contains one data set
(sector) that is defined by the vendor of the device.
Note: The IEC 60870-5-103 specification only supports the unbalanced mode. No support is given
in the protocol for the balanced mode and the module does not support this mode.
Initialization
According to the IEC 60870-5-103 protocol, the Master should send a Reset FCB
(or Reset CU) request to all slaves on the network. The ProLinx 103M module
will only send the initialization requests to the Data Link Addresses that are
configured as sessions. Once the slave responds to the FCB request with an
ACK response, the master starts polling the slave. The master will continuously
send the Reset FCB request until it receives the ACK response.
The user may also configure the module to send time synchronization and
general interrogation requests once the slave has responded to the reset FGD
request. Refer to the configuration file for the initialization parameters.
If the slave is not responding to the initialization request, the user should verify
the following items in order to troubleshoot the configuration:
Verify that the slave address (Data Link Address) is configured as a session
(slave) in the module. For example, if the module has two sessions correctly
configured (Data Link Addresses 1 and 2), and the slave is configured with a
Data Link address of 3, the slave will not respond to the initialization request.
Verify that the communication port parameter matches the network
parameters.
Check cables
Verify that the communication mode jumpers (RS-232 or RS-485) are set
correctly.
Note: All commands should be mapped separately and not grouped together
Port 0 Status
Offset Name Description
14010 State This word contains the state machine value for the
channel.
14011 Cmd Req This word contains the number of commands transferred
out the channel.
14012 Cmd Resp This word contains the number of command response
messages received on the channel.
14013 Cmd Err This word contains the number of command errors
recognized on the channel.
14014 Requests This word contains the total number of messages
transmitted on the channel.
14015 Responses This word contains the total number of messages
received on the channel.
14016 Err Sent This word contains the number of error messages sent on
the channel.
14017 Err Received This word contains the number of error messages
received on the channel.
14018 Cfg Error This bit-mapped word recognizes any configuration errors
for the channel. Refer to the configuration error word table
for a definition of each bit.
14019 Current Error This word contains the error code for the current
command executing on the channel.
14020 Last Error This word contains the error code for the last error
recognized on the channel.
14021 to Reserved Not used at this time
14029
The following table defines the contents of the configuration error word. Each bit
in the word corresponds to an error condition recognized when the module is
configured. There is a separate word for each application port. This data is
reported in the status data area previously defined.
Error Description
603 Illegal session
604 Session is reserved
605 Session is not available
701 No memory to transmit message
702 ASDU not supported
703 Duplicate request
704 Illegal sector
705 Control mode is illegal
801 Partial stop request
802 Stop request failed
902 Negative COT in response
903 Session is offline
904 Session is disabled
905 Select confirmation received, waiting to execute
906 Execute confirmation has not been received.
In Control Direction
Type Description
6 time synchronization
7 general interrogation
10 generic data
20 general command
21 generic command
24 order for disturbance data transmission
25 ack for disturbance data transmission
In Control Direction
COT Description
8 time synchronization
9 initiation of general interrogation
20 general command
31 transmission of disturbance data
40 generic write command
42 generic read command
Status Indications
Inf Description GI Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
16 auto-recloser active X 1 X X X
17 teleprotection active X 1 X X
18 protection active X 1 X X X X
19 LED reset 1 X X X X
20 monitor direction blocked X 1 X X X X
21 test mode X 1 X X X X
22 local parameter setting X 1 X X X X
23 characteristic 1 X 1 X
24 characteristic 2 X 1 X
25 characteristic 3 X 1 X
26 characteristic 4 X 1 X
27 auxiliary input 1 X 1 X X X X
28 auxiliary input 2 X 1 X X X X
29 auxiliary input 3 X 1 X X X X
30 auxiliary input 4 X 1 X X X X
Supervision indications
Inf Description GI Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
32 measured supervision I X 1 X X
33 measured supervision V X 1 X X
35 phase sequence supervision X 1 X X
36 trip circuit supervision X 1 X X X X
37 l>>back-up operation X 1 X
38 VT fuse failure X 1 X X
39 teleprotection disturbed X 1 X X X
46 group warning X 1 X X X X
47 group alarm X 1 X X X X
Fault indications
Inf Description GI Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
64 start/pick-up L1 X 2 X X X
65 start/pick-up L2 X 2 X X X
66 start/pick-up L3 X 2 X X X
67 start/pick-up N X 2 X X X
68 general trip 2 X X X X
69 trip L1 2 X X X X
70 trip L2 2 X X X X
71 trip L3 2 X X X X
72 trip l>> (back-up operation) 4 X
73 fault location X in ohms 2 X X
74 fault forward/line 2 X X
75 fault reverse/busbar 2 X X
76 teleprotection signal transmitted 2 X X
77 teleprotection signal received 2 X X
78 zone 1 2 X
79 zone 2 2 X
80 zone 3 2 X
81 zone 4 2 X
82 zone 5 2 X
83 zone 6 2 X
84 general start/pick-up X 2 X X X X
85 breaker failure 2 X X
86 trip measuring system L1 2 X
87 trip measuring system L2 2 X
88 trip measuring system L3 2 X
89 trip measuring system E 2 X
90 trip l> 2 X
91 trip l>> 2 X
92 trip IN> 2 X
93 trip IN>> 2 X
Auto-reclosure indications
Inf Description GI Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
128 CB 'on' by AR 1 X X X
129 CB 'on' by long-time AR 1 X X X
130 AR blocked X 1 X X X
Measurands
Inf Description GI Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
144 measurand I 3.1 X X
145 measurands I, V 3.2 X X
146 measurands I, V, P, Q 3.3 X
147 measurands IN, VEN 3.4 X X
148 measurands IL1,2,3, VL1,2,3, P, Q, f 9 X
Generic functions
Inf Description GI Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
240 read headings of all defined groups 10 X
241 read values or attributes of all entries 10 X
of one group
General commands
Inf Description Com Typ Fun
e
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
16 auto-recloser on/off On/Off 20 X X X
17 teleprotection on/off On/Off 20 X X
18 protection on/off On/Off 20 X X X X
19 LED reset On 20 X X X X
23 activate characteristic 1 On 20 X
24 activate characteristic 2 On 20 X
25 activate characteristic 3 On 20 X
26 activate characteristic 4 On 20 X
Generic functions
Inf Description Type Fun
128 160 176 192 254 255
t(z) l>> ∆lT ∆lL GEN GLB
240 read headings of all defined groups 21 X
241 read values or attributes of all entries 21 X
of one group
243 read directory of a single entry 21 X
244 read value or attribute of a single entry 21 X
245 general interrogation of generic data 21 X
248 write entry 10 X
249 write entry with confirmation 10 X
250 write entry with execution 10 X
251 write entry abort 10 X
TYPE 3: Measurands l
Bytes Description Spec
1 Value of 3
1 i = value of 1, 2 or 4
1 COT
1 Common address of ASDU
1 Function Type
1 Information number
2 Current L2 7.2.6.8
2 Voltage L1-L2 7.2.6.8
2 Active power P 7.2.6.8
2 Reactive power Q 7.2.6.8
ASD U3.1: i=1
ASDU 3.2: i=2
ASDU 3.3: i=4
ASDU 3.4: i=2 val1=IN and val2=VEN
TYPE 5: Identification
Bytes Description Spec
1 Value of 5
1 0x81
1 COT
1 Common address of ASDU
1 Function Type
1 Information number
1 COL (compatibility level 2 or 3) 7.2.6.3
1 Char 1 7.2.6.2
1 Char 2 7.2.6.2
1 Char 3 7.2.6.2
1 Char 4 7.2.6.2
1 Char 5 7.2.6.2
1 Char 6 7.2.6.2
1 Char 7 7.2.6.2
1 Char 8 7.2.6.2
1 Manufacture byte Free assignment
1 Manufacture byte Free assignment
1 Manufacture byte Free assignment
1 Manufacture byte Free assignment
TYPE 9: Measurands II
Bytes Description Spec
1 Value of 9
1 I = 1 to 9 for number of values
1 COT
1 Common address of ASDU
1 Function Type
1 Information number
2 Current L1 7.2.6.8
2 Current L2 7.2.6.8
2 Current L3 7.2.6.8
2 Voltage L1-E 7.2.6.8
2 Voltage L2-E 7.2.6.8
2 Voltage L3-E 7.2.6.8
2 Active power P 7.2.6.8
2 Reactive power Q 7.2.6.8
2 Frequency f 7.2.6.8
Value of I determines number of parameters passed in the message with a range
of 1 to 9 but always starts with the L1 value.
PROFIBUS DP Architecture
The PDPS network supports multiple Master systems with several slaves.
The following table shows the most important features of PDPS:
Standard EIN 501 70
DIN 19245
Transmission Equipment EIA RS-485
(Physical) IEC 1158-2 (through link or coupler)
Fiber Optic Cable (not available)
Transfer Procedure Half-duplex
Bus Topology Linear bus with active bus termination
Bus Cable Type Shielded twisted pair conductors
Connector 9-pin D-Sub
Number of nodes on the bus Max: 32 with no repeaters
Max: 125 with 3 repeaters in 4 segments
Bus Access
Two different bus access procedures handle the various communication
requirements for the PDPS topology:
Token Passing
Polling
Token Passing
Token passing ring is the basis for communication between the more complex,
active stations. All stations have the same rights in that a token is passed from
station to station in a logical ring. The token is passed to each station with a
maximum, definable token cycle time. A station is given transmission rights for
the duration of time that it has the token.
Master/Slave Polling
Master/Slave polling guarantees a cyclic, real-time based data exchange
between the station with transmission rights, the active station, and its
subordinates, the passive stations. In this case, the Master is able to pass data to
the slave and/or receive data. The services in layer 2 (field-bus data link in ISO-
OSI reference model) organize this communication.
Communication Types
In addition to point-to-point data transfer, the PROFIBUS protocol can also
handle the following types of communication:
Broadcast communication: An active node sends an unacknowledged
message to all other nodes (Master and slaves)
Multicast communication (control instructions): An active node sends an
unacknowledged message to a group of nodes (Master and Slaves).
Master/Slave Communication Phases
The communication between the Master and the Slaves takes place in the
following phases:
Parameterization and configuration phase
Usable data transfer phase
Before a DP Slave can be integrated into the usable data transfer phase, the
parameterization and configuration phase runs a device identification test that
verifies that the planned configuration matches the actual device configuration for
each slave in the PROFIBUS network. The test verifies that:
the device is actually there
it is the right type of device
the station address set on the device matches the station address in the bus
configuration
the formats, telegram length information, and bus parameters are correct
and
the number of configured inputs and outputs is correct.
Pass-Through
The pass-through features allows you to page through the ProLinx data 4000
registers over the Profibus network, using mailbox commands. You can also use
mailbox commands to set and get time, and pass events. The following topics
describe the mailbox commands.
IMPORTANT NOTE: For these blocks to function properly over the Profibus network, the slave
must be configured for 100 words of input and 100 words of output, and the Pass-Through Events
parameter must be enabled in the configuration file, as shown in the following example.
Pass-Through Events : Y # Pass event messages through Profibus Interface
# (Y/N (N=Default))
Mailbox Commands
Start Stop Direction Description
100 101 PLC to GW Event Data
NOTES:
The block number for each device must be changed to trigger an operation.
The I/O data area is owned exclusively by only the PLC or GW.
A timeout must be implemented in the PLC in case the GW is not present.
Mailbox Structure
This 200 Byte Array is located in the PLC containing the PDPM gateway module,
not in the PDPS.
Example Raw Database Exchange. Output from PLC to PDPM
Word Start End Description
Byte Byte
0 0 0 150 (Raw data write).This value tells PDPS driver to write into
Database paging section.
1 1 160 (Raw data read). This value tells PDPS driver to read from
Database Paging section.
1 2 3 Start register in database for write. This value tells the PDPS driver
where in the Database Paging section to start writing.
2 4 5 Number of registers to write (1 to 94). This value tells the PDPS
Driver the quantity of registers to be filled with data.
3 6 7 Start register in database for read. This value tells the PDPS driver
where in the Database Paging section to start reading.
4 8 9 Number of registers to read (1 to 96). This value tells the PDPS
Driver the quantity of registers to read.
5 to 98 10 197 Words to write to the database. The actual data to be transferred to
the Database paging section. In the PLC, fill these bytes of the
Array with values to be transferred to the PDPS’s Database paging
section.
99 198 198 Reserved. Do not use.
199 199 150 (Raw data write). This value tells PDPS driver to write into
Database paging section. Duplicated from Array[0] index.
Example Response Block From PDPM. Input to PLC from PDPM.
Communications acknowledgement.
Word Start End Description
Byte Byte
0 0 0 160 (Raw data read). PDPS Driver responded to the PDPM driver
which in turn responded to the PLC that the data in this 200 word
Array is from the PDPS drive’s Database paging section.
1 1 150 (Raw data write). PDPS driver is responding to the PDPM
driver which in turn responds to the PLC that the data has been
written.
1 2 3 Start register in database for read. PDPS driver is responding to the
PDPM driver which in turn responds to the PLC where in the PDPS
Database paging was the beginning of the data read.
2 4 5 Number of registers to read (1 to 96). This value tells the PLC the
quantity of registers that the PDPS Driver read.
3 to 98 6 197 Words read from the database. The actual words that were read
from the PDPS Database Paging section.
99 198 199 Reserved. Do not use.
199 199 160 (Raw data read). Signifies the end of the read block
Bit 0
Offline/Passive-idle
0 = SPC3 exits offline and goes to passive-idle. The idle timer and Wd timer
go offline.
1= SPC3 exits offline and goes to passive-idle. The idle timer and Wd timer
are started.
Bit 4, 5
10 = Data Exchange State is Normal. The SPC3 has a correct configuration.
Module State: Word 10310 Byte 0
Indicates the current state of the module.
0 = Normal Operation
1 = Shutdown
2 = File Transfer
3 = SPC3 ASIC problem
4 = Not in data exchange
Last Global Command: Word 10310 Byte 1
The value of the last global command code received from the master.
Bit Designation Significance
0 Reserved
1 Clear_Data With this command the ASCI output data is deleted in data transfer
buffer and is changed to next transfer data buffer contents.
2 Unfreeze With "Unfreeze": freezing input data is cancelled.
3 Freeze The ASCI input data is fetched from next transfer buffer to data
transfer buffer and frozen. New input data is not fetched again until
the master sends the next "Freeze" command.
4 Unsync The "Unsync" command cancels the "Sync" command.
5 Sync The ASCI output data transferred with a WRITE_READ_DATA
telegram is changed from data transfer buffer next state buffer. The
following transferred output data is kept in data transfer buffer until
the next "Sync" command is given.
6,7 Reserved The Reserved designation specifies that these bits are reserved for
future function expansions.
3 Enter the following three keys in order: [~], [ESC], [~]. The following DOS
screen appears:
9 Enter the new date information using the format MONTH-DAY-YEAR, and
then press [ENTER].
10 Reboot the module by pressing the RESET button on the front of the module.
The module now contains the new date and time information.
Note: In addition, the full specification of a system may require individual selection of certain
parameters for certain parts of the system, such as the individual selection of scaling factors for
individually addressable measured values.
NOTE - EIA RS-485 standard defines unit loads so that 32 of them can be operated on one line.
For detailed information refer to clause 3 of EIA RS-485 standard.
3.4.21 Miscellaneous
Measurands are transmitted with ASDU 3 as well as with ASDU 9. As defined in
7.2.6.8, the maximum MVAL can either be 1,2 or 2,4 times the rated value. No
different rating shall be used in ASDU 3 and ASDU 9, that is, for each
measurand there is only one choice.
Measurand Max. MVAL = rated value times
1,2 or 2,4
Current L1 ⌧ ⌧
Current L2 ⌧ ⌧
Current L3 ⌧ ⌧
Voltage L1-E ⌧ ⌧
Voltage L2-E ⌧ ⌧
Voltage L3-E ⌧ ⌧
Active power P ⌧ ⌧
Reactive power Q ⌧ ⌧
Frequency f ⌧ ⌧
Voltage L1 - L2 ⌧ ⌧
In This Chapter
Contacting Technical Support ............................................................. 133
Return Material Authorization (RMA) Policies and Conditions............. 135
LIMITED WARRANTY ......................................................................... 137
Note: For technical support calls within the United States, an after-hours answering system allows
24-hour/7-days-a-week pager access to one of our qualified Technical and/or Application Support
Engineers. Detailed contact information for all our worldwide locations is available on the following
page.
** Some areas do not allow time limitations on an implied warranty, or allow the exclusion or
limitation of incidental or consequential damages. In such areas, the above limitations may not
apply. This Warranty gives you specific legal rights, and you may also have other rights which vary
from place to place.
I N
IEC 60870-5-103 Master Protocol Implementation • 91 Navigation • 55
IEC 60870-5-103 Master Protocol Interoperability No Other Warranties • 140
Documentation • 125
IEC-103 Master Driver Menu • 57, 69
O
IEC-870-Master Command List Menu • 70, 73 Online General Int • 39
Important Installation Instructions • 3 Online State • 81
In Control Direction • 100 Online Time Sync • 39
In Monitor Direction • 99, 100 Opening the Data Analyzer Menu • 69
Information Numbers used in Control Direction • 104 Opening the Data Map Menu • 57
Information Numbers Used in Monitor Direction • 101 Opening the Database View Menu • 56
Initialization • 92 Opening the IEC-103 Master Menu • 57
Installing ProSoft Configuration Builder Software • 17 Opening the IEC-870-Master Command List Menu • 70
Intellectual Property Indemnity • 139 Opening the Port Configuration Menu • 70
Internal Database • 88 Opening the Port Status Menu • 71
Opening the Sector Database Menu • 82
K Opening the Sector Menu • 71
Keystrokes • 55 Opening the Session Configuration Menu • 57, 71
Optical Interface • 125
L Override Flag • 33
Override Value • 34
Last Global Command • 68
Word 10310 Byte 1 • 121 P
LED Indicators • 85
LEDs for Port 0 Serial Port • 85 Package Contents • 13
LEDs for the PROFIBUS Slave Port • 85 Parity • 35
Limitation of Remedies ** • 140 Pass-Through • 112
LIMITED WARRANTY • 135, 137 PDPS Protocol Configuration • 17, 41
Link Layer • 126 PDPS Protocol Implementation • 109
List of Cause of Transmission Codes • 100 Pinouts • 3
List of Function Types • 101 Point Index • 33, 40
List of Type Identification Codes • 99 Poll Interval • 32
Listing ASDU point counts • 83 Port Configuration Menu • 74
Port Status Menu • 75
M Printing a Configuration File • 30, 49
Product Specifications • 9, 88
Mailbox Commands • 112 PROFIBUS DP Architecture • 110
Mailbox From GW to PLC • 114 PROFIBUS Input Counter • 67
Mailbox From PLC to Gateway • 114 10311 • 121
Mailbox Structure • 113 PROFIBUS Output Counter • 67
Main Menu • 56 Word 10312 • 121
Markings • 4 PROFIBUS Reserved Words
Master Communication Module Error Codes • 98 Word 10301 to Word 10303 • 118
Master Driver • 91 PROFIBUS Slave Error and Status Data • 118
V
Viewing ASDU n Data • 83
Viewing Data in ASCII (Text) Format • 60, 77
Viewing Data in Decimal Format • 60
Viewing Data in Floating-Point Format • 60
Viewing Data in Hexadecimal Format • 60, 77
Viewing General Configuration • 69
Viewing Master Driver Version Information • 72
Viewing Module Configuration • 56
Viewing PROFIBUS Configuration • 56
Viewing PROFIBUS Slave Configuration • 61
Viewing PROFIBUS Status • 62, 63
Viewing Register Pages • 59
Viewing the Next Page of Registers • 60, 73
Viewing the Previous Page of Registers • 60, 73
Viewing Version Information • 57
W
What Is Covered By This Warranty • 137, 139
What Is Not Covered By This Warranty • 138
Why is the module not communicating with the slave?
• 86
Words 10304 to 10308 • 119
Words 10313 to 10399 • 121
Y
Your Feedback Please • 2