0% found this document useful (0 votes)
65 views15 pages

Energy Analyzer DS6210-S Modbus Protocol

The document describes the communication protocol for the DS6210-D multifunctional power meter. It allows communication via an RS485 port using Modbus RTU protocol. It provides details on address settings, baud rates, function codes, data formats for reading and writing registers, error responses, and examples of communication messages for reading and writing register values. Checksums are used to verify the integrity of transmitted data frames.

Uploaded by

tayyab1965
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)
65 views15 pages

Energy Analyzer DS6210-S Modbus Protocol

The document describes the communication protocol for the DS6210-D multifunctional power meter. It allows communication via an RS485 port using Modbus RTU protocol. It provides details on address settings, baud rates, function codes, data formats for reading and writing registers, error responses, and examples of communication messages for reading and writing register values. Checksums are used to verify the integrity of transmitted data frames.

Uploaded by

tayyab1965
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/ 15

DS6210-D

Multifunctional Power Meter


Modbus RTU
Communication protocol
Communication protocol DS6210-D
1.Communication Settings
1.1 Address setting
Display Password System
interface interface interface

Address Address Communication


setting setting interface setting interface

Address Address Communication


setting interface setting setting interface

Display
interface
Communication protocol DS6210-D

1.2 Communication operation menu


Level 1 Level 2 Level 3 Instructions
menu menu menu
Communication Settings

The local address of the device that produces the


device shall not be the same as that of other
cluster machines in the whole communication bus

Default
Settings
Communication
baud rate
Communication
baud rate
Communication Communication
baud rate baud rate
Communication
baud rate
Communication
baud rate

No check stop bits

Odd parity stop bits

Communication even parity


check stop bits
check

No check stop bits


Communication protocol DS6210-D
1.3 Overview
The device has an RS485 communication port and the baud rate is up to
19200bps. The total length of communication cable shall not exceed 1200
meters, and the positive and negative polarity of RS485 port of each
equipment shall be correctly connected. If the shielded twisted pair is longer,
it is recommended to connect a 100 ~ 300Ωohm resistor at its end to improve
the reliability of communication.

transfer
Ω

1.4 Function code description


A function code indicates what function is performed by the terminal to
which it is addressed. The function codes supported by the meter are listed
below, along with their meanings and functions

Function Meaning Functional description


code

Read data register Gets one or more registers in the current meter

Set up multiple registers Writes the specified value to one or more


registers within the meter
Communication protocol DS6210-D

The data code contains data that the terminal needs to perform a specific
function or data that the terminal collects in response to a query. The
contents of this data may be numeric reference addresses or setting values.
For example, the function field code tells the terminal to read a register, the
number field needs to indicate which register to start reading and how many
data, and the echo content of the slave machine data code contains the data
length and corresponding data.
The checksum error check (CRC) field occupies two bytes. Contains a 16-bit
binary value. The CRC value is calculated by the transmission device and
then attached to the data frame. The receiving device recalculates the CRC
value when it receives the data and then compares it with the value received
in the CEC domain. If the two values are not equal, an error occurs. The
process of producing a CRC is as follows:

1. Presets a 16-bit register to 0FFFFH (full 1), called CRC register.


2. Perform xor operation on the 8 bits of the first byte in the data frame and
the low bytes in the CRC register, and store the result back to the CRC
register for xor operation.
3. Shift CRC register like one bit to the right, fill the highest bit with 0, and
move the lowest bit out and detect. If the lowest order is 0: repeat step 3
(next shift); If the least significant value is 1: the CRC register is xor with a
preset fixed value (0A001H).
4. Repeat steps 3 and 4 until 8 shifts occur. This completes a full eight digits.
5. Repeat steps 2 through 5 to process the next eight bits until all bytes are
processed.
6. The value of the final CRC register is the value of CRC.
Communication protocol DS6210-D
1.5 Abnormal response
When the instrument detects any error other than the CRC check code, it
will send back information to the host.The highest position of the function
code is 1, that is, the function code returned to the host from the machine
is added 128 on the basis of the function code sent by the host. The error
message frame format returned from the machine is as follows:

Function code
Address Error CRC check code CRC check code
(The highest
code code Low byte High byte
digit is 1)

1 byte 1 byte 1 byte 1 byte 1 byte

The error code is as follows:


The received function code
Illegal function code
meter is not supported

Invalid register The register address received exceeded


address the register address range of the meter

Invalid data value The data value received exceeded the


data range of the corresponding address

1.6 The communication message example instructions


1.6.1 Read register (function code )
The host sends a package request for a read register, and the
device responds to all valid registers (between the start and end
registers). The message format is as follows:
Communication protocol DS6210-D
Read register package format Response format
(Host → Device) (Device → Host)
Sub-station Sub-station
1 byte 1 byte
address address
Function Function
1 byte 1 byte
code code
Begin Number of bytes
2 byte (2* number of registers)
1 byte
address

Number of registers 2 byte The first register data 2 byte

Check code 2 byte Second register data 2 byte

Check code 2 byte

1.6.2 Presets one or more registers (function code )


This command allows the master station to configure device working parameters as follows:

Read register package format Response format


(Host → Device) (Device → Host)
Sub-station Sub-station
address
1 byte address
1 byte
Function Function
1 byte 1 byte
code code
Begin Begin
2 byte 2 byte
address address
Number of registers 2 byte Number of registers 2 byte
Number of bytes
(2* number of registers)
1 byte Check code 2 byte

