Devicenet network scanner dvpdnet-sl – 2nd Ave. DVPDNET-SL DeviceNet Network Scanner DVP-0204520-02 User Manual
Page 23
DeviceNet Network Scanner DVPDNET-SL
DVP-PLC Operation Manual
21
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 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:
Response Message
PLC device
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
D6000 ReqID
Status
D6001 Port
Size
D6002
Message Header
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):