Delta Electronics DVPDNET-SL 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 Application Manual

21

Image 23
Contents DVPDNET-SL Page Table of Contents Display of Node Status in Scan List Status of DVPDNET-SL Digital Indicator LEDPrinciple of Bit-Strobe Introduction FeaturesCan I/O Scan ListProduct Profile & Outline DimensionCanh DVPDNET-SL PINVDC Canl ShieldIN1 Installing DVPDNET-SL and DVP-SV MPU on DIN RailBasic Operation Corresponding Relation between DVPDNET-SL and DVP-SV ConfigurationI/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 Slave → DVPDNET-SL Register Devices in slave PLC program Principle of Explicit Message Sending Sending Explicit Message from Ladder DiagramMAC ID Node Address00 DeviceNet Node Address02 H0101 D6250 ReqID = 01, Command = DeviceNet Network Scanner DVPDNET-SL H0008 D6251 Port = 00, Size = PLC Bit-Strobe CommandDisplay of Node Status on Network Display of Node Status in Scan ListPower LED LED Indicator & Trouble-shootingNS LED MS LED MS LEDCorrection is needed Memo