Vous êtes sur la page 1sur 31

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

Dipl.-Ing. H. Horstmann GmbH


Humboldtstrae 2
42579 Heiligenhaus/Germany
www.horstmanngmbh.com

Application Note

Version 1.8
4023801-006
11 May 2011

100104-0428

MODBUS Protocol
ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

Table of Contents

RS-485/Modbus RTU Interface

Implementation of Modbus Protocol

3.1

Modbus Functions

3.2

Data Package Format

3.3

Modbus Data

3.4

Bit Type Data

3.5

Register Type Data User Parameter Settings

12

3.6

Register Type Data Loads

18

3.7

Register Type Data Events

24

3.8

Register Type Data Remote maintenance

27

3.9

Register Type Data Factory Settings

31

Abbreviations
IE
IK
CT
MV
RTU

Earth Fault Current


Short-circuit Current
Current Transformer
Medium Voltage
Remote Terminal Unit

Dipl.-Ing. H. Horstmann GmbH


Humboldtstrae 2
42579 Heiligenhaus/Germany
info@horstmanngmbh.com

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

RS-485/Modbus RTU Interface

The RS-485/Modbus RTU interface is used for remote control, configuration, status query, and reading
out actual and erroneous MV parameters.

RS-485 Interface
Terminal
No.
1
2
3
4
5
6

Designation

Description

Direction

COM
RES
RES
RES
B
A

Common
Reserved for internal use
Reserved for internal use
Reserved for internal use
TxD1 / RS485 B
TxD0 / RS485 A

n/a
Reserved
Reserved
Reserved
Input / Output
Input / Output

Implementation of Modbus Protocol

The ComPass A/B is operated as MODBUS Remote Terminal Unit (RTU) Slave.

3.1

Modbus Functions

The following table lists the implemented MODBUS Function Codes.


Function
Code
01
02
03
04
05
06
15
16
23

Function

Description

Read Coils
Read Discrete Inputs
Read Holding Registers
Read Input Registers
Write Single Coil
Write Single Register
Write Multiple Coils
Write Multiple Registers
Read Write Multiple Registers

Bit access to BIT-AREA


Bit access to BIT-AREA
16 bit access to REGISTER-AREA
16 bit access to REGISTER-AREA
Bit access to BIT-AREA
16 bit access to REGISTER-AREA
Bit access to BIT-AREA
16 bit access to REGISTER-AREA
16 bit-access to REGISTER-AREA

Table 1: Modbus Functions


If unsupported Function Codes are used, the ComPass A/B returns the response Exception Code 01.

Dipl.-Ing. H. Horstmann GmbH

3.2

Modbus Protocol ComPass A/B

Data Package Format

In the ComPass A/B, the data-byte standard setting is as follows:


1 Start Bit
8 Data Bits (LSB first)
1 Parity Bit (Even)
1 Stop Bit
Odd Parity and No Parity are also supported. If No Parity is specified, 2 Stop Bits are used.
Each message begins with an idle interval of at least 3.5 character times.
This period can be overwritten (see Chapter 0.)
As for the ComPass A/B, the maximum response time is 10ms.
When 16-bit values are transmitted, the high-order bit will be transmitted first.

Modbus Protocol ComPass A/B

3.3

Dipl.-Ing. H. Horstmann GmbH

Modbus Data

Please note: All addresses stated in the present document are expressed as decimal values. As for the
ComPass A, when data are read from addresses which are solely intended for the ComPass B, there will
always be one 0 read back. And as for the ComPass A, when data are written to registers which are
solely intended for the ComPass B, nothing will be done with these values.
The ComPass A/B supports the following data models:
- Bit Type Data (Discrete Inputs / Coil)
- Register Type Data
The following abbreviations are used for the register names:
Input Registers
Inp-Reg
Holding Register
Hold-Reg
The following Table 2 lists the implemented ComPass A/B Bit Type data.
Address
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

Modbus Data
Type
Coil
Coil
Coil
Coil
Coil
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input
Discrete Input

Parameters

Access

Activate test mode


Reset display
Reset device
Delete last event message from memory
Start automatic calibration
Status data / Data available
Test mode activated
Internal device error
Overcurrent (I>>)
Earth fault tripping (IE>)
Event in phase 1
Event in phase 2
Event in phase 3
Overvoltage (U>)
Undervoltage (U<)
I>> direction A
I>> direction B
IE> direction A
IE> direction B
Test bit set
Load flow direction: A
Load flow direction: B

R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R

Com
Pass
A/B
A/B
A/B
A/B
B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
B
B
B
B
B
B
A/B
B
B

Table 2: Listing of Coils and Discrete Inputs

The following Table 3 gives an overview of the implemented Holding Registers.


Addr

Min./Max.
Value

Parameters

Default

Unit

Type

Chap.

Com
Pass

3.5.1
3.5.2
0
3.5.4
3.5.5

A/B
A/B
A/B
A/B
A/B

User Parameter Settings


1
2
3
4
5-8
9
10

BIT2- BIT4
0-3
0-2000
1-247

Modbus
Modbus baud rate
Modbus idle time
Modbus address
Date and time
Internal use
Internal use

4
0
0
1

ms

uInt16
uInt16
uInt16
uInt16
uInt16

Dipl.-Ing. H. Horstmann GmbH


11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

BIT0

1-1440
100036000

50-2000
0-60000
1-1000
0-60000
0-3

0-8
2-60000

