Mitsubishi Electronics QJ71DN91 Water System User Manual


 
3 - 26 3 - 26
MELSEC-Q
3 SPECIFICATIONS
3.4.2 Buffer memory details
This section explains the details of the buffer memory.
(1) Message communication command (addresses 0110
H
to
011F
H
/272 to 287)
Use the TO instruction to write the message communication command.
(a) To get the attribute data of a 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) When the message communication is completed, the message
communication completion (X02) is automatically turned ON.
4) Verify with the message communication error signal (X05) whether or
not the message communication is normally completed.
5) 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.4.
Table 3.4 Setting data for Get Attribute
Buffer memory address
(hexadecimal)
Item Description
0110
H
Command number 0101
H
=Get Attribute
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
Lower byte: Attribute ID of the object
Higher byte: Always sets to 0.
(b) To set attribute data into the slave node
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 message communication is completed.
5) Verify with the message communication error signal (X05) whether or
nor the message communication is normally completed.
The data to be set by the sequence program is listed in Table 3.5.
Table 3.5 Setting data for Set Attribute
Buffer memory address
(hexadecimal)
Item Description
0110
H
Command number 0102
H
=Set Attribute
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
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
)