2nd Ave DVP-0204520-02 operation manual Mac Id

Page 23

DeviceNet Network Scanner DVPDNET-SL

1.Structure of request message See the table below:

PLC device

 

 

 

 

Request Message

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

 

4

3

2

1

0

 

 

 

D6250

 

 

 

 

ReqID

 

 

 

 

 

 

Command

 

 

 

Message Header

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D6251

 

 

 

Port

 

 

 

 

 

 

 

Size

 

 

 

D6252

 

 

 

Service Code

 

 

 

 

 

 

MAC ID

 

 

 

 

 

 

 

 

 

 

 

D6253

 

 

High byte of Class ID

 

 

Low byte of Class ID

 

 

Message Data

 

 

 

 

 

 

D6254

 

High byte of Instance ID

 

 

Low byte of Instance ID

 

 

 

 

 

 

 

 

 

 

 

 

D6255

 

 

 

 

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 refers to 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)

 

 

2.Structure of response message See the table below:

PLC device

 

 

 

Response Message

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

D6000

 

 

 

 

ReqID

 

 

 

 

 

 

Status

 

 

 

 

Message Header

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D6001

 

 

 

Port

 

 

 

 

 

 

Size

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D6002

 

 

 

Service Code

 

 

 

 

 

MAC ID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D6003 ~ 6031

Message Data

 

 

 

 

 

Service Response Data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

„The definitions of ReqID, Port, Service Code and MAC ID are the same as their definitions in request message.

„Size: The length of the message, starting from D6003. Max. 58 bytes. Errors will occur when the

length is longer than 58 bytes. Unit: byte.

„See the table below for the meanings of Status (status codes):

DVP-PLC Operation Manual

21

Image 23
Contents DVP-0204520-02 DVPDNET-SLPage Table of Contents Configuration Basic Functions of DVPDNET-SL FeaturesIntroduction Can SpecificationsI/O Scan List Product Profiles DimensionProduct Profile & Outline DeviceNet Connection Port Address SwitchFunction Switch Basic Operation Digital IndicatorConnecting DVPDNET-SL to DVP-SV MPU Installing DVPDNET-SL and DVP-SV MPU on DIN RailCorresponding Relation between DVPDNET-SL and DVP-SV ConfigurationConnecting to DeviceNet Connection Port I/O Mapping Table How to Construct a DeviceNet NetworkConstructing DeviceNet Network RTU-DNET Ascii COM1DVP-SV DeviceNet Network Scanner DVPDNET-SL DeviceNet Network Scanner DVPDNET-SL DeviceNet Network Scanner DVPDNET-SL DeviceNet Network Scanner DVPDNET-SL DeviceNet Network Scanner DVPDNET-SL DVPDNET-SL DeviceNet Network Control MOV Structure of Explicit Message Sending Explicit Message from Ladder DiagramPrinciple of Explicit Message Sending MAC ID Node Address00 DeviceNet Node Address02 H0101 D6250 ReqID = 01, Command = DeviceNet Network Scanner DVPDNET-SL H0008 D6251 Port = 00, Size = Display of Node Status in Scan List Bit-Strobe CommandDisplay of Node Status on Network Principle of Bit-StrobeStatus of DVPDNET-SL LED Indicator & Trouble-shootingNS LED MS LED Digital Indicator LEDMS LED Correction is needed Memo