0% found this document useful (0 votes)
29 views

ABB Standard Ten Byte Master Protocol

Uploaded by

Kamale Kasa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

ABB Standard Ten Byte Master Protocol

Uploaded by

Kamale Kasa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Reference Manual

MN912074EN, version 9

ABB Standard Ten


Byte Master Protocol
Documentation for part number P-SMPR-0901
For use with SMP Gateway software version 7.0 or later.
All brand and product names appearing in this document are the trademark or registered trademark
of their respective holders.

© 2016 Eaton – All rights reserved.


The information in this document is subject to change without notice.

Eaton’s Energy Automation Solutions


1990 5th Street
Suite 220
Levis, Quebec
Canada G6W 5M6
Phone: +1.418.830.5800
Fax: +1.514.227.5256
Email: [email protected]
Web: http://www.cooperpower.com

Technical Support: [email protected]

MN912074EN, version 9
EAS-SA QF-MKT-02 Rev.02

Contents
1 Introduction 1
1.1 Getting Assistance .................................................................................................1

2 Features 3
2.1 Communications ....................................................................................................3
2.2 Supported Requests ...............................................................................................3
2.2.1 Device Data Retrieval .............................................................................4
2.2.2 Device Control ........................................................................................4

3 Configuration Settings 7
3.1 General Settings ....................................................................................................7
3.2 Analog Input Settings ............................................................................................8
3.3 Binary Input Settings .............................................................................................9
3.4 Binary Output Settings ........................................................................................ 10
3.5 Scanning Sequence Settings ................................................................................ 11

4 Implementation Details 13
4.1 Startup Sequence ................................................................................................. 13
4.2 Scan Cycle ........................................................................................................... 13

5 Troubleshooting 15

ABB Standard Ten Byte Master Protocol Reference Manual ●i


EAS-SA QF-MKT-02 Rev.02

Tables
Table 2-1 Communications Features ............................................................................................ 3
Table 2-2 Supported Requests ...................................................................................................... 4
Table 2-3 Control Request Processing .......................................................................................... 5
Table 3-1 General Settings ............................................................................................................ 8
Table 3-2 Analog Input Settings ................................................................................................... 9
Table 3-3 Binary Input Settings .................................................................................................. 10
Table 3-4 Binary Output Settings ............................................................................................... 11
Table 3-5 Scanning Sequence Settings ....................................................................................... 12
Table 5-1 Troubleshooting .......................................................................................................... 15

ABB Standard Ten Byte Master Protocol Reference Manual ● iii


EAS-SA QF-MKT-02 Rev.02

1 Introduction

This manual provides the information required to install and set up an ABB Standard Ten Byte
master protocol component in an SMP Gateway.
This protocol component is used to retrieve data from a DPU2000R device or any other device
compatible with the ABB Standard Ten Byte protocol definition. It can also be used to control
such a device.
The reader must be familiar with the SMP Gateway environment, master protocol concepts and
the ABB Standard Ten Byte protocol specification before proceeding with this document. This
information can be acquired by reading the following documents:
 DPU2000/1500R/2000R DNP 3.0 Automation Technical Guide, TG 7.11.1.7-50, Version 1.1,
Asea Brown Boveri Incorporated, 2001.
 Protocol Common Concepts Reference Manual, MN912003EN, Eaton.
 SMP Gateway User Manual, MN912001EN, Eaton.

1.1 Getting Assistance


If you have any question regarding the performance, application or testing of any component of
this SMP product, do not hesitate to contact us. Our staff will be pleased to assist you.
Technical Support
Eaton’s Energy Automation Solutions

Email: [email protected]
Phone: +1.763.595.7775
Toll Free: +1.800.815.2258

Business hours are from 8 a.m. and 5 p.m. CST, Monday to Friday.

ABB Standard Ten Byte Master Protocol Reference Manual ●1


EAS-SA QF-MKT-02 Rev.02

2 Features

