Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 180
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.16.31 Write words data to intelligent function module/special function module (TO)
Code TO
Function
Write words data to
intelligent function
module/special function
module
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).
Format
Number of words to be written. (1 to 256)
T;D D SOn
First device No. which writing data are stored.
First address of the buffer memory which writes
data.
First I/O No. of the intelligent function module/special
function module. (000H to FF0H)
21
[Explanation]
(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).
(D2)
Device memory
Write the data
of a part for
(n)words
(D1) Intelligent function
module/special
function module
buffer memory
(S)
(2) First I/O No. of the module set by system setting is specified by (D1).
(D1) sets 20H by the system setting when a TO instruction is executed in the D/A
conversion module (Q64DA).
(3) The devices that may be set at (D1), (D2), (S) and (n) are shown below.
Word devices
(Note)
(16-bit integer type)
Bit devices
(Note)
Setting data
D W #@ M B F X Y
Constant
(D1)
— — — — —
(D2)
— — — — —
(S)
— — — — —
(n)
— — — — —
(Note) : The device No. cannot be specified indirectly.
Power supply
module
Q02H
CPU
Q173H
CPU
QX40
First I/O
No. : 00H
Q64AD
First I/O
No. : 10H
Q64DA
First I/O
No. : 20H