beautypg.com

Devicenet network scanner dvpdnet-sl – Delta DVP-0204520-03 User Manual

Page 23

background image

DeviceNet Network Scanner DVPDNET-SL

„

Explanations on devices

Explanation

PLC device

Content

15 14 13 12 11 10 9

8

7

6

5 4 3 2 1

0

D6250 0101Hex ReqID = 01Hex

Command = 01Hex

D6251 0005Hex Port = 00Hex

Size = 07Hex

D6252 0E02Hex Service

Code

= 10Hex

MAC ID = 02Hex

D6253 0099Hex High byte of Class ID = 00Hex Low byte of Class ID = 99Hex

D6254 0001Hex

High byte of Instance ID =
00Hex

Low byte of Instance ID =
01Hex

D6255 0002Hex N/A

Attribute ID = 02Hex

Request

message

editing area

D6256 0004Hex High byte of data = 00Hex

Low byte of data = 04Hex

D6000 0101Hex ReqID = 01Hex

Status = 01Hex

D6001 0002Hex Port = 00Hex

Size = 02Hex

D6002 9002Hex Service Code = 90EHex

MAC ID = 02Hex

Response

message

editing area

D6003 0004Hex

High byte of Service Data =
00Hex

Low byte of Service Data =
04Hex

3> PLC

program

MOV

H0101

D6250

M1002

ZRST

D6250

D6281

M1

MOV

H0008

D6251

MOV

H0E02

D6252

MOV

H0099

D6253

MOV

H0001

D6254

MOV

H0002

D6255

ZRST

D6000

D6031

Reset response message editing area

& request message editing area

ReqID = 01, Command = 01

Port = 00, Size = 08

Service Code = 0E, MAC ID = 02

Class ID to be write= 99

Instance ID to be

= 01

written

Attribute ID to be

= 02

written

MOV

H0004

D6256

Data to be written = 0004

4> Program

explanations

„

In the beginning of the program, clear the response message editing area and request message

editing area to 0.

„

When M1 = On, DVPDNET-SL will send out request message. Write 0004Hex into Class 99 >>

Instance 1 >> Attribute 2 of the target equipment (node address: 02). If the communication of

explicit message is successful, the slave will return with a response message.

DVP-PLC Operation Manual

20