Internal use
Internal use
Internal use
Mains frequency
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Time Reset
Nominal main voltage
Internal use
Internal use
Internal use
Internal use
Internal use
Overcurrent Trip Value (I>>)
Overcurrent Response Time (tI>>)
Internal use
Earth Fault Trip Value (IE>)
Earth Fault Response Time (tIE>)
Internal use
Internal use
Neutral point treatment
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Internal use
Display configuration
Internal use
Internal use
Calibration Voltage LL

Table 3: Listing of Holding Registers

Modbus Protocol ComPass A/B

uInt16

3.5.6

A/B

240
10000

min
V

uInt16
uInt16

3.5.7
3.5.8

A/B
B

400
80

A
ms

uInt16
uInt16

3.5.9
3.5.10

A/B
A/B

200
160

A
ms

uInt16
uInt16

3.5.11
3.5.12

A/B
A/B

uInt16

3.5.13

A/B

uInt16

3.5.14

A/B

uInt16

3.5.15

10000

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

The following Table 4 gives an overview of the implemented Input Registers of the Loads.
Addr

Modbus
Data
Type

Parameters

Unit

Type

Chapter

Com
Pass

1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026

Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg

Phase current I1
Phase current I2
Phase current I3
Earth current IE
Voltage V12
Voltage V23
Voltage V31
Voltage V1
Voltage V2
Voltage V3
Displacement voltage VNE
Phase angle I1
Phase angle I2
Phase angle I3
Phase angle IE
Phase angle V12
Phase angle V23
Phase angle V31
Phase angle V1
Phase angle V2
Phase angle V3
Phase angle VNE
Apparent power
Active power
Reactive power
Power factor (Cos )
Frequency

A
A
A
A
V
V
V
V
V
V
V
1/10
1/10
1/10
1/10
1/10
1/10
1/10
1/10
1/10
1/10
1/10
kVA
kW
kVAR

uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
sInt16
sInt16
sInt16
sInt16
sInt16
sInt16
sInt16
sInt16
sInt16
sInt16
sInt16
uInt16
sInt16
sInt16
sInt16
uInt16

3.6.1
3.6.2
3.6.3
3.6.4
3.6.5
3.6.6
3.6.7
3.6.8
3.6.9
3.6.10
3.6.11
3.6.12
3.6.13
3.6.14
3.6.15
3.6.16
3.6.17
3.6.18
3.6.19
3.6.20
3.6.21
3.6.22
3.6.23
3.6.24
3.6.25
3.6.26
3.6.27

A/B
A/B
A/B
A/B
B
B
B
B
B
B
B
A/B
A/B
A/B
A/B
B
B
B
B
B
B
B
B
B
B
B
A/B

1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043

Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Req

Average phase current I1 (last 15 minutes)


Average phase current I2 (last 15 minutes)
Average phase current I3 (last 15 minutes)
Average earth current IE (last 15 minutes)
Max. phase current I1 (last 24 hours)
Max. phase current I2 (last 24 hours)
Max. phase current I3 (last 24 hours)
Max. phase current I1 (last 7 days)
Max. phase current I2 (last 7 days)
Max. phase current I3 (last 7 days)
Max. phase current I1 (last 365 days)
Max. phase current I2 (last 365 days)
Max. phase current I3 (last 365 days)
Max. phase current I1 (since last reset)
Max. phase current I2 (since last reset)
Max. phase current I3 (since last reset)
Load flow direction

uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16

3.6.28
3.6.29
3.6.30
3.6.31
3.6.32
3.6.33
3.6.34
3.6.35
3.6.36
3.6.37
3.6.38
3.6.39
3.6.40
3.6.41
3.6.42
3.6.43
3.6.44

A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
B

Loads

Table 4: Listing of Loads

1/100
Hz
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
-

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

The following Table 5 gives an overview of the implemented registers for event data, remote maintenance
data and the factory settings.

Addr

Modbus
Data
Type

Parameters

Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg

Event classification
Event counter
Max. phase current I1
Max. phase current I2
Max. phase current I3
Max. earth current IE
Last good known current I1
Last good known current I2
Last good known current I3
Event time stamp

Unit

Type

Chapter

Com
Pass

Events
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009-6012

uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16
uInt16

3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.7.8
3.7.9
3.7.10

A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B
A/B

Device status
Reset configuration
Test status
Calibration status
Calibration date

uInt16
uInt16
uInt16
uInt16
uInt16

3.8.1
3.8.2
3.8.3
3.8.4
3.8.5

A/B
A/B
A/B
A/B
A/B

Product type
Serial number
Firmware version
Hardware version

uInt16
uInt16
uInt16
uInt16

3.9.1
3.9.2
3.9.3
3.9.4

A/B
A/B
A/B
A/B

A
A
A
A
A
A
A

Remote Maintenance
10000
10001
10002
10003
10004-10005

Inp-Reg
Hold-Reg
Inp-Reg
Inp-Reg
Inp-Reg

Factory Settings
10200
10201-10202
10203
10204

Inp-Reg
Inp-Reg
Inp-Reg
Inp-Reg

Table 5: Overview of the implemented Registers of the Events, the Remote Maintenance and the Factoryset Parameters

Read or write accesses to any addresses beyond the defined address will cause the Exception Code 02.
Any value that is written beyond the value range will cause the Exception Code 03.
Referring to the ComPass A, when data are read from registers which are solely defined for the ComPass
B, the 0 value will be returned. While the data are written no further data processing is done.
Modified values contained in the Registers are saved during a device reset (see Chapter 3.8.2 or Chapter
3.8.4).

