4. FUNCTIONS
4
−
3
MELSEC-A
4.2 Message Communication Functions
The message communication functions read and write data to the slave station special area.
4.2.1 Get attribute
1)
Set "Get Attribute" in the buffer memory message communication command area using
the sequence program TO instruction.
2)
Turn ON message communication request (Y(n+1)2) with a sequence program to send
the data set in the buffer memory message communication command area to the slave
stations and start message communication.
3)
DN91 receives data from the slave stations and processes it as follows:
•
The slave station special data set in the message communication command area is
stored in the message communication data area of the buffer memory.
•
The result of processing the message communication is stored in the message
communication results area of buffer memory.
4)
When the process result is stored in the message communication results area of buffer
memory, message communication ends and the message communication complete (Xn2)
signal automatically turns ON.
5) When the slave station data ends normally in the buffer memory message communication
area, it is read to the PC CPU using the sequence program FROM instruction.
Slave station (MAC ID)
DN91
PC CPU
Class
Instance
Message communi-
cation request
Attribute
Xn2
Message communication
complete
FROM
SET
Y(n+1)2
TO
Message communi-
cation complete
Iinstance
Attribute
Class
Instance
Instance
Attribute
Attribute
Attribute
Attribute
Xn2
FROM
0110
H
011F
H
Message
communication
command area
Message
communication
result area
Message
communication
data area
0130
H
01A7
H
0120
H
012F
H
2)
1)
2)
3)
5)
4)
Attribute