Mitsubishi MELSEC-Q/L Programming Manual page 686

Table of Contents

Advertisement

FROM, FROMP, DFRO, DFROP
When High Performance model QCPU, Process CPU is used
FROM
FROMP
n1
: Head I/O number of the reading target CPU module (BIN 16 bits)
n2
: Head address of data to be read (BIN 16 bits)
: Head number of the devices where the read data is stored (BIN 16 bits)
D
n3
: Number of read data (BIN 16 bits)
Internal Devices
Setting
Data
Bit
Word
n1
––
n2
––
––
D
n3
––
Function
(1) Reads the data of n3 words from the CPU shared memory address designated by n2 of the CPU module designated by
n1, and stores that data into the area starting from the device designated by
CPU shared memory address of the High Performance model QCPU and Process CPU
*1:
Usable as a user free area when auto refresh setting is not made.
When auto refresh setting is made, the auto refresh send range and later are usable as a user free area.
(2) When 0 is specified in n3 as the number of data to be read, no processing is performed.
(3) The number of data to be read changes depending on the target CPU module.
CPU Module
High Performance model QCPU
Process CPU
Read of data from the CPU shared memory can also be performed using the intelligent function module devices.
For intelligent function module device, refer to the QnUCPU User's Manual (Function Explanation, Program Fundamentals)
or Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program Fundamentals).
684
Command
Command
J
\
R, ZR
Bit
Word
Device memory
D
Reads the
data of n3
words
CPU shared memory address
0(0
)
H
Host CPU operation information area
512(200
)
H
System area
2048(800
)
H
Host CPU refresh area
User free area
4095(0FFF
)
H
Number of Read Points
1 to 4096
FROM
n1
n2
n1
n2
FROMP
Zn
U
\G
––
.
D
CPU shared memory of
the designated CPU (n1)
n2
n3
*1
Read designation
permitted area
D
n3
n3
D
Constants
Other
K, H
U
––
––
––
––

Advertisement

Table of Contents
loading

Table of Contents