0% found this document useful (0 votes)
142 views12 pages

P211 Modbus

1. The document describes the MODBUS protocol as implemented in the MiCOM P211 relay, including frame formats, supported functions, and database organization. 2. Key MODBUS functions supported are reading holding and input registers (functions 3 and 4) and writing single coils (function 6). 3. The MiCOM P211 relay address is between 1 and 64, and it validates received frames through a CRC check before processing requests.

Uploaded by

AONLA
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)
142 views12 pages

P211 Modbus

1. The document describes the MODBUS protocol as implemented in the MiCOM P211 relay, including frame formats, supported functions, and database organization. 2. Key MODBUS functions supported are reading holding and input registers (functions 3 and 4) and writing single coils (function 6). 3. The MiCOM P211 relay address is between 1 and 64, and it validates received frames through a CRC check before processing requests.

Uploaded by

AONLA
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/ 12

MODBUS PROTOCOL 576.006.43.

011
2002 Page 1 / 12
Version C
12 October 2002

MiCOM P211B and C ALSTOM confidential


information – Must not be
disclosed, copied or used
without prior written
consent

Title Sign Surname Data

Author Grzegorz ZAJĄC 2002-06-12

MV Marketing Jacek SIKORSKI 2002-06-12


Manager
MVBU site Director Krzysztof SKARBEK 2002-06-12
MODBUS PROTOCOL 576.006.43.011
Page 2 / 12
Version C
08 October 2002

SUMMARY

1. MODBUS - PRINCIPLES AND APPLICATION .....................................................................................................3


1.1. STRUCTURE OF THE MODBUS CHARACTERS ..............................................................................................................3
1.1.1. Line protocol ...................................................................................................................................................3
1.1.2. Serial transmission mode.................................................................................................................................3
1.1.3. Synchronization of exchanged messages.........................................................................................................3
1.1.4. Error checking method ....................................................................................................................................3
1.2. MODBUS PROTOCOL APPLIED TO THE MICOM P211 RANGE .....................................................................3
1.2.1. Slave number of the MICOM P211 relay ........................................................................................................3
1.2.2. MODBUS functions used by the MICOM P211 relay .....................................................................................4
1.2.3. Presentation of the MODBUS protocol...........................................................................................................4
1.2.4. Format of frames received by the MICOM P211 ............................................................................................4
1.2.5. Format of frames sent by the MICOM P211 ...................................................................................................5
1.2.6. Message validity check ....................................................................................................................................5
1.2.7. MICOM P211 database organization .............................................................................................................6
2. USING MODBUS FOR ACCESSING THE MICOM P211 DATA - EXAMPLES................................................6
2.1. MICOM P211 RELAY DATA STRUCTURE .................................................................................................................6
2.2. WRITING OF 1 WORD (FUNCTION 6) .......................................................................................................................7
2.3. READING OF N WORDS (FUNCTION 3 OR 4)................................................................................................................8
3. RITX-210C DATABASE ORGANISATION .............................................................................................................9
3.1. PAGE 0H ...................................................................................................................................................................9
3.2. PAGE 1H : ...............................................................................................................................................................11
3.3. PAGE 4H : ...............................................................................................................................................................11
3.4. DESCRIPTION OF THE MAPPING FORMAT RITX-210C..............................................................................................11
4. VERSION ....................................................................................................................................................................12
MODBUS PROTOCOL 576.006.43.011
Page 3 / 12
Version C
08 October 2002

1. MODBUS - PRINCIPLES AND APPLICATION

1.1. STRUCTURE OF THE MODBUS CHARACTERS


1.1.1. Line protocol

The MICOM P211 relays use the MODBUS line protocol in the RTU mode.
1.1.2. Serial transmission mode
• The data rate speed varies between 1200 and 9600 baud.
• The structure of a character is: 1 start / 8 bits / 1 stop / no parity : total 10 bits
1.1.3. Synchronization of exchanged messages

Any character received after a silence on the line which is greater than or equal to
the transmission time of 3 characters is considered as the start of a frame.
1.1.4. Error checking method
The validation of a frame is performed with a 16-bit cyclical redundancy check
(CRC). The generator polynomial is:
1 + x2 + x15 + x16 = 1010 0000 0000 0001 binary =001h.

1.2. MODBUS PROTOCOL APPLIED TO THE MICOM P211 RANGE


1.2.1. Slave number of the MiCOM P211B and C relay
The MiCOM P211 address is situated between 1 and 64. This address can be
configured through the operator.
MODBUS PROTOCOL 576.006.43.011
Page 4 / 12
Version C
08 October 2002

1.2.2. MODBUS functions used by the MiCOM P211 relay

The MICOM P211 relays feature the following MODBUS functions:

