Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


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