Mitsubishi QJ71DN91 User Manual page 44

Devicenet master-slave module programmable logic controller
Table of Contents

Advertisement

3 SPECIFICATIONS
3 - 27
(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)
0110
H
0111
H
(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.
Buffer memory address
(hexadecimal)
0110
H
0111
H
0112
H
(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)
0110
H
0111
H
0112
H
0113
H
Item
Command number
0001
Lower byte: Node number of the slave node (MAC
Slave node number (slave
MAC ID)
Higher byte: Always sets to 0.
Table 3.7 Setting data for Reset
Item
Command number
0201
Lower byte: Node number of the slave node (MAC
Slave node number (slave
MAC ID), class ID
Higher byte: Class ID of the object
Instance ID
Instance ID of the object
Item
FE
Command number
Lower byte: Node number of the slave node (MAC
Slave node number (slave
MAC ID), class ID
Higher byte: Class ID of the object
Instance ID
Instance ID of the object
Lower byte: Attribute ID of the object
Higher byte: Byte length of the attribute data to be
Attribute ID, data length
MELSEC-Q
Description
=Reads Communication Error Information
H
ID)
Description
=Reset
H
ID)
Description
: Refer to DeviceNet Common Service for
H
.
ID)
set
1 to 240 (1
to F0
)
H
H
3 - 27

Advertisement

Table of Contents
loading

Table of Contents