3 - 27 3 - 27
MELSEC-Q
3 SPECIFICATIONS
(c) To read the communication error information of the slave node
1) Use the TO instruction to set the command data in the "message
communication command" area.
2) Use the sequence program to turn ON the message communication
request (Y12).
3) The message communication completion (X02) is automatically turned
ON when the message communication is completed.
4) Gotten attribute data is stored in the "message communication data"
area.
The data to be set by the sequence program is listed in Table 3.6.
Table 3.6 Setting data for reading communication error information
Buffer memory address
(hexadecimal)
Item Description
0110
H
Command number 0001
H
=Reads Communication Error Information
0111
H
Slave node number (slave
MAC ID)
Lower byte: Node number of the slave node (MAC
ID)
Higher byte: Always sets to 0.
(d) To reset
1) Use the TO instruction to set the command data in the "message
communication command" area.
2) Use the TO instruction to set the attribute data to be set in the
"message communication data" area.
3) Use the sequence program to turn ON the message communication
request (Y12).
4) The message communication completion (X02) is automatically turned
ON when the message communication is completed.
5) Verify with the message communication error signal (X05) whether the
message communication is normally completed.
The data to be set by the sequence program is listed in Table 3.7.
Table 3.7 Setting data for Reset
Buffer memory address
(hexadecimal)
Item Description
0110
H
Command number 0201
H
=Reset
0111
H
Slave node number (slave
MAC ID), class ID
Lower byte: Node number of the slave node (MAC
ID)
Higher byte: Class ID of the object
0112
H
Instance ID Instance ID of the object
(e) To execute other message communication
The following shows the setting data. For details, refer to the DeviceNet
Common Service of the DeviceNet Specifications Manual (Release 2.0).
Table 3.8 Setting data for other message communication
Buffer memory address
(hexadecimal)
Item Description
0110
H
Command number
FE
H
: Refer to DeviceNet Common Service for
.
0111
H
Slave node number (slave
MAC ID), class ID
Lower byte: Node number of the slave node (MAC
ID)
Higher byte: Class ID of the object
0112
H
Instance ID Instance ID of the object
0113
H
Attribute ID, data length
Lower byte: Attribute ID of the object
Higher byte: Byte length of the attribute data to be
set
1 to 240 (1
H
to F0
H
)