Allocating Transmit/Receive Data Storage Devices For Future Expansion - Mitsubishi Electric QJ71DN91 User Manual

Melsec system q programmable controller devicenet master-slave module gx configurator-dn
Hide thumbs Also See for QJ71DN91:
Table of Contents

Advertisement

7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION

7.7 Allocating Transmit/Receive Data Storage Devices for Future Expansion

Programmable controller CPU
Receive
data area for
X208 to X23F
node No.1
(64 points)
Receive
data area for
X240 to X27F
node No.2
(64 points)
Receive
data area for
X280 to X2BF
node No.4
(64 points)
Receive
X2C0 to X2DF
data area for
X2E0 to X2FF
node No.3
(For future expansion)
(64 points)
Transmit
data area for
Y200 to X23F
node No.1
(64 points)
Transmit
data area for
node No.2
(64 points)
Transmit
data area for
Y280 to X2BF
node No.4
(64 points)
Y2C0 to X2CF
Transmit
Y2D0 to X2FF
data area for
node No.3
(64 points)
D1000 to D1251
execute FROM/TO
7 - 35
If transmit/receive data of each slave node may change depending on the system,
reserve the data storage devices for each slave node in advance.
Using the information in I/O Address Area for Master Function (address: 0500
05FB
) and executing the FROM or TO instruction will eliminate the need for modifying
H
the sequence program even if the transmit/receive data length is changed.
The figure below shows an example in which the transmit/receive data storage devices
of each node are allocated in units of 64 points, in the same system configuration
described in Section 7.2.
In this example, the devices are allocated as follows: 64 points from X200 for storing
receive data of node No.1, 64 points from X240 for storing receive data of node No.2,
and so on.
The information in I/O Address Area for Master Function (address: 0500
stored in D1000 to D1251, and the FROM or TO instruction is executed using the start
buffer memory address of this information and the data length.
FROM
X200 to X207
FROM
(For future
expansion)
(For future
expansion)
FROM
TO
TO
(For future
expansion)
Y240 to X247
Y248 to X27F
(For future
expansion)
TO
(For future
expansion)
I/O address
information
FROM
Based on this
information,
instructions.
QJ71DN91 master node
Receive data
700
Node No. 1
H
701
H
702
H
Node No. 4
703
H
704
H
705
Node No. 3 status
H
706
Node No. 3
H
Transmit data
900
H
Node No. 2
901
H
902
H
Node No. 4
903
H
904
H
905
Node No. 3
H
500
H
I/O address
area for
to
master
function
5FB
H
MELSEC-Q
to
H
to 05FB
H
Remote I/O (node No. 1)
8-point input
I00 to I07
Input 00 to input 07
QJ71DN91 slave node
(node No. 4)
8-byte transfer
C00
H
C01
H
Transmit data
C02
H
C03
H
B00
H
B01
H
Receive data
B02
H
B03
H
Remote I/O (node No. 3)
16-point input
Status
I00 to I15
Input 00 to input 15
Dummy output
Remote I/O (node No. 2)
8-point input
O00 to O07
Output 00 to output 07
7 - 35
) is
H

Advertisement

Table of Contents
loading

Table of Contents