3 - 9 3 - 9
MELSEC-Q
3 SPECIFICATIONS
(2) Setting attributes
Attribute
Attribute
PLC CPU
QJ71DN91
Slave node (MAC ID)
SET Y12
X02
Message
communication
request
1)
2)
Message
communication
command area
0110
H
011F
H
TO
3)
X05
Message
communication
result area
0120
H
012F
H
Message
communication
complete
Next
processing
Class
Instance
6)
TO
3)
Message
communication
data area
0130
H
01A7
H
Instance
Class
Instance
5)
4)
Class
Attribute
Attribute
Attribute
Attribute
Attribute
Instance
Attribute
Message
communication
completion
Instance
1) The TO instruction of the sequence program sets to set attributes in the
"message communication command" area of the buffer memory.
2) The TO instruction of the sequence program writes the data to be
written in the "message communication data" area of the buffer
memory.
3) When the message communication request (Y12) is turned ON, the
data, which is stored in the "message communication data" area of the
buffer memory, is written to the slave node in the area specified by the
"message communication command."
4) When the write process is finished, the message communication result
is stored in the "message communication result" area of the buffer
memory.
5) The message communication is completed when the processing result
is stored in the "message communication result" area of the buffer
memory, and the message communication completion (X02) is
automatically turned ON.
6) If the message communication error signal (X05) is turned ON, the
FROM instruction reads the contents of the "message communication
result" area, and the cause of the error is verified.