This chapter enumerates the features provided by the ABB Standard Ten Byte master protocol
component.

2.1 Communications
The following communications features are available when interconnecting devices to the
SMP Gateway:

Feature Comment
Serial Port This protocol component supports RS-232, RS-422 and RS-485 interfaces at
bit rates up to 115200 bps.

Serial Multidrop Multiple instances of this protocol component can share a single serial port as
long as different addresses are used to identify the devices and if the serial
hardware supports such a feature.

Passthrough This protocol component allows transparent connections. Note that it is


Connections necessary to suspend link activity while the passthrough connection is in
effect.

TCP/IP The ABB Standard Ten Byte protocol component supports TCP/IP
communications.

TCP/IP Multidrop Multiple instances of the ABB Standard Ten Byte protocol component can
share a single TCP/IP port, as long as different addresses are used to identify
the devices and as long as the devices support such a feature.

Table 2-1 Communications Features

2.2 Supported Requests


The following table illustrates which requests are currently supported by the master protocol
component:

Request Description
3.0.5 Reset Alarms/Target LEDs

3.1.1 Transmit Register Based Data Set (block 0 to 6)

ABB Standard Ten Byte Master Protocol Reference Manual ●3


Request Description
3.9.0 Trip Command

3.9.1 Close Command

3.9.2 Energize Output Contact Command

3.9.3 Set/Reset Output Contact Command

3.9.4 Close Command (Independent of Reclose)

3.9.5 Force Physical Input

3.9.6 Force Logical Input

3.9.7 Force Physical Output Contact Command

Table 2-2 Supported Requests

2.2.1 Device Data Retrieval


The “3.1.1” request is used to retrieve data from the device registers. The data obtained is then
transformed to standard analog or binary input data types, as specified by the configuration
settings (see chapter 3 for further details on configuration), published into the system and finally
made available to slave components.
All data is time stamped by the system upon reception of transitions unless it is specified by the
configuration settings to use the time stamp provided by the device. Note that for a DPU2000R
device, only “RMS Peak Demand Current/Real and Reactive Power Values and Time Stamps”
(3.1.1 block 3) and “RMS Minimum Demand Current/Real and Reactive Power Values and Time
Stamps” (3.1.1 block 4) can be time stamped by the device.

2.2.2 Device Control


Binary outputs may be configured to allow device control. The “3.0.5” request and the “3.9.N”
family of requests are used to send control requests to devices. The following table describes how
system control requests are processed by the master protocol component:

System Binary Output Processing


request Type
Open Trip A 3.9.0 control request is sent to the device.
(Trip)

Close The request is refused by the protocol component.

Set/Reset A 3.9.3 “reset” control request is sent to the device.

Force Physical Output A 3.9.7 “force reset” control request is sent to the device.

Reset Alarms / Target A 3.0.5 control request is sent to the device.


LEDs

Energize Output The request is refused by the protocol component.


Contact

4● ABB Standard Ten Byte Master Protocol Reference Manual


EAS-SA QF-MKT-02 Rev.02

System Binary Output Processing


request Type
Close (Independent of The request is refused by the protocol component.
Reclose)

Force Physical Input A 3.9.5 “force reset” control request is sent to the device.

Force Logical Input A 3.9.6 “force reset” control request is sent to the device.

Close Trip The request is refused by the protocol component.

Close A 3.9.1 control request is sent to the device.

Set/Reset A 3.9.3 “set” control request is sent to the device.

Force Physical Output A 3.9.7 “force set” control request is sent to the device.

Reset Alarms / Target A 3.0.5 control request is sent to the device.


LEDs

Energize Output A 3.9.2 control request is sent to the device.


Contact

Close (Independent of A 3.9.4 control request is sent to the device.


Reclose)

Force Physical Input A 3.9.5 “force set” control request is sent to the device.

Force Logical Input A 3.9.6 “force set” control request is sent to the device.

Table 2-3 Control Request Processing

