beautypg.com

2 structure of explicit message, Devicenet network scanner dvpdnet-sl – Delta DVP-0204520-03 User Manual

Page 18

background image

DeviceNet Network Scanner DVPDNET-SL

5.2 Structure of Explicit Message

You can edit explicit messages in “explicit request message editing area” and “explicit response message

editing area”. See the table below for the corresponding relation between the two areas and PLC devices. If

you transmit the request message to be sent out to D6250 ~ D6281, DVPDNET-SL will fill the response

message to D6000 ~ D6031.

PLC device

Mapping area

Mapping length

D6000 ~ D6031

Explicit response message editing area

64 bytes

D6250 ~ D6281

Explicit request message editing area

64 bytes

1)

Structure of request message

See the table below:

Request Message

PLC device

15 14 13 12 11 10 9

8

7

6 5 4 3 2

1

0

D6250 ReqID Command

D6251 Port Size

D6252

Message Header

Service Code

MAC ID

D6253

High byte of Class ID

Low byte of Class ID

D6254

High byte of Instance ID

Low byte of Instance ID

D6255

Message Data

Reserved

Attribute ID (optional)

D6256 ~ D6281

Service Data

„

Command: Fixed to “01Hex”.

„

ReqID: The request ID. Whenever an explicit message is sent out, the message will be given a ReqID

for DVPDNET-SL to identify. For the next explicit message to be sent out, you have to change the ID

number. ReqID = 0 indicates that DVPDNET-SL will not send out explicit message. Range of ReqID:

00Hex ~ FFHex.

„

Size: The length of the message, starting from D6253. The high bytes of D6255 are reserved. When

the data length is being calculated, D6255 is counted as 1 byte. The maximum data length is 58 bytes.

Errors will occur when the length is longer than 58 bytes. Unit: byte.

„

Port: The communication port. Fixed to “00Hex".

„

MAC ID: The node address of the target equipment on DeviceNet.

„

Service Code: The service code of the explicit message. See the meanings of the codes in the table

below:

Service Code

Explanation

01Hex

Read all attributes (Get_Attribute_All)

02Hex

Set up all attributes (Set_Attribute_All)

0EHex

Read a single attribute (Get_Attribute_Single)

10Hex

Set up a single attribute (Set_Attribute_Single)

DVP-PLC Operation Manual

15