Modbus Protocol ComPass A/B

3.4

Dipl.-Ing. H. Horstmann GmbH

Bit Type Data

3.4.1
(Address 1)

Activate test mode


This bit is identical with Register 10001 / Bit 9 (Chapter 3.8.2).
1

3.4.2
(Adress 2)

Reset display
This bit is identical with 10001 / Bit 1 (Chapter 3.8.2)
1

3.4.3
(Address 3)

Delete the last (most recent) event from ComPass memory.

Start automatic calibration


Start the automatic voltage calibration (Chapter 3.8.2).
1

3.4.6
(Address 6)

Setting to '1' deletes all detected and measured values. All event-related Registers
and Flags are reset. The ComPass sets the bit automatically to '0'.

Delete last event message from memory


This bit is identical with Register 10001 / Bit 2 (Chapter 3.8.2).
1

3.4.5
(Address 5)

Setting to 1 deactivates the LED event indicator and the tripped event-related
relays, and resets also the register for events and the display. This bit is
automatically reset by the ComPass.

Reset device
This bit is identical with Register 10001 / Bit 0 (Chapter 3.8.2).
1

3.4.4
(Address 4)

Setting to '1' activates the incorporated self-test.


(The self-test can be reset by the Reset display bit).

Start calibration.
The result, i.e. the calibration status can be taken from Register 10003 (Chapter
3.8.4).

Status data / Data available


This bit is identical with Register 10000 / Bit 15 (Chapter 3.8.1).
This bit signals that new data are available in the ComPass.
This bit should be queried at regular intervals to keep the MODBUS data communication
as small as possible.
1
0

3.4.7
(Address 7)

New data available.


No new data available.

Test mode activated


This bit is identical with Register 10000/Bit 6 (Chapter 3.8.1).
1
0

Incorporated test mode activated.


Incorporated test mode not activated.

Dipl.-Ing. H. Horstmann GmbH


3.4.8
(Address 8)

Internal device error


This bit is identical with Register 10000 / Bit 13 (Chapter 3.8.1)
This bit signals an internal device error.
1
0

3.4.9
(Address 9)

Overvoltage detected.
No overvoltage detected.

Undervoltage (U<)
This bit is identical with Register 6000 / Bit 5 (Chapter 3.7.1).
1
0

3.4.16
(Address 16)

Phase 3 event-affected.
Phase 3 not event-affected.

Overvoltage (U>)
This bit is identical with Register 6000 / Bit 4 (Chapter 3.7.1).
1
0

3.4.15
(Address 15)

Phase 2 event-affected.
Phase 2 not event-affected.

Event in phase 3
This bit is identical with Register 6000 / Bit 1 (Chapter 3.7.1).
1
0

3.4.14
(Address 14)

Phase 1 event-affected.
Phase 1 not event-affected.

Event in phase 2
This bit is identical with Register 6000 / Bit 2 (Chapter 3.7.1).
1
0

3.4.13
(Address 13)

IE> without direction indication detected.


No IE> without direction indication occurred.

Event in phase 1
This bit is identical with Register 6000 / Bit 3 (Chapter 3.7.1).
1
0

3.4.12
(Address 12)

Overcurrent without direction indication detected.


No overcurrent without direction indication detected.

Earth fault tripping (IE>) without direction indication


This bit is identical with Register 6000 / Bit 14 (Chapter 3.7.1).
1
0

3.4.11
(Address 11)

Internal device error occurred.


No device error occurred.

Overcurrent (I>>) without direction indication


This bit is identical with Register 6000 / Bit 15 (Chapter 3.7.1)
1
0

3.4.10
(Address 10)

Modbus Protocol ComPass A/B

Undervoltage detected.
No undervoltage detected.

I>> direction A
This bit is identical with Register 6000 / Bit 6 (Chapter 3.7.1).
1
0

Overcurrent direction A detected.


No overcurrent direction A detected.

Modbus Protocol ComPass A/B


3.4.17
(Address 17)

I>> direction B
This bit is identical with Register 6000 / Bit 7 (Chapter 3.7.1).
1
0

3.4.18
(Address 18)

Event generated by testing.


No event generated by testing.

Load flow direction: A


This bit is identical with 1043 / Bit 0 (Chapter 3.6.44).
1
0

3.4.22
(Address 21)

Earth current direction B detected.


No earth current direction B detected.

Test bit set


This bit is identical with 6000 / Bit 10 (Chapter 3.7.1).
1
0

3.4.21
(Address 21)

Earth current direction A detected.


No earth fault direction A detected.

IE> direction B
This bit is identical with Register 6000 / Bit 9 (Chapter 3.7.1)
1
0

3.4.20
(Address 20)

Overcurrent direction B detected.


No overcurrent direction B detected.

IE> direction A
This bit is identical with Register 6000 / Bit 8 (Chapter 3.7.1).
1
0

3.4.19
(Address 19)

Dipl.-Ing. H. Horstmann GmbH

Load flow direction is A


Load flow direction is not A

Load flow direction: B


This bit is identical with 1043 / Bit 1 (Chapter 3.6.44).
1
0

Load flow direction is B


Load flow direction is not B

Dipl.-Ing. H. Horstmann GmbH

3.5

Modbus Protocol ComPass A/B

Register Type Data User Parameter Settings

3.5.1
(Address 1)

Modbus configuration

Bit

Bit

15
Not
used
7

14
Not
used
6

13
Not
used
5

BIT 7

BIT 6

BIT 5

11
Not
used
3
Stop
Bits

10
Not
used
2
Parity

9
Not
used
1
Not
used

Format:

Bit

Parity

1
0

Parity check switched on


Parity check switched off

Stop Bits

1
0

2 stop bits
1 stop bit.

Odd/Even

1
0

Odd mode (with parity check switched on)


Even mode (with parity check switched on)

Preset value

3.5.2
(Address 2)

12
Not
used
4
Odd/
Even

4
Parity:
Stop bits:
Odd/Even:

1
0
0

8
Not
used
0
Not
used

Parity check switched on


1 stop bit
Even mode

Modbus baud rate

Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

6
7

5
6

2
4

2
3

Format:
Unit:
Range:

Unsigned Integer 16
bps
0-3

Baud rate:

0
1
2
3

9600 bps
19200 bps
38400 bps
57600 bps

Preset value:

9600 bps

2
2

9
2

8
9

1
2

28
0

20

Modbus Protocol ComPass A/B


3.5.3
(Address 3)

Modbus idle time


Idle time in milliseconds. Setting to 0 corresponds to a timeout interval equal to 3.5
characters (Modbus standard).
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.5.4
(Address 4)

6
7

5
6

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Format:
Unit:
Range:

Unsigned Integer 16
ms
0 60000
If set to 0, the Modbus standard idle time of 3.5 characters is
used.

Preset value:

0 (= OFF / 3.5 characters)

Modbus address

Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.5.5
(Address 5-8)

Dipl.-Ing. H. Horstmann GmbH

6
7

5
6

2
4

2
3

Format:
Range:

Unsigned Integer 16
1-247

Preset value:

2
2

9
2

8
9

1
2

28
0

20

Date and time


The format used for date and time indication complies with EN60870-5-4:1993.
It consists of 4 successive registers.

Address 5
Bit

15

14

13

12

11

10

Milliseconds
Bit

215

214

213

212

211

210

29

28

25

24

23

22

21

20

Milliseconds
27
Format:
Unit:
Range:

26

Unsigned Integer 16
ms
0 - 59999

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

Address 6
Bit

Bit

15

14

SU

RES 2

13

11

10

24

23

22

21

20

24

23

22

21

20

10

23

22

21

20

22

21

20

Hours

IV

RES1

Minutes
25

SU

12

Summertime (Daylight Saving Time)


0
Normal Time
1
Summertime

Hours
Format:
Unit:
Range:

Unsigned Integer 5
hrs
0 - 23

IV

Invalid
0
Time stamp valid
1
Time stamp invalid

RES2
RES1

Reserved
Reserved

Minutes
Format:
Unit:
Range:

Unsigned Integer 6
min
0 - 59

Address 7
Bit

15

14

13

12

RES3
Bit

Month
6

Day of week
2

11

Day of month
2

24

23

Day of week
Format:
Unit:
Range:

Unsigned Integer 3
Day
1-7

Day of month
Format:
Unit:
Range:

Unsigned Integer 5
Day
1 - 31

RES3

Reserved

Month
Format:
Unit:
Range:

Unsigned Integer 4
Month
1 - 12

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

Address 8
Bit

15

14

13

12

11

10

22

21

20

24

23

22

21

20

RES4

Year
25

24

23

22

21

20

10
Not
used
2
Not
used

9
Not
used
1
Not
used

8
Not
used
0
GRID_
FREQ

RES5
Bit

26
RES 5

Reserved

Year
Format:
Unit:
Range:

Unsigned Integer 7
Year
0 - 127
0 = Year 2000
1 = Year 2001
Etc.

3.5.6
(Address 14)

Mains frequency
Bit

Bit

15
Not
used
7
Not
used

14
Not
used
6
Not
used

13
Not
used
5
Not
used

12
Not
used
4
Not
used

11
Not
used
3
Not
used

Format: Bit

3.5.7
Address 21

GRID_FREQ

0
1

50 Hz mains frequency
60 Hz mains frequency

Preset value:

50Hz

Time Reset
This register defines the time which has to expire after a fault before the ComPass stops
fault indication.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

Format:
Unit:
Range:
Default:

2
5

2
4

2
3

Unsigned Integer 16
minutes
1 1440
1440

2
2

9
2

8
9

1
2

28
0

20

Dipl.-Ing. H. Horstmann GmbH

3.5.8
(Address 22)

Nominal mains voltage (VNOM)


This register contains the nominal mains voltage (L-L)
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.5.9
Address 28

6
7

5
6

2
4

2
3

Format:
Unit:
Range:

Unsigned Integer 16
V
1000-36000

Preset value:

10000V

2
2

9
2

8
9

1
2

28
0

20

Overcurrent Trip Value (I>>)


This register defines the trip value for overcurrent detection for short-circuits.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.5.10
Address 29

Modbus Protocol ComPass A/B

6
7

5
6

2
4

2
3

Format:
Unit:
Range:

Unsigned Integer 16
A
50 - 2000

Default:

400A

2
2

9
2

8
9

1
2

28
0

20

Overcurrent Response Time (tI>>)


This register defines the minimum time necessary for an overcurrent to exist to make
the ComPass trip.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

