5 - 112
5 OPERATION CONTROL PROGRAMS
F/FS G
5.13.8 Write device data to intelligent function module : TO
Format TO(D1), (D2), (S), (n) Number of basic steps 7
[Usable data]
Setting
data
Usable Data
Bit device
Word device Constant
Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
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)
(D1) —
— — —
— — — — —
(D2) —
— — —
— — — — —
(S)
— — — — — — — — —
(n) —
— — —
— — — — —
: Usable
[Setting data]
Setting data Description Data type of result
(D1)
First I/O No. of the intelligent function module
(000H to FF0H)
—
(D2)
First address of the buffer memory which writes
data.
(S)
Start device No. which writing data are stored.
(n)
Number of words to be written (1 to 256)
[Functions]
(1) (n) words of data from the device specified with (S) are written to the address
specified with (D2) and after of the buffer memory in the intelligent 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
(D1)
(D2)
Intelligent
function module
buffer memory
(2) First I/O No. of the module set by system setting is specified by (D1).
QX40
First
I/O No.
No. : 00H
Q173D
CPU
Q03UD
CPU
Power supply
module
Q64DAN
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 (Q64DAN).