7-163
TO(P),DTO(P)
1
2
3
4
6
6
7
8
7.8 Buffer memory access instruction
7.8.2 Writing 1-/2-word data to intelligent function module (TO(P),DTO(P))
7.8.2
Writing 1-/2-word data to intelligent function module (TO(P),DTO(P))
TO(P),DTO(P)
Function
TO
Writes the data stored in n3 points starting from the device designated by into the area
starting from buffer memory address designated by n2 of the intelligent function module
designated by n1.
When a constant is designated to , writes the same data (value designated to ) to the area
of n3 points starting from the specified buffer memory. ( can be designated in the following
range: -32768 to 32767 or 0
H to FFFFH.)
n1 : Head I/O number of an intelligent function module (BIN 16 bits)
n2 : Head address of the area where data is written (BIN 16 bits)
: Data to be written or head number of the devices where the data to be written is stored (BIN 16/32 bits)
n3 : Number of data blocks to be written (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
U
Bit Word Bit Word
n1
n2 ––
–– ––
n3 ––
Basic
Process
High
performance
Redundant
Universal
Command
Command
n3
n3P
n1
n1
n2
n2
TO, DTO
TOP, DTOP
S
S
indicates an instruction symbol of TO/DTO.
S
S
S
CPU module
n3 points
Device designated
by
n3 words
0
n2
S
Intelligent function module
buffer memory
S S
S
CPU module
n3 words
0
n2
S
5
5
5
5
S
(When 5 is designated to )
Intelligent function module
buffer memory
(The same data is written)