Format:
Unit:
Range:
Default: 80ms

2
5

2
4

2
3

2
2

9
2

8
9

1
2

Unsigned Integer 16
ms
0 - 60000
0:
Overcurrent detection deactivated

28
0

20

Modbus Protocol ComPass A/B


3.5.11
Address 31

Earth Fault Trip Value (IE>)


This register defines the trip value for earth fault detection.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.5.12
Address 32

6
7

5
6

2
4

2
3

Format:
Unit:
Range:

Unsigned Integer 16
A
1 - 1000

Default:

200A

2
2

9
2

8
9

1
2

28
0

20

Earth Fault Response Time (tIE>)


This register defines the minimum time necessary for an earth fault to exist to make
the ComPass trip.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.5.13
(Address 35)

Dipl.-Ing. H. Horstmann GmbH

6
7

5
6

2
4

2
3

2
2

9
2

8
9

1
2

Format:
Unit:
Range:

Unsigned Integer 16
ms
0 60000
0:
Earth fault detection deactivated

Default:

160ms

28
0

20

Neutral point treatment


This register defines the type of neutral point treatment of the MV net in which the
ComPass is deployed.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

6
7

Format:
Range:

Preset value:

5
6

2
4

2
3

2
2

9
2

8
9

1
2

Unsigned Integer 16
0-3
0:
1:
2:
3:

Low-ohmic
SDG (Short duration grounding)
Isolated
RSPE

Low-ohmic

28
0

20

Dipl.-Ing. H. Horstmann GmbH


3.5.14
(Address 49)

Modbus Protocol ComPass A/B

Display configuration
Bit

Bit

15
Not
used
7
Not
used

14
Not
used
6
Not
used

Format:
DAT
VT
VM
PHA

Preset value:

3.5.15
(Address 52)

12
Not
used
4
Not
used

11
Not
used
3

10
Not
used
2

9
Not
used
1

8
Not
used
0

DAT

VT

VM

PHA

Bit
0
1
0
0
0
1
0
1

display shows date in absolut format


display shows date in relative format
display shows phase/earth voltages
display shows phase/phase voltages
display without voltage indication
display with voltage indication
display without phase indication
display with phase indication

4
DAT
VT
VM
PHA

0
1
0
0

display shows date in absolut format


display shows ULL when voltage is switched on
display without voltage indication
display without phase indication

Calibration Voltage LL
This register contains Calibration Voltage (L-L)
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

3.6

13
Not
used
5
Not
used

6
7

5
6

2
4

2
3

Format:
Unit:
Range:

Unsigned Integer 16
V
2-60000

Preset value:

10000V

2
2

9
2

8
9

1
2

28
0

20

Register Type Data Loads

3.6.1
Phase current I1
(Address 1000)
This register contains the I1 phase current. This value is measured continuously (every
20ms).
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

Format:

2
5

2
4

2
3

Unsigned Integer 16

2
2

9
2

8
9

1
2

28
0

20

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

Unit:
Ranged:

A
0 - 65535

3.6.2
Phase current I2
(Address 1001)
(See Chapter 3.6.1)

3.6.3
Phase current I3
(Address 1002)
(See Chapter 3.6.1)

3.6.4
Earth current IE
(Address 1003)
This register contains the actual earth current value. This value is continuously measured
(every 20ms).
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

2
5

Format:
Unit:
Range:

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Unsigned Integer 16
A
0 - 65535

3.6.5
Voltage V12
(Address 1004) This register contains the actual V12 voltage. This value is continuously measured (every
20ms).
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

2
5

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Format:
Unsigned Integer 16
Unit:
V
Range:
0 - 65535
3.6.6
Voltage V23
(Address 1005) This register contains the actual V23 voltage. This value is continuously measured (every
20ms).
3.6.7
Voltage V31
(Address 1006) This register contains the actual V31 voltage. This value is continuously measured (every
20ms).
3.6.8
Voltage V1
(Address 1007) This register contains the actual voltage value of phase 1- to- earth. This value is
continuously measured (every 20ms).

Dipl.-Ing. H. Horstmann GmbH


Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

Modbus Protocol ComPass A/B

7
2

2
6

2
5

Format:
Unit:
Range:

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Unsigned Integer 16
V
0 - 65535

3.6.9
Voltage V2
(Address 1008) This register contains the actual voltage value of Phase 2- to- Earth. This value is
continuously measured (every 20ms).
3.6.10
Voltage V3
(Address 1009) This register contains the actual voltage value of Phase 3- to-Earth. This value is
continuously measured (every 20ms).
3.6.11
Displacement voltage V NE
(Address 1010) This register contains the displacement voltage value VNE. This value is continuously
measured (every 20ms).
3.6.12
Phase angle I1
(Address 1011) This register contains the phase angle I1
Bit

15
-2

Bit

15

7
2

14

13

12

11

10

14

13

12

11

10

2
6

Format:
Unit:
Range:

2
5

2
4

2
3

2
2

9
2

8
9

1
2

Signed Integer 16
1/10
-1800 1799

The value is indicated in steps of 1/10 .


3.6.13
Phase angle I2
(Address 1012) This register contains the phase angle I2 (see Chapter 3.6.12).