The first register data 2 byte


Communication protocol DS6210-D
Check code 2 byte

Note: allow customers to write setting data to the meter through RS485
interface according to Modbus protocol, and the data address must be
settable parameter address (refer to appendix 1). The write operation is
invalid if the address is not a settable parameter address.
1.7 Calculate factor
Due to the limitation of numerical range, many data registers of the instrument
adopt the calculation factor, which means that the user must multiply the
corresponding calculation factor to get the true value.
For example, if the calculation factor of the frequency register is 0.01, and the
value read by the user is 5000, then the current frequency is: 5000x0.01=50Hz.
The mailing address is shown in the general data register list.
Note: in the three-phase four-wire condition, the rated voltage is set to be
greater than 220V, and the calculation factor of line voltage is 0.1; otherwise,
it is 0.01

1.8 Communication values and actual values


In order to ensure that the instrument retains sufficient precision bits when
transmitting data, some data registers of this series of instruments adopt
some special processing methods, as shown below:

Communications
No. Content numerical
Actual value

Twice Communication value *


Phase/Line voltage Measure calculation factor *PT
Twice Communication value *
Phase current Measure calculation factor *CT

Single phase power\ Twice Communication value *


total power\ basic power Measure calculation factor *PT*CT
Communication protocol DS6210-D
Note: in the three-phase four-wire condition, the rated voltage is set to be
greater than 220V, and the calculation factor of line voltage is 0.1. In other
cases, it is 0.01

1.9 Communication values and actual values


In order to ensure that the instrument retains sufficient precision
bits when transmitting data, some data registers of this series of
instruments adopt some special processing methods, as shown
below:
Communications
NO. Content numerical Actual value
Twice Communication value *
Phase/line voltage measure calculation factor *PT

Twice Communication value *


Phase current
measure calculation factor *CT

Single phase power Twice Communication value *


total power/ basic power measure calculation factor *PT*CT
Communication protocol DS6210-D
1.10 Power factor symbol
The symbol of the power factor measured by the meter is in
accordance with IEC regulations, as shown below.

quadrant 2 quadrant 1

Negative active power (-) Positive active power (+)


Positive reactive power (+) Positive reactive power (+)
Power factor (-) Power factor (+)

Negative active power (-) Positive active power (+)


Negative reactive power (-) Negative reactive power (-)
Power factor (+) Power factor (+)

quadrant 2 quadrant 2
Communication protocol DS6210-D
1.11 Communication data register
parameter Calculate
Register Parameter name Type Instructions
code factor

A phase voltage

B phase voltage
Unit: volt
C phase voltage
AB line voltage

BC line voltage
CA line voltage

A phase curret
Unit: volt
B phase curret

C phase curret
A phase active power (low)

A phase active power (high)

B phase active power (low)

B phase active power (high)


Unit: watt
C phase active power (low)

C phase active power (high)

Total active power (low)

Total active power (high)


Communication protocol DS6210-D

A-phase reactive power (high)

B-phase reactive power (low)

B-phase reactive power (high)

C-phase reactive power (low)


Unit: spent
C-phase reactive power (high)

Total reactive power (low)

Total reactive power (High)

A-phase apparent power (low)

A-phase apparent power (high)

B-phase apparent power (low)

B-phase apparent power (high)


Unit: VA
C-phase apparent power (low)

C-phase apparent power (high)

Total apparent power (low)

Total apparent power (high)

A-phase power factor

B-phase power factor


////
C-phase power factor

Total power factor


Communication protocol DS6210-D

Frequency Unit: Hz

Total positive
active energy (low)
Total positive
active energy (high) Unit: KWh
Total negative
active energy (low)
Total negative
active energy (high)
Total positve
reactive energy (low)
Total positive
reactive energy (high) Unit: Kvar
Total negative
reactive energy (low)
Total negative
reactive energy (high)

Switch input state


---- ON

OFF

Rated voltage ----

Rated current ----


keep ---- ---- ----
keep ---- ---- ----
keep ---- ---- ----
Communication protocol DS6210-D
1.12 Energy register table
Total positive
active energy (low)
Total positive
active energy (high) Unit: Kwh
Total negative
active energy (low)
Total negative
active energy (high)
Total positive
reactive energy (low)
Total positive
reactive energy (high) Unit: Kvar
Total negative
reactive energy (low)
Total negative
reactive energy (high)

1.13 Configure the data register table


Register Parameter name Type Instructions

User password Range: , Read:

Communication address Range: -


Communication baud rate : :
: :
: No check, 2 stop bits
Bit rate format
: Odd parity check, 1 stop bits
: Even parity check, 1 stop bits
: No check, 1 stop bits
Communication protocol DS6210-D
: interface by default
Displays the basic parameters

Display type : Display the power parameter


interface by default
: Display electricity power
parameter interface by default

transfer ratio Range: -


transfer ratio Range: -
: ; : ;
number (Only valid under three - phase
three - line conditions)

Connection mode
: 3 phase 4 wires
:3 phase 3 wires : phase
single

, ,
Active energy Others: - , Step:
impulse constant
;
Range: - ,when ≥4 Display
Parameter rotation time each parameter in turn in the current
display plane

Reset power data Write:

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