Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
7  APPLICATION INSTRUCTIONS
7.8  Buffer Memory Access Instructions
509
7
Writing 1-word data to the intelligent function module, writing 2-
word data to the intelligent function module
TO(P), DTO(P)
*1 Specified with the upper three digits when the head I/O number is expressed in 4 hexadecimal digits.
Processing details
TO
 • Writes the data stored in n3 points starting from the device designated by (S) 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 (S), writes the same data (value designated to (S)) to the area of n3 words starting from 
the specified buffer memory. ((S) can be designated in the following range: -32768 to 32767 or 0H to FFFFH.)
 • An instruction which has been executed will result in non-processing if it fails to access the target module because the 
module is faulty or busy in processing.
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)
(S):   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 device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
U
Bit
Word
Bit
Word
n1
n2
(S)
n3
Basic
Process
High
performance
Redundant Universal
LCPU
Command
Command
n3
n3
P
n1
n1
n2
n2
TO, DTO
TOP, DTOP
S
S
indicates an instruction symbol of TO/DTO.
CPU module
n3 points
Device designated 
by 
n3 words
0
n2
S
Intelligent function module  
buffer memory
...
CPU module
0
n2
S
5
5
5
5
S
(When 5 is designated to      )
Intelligent function module  
buffer memory
...
n3 words
(The same data is written)