7 OPERATION CONTROL PROGRAMS
7.13.9 Read device data from intelligent function module/special function module : FROM
Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(D)
(S1)
—
(S2)
—
(n)
—
[Setting data]
Setting data
[Functions]
Refer to the Section "1.3.4" for the correspondence version of the Motion CPU and the
software.
FROM(D), (S1), (S2), (n)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
—
—
—
—
—
—
—
—
(D)
First device No. which stores the reading data.
First I/O No. of the intelligent function module /
(S1)
special function module (000H to FF0H)
First address of the buffer memory which it will be
(S2)
(n)
Number of words to be read (1 to 256)
(1) A part for (n)words of data are read from the address specified with (S2) of the
buffer memory in the intelligent function module/special function module controlled
by the self CPU specified with (S1), and are stored since the device specified with
(S2).
Device memory
(D)
H0000
H0005
H000A
H0000
(2) First I/O No. of the module set by system setting is specified by (D1).
Q02H
Q173
CPU
CPU(N)
(D1) sets 20H by the system setting when a TO instruction is executed in the D/A
conversion module (Q64DA).
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
—
—
—
—
—
—
—
—
—
Description
read.
(S1) Intelligent function
module/special
function module
buffer memory
Read the data
(S2)
of a part for
(n)word
QX40
Q64AD
Q64DA
First
First
First
device No.
device No.
device No.
No. : 00H
No. : 10H
No. : 20H
7 - 91
F/FS
Number of basic steps
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
—
—
—
—
—
—
—
—
Data type of result
H0000
H0005
H000A
H0000
G
7
Bit
Comparison
conditional
expression
—
—
—
—
—
—
—
—
: Usable
—