3.6.14
Phase angle I3
(Address 1013) This register contains the phase angle I3 (see Chapter 3.6.12).
3.6.15
Phase angle IE
(Address 1014) This register contains the phase angle IE (see Chapter 3.6.12).
3.6.16
Phase angle V12
(Address 1015) This register contains the phase angle V12 (see Chapter 3.6.12).
3.6.17
Phase angle V23
(Address 1016) This register contains the phase angle V23 (see Chapter 3.6.12).

28
0

20

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

3.6.18
Phase angle V31
(Address 1017) This register contains the phase angle V31 (see Chapter 3.6.12).
3.6.19
Phase angle V1
(Address 1018) This register contains the phase angle V1E (see Chapter 3.6.12).
3.6.20
Phase angle V2
(Address 1019) This register contains the phase angle V2E (see Chapter 3.6.12).
3.6.21
Phase angle V3
(Address 1020) This register contains the phase angle V3E (see Chapter 3.6.12).
3.6.22
Phase angle VNE
(Address 1021) This register contains the phase angle VNE (see Chapter 3.6.12).
3.6.23
Apparent power
(Address 1022) This register contains the actual apparent power.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

2
5

Format:
Unit:
Range:

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Unsigned Integer 16
kVA
0 - 65535

3.6.24
Active power
(Address 1023) This register contains the actual active power.

Bit

15
-2

Bit

15

7
2

14

13

12

11

10

14

13

12

11

10

2
6

Format:
Unit:
Range:

2
5

2
4

2
3

Signed Integer 16
kW
32768 - 32767

2
2

8
9

1
2

28
0

20

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

3.6.25
Reactive power
(Address 1024) This register contains the actual reactive power.
Bit

15
-2

Bit

15

7
2

14

13

12

11

10

14

13

12

11

10

2
6

2
5

Format:
Unit:
Range:

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Signed Integer 16
kVAR
32768 - 32767

3.6.26
Power factor (Cos )
(Address 1025) This register contains the actual power factor (cos ) in 1/1000.
Bit

15
-2

Bit

15

7
2

14

13

12

11

10

14

13

12

11

10

2
6

2
5

Format:
Unit:
Range:

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Signed Integer 16
1/1000
-1000 - +1000

3.6.27
Frequency
(Address 1026) This register contains the actual frequency in 1/100 Hz.
Bit

15
-2

Bit

15

7
2

14

13

12

11

10

14

13

12

11

10

2
6

Format:
Unit:
Range:

2
5

2
4

2
3

2
3

Signed Integer 16
1/100 Hz
0 - 65535

3.6.28
Average phase current I1 (last 15 minutes)
(Address 1027) Average current in phase I1 during the last 15 minutes.
3.6.29
Average phase current I2 (last 15 minutes)
(Address 1028) Average current in phase I2 during the last 15 minutes.
3.6.30
Average phase current I3 (last 15 minutes)
(Address 1029) Average current in phase I3 of the last 5 minutes.
3.6.31
Average earth current IE (last 15 minutes)
(Address 1030) Average earth current IE over the last 5 minutes.

2
2

8
9

1
2

28
0

20

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

3.6.32
Max. phase current I1 (last 24 hours)
(Address 1031) Maximum current in phase I1 over the last 24 hours.
3.6.33
Max. phase current I2 (last 24 hours)
(Address 1032) Maximum current in phase I2 over the last 24 hours.
3.6.34
Max. phase current I3 (last 24 hours)
(Address 1033) Maximum current in phase I3 over the last 24 hours.
3.6.35
Max. phase current I1 (last 7 days)
(Address 1034) Maximum current in phase I1 over the last 7 days.
3.6.36
Max. phase current I2 (last 7 days)
(Address 1035) Maximum current in phase I2 over the last 7 days.
3.6.37
Max. phase current I3 (last 7 days)
(Address 1036) Maximum current in phase I3 of the last 7 days.
3.6.38
Max. phase current I1 (last 365 days)
(Address 1037) Maximum current in phase I1 over the last 365 days.
3.6.39
Max. phase current I2 (last 365 days)
(Address 1038) Maximum current in phase I2 over the last 365 days.
3.6.40
Max. phase current I3 (last 365 days)
(Address 1039) Maximum current in phase I3 over the last 365 days.
3.6.41
Max. phase current I1 (since last reset)
(Address 1040) This register contains the maximum current in phase I1 since the last reset.
3.6.42
Max. phase current I2 (since last reset)
(Address 1041) This register contains the maximum current in phase I2 since the last reset.
3.6.43
Max. phase current I3 (since last reset)
(Address 1042) This register contains the maximum current in phase I3 since the last reset.
3.6.44
Load flow direction
(Address 1043)
Bit 15
14
Not
Not
used
used
Bit 7
6
Not
Not
used
used

13
Not
used
5
Not
used

12
Not
used
4
Not
used

11
Not
used
3
Not
used

10
Not
used
2
Not
used

9
Not
used
1

8
Not
used
0

DIRB

DIRA

Format:

Bit

DIRB

Load flow direction: B


This bit is identical to discrete Input 22 (see Chapter 3.4.22)

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

1
DIRA

Load flow direction: A


This bit is identical to discrete Input 21 (see Chapter 3.4.21)
1

3.7

Load flow direction: B

Load flow direction: A

Register Type Data Events

