Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 178
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.16.30 Read device data from shared CPU memory of the other CPU (MULTR)
Code MULTR
Function
Read device data from
shared CPU memory of the
other CPU
A part for (n) words of data of the other CPU specified with (S1) are
read from the address specified with (S2) of the shared CPU memory,
and it is stored since the device specified with (D).
Format
Number of words to be read. (1 to 256)
M;D S S n
The shared CPU memory first address of the data
which it will be read. (0H to FFFH)
First I/O No. of the PLC CPU/Motion CPU which it will be
read.(CPU No.1 : 3E0H, CPU No.2 : 3E1H, CPU No.3 :
3E2H, CPU No.4 : 3E3H)
First device No. which stores the reading data.
21LRTU
[Explanation]
(1) A part for (n) words of data of the other CPU specified with (S1) are read from the
address specified with (S2) of the shared CPU memory, and are stored since the
device specified with (D).
Device memory
Shared CPU memor
y
of specified CPU No.
with (S1)
Read the data
of a part for
(n)words
(D) (S2)
Self CPU operation
data area
System area
Automatic refresh area
User-defined area
0H
200H
800H
0FFFH
(Note)
Shared CPU memory address
This area
can be
used at
user area.
(Note) : When automatic refresh is not set, it can be used as a user defined area.
And, when automatic refresh is set up, since the automatic refresh transmitting
range becomes a user defined area.
(2) The devices that may be set at (D), (S1), (S2) and (n) are shown below.
Word devices
(Note)
(16-bit integer type)
Bit devices
(Note)
Setting data
D W #@ M B F X Y
Constant
(D)
— — — — —
(S1)
— — — — —
(S2)
— — — — —
(n)
— — — — —
(Note) : The device No. cannot be specified indirectly.