Buffer Memory Details - Mitsubishi QJ71DN91 User Manual

Devicenet master-slave module programmable logic controller
Table of Contents

Advertisement

3 SPECIFICATIONS

3.4.2 Buffer memory details

3 - 26
This section explains the details of the buffer memory.
(1) Message communication command (addresses 0110
011F
/272 to 287)
H
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.
Buffer memory address
(hexadecimal)
0110
H
0111
H
0112
H
0113
H
(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.
Buffer memory address
(hexadecimal)
0110
H
0111
H
0112
H
0113
H
Table 3.4 Setting data for Get Attribute
Item
Command number
0101
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
Attribute ID
Higher byte: Always sets to 0.
Table 3.5 Setting data for Set Attribute
Item
Command number
0102
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
MELSEC-Q
to
H
Description
=Get Attribute
H
ID)
Description
=Set Attribute
H
ID)
set
1 to 240 (1
to F0
)
H
H
3 - 26

Advertisement

Table of Contents
loading

Table of Contents