3. SPECIFICATIONS
3
−
14
MELSEC-A
(c)
Reading error information from a slave station
1) Set the command data in the message communication command area using the
TO instruction.
2) Turn ON message communication request (Y(n+1)2) with a sequence program.
3) Once reading action completes, the message communication complete (Xn2)
automatically turns ON.
4) The read attribute data is saved in the message communication data area.
Table 3.7 shows the set data to read communication error information
Table 3.7 Set Data To Read Communication Error Information
Buffer Memory
Address
(Hexadecimal)
Item
Contents
0110
H
Command number
0001
H
= Read Communication Error Information
0111
H
Slave station number
(slave MAC ID)
Lower byte: Slave station number to read error
information (MAC ID)
Upper byte: Always set to 0
(d)
When resetting:
Table 3.8 Reset Setting Data
Buffer Memory
Address
(Hexadecimal)
Item
Contents
0110
H
Command number
0120
H
= Reset
0111
H
Slave station number
(slave MAC ID),
class ID
Lower byte: slave station number (MAC ID)
Upper byte: object class ID
0112
H
Instance ID
Object instance ID
(4)
Message Communication Results (Addresses - 0120
H
to 012F
H
/288 to 303)
When the message communication commands are used, the process result is set in the
DN91 message communication result area and message communica-tion complete
(Xn2) turns ON.
The process results can be read with a FROM instruction in a sequence prog-ram.
The process results are stored as shown in the table below.
See 8.3.2 Message Communication Execution Error Codes for details about the buffer
memory address 00A1
H
execution error code.
Table 3.9 Get Attribute Result Data
Buffer Memory
Address
(Hexadecimal)
Item
Contents
0120
H
Command number
0101
H
= Get Attribute
0121
H
Execution error code
Normal completion: 0000
H
Error
: Execution error code
0122
H
Slave station
number (slave MAC
ID), class ID
Lower byte: Slave station number (MAC ID)
Upper byte: Object class ID
0123
H
Instance ID
Object instance ID
0124
H
Attribute ID, data
length
Lower byte: Object attribute ID
Upper byte: Number of bytes 1 to 240 (1
H
to F0
H
) of
read attribute data
Table 3.10 Set Attribute Result Data