Modbus Communication Protocol
Modbus Communication Protocol
611 series
Modbus Communication Protocol Manual
Document ID: 1MRS757461
Issued: 2016-02-22
Revision: B
Product version: 2.0
The software or hardware described in this document is furnished under a license and
may be used, copied, or disclosed only in accordance with the terms of such license.
Trademarks
ABB and Relion are registered trademarks of the ABB Group. All other brand or
product names mentioned in this document may be trademarks or registered
trademarks of their respective holders.
Warranty
Please inquire about the terms of warranty from your nearest ABB representative.
http://www.abb.com/substationautomation
Disclaimer
The data, examples and diagrams in this manual are included solely for the concept or
product description and are not to be deemed as a statement of guaranteed properties.
All persons responsible for applying the equipment addressed in this manual must
satisfy themselves that each intended application is suitable and acceptable, including
that any applicable safety or other operational requirements are complied with. In
particular, any risks in applications where a system failure and/or product failure
would create a risk for harm to property or persons (including but not limited to
personal injuries or death) shall be the sole responsibility of the person or entity
applying the equipment, and those so responsible are hereby requested to ensure that
all measures are taken to exclude or mitigate such risks.
This product has been designed to be connected and communicate data and
information via a network interface which should be connected to a secure network.
It is the sole responsibility of the person or entity responsible for network
administration to ensure a secure connection to the network and to take the necessary
measures (such as, but not limited to, installation of firewalls, application of
authentication measures, encryption of data, installation of anti virus programs, etc.)
to protect the product and the network, its system and interface included, against any
kind of security breaches, unauthorized access, interference, intrusion, leakage and/or
theft of data or information. ABB is not liable for any such damages and/or losses.
This document has been carefully checked by ABB but deviations cannot be
completely ruled out. In case any errors are detected, the reader is kindly requested to
notify the manufacturer. Other than under explicit contractual commitments, in no
event shall ABB be responsible or liable for any loss or damage resulting from the use
of this manual or the application of the equipment.
Conformity
This product complies with the directive of the Council of the European Communities
on the approximation of the laws of the Member States relating to electromagnetic
compatibility (EMC Directive 2004/108/EC) and concerning electrical equipment for
use within specified voltage limits (Low-voltage directive 2006/95/EC). This
conformity is the result of tests conducted by ABB in accordance with the product
standard EN 60255-26 for the EMC directive, and with the product standards EN
60255-1 and EN 60255-27 for the low voltage directive. The product is designed in
accordance with the international standards of the IEC 60255 series.
Table of contents
Table of contents
Section 1 Introduction.......................................................................5
This manual........................................................................................ 5
Intended audience.............................................................................. 5
Product documentation.......................................................................6
Product documentation set............................................................6
Document revision history............................................................. 6
Related documentation..................................................................7
Symbols and conventions...................................................................7
Symbols.........................................................................................7
Document conventions.................................................................. 7
611 series 1
Communication Protocol Manual
Table of contents
2 611 series
Communication Protocol Manual
Table of contents
Section 5 Glossary......................................................................... 71
611 series 3
Communication Protocol Manual
4
1MRS757461 B Section 1
Introduction
Section 1 Introduction
611 series 5
Communication Protocol Manual
Section 1 1MRS757461 B
Introduction
Maintenance
Engineering
Planning &
Installation
Operation
Quick start guide purchase
Quick installation guide
Brochure
Product guide
Operation manual
Installation manual
Connection diagram
Engineering manual
Technical manual
Application manual
Communication protocol manual
IEC 61850 engineering guide
Point list manual
Cyber security deployment guideline
GUID-0777AFDA-CADF-4AA9-946E-F6A856BDF75E V1 EN
6 611 series
Communication Protocol Manual
1MRS757461 B Section 1
Introduction
1.4.1 Symbols
The tip icon indicates advice on, for example, how to design your
project or how to use a certain function.
• Abbreviations and acronyms are spelled out in the glossary. The glossary also
contains definitions of important terms.
• Push button navigation in the LHMI menu structure is presented by using the
push button icons.
To navigate between the options, use and .
• Menu paths are presented in bold.
Select Main menu/Settings.
• LHMI messages are shown in Courier font.
To save the changes in nonvolatile memory, select Yes and press .
• Parameter names are shown in italics.
The function can be enabled and disabled with the Operation setting.
• Parameter values are indicated with quotation marks.
611 series 7
Communication Protocol Manual
Section 1 1MRS757461 B
Introduction
8 611 series
Communication Protocol Manual
1MRS757461 B Section 2
Modbus overview
The Modbus serial communication and the Ethernet based Modbus TCP/IP
communication in this IED follow the specifications maintained by Modbus
Organization.
There can only be one Modbus master unit on a Modbus serial network. The Modbus
master unit communicates with one Modbus slave unit at a time. Usually the master
reads, or scans, data from the slaves cyclically. The master can also write data or give
commands to the slave units. Each slave unit has a unique unit address. Thus, the
master can identify the slave with which it communicates. The Modbus standard also
defines the possibility for Master broadcast transmissions.
Modbus serial protocol uses two link modes: Modbus RTU and Modbus ASCII. Both
modes are supported by this IED.
Modbus TCP/IP connection is established when the Modbus client opens a TCP
socket connection to the Modbus server. The socket port 502 on the TCP/IP stack is
611 series 9
Communication Protocol Manual
Section 2 1MRS757461 B
Modbus overview
reserved for Modbus. If the connection request is accepted by the server, the client can
start communicating with the server unit.
IEDs can usually accept several simultaneous Modbus TCP/IP client connections
even though the number of connections is limited. It is possible to configure the IED
to only accept socket connection requests from known client IP addresses.
The Modbus standard defines four main memory areas for mapping IED's process
data. Due to its open nature, the Modbus standard does not define exactly what type
of data should be mapped to each memory area. The Modbus mapping approach of the
IED ensures that the same process data are readable from as many Modbus memory
areas as possible. The users may then choose the memory areas that are most suitable
for their Modbus master systems.
Modbus defines addressing in two ways: PLC addressing starts from address 1 and
regular Modbus data addressing starts from 0. For example, a holding register at PLC
address 234 can be referred to either as 4X register 234 or as 40234. The regular
Modbus addressing, that is the PLC address decremented by one, is shown when
analyzing the Modbus traffic on the physical network.
Refer also to the Modbus protocol standard documentation that can be found for free at
www.modbus.org.
2.1.5 Documentation
Address information concerning Modbus bits, registers and register structures stated
in this document is similar in all 611 series IEDs. The rest of the Modbus application
data are 611 series configuration dependent. This means that the Modbus data
10 611 series
Communication Protocol Manual
1MRS757461 B Section 2
Modbus overview
outlook, that is the Modbus memory map, of REF611-FE101 differs, for example,
from the one of REF611-FE102.
611 series 11
Communication Protocol Manual
12
1MRS757461 B Section 3
Vendor-specific implementation
The word "client" refers to the protocol master. The IED is referred to
as "server" or a slave device.
The IED can communicate with several protocol clients simultaneously. Furthermore,
it is possible to configure the IED to provide different protocol data and data outlook
for different clients. A protocol server communication entity which is configured to
operate against a specific master or client is called an instance.
By default, 5 instances are always instantiated in the IED, but need to be set “On” to
be activated. Since the IED’s native IEC 61850 data model restricts client limit to five,
the IED can have only five client connections in total, regardless of the protocols to
which the clients belong. This includes the MMS clients and other communication
protocol clients.
Protocol instances are identified with numbers 1...5. There are different and unique
setting and monitoring parameters for each instance in the HMI menu. Instance
numbers can be freely used. However, it is recommended to use the instances in the
611 series 13
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
numerical order. For example, instance 1 is to be used if there is only one client
connection and instances 1 and 2 when there are two clients.
If the client is in a serial connection, the instance must be attached to the intended
serial port.
In case of a TCP client, the instance must be first attached to the physical Ethernet port.
If there are several TCP client connections, the IED must be able to distinguish
between the clients. There are two setting parameters in an instance.
• Client IP: When the client makes the TCP connection, its IP address is checked.
This instance is given to the client with this IP address. It is also possible to use
the address “0.0.0.0” if no client IP address is to be defined. In this case, the
client's IP address is ignored.
• TCP port: This parameter can be used in conjunction with the Client IP address
setting, thus allowing only a certain IP address at a specific TCP socket port
number.
In case of sequential event data transaction and a TCP client connection, it is essential
that a reconnecting client is given back the same instance to which it was attached
before disconnecting. This way, the event reading resumes from the point where the
client left off, provided that no event overflow has occurred while the client was
absent. If multiple client connections are used, the distinguishing between different
client connections must be ensured by using the Client IP and TCP port parameters.
Each protocol instance has the setting parameter Mapping selection, which defines the
protocol mappings to be used by this instance. Several protocol instances can use the
same mapping. By default, the Mapping selection parameter for all the instances is set
to use the mapping number one.
14 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
When the mapping selection is changed from the LHMI, the IED has
to be rebooted for the mapping selection to take effect.
The Modbus link mode can be either Modbus RTU or Modbus ASCII.
Modbus serial communication can run on two separate serial ports simultaneously.
The Modbus serial link characteristics can be different on the two ports. This applies
also to the Modbus RTU and ASCII link modes and the unit address.
Serial link setting parameters can be accessed with Parameter Setting tool in PCM600,
WHMI or via the LHMI path Configuration/Communication/Modbus.
Address
Each serial link can be given a separate unit address.
End delay
The end of message delay, or timeout, is used only in the Modbus RTU link mode.
According to the Modbus standard, an idle period of 3.5 characters, that is the time it
takes to transmit 3.5 characters with the used baud rate, defines the end of a Modbus
RTU frame in the RTU mode. This parameter can be given with the accuracy of one
611 series 15
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
character. The default setting is three characters but the user can increase or decrease
the value.
Start delay
The intraframe delay on serial Modbus RTU link is defined as a silent interval of 3.5
characters. The delay is essential for Modbus devices to recognize the beginning and
end of each RTU frame. If the end delay is decreased in this IED, the response
messages may be transmitted too fast according to the link standard especially true
with slower baud rates. The start delay parameter adds idle characters before the
transmission, thus increasing the silent interval between the Modbus RTU link
frames. The start delay default setting is four idle (silent) characters.
To set the timing properly, consider also how the other slave units in
a multidrop RS-485 network detect the Modbus traffic between the
master and this IED.
Port
It is possible to define which serial port is used for separate Modbus serial instances:
“COM1” or “COM2”. The serial communication instance is not active if this
parameter is set to “Not in use.”
If this protocol does not operate as expected, make sure that other
serial protocols are not using the COM port as well.
Baud rate is defined on the serial driver side and are therefore located
via the LHMI paths Configuration/Communication/COM1 and
Configuration/Communication/COM2.
16 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Modbus Serial diagnostic counters can be viewed via the LHMI path Monitoring/
Communication/Modbus/MBS0n.
The counters show complete Modbus protocol link frames and Modbus errors. The
serial communication drivers (COM1, COM2) maintain their own counters for lower
level serial communication diagnostics.
Table 2: Serial diagnostic counters
Counter Description
Status Shows the value "True" if the serial instance is in use. This indicates that the
Modbus client is connected and Modbus messages, which are addressed to
the device, are received regularly at least with a 15 second interval or faster. In
all other cases this value is "False".
Reset counters True = Reset all diagnostic counters
Received frames Total amount of received Modbus frames. For example, the Modbus frames
that are addressed to this instance.
Transmitted frames Total amount of transmitted Modbus responses.
Transmitted exc A Total amount of exception responses 1 and 2.
These exception responses usually reveal configuration errors on the Modbus
client side. Either the client uses a request function code which is not supported
or the requested Modbus point(s) does not exist.
Transmitted exc B Total amount of exception responses 3.
These exceptions usually reveal the IED application level rejections. That is,
the IED application rejects the request at this moment, under the current
circumstances. The exception can also mean that the value in the Modbus
write request is out of range.
Checksum errors Total amount of detected Modbus checksum errors.
The Modbus instance only calculates checksums of Modbus frames that
contain a proper link address. All other incoming Modbus frames are
discarded.
1. Reset the serial driver and Modbus protocol diagnostic counters to make it easier
to view the changes.
2. Check the serial driver diagnostic counters. If serial characters are not received,
check the cable (Rx line) and the link setup parameters, also on the Master
side.
3. If serial characters are received, check if whole link frames are also received. Do
this first on the driver side.
4. Go over to Modbus diagnostics and check if Modbus link frames are internally
received. Note that the serial driver detects every link frame on the line, but the
Modbus protocol in turn only reacts to link frames of Modbus type, which are
addressed to its own protocol instance.
611 series 17
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
5. Check the receive and send delay settings in the relay. If link frames are not
received properly there might be character timing problems.
6. Check for receive errors, checksum errors or several retransmissions. If these are
found, the line may be noisy.
7. If Modbus link messages are received, check that the response messages are sent
to the master.
8. Check the serial driver transmitted character counter. If it is running, then the
relay is transmitting. If the master receives nothing, then check the cable (Tx
line).
According to the Modbus standard, the character length in the Modbus RTU mode
should be 11 bits and in Modbus ASCII mode 10 bits. It is possible to freely define the
character parity: even, odd or no parity. No parity means that the bit length of the serial
character is reduced by one. Thus, the character is compensated with an additional
stop bit.
Table 3: RTU characters
Coding system 8-bit binary
Bits per 1 start bit
character 8 data bits, the least significant bit is sent first
1 bit for even/odd parity; no bit if parity is not used
1 stop bit if parity is used; 2 stop bits if parity is not used
The Modbus TCP/IP interface of the IED can be configured to accept up to five
simultaneous Modbus client connections. It is possible to grant connections only to
the predefined TCP/IP clients. The write authority of the Modbus TCP/IP client is
configurable.
Modbus TCP usually shares the Ethernet connection with the other
Ethernet based protocols of the IED. The number of Ethernet based
clients that can be simultaneously connected to the IED is restricted.
18 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Modbus TCP/IP counters can be viewed via the LHMI path Monitoring/
Communication/Modbus/MBS0n.
The counters show the complete Modbus protocol link frames and Modbus errors. The
Ethernet communication driver maintains its own counters for lower level
communication diagnostics.
Table 5: TCP/IP diagnostic counters
Counter Description
Status Shows the value "True" if the TCP/IP or serial instance is in use. This means
that a Modbus client has connected to the TCP socket and Modbus TCP
messages are received regularly at least with a 30 second interval or faster. In
all other cases this value shows "False".
Reset counters True = Reset all diagnostic counters
Received frames Total amount of received Modbus frames.
Transmitted frames Total amount of transmitted Modbus responses.
Transmitted exc A Total amount of exception responses 1 and 2. These exception responses
usually reveal configuration errors on the Modbus client’s side.
Transmitted exc B Total amount of exception responses 3. These exceptions reveal the IED
application level rejections.
The counters are reset when the client makes a TCP socket disconnection or if the TCP
socket connection keep alive times out.
Table 6: Common (instance independent) Modbus TCP/IP diagnostic counters
Counter Description
CnReject no sockets The amount of connection requests that are rejected due to unavailable TCP
sockets.
CnReject The amount of connection requests that are rejected since the client is not
unregistered registered.
611 series 19
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
20 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
The available Modbus indications in the IEDs of this product series are generally
selected from the IEC 61850 indications residing in data sets. Objects that do not
reside in any data set are updated to the Modbus database slower. This concerns, for
example, some measurand register values. Fast changes in these object values may not
be detected or propagated to the Modbus database. However, the latest value of these
objects is always found in the Modbus database.
611 series 21
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
For a list of the available data objects, see the point list manual.
The Modbus protocol standard defines one-bit digital data and 16-bit register data as
RTU application data alternatives. The protocol does not define exactly how this
protocol application data should be used by an IED application. The usage depends on
the IED implementation.
Control operations
The Modbus standard defines data types 0X for coils and 4X for holding registers to
be used for control operations. This IED supports both data types.
Control operations include automatic checking for authorization and local and remote
blockings as well as preventing simultaneous controlling by multiple clients.
22 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
• The Modbus fault record gives a summary of the captured max-min values and
protection stages starting and possibly tripping during a fault.
• The addressing of the application data in the documentation and tools follows the
so-called Modbus-PLC addressing principle, where the base address 1 is used.
The application data addressing in this IED spans between 1 and 9999.
• The Modbus memory-mapped data in the monitoring direction can additionally
be reassembled into user-definable registers or bits in a specific UDR memory
area. The data can then be scanned also from this area.
The available Modbus data in the IED can be mapped to a Modbus location. Whether
the available data is mapped or not, the data can be taken into use in the Modbus user-
definable area.
A Modbus point that has no premapping does not cause any burden on the IED until
it is taken into use. The Modbus points that are premapped are constantly cached from
the IED application by the stack, regardless of whether the data is read or not.
All data in the monitoring direction is available through the 3X and 4X memory
areas.This includes the digital indication data which is also readable in the 1X and 0X
areas.
All register structures are located in the 4X area. The address locations of register
structures are similar in all IEDs in this product series.
The Modbus data may contain empty bits or registers within the sequential data areas.
These bits and registers are intended for possible future expansion. Reading this data
does not result in any Mobdus exception response. The value in these bits or registers
is always zero.
All one-bit data in the IED is readable either from the 0X or 1X memory area. The
Modbus bit point addresses are similar regardless of the memory area. In addition, the
same one-bit data can also be read either from the 3X or the 4X area. In this case, the
bit values are packed into 16-bit 3X and 4X registers. The bit locations follow a pattern
similar to the 0X and 1X locations.
If a one-bit value is located in the 0X or 1X bit address 2893, the same bit value can
also be found in the 3X or 4X register 180 (2893 DIV 16) at bit 13 (2893 MOD 16).
611 series 23
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
This is easier to understand when the address numbers are expressed in the
hexadecimal format: 2893 = 0xB4D, where the register 180 = 0xB4 and bit 13 = 0xD.
IED controls, set points and acknowledgements are mapped to Modbus 0X data
(coils). Coils can only be operated one by one.
Some control bits are packed bits in the 4X control register structures. The 4X control
structure contains a password which has to be given before starting control operations.
MOM
MCD
LATCH
A070894 V3 EN
If the momentary value of an indication bit has changed two times or more since the
master last read it, the MCD bit is set to one. When the MCD bit has been read, it is
reset to zero. Since the indications usually are 1 (active), it is easy to detect an
indication activation by combining the MOM and MCD bits using a logical OR
operation (MOM+MCD). The momentary position bit and the MCD bit of a certain
indication point always occur as pairs in the Modbus memory map. The momentary
bit is always located on an even bit address. MCD bit on the next odd bit address.
24 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
The MCD bit states are client-dependent. The MCD bit is only reset for the specific
Modbus client that reads it. Thus, other Modbus clients may still receive value 1 from
the same MCD bit when it is read.
MOM indication changes are captured in the IED's sequential Modbus event buffer.
Additionally, the Modbus event buffer provides a time stamp and chronology of
indication changes.
Latch bit
Some of the digital MOM+MCD points also incorporate a latch bit alternative. The
latch bit hides the MOM and MCD bits and instead returns the result of combining the
two bits with a logical OR operation. The MOM+MCD bits are generally used for this.
Digital inputs related to two-bit DPC or DPS objects, for instance circuit breaker and
disconnectors, have a multiple mapping in the Modbus address space. The objects’
open and close bits are coded as MOM+MCD bit pair entities. The MCD bits reveals
if the object has changed its position several times since the Modbus master last
scanned it. In addition, the open and close bits are also coded using MOM values only,
among with a fault bit. The fault bit is set to "1" when the object is in intermediate (00)
or faulty (11) position.
Table 10: Bit treatment
Bits Treatment
Close MOM One 2 bit entity
Close MCD
Open MOM One 2 bit entity
Open MCD
:
Close MOM One 1 bit entity
Open MOM One 1 bit entity
Faulty position MOM One 1 bit entity
:
The MOM values are identical in each entity. The MCD bit is only reset if the MOM
bit in the same entity is read.
Digital input indications are mirrored on several Modbus memory areas. Indications
can be accessed in the Modbus Communication Management tool in PCM600, under
tabs: 1x – discrete inputs, 0x – read only coils, 3x – input registers and 4x – holding
registers. Digital inputs are read-only objects. Writing to the defined 0x and 4x
addresses results in an exception response.
611 series 25
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The bit address field shows the 1x and 0x Modbus memory addresses on which the
data occur as default. The Modbus register address and bit within the register are
shown under the 3x and 4x register views. The address field may also be empty,
meaning that the object is not located in the Modbus memory at all as default. In any
case the indication objects can be taken into use in the user-definable area.
Only active data objects are shown by the Modbus Communication Management tool.
This means objects that are available in functions which are at this moment activated
in the relay configuration.
Table 11: Setting columns in the Modbus CMT view
Setting column Alternatives Description
Bit address Not adjustable The 0x and 1x bit Modbus memory map
address where the object resides as default.
If the field is empty, the object is not visible in
the Modbus memory map as default. The
object can always be further mapped into the
user-definable area.
Data category None1) Point does not belong to any user-definable
data category.
1...16 Point belongs to data category number N. If
any object belonging to this category
changes its value, bit (N-1) in SSR3 gets
value 1. The SSR3 bit value is automatically
reset when master reads it.
Event enable Unchecked1) No Modbus events generated from this point.
1) Default setting
The Modbus measurands derive from the IED's internal, original IEC 61850 filtered
measurand values. Modbus register values in this IED are always in integer format.
Since the internal IEC 61850 values are often represented as decimal numbers, the
Modbus stack needs to scale these values to integer format. Thus, there always exists
a scaleFactor and an offset parameter for each Modbus register value. The user can
freely configure these parameters with Communication Management tool in
PCM600.
26 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
The range of the original IEC 61850 value can be seen in the Modbus memory map
point list.
All frequently updated data are readable from a sequential data area. Additionally,
there is a separate sequential data area for measurands and counters with a slow update
rate.
The Modbus register values can be updated in three ways. For most registers, the
update method is predefined and fixed.
1. The most common method is updating through the internal IED event change
detection. When an analog value is changed, it is detected by the IED and sent
spontaneously to, for example, the IEC 61850 clients. This same value is also
cached in the Modbus database and made visible for the Modbus clients. Most
process values related to current and voltage measurements are mapped this way.
2. Some Modbus register values are mapped from the IED objects that are not part
of the IED change detection. These values are automatically scanned in the
background by the Modbus stack. The Modbus database cache is updated with a
new value when a change is noticed. Most diagnostics and demand values are
mapped this way.
3. A few Modbus register values are available so that the Modbus stack directly
reads the momentary value of the mapped source object. These values are never
cached in the Modbus database. They are only fetched from the source object at
the time of the Modbus client reading. Most registrations are mapped this way.
The Modbus data is derived from the internal IEC 61850 data model. The data model
has a predefined choice of objects which are subject to the internal IED change
detection, that is, the default IEC 61850 dataset. Since the requirements are that all
object changes should be noticed within 1...2 ms, the number of objects in this dataset
is limited by the CPU resources.
Methods 1 and 2 can be used regardless of whether the Modbus stack is integrated on
the same hardware as the application or not. Since data is always returned from the
Modbus cache, the response time is very fast and constant.
Method 3 can only be used if the Modbus stack is integrated on the same hardware as
the application. Several of these object types may be included in a Modbus scan. Since
all these Modbus registers must be fetched separately from the IED source objects, the
assembly of the response message may take a longer time, thus prolonging the
response time.
611 series 27
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The primary values are represented internally as decimal numbers. The primary units
are [A] for current and [kV] for voltage. The internal representation of the per-unit
values is always 1.0 at nominal current or voltage. A typical range for a per-unit value
is 0.00...40.00, that is 0 to 40 times nominal. With CMT the user can select how these
values are presented in the Modbus register. It may be necessary to upscale or
downscale the primary values to fit the register's 16 bit integer value. The register's
scaleFactor and offset parameters can be used for this purpose. As a default, this IED
shows per-unit values multiplied with the scaleFactor 1000.
In most cases the measurands or counters are located in single 16 bit registers. The
measurands are either unsigned or signed two's complement values while the counters
are always unsigned values.
In some cases the measurands or counter values can be located in two consecutive
registers, thus forming a single 32 bit integer value. The 32 bit value is always coded
so that the high word part, that is, the higher 16 bits, is located first in this register
address. The low word part, that is, the lower 16 bits, is then always in the next register
address.
Register sizes and types are clearly stated in the Modbus memory map list.
After a re-scaling operation the Modbus value may exceed the limit of the Modbus
register representation. The Modbus value then saturates to the closest max or min
value of the register size in question.
28 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
The pre-defined original Modbus register does not always fit inside the whole value
range of the source value.
Example
A counter in the motor protection IED shows the running hours of the motor. The
original system counter value has a range of 0…999999 hours. For Modbus, a 16-bit
unsigned register is defined for this value. The default scale factor for this modbus
register is defined as x1.
The value range for the 16-bit register is only 0…65535. This means that when the
original counter reaches 65535 hours (about seven and half years), the Modbus value
saturates (remains locked) at 65535.
Some Modbus values may have a time structure attached to their values in the Modbus
memory map. This is often the case with demand measurement values. The time
structure shows the time when the value was last updated.
611 series 29
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
Measurand registers are mirrored on both 3x and 4x Modbus register areas. Registers
can be accessed in the Modbus Communication Management tool in PCM600, under
tabs: 3x – input registers and 4x – holding registers.
Register values are received from the IEC 61850 system level in two formats.
Measurands are usually received as floating point values and counters as integer
values. The Modbus register values are always presented as integer values. To make
the source floating point value decimals visible in the Modbus register, the received
IEC 61850 value can be multiplied with, for example, values 10, 100 or 1000. The
Modbus register rounds the integer part and truncates all decimals that are left in the
source value.
30 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Table 14: Setting columns in the Modbus Communication Management tool in PCM600
Setting column Alternatives Description
Register address Not adjustable The 3x and 4x Modbus memory
map addresses where the
register resides as default. If the
field is empty, the register is not
visible in the Modbus memory
map as default. The register can
always be further mapped into
the user-definable area.
Data category 01) Register does not belong to any
data category group.
1...16 Register belongs to data
category group number N. If any
object belonging to this group
changes its value, bit (N-1) in
SSR3 gets the value 1. The
SSR3 bit value is automatically
reset when master reads it.
Primary scale factor in use Unchecked1) In case of current and voltage
values, the value is now a PU
(Per Unit) value, where 1.0
corresponds to 1.0 × Nominal
value.
Checked In case of current and voltage
values, the value is now a
primary value, based on the
configured CT and VT ratio
values. Current is in [A] and
voltage is in [kV].
Scale Any real value Modbus value is scaled as Value
× Scale + Offset. The result is a
Offset Any real value correctly rounded integer value.
If the Modbus value exceeds the
register size limit after the
scaling, then it saturates at the
register max value.
1) Default setting
The Primary scale factor in use setting has a meaning only for values that are related
to current or voltage measurements. Usually the check box should be visible only for
these kinds of values. In case the setting occurs for another type of value, it does not
affect the source value.
The primary scale factor setting cannot be applied afterwards in the user-definable
register. The setting must be done at the source register value, and the UDR setting
Scale value format must be configured as “Regular Modbus register value”.
611 series 31
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The control objects in this IED are either single point or double point control objects.
The Modbus client should only write "1" to the pulse outputs. This write operation
activates the control operation and there is no need for the Modbus client to write "0"
to the object. However, writing "0" is not forbidden. The result is that nothing happens
to the control object.
The Modbus client can write both "1" and "0" to the persistent outputs. Therefore, the
persistent outputs have two defined levels: "0" and "1".
32 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Generally, output objects are controlled one at a time. The IED accepts only functions
05 (force single coil) and 15 (force multiple coils), when the 0X coils control structure
is used for control operation.
Only one control bit can be operated at a time when the 4X control structures are used.
Exception codes
Only a few exception code alternatives exist for the write coil and write register
requests in Modbus:
• 01 = illegal function
• 02 = illegal address
• 03 = illegal value
The exception code 03 is also returned if a command operation is rejected due to other
internal reasons. An additional internal reason code for the exception, can be found in
the SSR6 register after the command operation.
Internal control rejection reasons with coils may be, for example:
• The client has no write authority.
• The IED is in local or OFF state.
• The control operation is already reserved by another client and thus blocked.
The control outputs can be operated through the control structures in the 4X register
area. This means that the control output is also located as a bit within the value and bit
mask registers of the 4X control structure. Although usually less, there may be up to
eight control structures defined in the IED.
611 series 33
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
With the control operations the client must assemble the control structure register
values and write them into the IED.
Execute register
The control step is executed when value "1" is written into this register.
Password register 1
If a password is defined, the first two ASCII characters of the four character password
are written into this register: the first character into the higher byte and the second
character into the lower byte of the register. If no password is defined for the control
structure, this register is not checked by the IED.
For example, having 'ab' as the first two characters of the password, the correct register
value to be written by the master is derived the following way: 'ab' = 0×61 0×62 (hex)
= 01100001 01100010 (bin) = 24930 (Int16).
Password register 2
If a password is defined, the last two ASCII characters of the four character password
are written into this register: the third character into the higher byte and the fourth
character into the lower byte of the register. If no password is defined for the control
structure, this register is not checked by the IED.
For example, having 'cd' as the last two characters of the password, the correct register
value to be written by the master is derived the following way: 'cd' = 0×63 0×64 (hex)
= 01100011 01100100 (bin) = 25444 (Int16).
Value register
Set the register bit corresponding to the output to the proper write value. For pulse type
outputs the value is always "1".
Bitmask register
Set the register bit corresponding to the object to be operated to "1". All other bits must
be set to zero.
The Modbus client can also write the registers in several separate transactions or even
one by one using registers write function 06. The execute register has to be written last
and no more than 15 seconds may occur between the separate register writes. The
control structure operation will time out after 15 seconds after the last register write.
34 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Exception codes
Only a few exception code alternatives exist for control structures:
• 01 = illegal function
• 02 = illegal address
• 03 = illegal value
The exception code 03 is also returned if a command operation is rejected due to other
internal reasons. An additional internal reason code for the exception, can be found in
the SSR6 register after the command operation.
The primary internal rejection reasons for control structure write operations may be
for example:
• The Modbus control structure write has timed out (15 sec).
• The client has no write authority.
• The IED is in the local or OFF state.
• The control operation is blocked, that means already reserved, by another client.
611 series 35
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
After a positive confirmation, SSR6 state is set to ‘Ready’ when the application
control eventually is terminated. SSR6 reason code is updated with either a positive or
a negative reason code.
Enhanced security objects are in practice always Double Point objects. For example,
in the case of a control made to a motor-controlled disconnector, the control sequence
lasts 10 seconds. Master can monitor the command progress.
• By polling the SSR6 register and examine the state bits. Control can be in state 'In
progress' for 10 seconds.
• Double Point object .stSeld attribute is set to ‘1’ while the control operation is in
progress. This also lasts for 10 seconds.
• The control should result in some input data eventually changing position. This
input data could be monitored to determine that the control operation is over. This
should also take 10 seconds.
Control bits are write-only coil (0x) data. In addition, some of the control bits are
assigned in parallel to holding register (4x) control structures.
36 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
The bit address is configurable. It is also possible to completely remove a control point
from the Modbus 0x memory map by first deleting the address and then pressing
ENTER.
Modbus controls have been defined for all controllable switchgear and generic control
functions. The easiest way to prevent unwanted remote operations is to remove the
control points from the memory map. Generic control points might be in use for
internal purposes by the relay configuration. In such case effects can be harmful if the
same points are simultaneously written from the communication.
The Modbus controllable write-only coil point definitions are separated from the read-
only coil point definitions. It is possible to define a write-only object X and a read-only
object Y to the same 0x coil bit address Z. While this may be a violation of the 0x
Modbus area intention in some cases, it is safe from the relay's point of view. It means
that reading of 0x coil address Z returns the value of object Y, and writing to 0x coil
address Z activates the object X.
611 series 37
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
Physical
SPCGAPC output
Coil Write-only addr 100
100 Read-only addr 100
MVGAPC
GUID-8FE88A9A-20F7-4AE8-A2CF-CED69016B575 V1 EN
The state of the physical output is wired to an MVGAPC input. The MVGAPC “Mom-
only” signal alternative is chosen for the Modbus indication. The MVGAPC user-
definable address is configured as 100. SPCGAPC output is wired to the physical
output. The writable coil address is also adjusted to 100. Alternatively, the physical
output state (XGGIO) Modbus signal could be mapped to coil address 100. However,
this signal contains also the MCD bit, so the indication would then cover two coil
addresses, 100 and 101.
3.4.7.1 SSR1
The device health SSR1 register is located at address 40128. The bits in SSR1 are
common for all Modbus clients. The bits in SSR1 give an overview of the IED health.
38 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
If a specific bit in this register is "1", it signifies a warning or an error in the hardware
entity in question.
More specific warning and error codes can be read from elsewhere in
the Modbus memory. See the Modbus memory map for these register
locations.
3.4.7.2 SSR2
The device mode SSR2 register is located at address 40129. The bit values in SSR2 are
common for all Modbus clients. The bits give an overview of the IED's mode. For
example, bit 6 is activated if the IED's configured time synchronization source is lost.
Table 19: 16 bit SSR2 register
Bit Meaning
0 Test mode (1= Device is set into test mode)
1...2 Local/Remote states (bit 1= LSB)
00 = Remote – Modbus controls allowed
01 = Station – Modbus controls allowed
10 = Local – Modbus controls not allowed
11 = Off – Modbus controls not allowed
3...5 Active setting parameter setting group (bit 3 = LSB)
001 = Setting group 1
010 = Setting group 2
011 = Setting group 3
100 = Setting group 4
101 = Setting group 5
110 = Setting group 6
6 IED time synchronization failure (1 = Failure)
7 0 = not used
8 Last reset cause (1= Power reset)
9 Last reset cause (1= Watchdog reset)
10 Last reset cause (1= Warm reset)
11...15 0 = not used
611 series 39
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
3.4.7.3 SSR3
The data available 1 SSR3 register is located at address 40130. The bit values in the
SSR3 register are Modbus client dependent.
Bits 0 and 1 are set to "1" as long as the client in question has not read out the available
Modbus event or fault records.
Bit 4 is set to "1" if any momentary bit has been updated in the Modbus memory map.
The bit is reset when the client reads the register.
Bit 5 is set to "1" if any MCD bit has been set in the Modbus memory map. The bit is
reset when the client reads the register.
Bit 6 is set to "1" to indicate the device restart. The bit is reset when the client reads
this register.
Bit 8 is set to "1" when an event record has been loaded into registers 49252...49262.
The bit is reset when the client writes the reset code 4 to the event record selection
register 49251.
Bit 9 is set to "1" when a fault record has been loaded into registers starting from
49402. The bit is reset when the client writes the reset code 4 to the fault record
selection register 49401.
Table 20: 16 bit SSR3 register
Bit Meaning
0 Unread event records available
1 Unread fault records available
2 0 = not used
3 0 = not used
4 Any MOM bit updated
5 Any indication MCD bit set
6 Device restart bit
7 0 = not used
8 Event record ready for reading
9 Fault record ready for reading
10...15 0 = not used
3.4.7.4 SSR4
The data available in SSR4 register is located at address 40131. The bit values in SSR4
are Modbus client dependent.
Bits 0...15 in the SSR4 registers correspond to different data categories in the regular
Modbus memory map. Bit 0 corresponds to data category 1, bit 1 to data category 2
and so on.
40 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
If a bit is set to "1", some data belonging to the category in question has changed since
the client last scanned the register. The SSR4 bit or bits are cleared when the register
is read.
The data category number for each Modbus data is shown in the Modbus memory
map. The meaning of the category number is available in a separate table. If the data
have not been assigned to any category, the data category number for that data is set
to "0". The data category number is freely configurable with Communication
Management tool in PCM600. The table below is an example of how the categories
can be divided.
Table 21: 16 bit SSR4 register
Bit Meaning Data category
0 Data in category 1 changed 1 = Physical inputs
1 Data in category 2 changed 1 = Protection function start/trip
2 Data in category 3 changed 1 = LED Alarm
3 Data in category 4 changed 1 = New disturbance record available
4 Data in category 5 changed 1 = New demand values
5 Data in category 6 changed 1 = New peak demand values
6 Data in category 7 changed 0
7 Data in category 8 changed 0
8 Data in category 9 changed 0
9 Data in category 10 changed 0
10 Data in category 11 changed 0
11 Data in category 12 changed 0
12 Data in category 13 changed 0
13 Data in category 14 changed 0
14 Data in category 15 changed 0
15 Data in category 16 changed 0
3.4.7.5 SSR5
The device alive counter SSR5 register is located at address 40132. SSR5 simply
counts upwards from 0 to 65535 and then starts over. The meaning of this register is
to assure that the device is actually operating.
3.4.7.6 SSR6
The last command result SSR6 register is located at address 40133. This client
dependent SSR6 register shows the result of a specific client's last write attempt. This
is especially useful if the exception code 03 appears or if the command initiates a
secured control operation. The client will only see its own results, not the results of
other clients. A client with no write authority will receive a 0x0000 value response
when reading this register.
611 series 41
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
ClientCmdSEQNo
Counts the client's control operations from 0000...1111, that is 0...15, and then starts
over.
CmdState
01 = Command in progress
11 = Response Ready
RespType
42 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
retrofit purposes and are not needed for normal installations. Some rescaling features
are redundant at the moment.
The Modbus register areas 3X and 4X from 1 to 127 can be compiled freely by the
user. Almost any regular register data in the Modbus memory map can be made to
appear as a register copy in this UDR memory area. The regular Modbus source
register is not moved away from its original location and thus it can be read also from
the original location.
The Modbus bit address areas 0X and 1X from bit 16 to 2047 can be freely compiled
by the user. Almost any regular bit data in the Modbus memory map can be made to
appear as a bit data copy in this UDB memory area. The regular Modbus source bit
data are not moved away from their original location and thus they can be read also
from the original location.
The bit 16 is the first valid bit address in the address space because the
register and bit addresses overlap and the register addresses start from
the register location 1. The bit address 16 is the same as register 1, bit
0.
Some exceptions exist for the Modbus source data concerning the UD mapping.
• None of the system status registers or fixed register structures can appear in the
UD area.
• UD registers/bits themselves cannot act as source data for other UD data.
• Modbus source data can only be attached to one UD location.
The UD data inherits all properties from the source data. This applies to:
• The memory areas on which the source data are located
• Data pre-scaling in case of registers
It is possible to partially scan unmapped register or bit locations, also known as gaps.
No exception responses are generated. The unmapped locations always return data
value 0.
611 series 43
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
UDR values are initially copied from the source register. Thereafter the following
manipulations can be applied to the UDR value.
Multiplicative and divisor scaling are similar operations. The defined scale factor can
in both cases be a decimal value. For example, multiplicative scaling by 0.25 is the
same as divisor scaling by 4.
Ratio scaling can be used in the same manner as multiplicative or divisor scaling, but
including an offset. Additionally, it is possible to define new limit ranges for the
resulting register value. Value then saturates (stops) at the defined min. and max.
values. This may be needed for retrofit purposes, in case the relay value must emulate
exactly the same value range as the value from the replaced unit.
For multiplicative and divisor scaling, the register value always saturates at the min.
and max. values for the register type in question. The value does not roll over.
44 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
UDRScaleArg4 = Max
out
Multiplicative UDRScaleArg1 =
scaling Multiplicand Uses the argument UDRScaleArg1 (Min in)
Divisior scaling UDRScaleArg1 = Divisor Uses the argument UDRScaleArg1 (Min in)
The sourceValue is to be checked for saturation. If it is less than Min in, the UDR result
value is equal to Min out. If it is greater than Max in, the UDR result value is Max out.
Otherwise the UDR result value is calculated as
• X = (MaxOut-MinOut)/(MaxIn-MinIn)
• UDR_ResultValue = X × sourceValue + (MinOut - X × MinIn)
UDR_resultValue = sourceValue/Divisor
UDR registers are read-only registers mirrored both on input register (3x) and holding
register (4x) areas. After adding a Modbus register value into the user-definable
memory area, it is possible to leave it in exactly the same format as the source Modbus
value. Alternatively, it is possible to change the user-definable value outlook to better
suit the Modbus master.
Columns in the tool do not necessary appear in the same order as in the table.
611 series 45
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
46 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
611 series 47
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
1) Default value
Multiplicative and divisor scaling are in principle similar operations, because any real
value can be used as scaling argument. For example, divisor scaling by 4 is the same
as multiplicative scaling by 0.25.
Modbus event generation on/off is selectable for each individual momentary bit in the
Modbus memory map. It is possible to define whether events are to be generated from
the rising edge- or both edges' transitions of the momentary bit.
If the Modbus indication point is mapped to the user definable Modbus area, then the
possible events from this point come from the original Modbus point location. In case
the UDR mapped indication point has no original Modbus point location, then the
event comes from its UDR point location
Modbus events can also be generated from selected Modbus registers. This concerns
registers containing status information. In this case events would be generated each
time the register's integer value changes.
The size of the IED's internal Modbus event record buffer is 500 events. The 500 latest
events are at any time readable from the IED. When the Modbus event record buffer
becomes full, the IED overwrites the oldest event records in the buffer.
48 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
buffer the different clients are reading at the moment. Clients are identified either by
the serial port from where the requests are issued or by the client's IP address in the
TCP/IP network. Up to 25 different IP addresses, belonging to both registered and
unregistered Modbus clients, can be memorized by the IED.
The event record can have two different data object identification alternatives. The
data object can be identified by the Modbus address on which the object resides or it
can be identified by a unique id which is platform dependent.
The identification alternative is selected with the Modbus parameter Event ID.
As long as there are unread Modbus events available for the Modbus client in
question, bit 0 of Modbus SSR3 register remains "1".
Events are read in two steps. First, the client writes a selection code to the Event
selection register at location 49251. The selection code defines the type of read
operation that the client wants to perform. The selected event record is loaded by the
IED into the following 11 registers from 9252 to 9262. Second, the client reads out the
11 registers in one multiple register read operation.
611 series 49
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
Event records can be read by using two commands, function 6 for the
write operation and function 3 for the read operation, or by using
function 23 that includes write and read operations in the same
transaction.
Selection code 5: Reading the record stored in the very end of the event
list
Selection code 5 forces the event reading to the very end of the Modbus events queue.
50 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
If event records are read by using two commands, the client can re-
read the 11 event record registers as many times as it wants. As long
as no new selection write operation is performed, the contents of the
11 event record registers are not changed.
Sequence number
Every Modbus event record is given a sequence number. The sequence number runs
from 1 to 65535 and then rolls over to 1 again. The client can check that the sequence
numbers of the recorded data are sequential. During the event buffer overflow the
client can notice a jump in the sequence numbers when some event records are lost.
The gap between the new and the previous sequence number reveals exactly how
many event records have been lost.
Time stamp registers usually hold two data values in the high and low byte of the
registers. High byte value = RegisterValue DIV 256, Low byte value = RegisterValue
MOD 256. The Milliseconds register is an exception as it contains the milliseconds
0...999 coded as such.
Event type
This register contains information to interpret the event data correctly.
Table 27: Information contained by the 16 bit register
Bit Meaning Values
15 Event time 0 = Local time 1 = UTC time
stamp
format
14 Time stamp 0 = Internal application 1 = Modbus stack
source
13 Clock not 0 = Synchronized 1 = Time not synchronized
synchronize
d
12 Clock failure 0 = Clock OK 1 = Clock failure
11 Reserved 0
10 Reserved 0
Table continues on next page
611 series 51
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The time stamp format can be selected with a Modbus parameter via the LHMI,
WHMI or the Parameter Setting tool.
The time stamp can be generated by the IED application (accurate time) or by
Modbus. If generated by Modbus, the change values are detected by the Modbus
background scan task. Since there is a latency time between the value change and the
time when Modbus detects the change, the time stamp is not accurate in this case.
The quality information bit is set in the IED's real-time clock if the IED has not been
synchronized.
The quality information bit is set in the IED's real-time clock if the clock has a severe
failure. Do not rely on this time stamp.
The coding alternatives of the data object ID registers 1 and 2 are the Modbus address
or UID. The coding alternatives cannot occur simultaneously in the IED but are
selected and configured at the system setup phase. The default setting is "Modbus
address".
The UID code is 32 bits wide and occupies both registers 9259 and 9260. The word
order is high/low. The UID code refers to the functional design of the IED platform in
which the object resides. Shortly, it means that the UID code is equal in all the
platform IEDs in which the same functional design and the same Modbus object is
used.
52 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Coding of the event data value is one bit, two bits or 32 bits. The coding depends on
the IEC 61850 common data class which is the origin of the Modbus data in question.
Table 28: Modbus event value alternatives
Object derived from Meaning One Bit Data Two Bit Data 32 bit Data
IEC 61850 Class Value Value Value
SPS Single Point Status X
SPC Single Point Status of a controllable X
object
DPS Dual Point Status X
DPC Dual Point Status of a controllable X
object
ACT Trip status X
ACD Start/Pick-up status X
INS/INC Integer status X
611 series 53
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The original SEC cnt attribute is actually defined as a 32 bit counter. The Modbus
event shows the least significant 16 bits of that counter, that is 0...65535.
If the Modbus client requests multiple event records, the returned records should also
be read out by the client. One record consists of 11 registers, two records of 22
registers and so on. The read length must thus be adjusted depending on the number
of records requested.
Reading out more event records than are available in the internal event
buffer
The requested amount of event records is always returned for reading. For example,
if 10 event records are requested, but the IED only contains five event records, the last
valid event record is repeated (duplicated) in the last five event records returned. The
54 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
easiest way to detect the duplication is to check the sequence number of the event
records. The sequence numbers remain similar to the duplicated event records.
611 series 55
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The size of the IED's internal Modbus fault record buffer is 100 records. The 100 latest
fault records are at any time readable from the IED. The Modbus fault record is
Modbus dependent and the data organization and buffer size differ from the IED's
initial system level registrations. When the Modbus fault record buffer becomes full,
the IED overwrites the oldest records in the buffer.
The IED's fault record structure starts from the location 49401 and consists of a fixed
header part and an application data part. The application data part is always IED type
specific. The whole fault record including the IED-specific application data part is
found in the Modbus memory map section.
56 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
As long as there are unread fault records available for the Modbus client in question,
bit 1 of the Modbus SSR3 register remains "1".
The fault record reading is done in two steps. First, the client writes a selection code
to the Fault record selection register at the location 49401. The selection code defines
the type of read operation that the client wants to do. The selected fault record is loaded
by the IED into the following N registers (49402-NNNN). Second, the client reads out
these registers in one multiple register read operation.
The fault records can be read by using two commands, the function 6
for the write operation and the function 3 for the read operation, or by
using the function 23 that includes write and read operations in the
same transaction.
If the fault records are read by using two commands, the positive
confirmation to the write select operation tells the client that a fault
record has been loaded for reading. Another way to detect the positive
confirmation is by monitoring the state of SSR3 bit 9.
611 series 57
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
contain the value 0. The Modbus protocol will give an exception response if the client
tries to read out too few registers from the fault record structure.
Selection code 5: Reading the record stored in the very end of the fault
record list
Selection code 5 forces the fault records reading to the very end of the Modbus fault
records queue.
If the fault records are read by using two commands, the client can re-
read the given fault record registers as many times as it wants. As long
as no new selection write operation is performed, the contents of the
fault record registers are not changed.
58 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
Sequence number
Every fault record is given a sequence number. The sequence number runs from 1 to
65535 and then rolls over to one again. The client can check that the sequence numbers
of the recorded data are sequential. During the fault record buffer overflow the client
can notice a jump in the sequence numbers when some fault records are lost. The gap
between the new and the previous sequence number reveals exactly how many records
have been lost.
Time quality
Table 36: Information contained by the 16 bit (bits 15..0) register
Bit Meaning Values
15 Event time stamp format 0 = Local time 1 = UTC time
14 Time stamp source 0 = Internal 1 = Modbus stack
application
13 Clock not synchronized 0 = Synchronized 1 = Time not
synchronized
12 Clock failure 0 = Clock OK 1 = Clock failure
11...0 Reserved 0
The time stamp format can be selected with a Modbus parameter via the LHMI or the
parameter setting tool.
The time stamp can be generated by the IED application, that is accurate time, or by
Modbus. If generated by Modbus, the change values are detected by the Modbus
background scan task. Since there is a latency time between the value change and the
time when Modbus detects the change, in this case the time stamp is not accurate.
611 series 59
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The quality information bit is set in the IED's real-time clock if the IED has not been
synchronized.
The quality information bit is set in the IED's real-time clock if the clock has a severe
failure. Do not rely on this time stamp.
Two identical time structures are available in the Modbus memory map: the IED's
local time at location 49201...49208 and the internal UTC time at the location
49211...49218.
Time synchronization can be given either to the local time structure or to the UTC time
structure.
60 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
The Modbus time synchronization can be done in several ways. Over the serial
interface, the host's synchronization write can be given with the Modbus broadcast
address "0". Thus, all IEDs in the same serial network can be synchronized at the same
time.
There is an internal timeout for the clock setting. The time synchronization reservation
is released if the clock is not set within two minutes. The client can abort the time
synchronization at any time by writing "0" into the register 49201 (49211). In that case
the real-time clock is not set at all.
Other Modbus clients can read the currently running real-time clock even if the time
writing is reserved by another client.
611 series 61
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The Modbus device information is based on the internal IEC 61850 device
information model of the IED. All internal descriptions are coded as ASCII strings.
The Modbus device information ASCII string includes the information from the IED.
• IED model (max. 12 characters)
• IED type (max. 6 characters)
• IED serial number (max. 12 characters)
• IED location information (max. 34 characters)
• CPU card SW and HW revision numbers
• HMI card SW and HW revision numbers
• Slot 0 (X130) card SW and HW revision numbers
• Slot 1 (X120) card SW and HW revision numbers
• Slot 2 (X110) card SW and HW revision numbers
• Slot 3 (X100) card SW and HW revision numbers
• Slot 4 (X000) card SW and HW revision numbers
The IED does not need to contain cards in all slots nor does a specific
card need to include a CPU. The SW revision information is simply
omitted from the information string.
Syntax
C(model;type;serialNo;location;swRev;hwRev)H(swRev;hwRe
v)0(swRev;hwRev)1(swRev;hwRev)2(swRev;hwRev)3(swRev;hwR
ev)4(swRev;HwRev)
62 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
• Parenthesis and semicolon ASCII characters are used as delimiters inside the
string.
• Section C(...) contains IED information and CPU version information.
• Section H(...) contains version information of the LHMI card.
• Sections 0(... ) to 4(...) contain version information of the additional HW
cards (slots 0...4).
• If an additional card does not include any version information, it is signaled with
a ”-” (minus) character in the swRev field. If both swRev and hwRev are
signalled with ”-” signs, the card in question does not exist in the IED.
The data within the C section is restricted to certain maximum lengths. For example,
the user-definable IED location is here restricted to a maximum of 34 characters. If the
IED location information on system level contains more characters, only the 34 first
characters are displayed.
611 series 63
Communication Protocol Manual
Section 3 1MRS757461 B
Vendor-specific implementation
The general-purpose objects can be connected to any internal object in the IED
configuration application using the Application Configuration or Signal Matrix tool.
This gives additional opportunities for the protocols.
Example 1
Due to security reasons, protocols do not contain mappings for the direct control of
physical outputs. This way, the client cannot accidentally write a change to a physical
output.
Example 2
The legacy protocol default mappings are a selection of the most important signals
produced by the IEC 61850-based IED applications. The manufacturer’s selection of
important signals may not always serve every customer.
Example 3
The basic IEC 61850 application model of the IED produces a great amount of
information. In some cases, this is more than what is feasible to transport through a
legacy protocol. Via the PCM600/Communication Management tools, unnecessary
data objects can be excluded from the legacy protocol.
64 611 series
Communication Protocol Manual
1MRS757461 B Section 3
Vendor-specific implementation
However, in some cases a better solution is to OR together several internal signals into
one general signal. This OR output can be connected to a general-purpose input and
accessed by the legacy protocol as regular protocol application data.
3.5 Troubleshooting
611 series 65
Communication Protocol Manual
66
1MRS757461 B Section 4
Modbus parameters and diagnostics
The Modbus parameters can be accessed with PCM600 or via the LHMI path
Configuration/Communication/Modbus/MBS0n.
Some parameters are not visible in the “Basic” setting visibility mode.
To view all parameters use “Advanced” setting visibility mode in
Parameter Setting tool in PCM600 and LHMI.
Port 1) 1=COM 1 3=Ethernet - TCP Port selection for this protocol instance.
2=COM 2 1 Select between serial and Ethernet based
3=Ethernet - TCP 1 communication.
Mapping selection 1...2 1 1 Chooses which mapping scheme will be
used for this protocol instance.
Address 1...254 1 1 Unit address
Link mode 1=RTU 1=RTU Selects between ASCII and RTU mode.
2=ASCII For TCP, this should always be RTU.
TCP port 1...65535 1 502 Defines the listening port for the Modbus
TCP server. Default = 502.
Parity 0=none 2=even Parity for the serial connection.
1=odd
2=even
Start delay 0...20 1 4 Start delay in character times for serial
connection
End delay 0...20 1 4 End delay in character times for serial
connections
CRC order 0=Hi-Lo 0=Hi-Lo Selects between normal or swapped byte
1=Lo-Hi order for checksum for serial connection.
Default: Hi-Lo.
Client IP 0.0.0.0 Sets the IP address of the client. If set to
zero, connection from any client is
accepted.
Write authority 0=Read only 2=Full access Selects the control authority scheme
1=Disable 0x write
2=Full access
Time format 0=UTC 1=Local Selects between UTC and local time for
1=Local events and timestamps.
Table continues on next page
611 series 67
Communication Protocol Manual
Section 4 1MRS757461 B
Modbus parameters and diagnostics
The Modbus serial monitored data can be accessed with the Parameter Setting tool in
PCM600 or via the LHMI path Monitoring/Communication/Modbus/MBS0n.
The Modbus Ethernet monitored data can be accessed with the Parameter Setting tool
in PCM600 or via the LHMI path Monitoring/Communication/Modbus/MBS0n.
Table 43: Modbus TCP/IP
Parameter Values (range) Description
Status True, False Status of communication
Reset counters True, False True = Reset all diagnostic counters
Received frames 0...2147483648 Received Modbus frames
Table continues on next page
68 611 series
Communication Protocol Manual
1MRS757461 B Section 4
Modbus parameters and diagnostics
611 series 69
Communication Protocol Manual
70
1MRS757461 B Section 5
Glossary
Section 5 Glossary
611 series 71
Communication Protocol Manual
Section 5 1MRS757461 B
Glossary
72 611 series
Communication Protocol Manual
73
Contact us
www.abb.com/mediumvoltage
www.abb.com/substationautomation