Device control requests are password protected. The appropriate password must be specified in the
configuration settings.

ABB Standard Ten Byte Master Protocol Reference Manual ●5


EAS-SA QF-MKT-02 Rev.02

3 Configuration Settings

This chapter enumerates the configuration settings that one must specify for each ABB Standard
Ten Byte master protocol component instance. The SMP Config software is generally used to
define these settings.
A SMP Config template is available in the “Device Templates” directory of the SMP Config
software, which contains all the required settings of a DPU2000R device. Its use is strongly
recommended if you’re planning to use this master protocol component to communicate with a
DPU2000R device.
Note: Only the settings specific to the ABB Standard Ten Byte protocol are described here. The
settings common to all master protocol components are described in the Protocol Common
Concepts Reference Manual.

3.1 General Settings


Each instance of a master protocol component contains general settings, which set the general
behaviour of the component. The following table shows the general settings that are specific to the
ABB Standard Ten Byte master protocol.

Setting Description
Device Address The address of the device with which the protocol component communicates.
This address must be unique for each instance that uses the same multi-drop
link.
Range: 0 to 4,095
Default value: 1

Control Password The password used to send control requests to the device.
Range: 4 characters (A-Z, 0-9, space)
Default value: <blank>

Scan Interval The minimum delay between two complete scan cycles. Note that this delay
may be much longer when multiple instances of the protocol component share a
single communications link (multi-drop). A value of 0 means that there is no
delay between scan cycles.
Range: 0 to 30,000 milliseconds
Default value: 1,000 milliseconds

ABB Standard Ten Byte Master Protocol Reference Manual ●7


Setting Description
Rx Timeout Timer Time to wait for the remote device response before attempting retries. This
timer is started after the last data reception from the remote device.
Setting a short reception timeout may cause the link to operate erratically
(timeout declared even though the response is still coming). Setting a long
reception timeout may cause inefficiencies, with a considerable amount of
bandwidth wasted when communications errors occur.
Range: 100 to 30,000 milliseconds
Default value: 1000 milliseconds

Rx Retry Count The number of consecutive times that 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.
Note that this setting is not used for control requests (they are sent only once).
Range: 0 to 100
Default value: 2

Table 3-1 General Settings

3.2 Analog Input Settings


Each instance of the master protocol component may contain several analog input points. Analog
input settings tell the component how to process data retrieved from the device. The following
table shows the analog input settings that are specific to the ABB Standard Ten Byte master
protocol.

Setting Description
Block The block name of the 3.1.1 request used to retrieve analog data.
Allowed values: System Status and Configuration
RMS Load Current
RMS Demand Current
RMS Peak Demand Current
RMS Minimum Demand Current
Counters
Physical and Logical I/O
Default value: System Status and Configuration

8● ABB Standard Ten Byte Master Protocol Reference Manual


EAS-SA QF-MKT-02 Rev.02

Setting Description
Data Format The format of the analog data:
 0: RAW unsigned integer
 1: RAW signed integer
The ABB Standard Ten Byte protocol documentation uses “Data Size” to
represent both the data format and size:
 Unsigned Byte =>Unsigned 8-bit integer
 Signed Byte => Signed 8-bit integer
 Unsigned Short => Unsigned 16-bit integer
 Signed Short => Signed 16-bit integer
 Unsigned Word => Unsigned 16-bit integer
 Signed Word => Signed 16-bit integer
 Unsigned Long => Unsigned 32-bit integer
 Signed Long => Signed 32-bit integer
Allowed values: Unsigned Integer
Signed Integer
Default value: Unsigned Integer

Data Size The number of bits in the analog data, starting at the block offset. See the Data
Format setting description.
Allowed values: 8
16
32
Default value: 32

Block Offset The offset in the specified block, where the analog data is to be extracted.
Range: 0 to N
(where N is different for each block type,
but cannot be greater than 386)
Default value: 0

