background image

16

7.1 MODBUS-RTU protocol

VII. Communication Protocol Description

7.2 Communication frame format description

The following chart shows the meaning of exception error codes:

7.1.5 Communication frame delay

7.1.2 Data Format

Data Bit

Checking Bit

Stop Bit

1

8

None, Even, Odd checking(Programmable)

1

Start Bit

Hosting Sending
Slave address
Function Code
Start Add
Data Length
CRC Code

Bytes

1
1
2
2
2

Information Send

01
03

0x4000
0x0002

0xD1CB

Remark
Send to slave at address 01
Read register
Start Add
Read 2 registers (4 bytes in total)
The host calculates the CRC code

Error code Name

Description

0X01
0X02

0X03

0X04

Function code error
Variable address error

The limit of the data value
Incorrect or out of frame length

The meter received an unsupported function number

 The data value sent by the host exceeds the data range corresponding to the instrument or the data 

 structure is incomplete
The function code and the communication frame length are inconsistent or request exceeds the limit

The host specified data location is over the range of the meter or an illegal register operation has been 

 received

7.1.1 MODBUS-RTU communication protocol,adopts RS485 half-duplex communication to check 16-bit CRC.The meter does not return  

the check error.

1. All RS485 loop communication should follow master and slave mode.In this way, information and data are transferred between a single 

master station and up to 32

2. The master station will initialize and control all the information transmitted on the RS485 communication loop ( daisy chain );

3. In any case, communication cannot be started from a slave station

4. Communication on all RS485 loops takes place in a "packaged" manner. A data packet is a communication frame.A packet can 

contain up to 128 bytes.

5. The master station sends called request and the slave sends called response.

6. In any case, the slave can only respond to one request from the master station;

7.1.4 Communication exception handling

If the master sends an illegal packet or if the master requests an invalid data register, an abnormal data response will be generated. This 

abnormal data response consists of the slave address, function code, fault code, and check field. When the high-order bit position of the 

function code domain is 1, it indicates that the data  frame at this time is an abnormal response.

According to MODBUS communication requirements, abnormal response function code = request function code + 0x80; when abnormal 

response occurs,  the highest position of function number is 1. For example, if the host request function number is 0x04, the function 

number returned from the slave corresponds to 0x84.

7.2.1 Function Code“03”:Read multiple register input
Eg:The host reads the UA (A phase voltage), and it is measured that the A phase voltage is 220.0V. The UA's address code is 0x4000

      because UA is a fixed-point number (4 bytes) and occupies 2 data registers. The corresponding hexadecimal data of 220.0V is: 

      0x0000898 (200)

Host sent message format: (default high word first)

There should be an appropriate delay between the requests from the master station for the two frames. When the baud rate is 9600.

In order to ensure a correct response, it is recommended that a 300mS delay be reserved between the two frames. When the baud rate 

decreases, the communication delay should increase appropriately.

7.1.3 Communication frame format

Frame Content

Bytes

Instructions

Slave Station Add

1

1

2

Valid slave address range is 1-247

The length of data that needs to be read or written

The location where the data area is stored when the slave executes a valid command. Different variables occupy 
different number of registers, some address variables occupy two registers, 4 bytes of data, some variables occupy 
a register,2  bytes of data, please use according to the actual situation

Function Code

Data Add

2

Data length

Slave station returns data or master data to be written 

Variable

Data

The MODBUS-RTU mode uses 16-bit CRC. The sending device shall calculate CRC16 on each data in the parcel, and the
final result shall be stored in the test domain. The receiving device shall also calculate CRC16 on each data (other than
the check field) in the parcel and compare the result field check fields. Only the same package can be accepted.

2

CRC Check Code

Read one or more current register values
Writes the specified value to an internal register

0X03
0X06
0X10

Writes the specified value to multiple internal registers

15

VI.EVENT RECORD DESCRIPTION

Event recording is currently an optional feature and can only be read through communications. The specific instructions are 

as follows:

Eg, To read the latest first record,

the data is as follows

“01 03 45 00 00 07 13 EC”

Answers are as follows

“01 03 0E 00 01 00 0E 00 09 00 12 00 11 00 07 00 21 0C F7”

Indicates that the event is a modified parameter. The moment of occurrence is

014-9-18 17:07:33

6.3 Reading of event records

ADD

XX

Order

03

Data ADD

45

XX

Data length

00

07

CRC

XX

XX

No.

Correspondence data

1

1

Power on the meter

Event Desciption

2

2

modified parameter

3

3

Clear Energy

4

4

Clear Demand

5

5

Clear Event

6

6

Clear maximum

7

7

1st alarm action

8

8

1st alarm end

9

9

2nd alarm action

10

10

2nd alarm end

V. SIMPLE TROUBLESHOOTING

Power failed to join the device

Incorrect voltage measurement

Incorrect current measurement

Incorrect power measurement

Switching voltage

No control command received
Incorrect relay operation mode

The measurement value 

is incorrect or does not 

meet expectations

Switch status does 

not change

Relay does not operate

The upper end cannot

communicate with the 

device

Device communication address is incorrect
Device communication rate is incorrect
Communication link is not connected to 

terminating resistor
Communication link is disturbed
Communication line interruption

Check whether the correct operating voltage is added to the L/+ and N/- terminals of the device

Check if control power fuse is burned
Check if the neutral connection is reliable

Check whether the measured voltage matches the rated parameter of the equipment

Check if the PT ratio parameter setting is correct
Check whether the measured current matches the rated parameter of the device

Check CT ratio parameter setting is correct
Check the measurement mode setting is correct

Check the voltage and current phase sequence is correct

Check the current name is wrong

Check whether the external node type matches the device's rated parameters

Check the external wiring is correct
Check the communication link is correct
Check current relay is in correct mode
Check whether the device address is consistent with the definition
Check whether the device communication rate is consistent with the definition

Check whether the 120 ohm resistor is added

Check that the communication shield is well grounded
Check the communication cable is disconnected

Reason

Solution

Problem

No display after adding 

control power

6.2 Event Record Format

Event Type

1-10

Year

Month

Day

Hour

Minute

Second

Event Occurred Time

 A total of 32 groups of events were included, both of which included event types and times. The event record uses a 

sequential recording method: the first record is always the most latest event and extends back to a total of 32 records. 

6.1 Event Types

Including the followed 10 types

Содержание DW9L Series

Страница 1: ...ion F 0 Modify content First File DW9L Series 3 Phase Energy Meter Operation Manual DW9L Series National High tech Enterprise National Standard Drafting Unit KKDW9L F02E A 0 20220110 Hot line 400 0760 168 Site http www toky com cn Toky Electrical Co Ltd ...

Страница 2: ...munication address mapping 18 7 2 Communication frame format description 16 7 1 MODBUS RTU protocol Introduction 16 7 Communication protocol description 16 8 2 DLT645 communication address correspondence table 23 This equipment can only be installed by professional staff The manufacturer will not be responsible for any damage caused by failure to follow the instructions in this manual Note Risk of...

Страница 3: ...GB T 17215 322 2008 GB T 17215 323 2008 DL T 645 2007 GB T 15284 2002 GB T 14549 1993 GB T 15543 2008 Multi function Energy Meter Multifunction Harmonic Meter Special Requirements 0 2 and 0 5 Class Static AC Active Power Meter 1 and 2 Class Static AC Reactive Power Meter Multi function Energy Meter Communication Protocol Multi tariff rate electric energy meter special requirements Admissible three...

Страница 4: ...acy 0 2 Voltage Impedance Rated Value Overload Power Consumption impedance Accuracy Continuous 1 2 times Instantaneous 2 times 2s 0 4VA each phase 20mΩ RMS measurement Accuracy 0 2 Current Frequency Power Harmonic Energy Clock Display Power Supply Consumption Current Active reactive apparent power accuracy 0 5 Power Harmonic Accuracy A Active power accuracy 0 5S reactive power accuracy 2 Clock err...

Страница 5: ...ut Output Output Output Output Input Output Input Input Input Input Input Input Output Output Output Input Input Input Input Input Input Input Input Input Input Description C phase current inflow Switch input 4th loop 3 6 Connection Drawing 6 Ia Ia Ib Ib Ic Ic A B C N 24 25 26 28 29 27 Ua Uc Ub Un 23 21 22 20 24 25 26 28 29 27 23 21 22 20 Ua Ub Uc Un Ia Ia Ib Ib Ic Ic A B C N Ua Un 24 25 26 28 29 ...

Страница 6: ...pulse error of the standard form 1 Electrical characteristics VCC 48V IZ 50mA in the circuit diagram of the pulse acquisition interface 2 Pulse constant 9000 imp kWh kvarh the fastest pulse speed does not exceed 200mS Its significance is when the meter accumulates 1kWh 1kvarh output pulse number is 9000 7 Meter Inside 17 RP reactive energy pulse output active energy pulse output pulse commom point...

Страница 7: ...egative active energy integrated reactive energy positive reactive energy negative reactive energy first quadrant reactive energy second quadranteactive energy third quadrant reactive energy fourth quadrant reactive energy 10 4 6 Menu Operation Illustration Menu Structure and Function Description Under user menu status 1 Press SET key more than 3 second if the user password is set it will pop up t...

Страница 8: ... 12 rates Period 1 Start time Period 2 Start time Period 12 Start time Multi rate setting Minute Second Minute Second Period 1 rates 0 1 2 3 stands sharp peak flat valley Period 2 rates 0 1 2 3 stands sharp peak flat valley Period 1 rates Period 2 rates Time setting Year Month Day Hour Year Month Day Hour Transmit high limit Transmit low limit Analog output Transmit output 20mA Transmit output 4mA...

Страница 9: ... 6 6 6 6 7 7 7 7 15 30 45 0 15 30 45 0 15 30 45 0 15 30 45 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 minute period hour 8 0 32 8 8 8 9 9 9 9 10 10 10 10 11 11 11 11 15 30 45 0 15 30 45 0 15 30 45 0 15 30 45 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 minute period hour 12 0 48 12 12 12 13 13 13 13 14 14 14 14 15 15 15 15 15 30 45 0 15 30 45 0 15 30 45 0 15 30 45 49 50 51 52 53 54 55 56 57 58 5...

Страница 10: ...is stored when the slave executes a valid command Different variables occupy different number of registers some address variables occupy two registers 4 bytes of data some variables occupy a register 2 bytes of data please use according to the actual situation Function Code Data Add 2 Data length Slave station returns data or master data to be written Variable Data The MODBUS RTU mode uses 16 bit ...

Страница 11: ... slave response Slave response Slave address Function code Reading Register data CRC code Bytes 1 1 1 1 1 1 1 2 Returned information 01 03 04 0x00 0x00 0x08 0x98 0xFC59 Remark From slave 01 Read register 2 registers total 4 bytes High byte of contents at address 0x4000 memory High byte of contents at address 0x4000 memory Low byte of contents at address 0x4000 memory The CRC code calculated by the...

Страница 12: ...10c 0x410e 0x4110 0x4112 0x4100 0x4102 0x4104 0x4106 0x4108 0x411e 0x4120 0x4122 0x4124 0x4126 0x4114 0x4116 0x4118 0x411a 0x411c 0x4060 0x4062 0x4064 0x4066 0x4068 0x406a 0x406c 0x406e 0x4048 0x404a 0x404c 0x4052 0x4054 0x4056 0x4058 0x405a 0x405c 0x405e 0x4070 0x4072 0x4074 0x4076 0x4036 0x4038 0x403a 0x403c 0x403e 0x4046 10 1 2 3 4 5 6 8 9 7 20 11 12 13 14 15 16 18 19 17 34 35 36 39 40 41 42 37...

Страница 13: ...R W 0 99 1 12 1 31 0 23 0 59 0 59 Second 5 6 Reserved Expansion 22 Attched 1 Wiring instructions Communication ADD Value Display character Instructions 0 3 4 3 phase 4 wires connection 1 3 3 3 phase 3 wires connection 0X4800 Attched 2 Communication baud rate Communication ADD Value Display character Instructions 0 1 0X4806 2 4 8k baud rate 4800bps 9 6k baud rate 9600bps 19 2k baud rate 19200bps At...

Страница 14: ... of the national grid is the primary side data without PT and CT Therefore in order to prevent the read data from overflowing the data of this meter read through DLT645 should be the secondary side data For specific DLT645 communication protocol please refer to DLT645 2007 Multi function Energy Meter Communication Protocol No Parameter Communication Add Response bytes Instantaneous electrical para...

Страница 15: ...s the response message returned by the slave Figure 3 01 03 40 00 00 02 01 03 40 00 00 02 D1 CB 78 ms 01 03 40 00 00 00 00 FA 33 25 COMMIX software instructions 1 Configure commix software Figure 1 Figure 2 1 Set the serial port to be same as your computer Example set it to COM1 if my computer s serial port is COM1 2 Configure the baud rate configure the corresponding baud rate according to the ba...

Отзывы: