0% found this document useful (0 votes)
26 views9 pages

Manual Modbus v1.1

Uploaded by

Diego
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)
26 views9 pages

Manual Modbus v1.1

Uploaded by

Diego
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/ 9

MODBUS MANUAL

Rev. 1 - November 2020

Merytronic 2012, S.L.


Parque empresarial Boroa,
Parcela 2C-1
48430 Amorebieta, Spain
Tel: +34 946 052 462
Mail to: [email protected]
www.merytronic.com

MANUAL WEB – Rev. 1 (11/2020) 1|9


TABLE OF CONTENTS
MODBUS MANUAL ........................................................................................................... 1
MODBUS FUNCTIONALITY ................................................................................................ 3
CONFIGURATION........................................................................................................... 3
MODBUS MAP ............................................................................................................... 4
INPUT REGISTERS (FUNCTION 0X04) ......................................................................... 4
COILS (FUNCTION 0X01) ............................................................................................ 8

MANUAL WEB – Rev. 1 (11/2020) 2|9


MODBUS FUNCTIONALITY

The RTU will allow the reading of incoming values (PQ) and line values through Modbus-
TCP. The enabling of this service will be configurable.
There will be Modbus functions for reading “input registers” (function 4) to obtain
measurement data, and reading “coils” (function 1) to obtain the status of the alarms.
The register addresses used for the information of the different cards will always be the
same, that is, they will have an identical mapping all of them. Access to the data of an
specific card will be performed by using the "unit id" field defined in the Modbus TCP
protocol. In this way, the variables associated with the RTU (connection) will be available
with the unit id 100, the variables from cards, with the “unit id” equal to the line address
configured in their encoders, or the 99 in case of being VTN.
For Modbus functionality to work properly, the configuration of a repeated line number
is NOT allowed among different cards.

Configuration
For enabling Modbus, the following parameters must be configured:

• modbusEnabled. Set to Y.
• modbusPort. Listening port for RTU modbus server. Default: 502.
• IP address.
• Mask for network configuration.
• Default gateway (not strictly needed if Modbus client is in the same LAN as the
RTU).
Apart from that, the following points must be considered:

• The Modbus client will need to connect to the IP and port configured in the
parameters listed above.
• The minimal refresh time for PQ data (unit id 100) is 15 seconds. The recommended
refresh time is 60 seconds.
• The minimal refresh time for meter data is 15 seconds. However, it is not
recommended to interrogate multiple cards at the same time or with a period
lower than 60 seconds, as it implies communication through the shared RS485
bus and could cause the delay of other RTU tasks.
• For the system to start measuring, it is needed that a correct date and time is set
on it. It can be done manually, but it is recommended that an NTP server is
configured to ensure a correct and permanent date availability.
• As stated above, it is not allowed that multiple cards share their line address.
• In a VTN is installed, no other card can be configured with line equal to 99.

MANUAL WEB – Rev. 1 (11/2020) 3|9


• To ensure that alarms are correctly notified in the coils registered, they must be
enabled and correctly configured.

Modbus Map
The next Modbus Map lists all the measurements that are possible to read through
Modbus, along with their Modbus functions, register addresses, unit id, data type and
corresponding units.

Input Registers (Function 0x04)


DEVICE UNIT ID ADDRESS DATA UNITS TYPE COMMENTS
RTU 100 0 Timestamp-low s uint32 Instantaneous values
instants
1 Timestamp-high
instants
2 V1 dV uint16
3 V2 dV uint16
4 V3 dV uint16
5 Ift1 dA uint16
6 Ift2 dA uint16
7 Ift3 dA uint16
8 Freq1 dHz uint16
9 Freq2 dHz uint16
10 Fre3 dHz uint16
11 AngV1 deg uint16
12 AngV2 deg uint16
13 AngV3 deg uint16
14 Timestamp-low freq s uint32 Frequency every 10 s)
15 Timestamp-high freq
16 Freq (10s) cHz uint16
17 Timestamp-low vavg s uint32 Average voltage (every 10 minutes)
18 Timestamp-high vavg
19 V1 average 10 min dV uint16
20 V2 average 10 min dV uint16
21 V3 average 10 min dV uint16
22 Timestamp-low PST s uint32 Flicker PST (every 10 minutes)
23 Timestamp-high PST
24 PST1 *100 uint16
25 PST2 *100 uint16
26 PST3 *100 uint16
27 Timestamp-low PLT s uint32 Flicker PLT (every 2 hours)
28 Timestamp-high PLT
29 PLT1 *100 uint16

MANUAL WEB – Rev. 1 (11/2020) 4|9


30 PLT2 *100 uint16
31 PLT3 *100 uint16
32 Timestamp-low Vper s uint32 Voltage unbalance (every 10
minutes)
33 Timestamp-high Vper
34 Vper 0,01% uint16
35 Timestamp-low arm s uint32 Voltage harmonics (every 10
36 Timestamp-high arm minutes)