Time Type The type of timestamp provided by the device, if any. A 5-byte time type will
timestamp the configured analog input with the 5 bytes following it (year,
month, day, hours and minutes), if these bytes contain a valid time. This can be
useful for “RMS Peak Demand Current/Real and Reactive Power Values and
Time Stamps” and “RMS Minimum Demand Current/Real and Reactive Power
Values and Time Stamps” requests (see the Block setting description above).
Range: None
5 Bytes
Default value: None

Table 3-2 Analog Input Settings

3.3 Binary Input Settings


Each instance of the master protocol component may contain several binary input points. Binary
input settings tell the component how to process data retrieved from the device. The following
table shows the binary input settings that are specific to the ABB Standard Ten Byte master
protocol.

ABB Standard Ten Byte Master Protocol Reference Manual ●9


Setting Description
Block The block name of the 3.1.1 request used to retrieve binary data.
Allowed values: System Status and Configuration
RMS Load Current
RMS Demand Current
RMS Peak Demand Current
RMS Minimum Demand Current
Counters
Physical and Logical I/O
Default value: System Status and Configuration

Data Size The number of bits in the binary data, starting at the block offset.
Allowed values: 8
16
32
Default value: 16

Block Offset The offset in the specified block, where the binary data is to be extracted.
Range: 0 to N
(where N is different for each block type, but
cannot be greater than 386)
Default value: 0

Bit Offset The bit position of the binary input, at the specified block offset.
Range: 0 to 32
(cannot be greater than the value of the
Data Size setting)
Default value: 0

Table 3-3 Binary Input Settings

3.4 Binary Output Settings


Each instance of the master protocol component may contain several binary output points. Binary
output settings tell the component how to control the device. The following table shows the binary
output settings that are specific to the ABB Standard Ten Byte master protocol.

Setting Description
Control Type The type of request sent to the device to control the binary output point.
Allowed values: Trip
Close
Set Reset Output Contacts
Force Physical Output Contacts
Reset Alarms/Target Leds
Energize Output Contact
Close (Independent of Reclose)
Force Physical Input
Force Logical Input
Default value: Set Reset Output Contacts

10 ● ABB Standard Ten Byte Master Protocol Reference Manual


EAS-SA QF-MKT-02 Rev.02

Setting Description
Output Byte The byte position of the binary output for the specified control type.
Range: 1 to 8 for Set Reset Output Contacts
1 to 2 for Energize Output Contact
(1 = low byte)
1 to 2 for Force Physical Input
(1 = low byte)
1 to 4 for Force Logical Input
(1 = least significant low byte)
0 for other control types
Default value: 1

Bit Offset The bit position of the binary output, in the specified output byte.
Range: 0 to 7 for Set Reset Output Contacts,
Force Physical Output Contact,
Energize Output Contact,
Force Physical Input and
Force Logical Input
0 for other control types
Default value: 0

Trip/Close Pair Indicates the index of the trip/close pair, if supported. Used to combine a Trip
point with a Close or Close (Independent of Reclose) point to allow open/close
operations on either of the two points. An open operation on either point will be
sent to the Trip point of the pair and a close operation will be sent to the Close
or Close (Independent of Reclose) point of the pair.
Note: Only two complementary points can use the same Open/Close pair
number.
Range: 0 Not assigned
1 to 65,535 Pair number
Default value: 0

Table 3-4 Binary Output Settings

3.5 Scanning Sequence Settings


Each instance of this master protocol component contains several scanning sequence settings,
which set the sequence of “read” requests (3.1.1) sent periodically to the device in order to retrieve
data. The following table shows all the scanning sequence settings.

Setting Description
Index The index of the request, in the scanning sequence. This setting must be unique
and sequential.
Range: 0 to 255
Default value: (none)

ABB Standard Ten Byte Master Protocol Reference Manual ● 11


Setting Description
Request Type Type of request to insert in the scanning sequence.
Allowed values: System Status and Configuration
RMS Load Current
RMS Demand Current
RMS Peak Demand Current
RMS Minimum Demand Current
Read Counters
Read Physical and Logical I/O
Default value: Read System Status and Configuration

Frequency Scanning frequency of the specified request. 0 specifies that the request is to be
sent only once. 1 specifies that the request is to be sent with every scan cycle. N
specifies that the request is to be sent once every N scan cycles.
Range: 0 to 1,000
Default value: 1

Offset Number First byte offset to include in the request.


Range: 0 to 255
Default value: 0

Byte Quantity Number of bytes to retrieve.


Range: 1 to 132
Default value: 1

Table 3-5 Scanning Sequence Settings

12 ● ABB Standard Ten Byte Master Protocol Reference Manual


EAS-SA QF-MKT-02 Rev.02

4 Implementation Details

4.1 Startup Sequence


The protocol component goes through the following steps on startup:
 Parses the configuration file.
 Initializes the various logs, traces and statistics.
 Creates all I/O points and marks them as invalid (communications failure).
 Initializes the communications link.
 Starts the scan cycle.

4.2 Scan Cycle


The protocol component manages the device polling cycle according to the following principles:
 The protocol is half duplex.
 The device should never send data without having first received a request for data.
 There will always be a response to each request.

The ABB Standard Ten Byte response processing rules are:


 A response is valid only if it arrives within the configured time limit.
 A response is valid only if it begins with a “start of transmission” flag.
 A response is valid only if it has the correct checksum.
 The overall response format must be coherent and as expected.
 The response must match the request.
 The same request is re-issued if the reception status is not correct, up to the number of retry
counts configured.
Whatever the reason, the link is reset from scratch if too many consecutive bad receptions are
received, too many being the number of retry counts configured.

Link initialization occurs under the following circumstances:


 The SMP Gateway is being restarted.
 The communications link is being reset due to too many consecutive errors of any type.

ABB Standard Ten Byte Master Protocol Reference Manual ● 13


Once the link has been initialized, and as long as it remains active, a regular scanning cycle is used
on a continuous basis. Note that the link is not considered active until a valid response is received
from the device.

The regular scanning cycle is as follows:


 If the last sent request failed and must be retried, send it again.
 If there’s a request configured with a zero frequency that hasn’t been sent yet, send it.
 If there are other requests to be sent in this cycle, send them.
 If there are no more requests to send, wait for the configured “scan interval” before starting a
new cycle.
The scanning cycle may be interrupted anytime if there are any output control requests.
If the normal scanning cycle is abandoned to cause a link reset, all I/O points are tagged as being
defective due to communications failure. Analog and binary input points become valid again on an
individual basis only when valid I/O data is received from the device. Binary output points
become valid again as soon as the link is considered active.

14 ● ABB Standard Ten Byte Master Protocol Reference Manual


EAS-SA QF-MKT-02 Rev.02

5 Troubleshooting

The following table enumerates solutions to common problems experienced with the ABB
Standard Ten Byte master protocol component:

Problem Solution
The SMP Gateway doesn’t This problem can be due to one of the following:
communicate with my
 One of the reasons discussed in the Protocol Common Concepts Reference
device.
Manual.
 No request in the scan cycle: At least one request must be configured in
your scanning sequence settings.
 Device addressing problem: The device address configured in the general
settings does not match the one configured in the device.

The link to my device keeps This problem can be due to one of the following:
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.
 Out of range byte quantity requested: The sum of the offset number and
byte quantity settings of a configured request must not exceed the maximum
byte quantity supported by the device for that request. If it does exceed that
limit, the device will always send a NACK reply, which will cause the link
to reset. As an example, some devices may support 3.1.1 Block #5 requests
of up to 34 bytes of data, whereas others can’t support more than 26 byte
requests.

Table 5-1 Troubleshooting

ABB Standard Ten Byte Master Protocol Reference Manual • 15

You might also like