Function n° MODBUS function supported Application

3 Read Holding Registers Reading of remote metering

4 Read Input Registers Reading of remote metering

6 Force Single Coil Writing of 1 word

1.2.3. Presentation of the MODBUS protocol

MODBUS is a master-slave protocol whereby every exchange involves a master


query and a slave response.
1.2.4. Format of frames received by the MiCOM P211

Frame transmitted by the master (query):

Slave Function Information Control Word


number code

1 byte 1 byte n bytes 2 bytes

slave no.:
The slave no. is situated between 1 and 64.

function code:
requested MODBUS function (3,4 and 6).

information:
contains the parameters of the selected function.

control word :
value of the CRC16 calculated by the master.
MODBUS PROTOCOL 576.006.43.011
Page 5 / 12
Version C
08 October 2002

1.2.5. Format of frames sent by the MiCOM P211

Frame sent by the MiCOM P211 relay (response):

Slave Function Data Control Word


number code

1 byte 1 byte n bytes 2 bytes

slave no.:
The slave no. is situated between 1 and 64.
function code:
processed MODBUS function (3,4 and 6).
data:
contains reply data to master query.
control word :
value of the CRC16 calculated by the MICOM P211 relay.

1.2.6. Message validity check

When the relay receives a master query, it validates the frame:


• If the CRC is false, the frame is invalid. The MiCOM P211 relay does not reply.
The master must retransmit its query.
• If the CRC is good but the MiCOM P211 relay can not process the query, it sends
an exception response.

Warning frame sent by the MICOM P211 relay (response) :

Slave Function Exception code Control Word


number code