3.7.1
Event classification
(Address 6000) This register informs on the status of the medium-voltage conductors. This register is
updated once the ComPass has detected an event. If several events are detected, this
register will log the event detected first as regards time. By Event Acknowledgement (Bit
DEL to be set in Register 10001 (Chapter 3.8.2), or Coil 4 (Chapter 3.4.4), this register
will be updated as soon as the next event occurs. If no event has occurred, this register
will return 0.
Bit

Bit

15

14

13
Not
used
5

12
Not
used
4

SC

EF

7
I>>B

I>>A

UV

OV

11
Not
used
3
Phase
1

10

TB

IE>B

IE>A

2
Phase
2

1
Phase
3

0
EOF

Format:

Bit

SC

Overcurrent I>>
This bit is identical with Discrete Input 9 (Chapter 3.4.9).
1
0

EF

Earth fault tripping


This bit is identical with Discrete Input 10 (Chapter 3.4.10)
1
0

Phase 1

Phase 2 is affected by the detected event.


Phase 2 is not affected by the detected event.

Event detected in phase 3


This bit is identical with Discrete Input 13 (Chapter 3.4.13).
1
0

OV

Phase 1 is affected by the detected event.


Phase 1 is not affected by the detected event.

Event detected in phase 2


This bit is identical with Discrete Input 12 (Chapter 3.4.12).
1
0

Phase 3

IE>
No IE>

Event detected in phase 1


This bit is identical with Discrete Input 11 (Chapter 3.4.11).
1
0

Phase 2

I>> detected
No overcurrent detected

Phase 3 is affected by the detected event.


Phase 3 is not affected by the detected event.

Overvoltage detected
This bit is identical with Discrete Input 14 (Chapter 3.4.14).

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

1
0
UV

Overvoltage detected.
No overvoltage detected.

Undervoltage detected
This bit is identical with Discrete Input 15 (Chapter 3.4.15).
1
Undervoltage detected.
0
No undervoltage detected.
Overcurrent direction A detected
This bit is identical with Discrete Input 16 (Chapter 3.4.16)

I>>A

1
0
I>>B

Overcurrent direction A detected.


No overcurrent direction A detected.

Overcurrent direction B detected


This bit is identical with Discrete Input 17 (Chapter 0)
1
0

IE>A

Overcurrent direction B detected.


No overcurrent direction B detected.

Earth current direction A detected


This bit is identical with Discrete Input 18 (Chapter 3.4.18)
1
0

IE>B

Earth fault current direction A detected.


No earth fault current direction A detected

Earth current direction B detected


This bit is identical with Discrete Input 19 (Chapter 3.4.19)
1
0

TB

Earth fault current direction B detected.


No earth fault current direction B detected.

Test Bit
This bit is identical with Discrete Input 20 (Chapter 3.4.20)
1
0

Event released by testing.


Event not released by testing.

3.7.2
Event counter
(Address 6001) This register contains a counter which is automatically incremented each time a new
event occurs. It can be used for checking the sequence of events.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

Format:
Area:

2
5

2
4

2
3

Unsigned Integer 16
0 65535

2
2

9
2

8
9

1
2

28
0

20

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

3.7.3
Max. phase current I1
(Address 6002) This register contains the I1 value which was present at the time of the event. The result
whether this value concerns an overcurrent can be taken from the event classification
register.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

2
6

Format:
Unit:
Area:

2
5

2
4

2
3

2
2

9
2

8
9

1
2

28
0

20

Unsigned Integer 16
A
0 65535

3.7.4
Max. phase current I2
(Address 6003) See Chapter 3.7.3 (Max. phase current I11).
3.7.5
Max. phase current I3
(Address 6004) See Chapter 3.7.3 (Max. phase current I11).
3.7.6
Max. earth current IE
(Address 6005) See Chapter 3.7.3 (Max. phase current I11).
3.7.7
Last good known current I 1
(Address 6006)This register contains the last known current value of phase I 1 measured before the
event was detected. Regarding the format see Chapter 3.7.3 (Max. phase current I1).
3.7.8
Last good known current I 2
(Address 6007) This register contains the last known current value of phase I2 measured before the event
was detected. Regarding the format see Chapter 3.7.3 (Max. phase current I1).
3.7.9
Last good known current I 3
(Address 6008) This register contains the last known current value of phase I3 measured before the event
was detected. Regarding the format see Chapter 3.7.3 (Max. phase current I1).
3.7.10
Event time stamp
(Address 6009 6012)
This register contains the date and time data for the actual event.
The format is defined by EN60870-5-4:1993.

Modbus Protocol ComPass A/B

3.8

Dipl.-Ing. H. Horstmann GmbH

Register Type Data Remote maintenance

3.8.1
Device status
(Address 10000)
Status of ComPass A/B.

Bit

Bit

15
DAT_
CHGD
7
Not
used

14
Not
used
6
TEST_
ACT

13
INT_
FAULT
5
Test_
OK

12
Not
used
4
Test_
NOK

11
Not
used
3
Not
used

10
Not
used
2
Not
used

9
Not
used
1
Not
used

8
Not
used
0
Not
used

Format:

Bit

DAT_CHGD

Status data / data available


This bit indicates that there are new data available in the
ComPass (see Chapter 3.4.6).
Read the bit at regular intervals to keep the MODBUS data
communication as small as possible.
1
0

INT_FAULT

Internal device error (see Chapter 3.4.8)


This bit signals an internal device error.
1
0

TEST_ACT

Test mode active


Test mode inactive/finished

Test mode status OK


1

TEST_NOK

Internal device error occurred


No internal device error occurred

Test mode status (see Chapter 3.4.7)


1
0

TEST_OK

New data available


No new data available

Test mode completed successfully. The bit is reset either


when a new test is triggered or a device is reset.

Test mode status NOT OK


1

This bit is set upon unsuccessful test completion. The bit


is reset either when a new test is enabled or a device is
reset. Evaluation of this test can be done using Register
10002 (Chapter 3.8.3).

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

3.8.2
Reset configuration
(Address 10001)
Bit

Bit

15
Not
used
7
Not
used

14
Not
used
6
Not
used

13
Not
used
5
CLR_
BAT

12
Not
used
4
CLR_
HIS

11
Not
used
3

10
Not
used
2

CAL

DEL

Format:

Bit

ACT_TEST

Activate test mode (see Chapter 3.4.1)


This bit is identical with coil 1
1

CLR_BAT

Setting this bit activates auto calibration (see Chapter


3.4.5).

Deletes the last event message in the buffer (see


Chapter 3.4.4).

Reset display indicating events (see Chapter 3.4.2)


This bit is identical with coil 2.
1

DEV_RESET

Setting this bit to 1 clears all history values and events.

Delete last event message


1

DISP_RESET

Setting this bit to 1 clears the battery capacity counter

Start auto calibrations


1

DEL

Setting this bit to 1 activates the integrated test mode.


Bit is automatically reset by the ComPass.

Clear history
1

CAL

8
Not
used
0
DEV_
RESET

Clear battery capacity counter


1

CLR_HIS

9
ACT_
TEST
1
DISP_
RESET

Setting the bit deactivates the LED event indicator, resets


all relays and deletes the visual indication on the display.
This bit is automatically reset by the ComPass.

Reset device (see Chapter 3.4.3)


This bit is identical with coil 3.
1

Setting the bit resets the ComPass, i. e all values


obtained and measured are reset (historical values and
event messages are excluded).

Modbus Protocol ComPass A/B

Dipl.-Ing. H. Horstmann GmbH

3.8.3
Test status
(Address 10002)
This register returns the evaluation of internal device test.
All bits refer to the ComPass B. ComPass A does not present any statement
regarding bit 4 and bit 5
Bit

Bit

15
Not
used
7

14
Not
used
6

VC2

13
Not
used
5

12
Not
used
4

11
Not
used
3

VI2

VI1

ES

VC1

Format:
DS

10
Not
used
2

9
ACT_
TEST
1

8
Not
used
0

BS1

DS

BS2

Bit
Device status
0
1

BS2 BS1

Device status OK.


Internal device error detected.

Battery status
0
0
1
1

ES

0
1
0
1

Battery status OK.


Change battery.
No battery existing.
Undefined status.

External voltage supply


0
1

VI2 VI1

Status OK.
No external supply present.

Voltage status
0
0
1
1

VC2 VC1

0
1
0
1

Status OK.
Voltage too low.
Voltage too high.
Asymmetrical voltage.

Power status
0
0
1
1

0
1
0
1

Status OK.
Undefined.
Power too high.
Asymmetrical power.

3.8.4
Calibration status
(Address 10003)
This register gives information on the calibration method and status.
Bit

15

14

13

12

11

10

15

14

13

12

11

10

2
Bit

7
2

6
7

Format:
Range:

5
6

2
4

2
3

2
3

Unsigned Integer 16
03
0
1
2
3

Uncalibrated status.
Auto-calibrated.
Manually calibrated.
Factory-calibrated.

9
2

8
9

1
2

28
0

20

Dipl.-Ing. H. Horstmann GmbH

Modbus Protocol ComPass A/B

3.8.5
Calibration date
(Address 10004)
This register contains the calibration date.

Bit

15

14

13

12

RES3
Bit

Day of week
2

10

23

22

21

20

22

21

20

Month
6

11

Day of month
2

24

23

Day of week
Format:
Unit:
Range:

Unsigned Integer 3
Day
1-7

Day of month
Format:
Unit:
Range:

Unsigned Integer 5
Day
1 - 31

RES3

Reserved

Month
Format:
Unit:
Range:

Unsigned Integer 4
Month
1 - 12

(Address 10005)
Bit

15

14

13

12

11

10

22

21

20

24

23

22

21

20

RES4

Year
25

24

23

22

21

20

RES5
Bit

26

RES 5 Reserved
Year
Format:
Unit:
Range:

Unsigned Integer 7
Years
0 -127
0 = Year 2000
1 = Year 2001
Etc.

Modbus Protocol ComPass A/B

3.9

Dipl.-Ing. H. Horstmann GmbH

Register Type Data Factory Settings

These data concern product-specific data which are written one time during production.
3.9.1
Product type
(Address 10200)
This register defines the product, e. g. ComPass A.
Bit
Bit

15

14

13

12

11

10

BIT 15

BIT 14

BIT 13

BIT 12

BIT 11

BIT 10

BIT 9

BIT 8

BIT 7

BIT 6

BIT 5

BIT 4

BIT 3

BIT 2

BIT 1

BIT 0

Format:
Value:

Unsigned Integer 16
2561 ComPass A
2562 ComPass B

3.9.2
Serial number
(Address 10201-10202)
This register contains the unique serial number assigned to the ComPass during
production.
3.9.3
Firmware version
(Address 10203)
This register contains the firmware version of the ComPass.
3.9.4
Hardware version
(Address 10204)
This register contains the hardware version of the ComPass.

Vous aimerez peut-être aussi