Professional Documents
Culture Documents
Schweitzer SEL Events Master Protocol
Schweitzer SEL Events Master Protocol
S1120-20-3, version 9
The Schweitzer SEL Events master protocol component contains YMODEM file transfer protocol
code that is distributed under the terms of the 'MIT license', as follows:
Copyright (c) 2006 J.D.Medhurst (a.k.a. Tixy)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to
do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Contents
1. Introduction ............................................................................................................................. 1
2. Features.................................................................................................................................... 2
2.1 Communication Features .......................................................................................................... 2
2.2 Supported Requests ................................................................................................................. 2
2.2.1 Device Data Retrieval ................................................................................................. 3
2.2.2 Device Control ........................................................................................................... 3
3. Configuration Settings ............................................................................................................. 4
3.1 General Settings....................................................................................................................... 4
3.2 Analog Input Settings ............................................................................................................... 6
3.2.1 Fault Distance Analog Input Settings ........................................................................... 6
3.2.2 SER Analog Input Settings .......................................................................................... 6
3.2.3 History Analog Inputs Settings .................................................................................... 8
3.3 Binary Input Settings ................................................................................................................ 9
4. Implementation Details ......................................................................................................... 11
4.1 Startup Sequence ................................................................................................................... 11
4.2 Scan Cycle ............................................................................................................................. 11
4.3 Relay Unexpected Responses .................................................................................................. 13
4.4 Link Down / Link Up Behavior ................................................................................................. 13
4.5 SER ....................................................................................................................................... 14
4.6 Extended SER ........................................................................................................................ 14
4.6.1 SER Analog Inputs ................................................................................................... 14
4.6.2 SER Binary Inputs .................................................................................................... 14
4.7 YModem Transfer ................................................................................................................... 15
5. Troubleshooting ..................................................................................................................... 16
Feature Comment
Serial Port The SEL Events master protocol component supports RS-232
interfaces at bit rates of up to 115200 b/s.
Link Sharing This protocol component can share a serial port connection with the
SMP Gateway’s SEL master protocol component. The latter interacts
with the end device via binary requests (Fast Meter) while the SEL
Events component uses ASCII requests. Most SEL devices support
the simultaneous use of both requests.
Passthrough This protocol component allows passthrough connections.
Connections If used on a shared link, the passthrough connection must be
configured to suspend activity of the IED whose address is 2.
TCP/IP This protocol component supports communications over a TCP/IP
link.
Request Description
ACC Request access to level 1 requests.
TAR n Request the device Word row number n.
HIS n Request the list of all “n” event summaries.
EVE n Request event report n with 4 samples per cycle.
Note that event reports can be requested using any other setting by
simply defining the request to use in the AIT file.
CEV n Request event report n with 4 samples per cycle in compressed
ASCII format.
Note that event reports can be requested using any other setting by
simply defining the request to use in the AIT file.
SER n Request the last “n” rows of sequences of events.
DAT Set the device clock to the specified date.
TIM Set the device clock to the specified time.
IRI Obtain the status of the IRIG-B signal.
Table 2-2 Request subset used for the basic scan cycle
Setting Description
Scan Interval The number of milliseconds between two complete scan cycles. A
value of 0 means that there will be no delay between scan cycles.
Range: 0 to 604,800,000 milliseconds (7 days)
Default value: 3,600,000 milliseconds (1 hour)
Rx Timeout The number of milliseconds to wait for the end device to respond to
a request before attempting any retries. The timer is started after
the last data of a request is transmitted to the remote device.
Range: 100 to 30,000 milliseconds
Default value: 5000 milliseconds
Rx Silence Timeout The number of milliseconds to wait after the last received byte
before assuming that the data received from the device is a
complete response.
Range: 100 to 30,000 milliseconds
Default value: 2,000 milliseconds
Tx Interchar Delay Indicates the number of milliseconds between characters when
transmitting over the communications link. This feature is disabled
when the delay is set to 0.
Range: 0 to 5,000 milliseconds
Default value: 0 milliseconds
Rx Retry Count The number of consecutive times a bad response (or no response)
must be received before a communications failure is declared and
an attempt is made to re-initialize the link.
Range: 0 to 10
Default value: 9
AIT File Name Acquisition information template file name. This setting is
mandatory if you have enabled one of the events in the Event File
settings.
Range: 1 to 259 chars
Default value: none
Setting Description
Fault Name Column The event name, as seen under the “Event” column of a “HIS”
command answer received from the relay.
Allowed values: Any text except spaces.
Fault Type Column This number could be any value except zero. It is used only
internally. When a fault happens and its name matches the “Fault
Name” for the actual point, this value will be copied in the logical
point “Fault type”.
If an event happens and no string matches the event type, “0” will
be copied in the logical point.
Setting Description
History Column Represents a text column, as seen in the answer to an “HIS”
command to the relay. This is a read-only setting.
Allowed values:
Line Id
Year
Month
Day
Hour
Minute
Second
Milli
Event
Locat
Curr
Freq
Grp
Shot
Target
Line Indicates the line, in the answer, from which you want to retrieve
the value. This is a read-only setting.
Range: 1 to 255
Position In String For the “Event” and “Target” History Columns, the answer is a
string. This string is mapped into analog values (4 characters/32-bit
analog values), and the list of analog values forms the string.
Position In String indicates the position of the current analog
value in the list. This is a read-only setting.
Range: 0 to 255
Setting Description
Source Type This setting specifies which command is to be used to update the
data point value.
Allowed values:
SER
Target
Target (IRIG-B Status)
Target (Startup) & SER
IRIG-B
Extended SER
Default value: SER
SER Type There are 2 special SER points: “Restart” and “Settings Changed”.
These special points are always set to 0, but their associated time
tag is updated.
The “Custom” value lets you indicate, via the Element Name
setting, the name of a point you want to monitor in the SER
request. Their points are set to either 0 (deasserted) or 1
(asserted).
Allowed values:
Restart
Settings Changed
Basic
Default value: Basic
Element Name The name of the point to be monitored, such as “IN101”. You can
change this setting only if the SER Type setting is set to “Basic”.
When used with the “Extended SER” Source Type, this setting has
no effect.
Asserted Name For the “SER” and “Target (Startup) & SER” Source Types:
The asserted string received from the device when the point is
asserted. The default string in SEL relays is “asserted”, but aliases
are also used to change this value. You can change the setting only
if the SER Type setting is set to “Basic”.
Default value: ASSERTED
Whatever the reason, the link is reset from scratch if too many consecutive bad responses are
received, “too many” being the number of retry counts configured.
A regular scanning cycle is used on a continuous basis. There is no special initialization sequence.
Note that the link is not considered active until a valid response is received from the device.
SER Time
If SER binary input points are configured as Target (startup) and SER, the time put into the
RTDX is that provided by the relay (with the exact millisecond event time). Furthermore, if an
IRIG-B point is configured, and this point is in a failure state, the time written to the RTDX is still
the exact time, but a status of Time Invalid is set. This status is shown on the web server, as a
star after the time.
Problem Solution
The SMP Gateway isn’t This problem can be due to one of the following:
communicating with One of the reasons discussed in the Protocol Common
my device. Concepts Reference Manual.
The link to my device This problem can be due to one of the following:
keeps resetting. One of the reasons discussed in the Protocol Common
Concepts Reference Manual.
Reception timeout problem: The reception timeout configured
in the general settings is too small.
The supplied password does not match the password
configured in the device.
Event reports are This problem can be due to one of the following:
available on my device, One of the reasons discussed in the Protocol Common
but never downloaded. Concepts Reference Manual.
In the traces, the This problem can be due to one of the following:
requests are not The “Rx Silence Timeout” general setting is too small, so the
synchronized with the answer to the request is received after the next request is
responses. sent.
The timetag status of This problem can be due to one of the following:
the binary points is There is no IRIG-B binary point configured, so the IRIG-B
incorrect, even if the signal is never verified.
relay is synchronized.
The “Target (IRIG-B Status)” binary point is not configured
properly, so the IRIG-B Source status is not properly verified.