1 explicit messages, 1 explicit request message – Yaskawa JAPMC-CM2304-E User Manual
Page 64

5.1 Explicit Messages
5.1.1 Explicit Request Message
5-2
5.1 Explicit Messages
The message send function (MSG-SND) is used to send and receive explicit messages. The MSG-SND function sends
a request message and receives a response message when it is executed once.
The following explains the explicit request and response messages.
5.1.1 Explicit Request Message
The explicit request message is written to the area set by PARAM05 (data address) in the parameter list* in the follow-
ing format.
For details, refer to the EtherNet/IP Specifications.
Request service codes include Read (0EH) and Write (10H).
If Read request service code is used, set 8 to PARAM06 (data size) in the parameter list*.
If Write request service code is used, set 8 + (write data size) to PARAM06 (data size) in the parameter list*.
∗ Refer to 5.2.4 Parameter List for MSG-SND Function on page 5-10 for information on the parameter list.
Example of Vendor ID Read Request Message
The following is an example of an explicit request message for reading the vendor ID when 1000 is set to PARAM05
(data address).
Offset
Word Address
Meaning
00000
Request service code
00001
Class ID
00002
Instance ID
00003
Attribute ID
00004
(Message data to write service code)
•
•
Word Address
Explicit Request Message
MW01000
000EH (Get_Attribute_Single service code)
MW01001
0001H (Class ID)
MW01002
0001H (Instance ID)
MW01003
0001H (Attribute ID)