Mitsubishi Electric A1SJ71DN91 User Manual page 36

Devicenet master module
Table of Contents

Advertisement

3. SPECIFICATIONS
(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)
0110
H
0111
H
(d) When resetting:
Buffer Memory
Address
(Hexadecimal)
0110
H
0111
H
0112
H
(4) Message Communication Results (Addresses - 0120
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
Buffer Memory
Address
(Hexadecimal)
0120
Command number
H
0121
Execution error code
H
Slave station
number (slave MAC
0122
H
ID), class ID
0123
Instance ID
H
Attribute ID, data
0124
H
length
Item
Command number
0001
Lower byte: Slave station number to read error
Slave station number
(slave MAC ID)
Upper byte: Always set to 0
Table 3.8 Reset Setting Data
Item
Command number
0120
Slave station number
Lower byte: slave station number (MAC ID)
(slave MAC ID),
Upper byte: object class ID
class ID
Instance ID
Object instance ID
execution error code.
H
Table 3.9 Get Attribute Result Data
Item
0101
= Get Attribute
H
Normal completion: 0000
Error
Lower byte: Slave station number (MAC ID)
Upper byte: Object class ID
Object instance ID
Lower byte: Object attribute ID
Upper byte: Number of bytes 1 to 240 (1
Table 3.10 Set Attribute Result Data
3
14
MELSEC-A
Contents
= Read Communication Error Information
H
information (MAC ID)
Contents
= Reset
H
to 012F
/288 to 303)
H
H
Contents
H
: Execution error code
read attribute data
to F0
) of
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71dn91

Table of Contents