Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
7 - 88
7 OPERATION CONTROL PROGRAMS
F/FS G
7.13.8 Write device data to intelligent function module/special function module : TO
Refer to the Section "1.3.4" for the correspondence version of the Motion CPU and the
software.
Format TO(D1), (D2), (S), (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
(D1) —
— — —
— — — — —
(D2) —
— — —
— — — — —
(S)
— — — — — — — — —
(n) —
— — —
— — — — —
: Usable
[Setting data]
Setting data Description Data type of result
(D1)
First I/O No. of the intelligent function module /
special function module(000H to FF0H)
(D2)
First address of the buffer memory which writes
data.
(S)
First device No. which writing data are stored.
(n)
Number of words to be written (1 to 256)
[Functions]
(1) A part for (n)words of data from device specified with (S) are written to since
address specified with (D2) of the buffer memory in the intelligent function
module/special function module controlled by the self CPU specified with (D1).
H0000
H0005
H000A
H0000
(S)
Device memory
H0000
H0005
H000A
H0000
Write the data
of a part for
(n)words
Intelligent function
module/special
function module
buffer memory
(D1)
(D2)
(2) First I/O No. of the module set by system setting is specified by (D1).
QX40
First
I/O No.
No. : 00H
Q173
CPU(N)
Q02H
CPU
Power supply
module
Q64DA
First
I/O No.
No. : 20H
Q64AD
First
I/O No.
No. : 10H
(D1) sets 20H by the system setting when a TO instruction is executed in the D/A
conversion module (Q64DA).