1 byte 1 byte 1 byte 2 bytes (LSB

slave no.:
The slave number is situated between 1 and 64.

function code: 81 or 83h


The function code returned by the MICOM P211 relay in the error frame is the code
in which the most significant bit (b7) is forced to 1.
MODBUS PROTOCOL 576.006.43.011
Page 6 / 12
Version C
08 October 2002

exception code:
On of the 8 MODBUS protocol exception codes, the MICOM P211 relay manages
two of them:

• code 01: function code unauthorized or unknown.

• code 03: a value in the data field is unauthorized (incorrect data).

control word :
value of the CRC 16 calculated by the slave.

1.2.7. MiCOM P211 database organization


Data in the MICOM P211 relay database is organized in accordance with the
mapping described in chapter 3.

2. USING MODBUS FOR ACCESSING THE MICOM P211 DATA - EXAMPLES

2.1. MICOM P211 RELAY DATA STRUCTURE


Data is always organized with the least significant byte (LSB) first, followed by the most
significant byte (MSB) in ascending order of the addresses.

Example of data on one word (2 bytes) :

n address LSB

n + 1 address MSB

Example of data on two words (4 bytes) :

n address LSB word 0

n + 1 address MSB word 0

n + 2 address LSB word 1

n + 3 address MSB word 1


MODBUS PROTOCOL 576.006.43.011
Page 7 / 12
Version C
08 October 2002

2.2. WRITING OF 1 WORD (FUNCTION 6)

Format for writing 1 word:

Query:

Slave Function : Address of Value of the Control word


number 06h the word word

1 byte 1 byte 2 bytes 2 bytes 2 bytes (LSB MSB)

(MSB LSB)

Reply:
Slave Function : Address of Value of the Control word
number 06h the word word

1 byte 1 byte 2 bytes 2 byte s 2 bytes (LSB MSB)

(MSB LSB)

For function 6, the response frame is identical to the query frame.

Example of writing 1 word:

On MICOM P211 (slave 04), send out a " all alarm reset”. In the Modbus format:

Query:
04h 06h 04h 00h 00h 04h CRC

Slave Function Address of the Value of the Control word


number word to write word to write

Reply:
04h 06h 04h 00h 00h 04 CRC

Slave Function Address of the Value of the Control word


number word written word written
MODBUS PROTOCOL 576.006.43.011
Page 8 / 12
Version C
08 October 2002

2.3. READING OF N WORDS (FUNCTION 3 OR 4)

Format for reading n TM words:

Query:

Slave Function : Address of Number of Control word


number 03h or 04h the first words
d

1 byte 1 byte 2 bytes 2 bytes 2 bytes (LSB MSB)

Reply:
Slave Function : Number of 1st word ... Last Control word
number 03h or 04h bytes read read word
d

1 byte 1 byte 1 byte 2 bytes 2 bytes 2 bytes (LSB


MSB)
MODBUS PROTOCOL 576.006.43.011
Page 9 / 12
Version C
08 October 2002

3. MICOM P211B AND C DATABASE ORGANISATION

3.1. PAGE 0H
Read accses only (function 03h)

Address Group Description Values Step Unit Form Fault


range at value
0000 Product Relay description 32-127 1 - F10 Mi
information characters 1 and 2
0001 Relay description 32-127 1 - F10 P2
characters 3 and
4
0002 Relay description 32-127 1 - F10 11
characters 5 and
6
0003 Unit reference 32-127 1 - F10 AL.
characters 1 and
2
0004 Unit reference 32-127 1 - F10 ST
characters 2 and 3
0005- Reserved
000E
000F
0010 Remote Logical inputs 0 to 31 1 - F12
signalling
0011 Logical data 0 to 1 - F20
FFFF
0012 Reserved
0013 Logical outputs 0 to 31 1 - F13
0014- Reserved
0016
0017 Ie> memorisation 0 to 1 - F16
FFFF
0018 I< memorisation 0 to 1 F16
FFFF
0019 Reserved
001A I> memorisation 0 to 1 - F17
FFFF
001B I>> memorisation 0 to 1 - F17
FFFF
MODBUS PROTOCOL 576.006.43.011
Page 10 / 12
Version C
08 October 2002

Address Group Description Values Step Unit Form Fault


range at value
001C Reserved
001D ZZ memorisation 0 to 1 - F16
FFFF
001E PTC memorisation 0 to 1 - F16
FFFF
001F Phase asymmetry 0 to 1 - F16
memorisation FFFF
0020 Phase lost 0 to 1 - F17
memorisation FFFF
0021- Reserved
002F
0030 Remote Phase A current 1 A/10 F21
measurements
0032 Phase B current
0034 Phase C current 1 A/10 F21
0036 Ground current 1 A/2450 F21
0038 Reserved 1 A/10 F21
003A Ie fault current
003C 1 A/450 F21
003E Theta value 1 % F21
0040 Asymmetry value 1 F21
0042 Startup current 1 A/10 F21
0044 Startup time 1 s F21
0046 Fault current in 1 F21
phase A
0048 Fault current in 1 F21
phase B
004A Fault current in 1 F21
phase C
MODBUS PROTOCOL 576.006.43.011
Page 11 / 12
Version C
08 October 2002

3.2. PAGE 1H :
Read accses only (function 03h)

0120 Ratio Primary phase CT 1 to 250 1 1/1 F1


value
0121 Reserved
0122 Primary earth CT 1 to 250 1 1/1 F1
value

3.3. PAGE 4H :
Write accses only (function 06h)

0400 Remote Remote control 0-31 1 - F9 0


controls word 1

3.4. DESCRIPTION OF THE MAPPING FORMAT MICOM P211B AND C


Code Description
F1 Unsigned integer- numerical data: 1-65535
F9 Unsigned integer: Remote control word 1
bits 0 to 1 : reserved
bit 2 : All alarm reset
bit 3 : remote tripping
bit 4 : remote closing
bits 5 to 15 : reserved
F10 characters ASCII
32 – 127 = ASCII character 1
32 – 127 = ASCII character 2
F12 Unsigned integer : Logic input status
bit 0 : logic input number 1
bit 1 : logic input number 2
bit 2 : logic input number 3
bit 3 : logic input number 4
bits 4 to 15 : reserved
F13 Unsigned integer : Logic outputs status
bit 0 : logic output number 1
bit 1 : logic output number 2
bit 2 : logic output number 3
MODBUS PROTOCOL 576.006.43.011
Page 12 / 12
Version C
08 October 2002

Code Description
bit 3 : logic output number 4
bits 4 to 15 : reserved
F16 Unsigned integer : threshold earth information status
bits 0 to 4 : reserved
bit 5 : instantaneous information Ie>
bit 6 : tripping information tIe>
bits 7 to 15 : reserved
F17 Unsigned integer : threshold phase information status
bit 0 to 4: reserved
bit 5 : instantaneous information I>, I>>
bit 6 : tripping information tI>, tI>>
bits 7 to 15 : reserved
F20 Unsigned integer : logic input data status
bits 0 to 2 : reserved
bit 3 : CB position
bit 4 : I< is blocking or disable
bit 5 : I> is blocking or disable
bit 6 : I>> is blocking or disable
bit 7 : Ie> is disable
bit 8 : reserved
bit 9 : ZF is blocking or disable
bit 10: NFA is blocking or disable
bit 11 : Relays are blocking
bit 12 : 485 is blocking
bit 13 : reserved
bit 14 : PTC is blocking
bit 15 : ZZ is blocking
F21 Integer

4. VERSION
Version Author History Data
A Grzegorz Zając Original. 2001-07-09
B Grzegorz Zając and Changing in mapping. 2002-06-12
L. Baranowski
C L. Baranowski Changing in mapping. 2002-10-08

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy