DNP remote control

Source: Internet
Author: User

Today, a Power Supply Bureau in Shandong uses the DNP protocol to connect to the following distribution network. The remote control is always out of reach, but the remote control is not feasible. The old report did not receive the select packet.

 

The selected packet I sent is as follows (in hexadecimal format ):

 

Xx 03 (selected) 0C 01 17 01 01 03 (combined) 01 00 00 00 00 00 00 00 00 00 00

 

Back to school

 

XX A0 00 03 (selected) 0C 01 17 01 01 03 (combined) 01 00 00 00 00 00 00 00 00 0000 (00 indicates that the return is successful)

 

 

Sending and executing:

 

Xx 04 (executed) 0C 01 17 01 01 03 (combined) 01 00 00 00 00 00 00 00 00 00 00

 

 

Received back to school:

 

Xx 04 (executed) 0C 01 17 01 01 03 (combined) 01 00 00 00 00 00 00 00 0002 (02 indicates that no packets have been selected before)

Why not?

 

 

Finally find out the cause:

 

There are two reasons:

 

1. The above XX is the sending serial number. If the sending serial number of the selected packet is c0 c0, the execution packet must be c1 larger than the selected one.

 

Select:C0 c003 (select) 0c 01 17 01 01 03 (combined) 01 00 00 00 00 00 00 00 00 00

 

Run:C1 c104 (executed) 0c 01 17 01 01 03 (combined) 01 00 00 00 00 00 00 00 00 00 00

 

2. The combined code is 0x41, and the code is 0x81.

 

Select: c0 c0 03 (select) 0c 01 17 01 0141 (combined)01 00 00 00 00 00 00 00 00 00

 

Select: c0 c0 03 (select) 0c 01 17 01 0181 (points)01 00 00 00 00 00 00 00 00 00

 

In the DNP protocol, it is clearly written that 41 is pulse closed, while 82 is pulse disconnected, and there is no such thing as 81 at all. However, after I searched the internet, I wrote this on others.

I tried it. It was a success. I didn't try again on, and I didn't want to go over it.

 

In addition, the relay was originally placed on the ground and could not be remotely controlled. I tried it for two days and I was always wondering about the Protocol I wrote. Finally, there is no way to let people go to the site to see if it is really local. I almost didn't vomit blood !.

 

 

This DNP remote control made me so depressed ......

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.