7 explicit response messages – Yaskawa 260IF DeviceNet System User Manual

Page 60

Advertising
background image

5.2 Message Send Function (MSG-SND)

5-11

5

For a read request service code, set Data Size (PARAM06) in 5.2.3 Parameter List to 8.

For a write request service code, set Data Size (PARAM06) in 5.2.3 Parameter List to 8 +
(write data size). Set the number of bytes for the write data size.

Refer to DeviceNet specifications for details on service codes.
The request service codes, class ID, instance ID, and attribute ID are specific to the DeviceNet device.
Contact your DeviceNet device manufacturer for information.

„

Example of Explicit Request Message to Read Vendor ID

If “1000” is designated for Data Address (PARAM05) in 5.2.3 Parameter List, the data will
be written in the following format.

(Word address offsets)
MW01000: 000E Hex (Get_Attribute_Single service code)
MW01001: 0001 Hex (Class ID)
MW01002: 0001 Hex (Instance ID)
MW01003: 0001 Hex (Attribute ID)

5.2.7 Explicit Response Messages

„

Explicit Response Message Format

The Explicit response message is written in the following format to the area designated in
Data Address (PARAM05) in 5.2.3 Parameter List.

(Word address offsets)
00000: Response service code (Higher-place byte is reserved for system use and lower-
place byte is the response service code)
00001:Response message data
:
:

„

Example of Explicit Request Message to Read Vendor ID

If “1000” is designated for Data Address (PARAM05) in 5.2.3 Parameter List, the data will
be written in the following format.

(Word address offsets)
MW01000: 018E Hex (Higher-place byte is reserved for system use and lower-place
byte 8E Hex is the response service code)
MW01001:0002C Hex (Vendor ID)

Here, 4 (including two bytes of response service code) will be written to Data Size
(PARAM05)
in 5.2.3 Parameter List.

INFO

Advertising