37 h1_1 cV uint16
38 h1_2 0,01% uint16
39 h1_3 0,01% uint16
40 h1_4 0,01% uint16
41 h1_5 0,01% uint16
42 h1_6 0,01% uint16
43 h1_7 0,01% uint16
44 h1_8 0,01% uint16
45 h1_9 0,01% uint16
46 h1_10 0,01% uint16
47 h1_11 0,01% uint16
48 h1_12 0,01% uint16
49 h1_13 0,01% uint16
50 h1_14 0,01% uint16
51 h1_15 0,01% uint16
52 h1_16 0,01% uint16
53 h1_17 0,01% uint16
54 h1_18 0,01% uint16
55 h1_19 0,01% uint16
56 h1_20 0,01% uint16
57 h1_21 0,01% uint16
58 h1_22 0,01% uint16
59 h1_23 0,01% uint16
60 h1_24 0,01% uint16
61 h1_25 0,01% uint16
62 THD1 0,01% uint16
63 h2_1 cV uint16
64 h2_2 0,01% uint16
65 h2_3 0,01% uint16
66 h2_4 0,01% uint16
67 h2_5 0,01% uint16
68 h2_6 0,01% uint16
69 h2_7 0,01% uint16
70 h2_8 0,01% uint16
71 h2_9 0,01% uint16
72 h2_10 0,01% uint16
73 h2_11 0,01% uint16
74 h2_12 0,01% uint16

MANUAL WEB – Rev. 1 (11/2020) 5|9


75 h2_13 0,01% uint16
76 h2_14 0,01% uint16
77 h2_15 0,01% uint16
78 h2_16 0,01% uint16
79 h2_17 0,01% uint16
80 h2_18 0,01% uint16
81 h2_19 0,01% uint16
82 h2_20 0,01% uint16
83 h2_21 0,01% uint16
84 h2_22 0,01% uint16
85 h2_23 0,01% uint16
86 h2_24 0,01% uint16
87 h2_25 0,01% uint16
88 THD2 0,01% uint16
89 h3_1 cV uint16
90 h3_2 0,01% uint16
91 h3_3 0,01% uint16
92 h3_4 0,01% uint16
93 h3_5 0,01% uint16
94 h3_6 0,01% uint16
95 h3_7 0,01% uint16
96 h3_8 0,01% uint16
97 h3_9 0,01% uint16
98 h3_10 0,01% uint16
99 h3_11 0,01% uint16
100 h3_12 0,01% uint16
101 h3_13 0,01% uint16
102 h3_14 0,01% uint16
103 h3_15 0,01% uint16
104 h3_16 0,01% uint16
105 h3_17 0,01% uint16
106 h3_18 0,01% uint16
107 h3_19 0,01% uint16
108 h3_20 0,01% uint16
109 h3_21 0,01% uint16
110 h3_22 0,01% uint16
111 h3_23 0,01% uint16
112 h3_24 0,01% uint16
113 h3_25 0,01% uint16
114 THD3 0,01% uint16
115 Timestamp-low s uint32 Fast voltage variations (every 10
minutes)
116 Timestamp-high
117 n1 uint16
118 n2 uint16
119 n3 uint16

MANUAL WEB – Rev. 1 (11/2020) 6|9


LINE "N" 1 <= N <= 0 Meter type 1: LVAS Instantaneous values
(encoders 99 2: VTN
position 0:
N) Unknown/Error
1 Meter status 1:OK
0:Fail/Not
present
2 Timestamp-low s uint32
3 Timestamp-high
4 V1 / V_VTN dV uint16
5 I1 / Temp VTN cA / ºC uint16
6 Pi1-low DW uint32
7 Pi1-high
8 Pe1-low DW uint32
9 Pe1-high
10 Qi1-low DVA uint32
11 Qi1-high
12 Qe1-low DVA uint32
13 Qe1-high
14 FP1 (+P/S) munits uint16
15 Active quadrant 1 (1,2,3,4) uint16
16 V2 dV uint16
17 I2 cA uint16
18 Pi2-low DW uint32
19 Pi2-high
20 Pe2-low DW uint32
21 Pe2-high
22 Qi2-low DVA uint32
23 Qi2-high
24 Qe2-low DVA uint32
25 Qe2-high
26 FP2 (+P/S) munits uint16
27 Active quadrant 2 (1,2,3,4) uint16
28 V3 dV uint16
29 I3 cA uint16
30 Pi3-low DW uint32
31 Pi3-high
32 Pe3-low DW uint32
33 Pe3-high
34 Qi3-low DVA uint32
35 Qi3-high
36 Qe3-low DVA uint32
37 Qe3-high
38 FP3 (+P/S) munits uint16
39 Active quadrant 3 (1,2,3,4) uint16
40 Temperature ºC uint16

MANUAL WEB – Rev. 1 (11/2020) 7|9


COILS (Function 0x01)

DEVICE UNIT ID ADDRESS DATA


RTU 100 0 Al Ft1 on
1 Al Ft1 on
2 Al Ft3 on
LINE "N" 1 <= N <= 99 0 Status (1:OK, 0:Fail/not present)
(encoder position
1 Al Fuse 1 on / VTN Al Overvolt level1 on
N)
2 Al overcur 1 on / VTN Al Overvolt level2 on
3 Al overload 1 on
4 FREE
5 Al overvolt 1 on
6 Al undervolt 1 on
7 FREE
8 Al temp on
9 Al Fuse 2 os
10 Al overcur 2 on
11 Al overload 2 on
12 FREE
13 Al overvolt 2 on
14 Al undervolt 2 on
15 FREE
16 FREE
17 Al Fuse 3 on
18 Al overcur 3 on
19 Al overload 3 on
20 FREE
21 Al overvolt 3 on
22 Al undervolt 3 on
23 FREE
24 FREE

MANUAL WEB – Rev. 1 (11/2020) 8|9


MANUAL WEB – Rev. 1 (11/2020) 9|9

You might also like