Writing To Host Cpu Shared Memory - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Writing to host CPU shared memory

TO(P), DTO(P)
Ver.
High
Process
Redundant
Basic
performance
• Q00CPU, Q01CPU: The serial number (first five digits) is "04122" or later.
TO, DTO
TOP, DTOP
n1:
Start I/O number of the host CPU module
 Basic model QCPU: 3E0H
 Universal model QCPU: 3E0H to 3E3H
n2:
CPU shared memory address of the write destination host CPU (BIN 16 bits)
 Basic model QCPU: 192 to 511
 Universal model QCPU: 2048 to 4095, 10000 to 24335
(S): Data to be written or head number of the devices where the data to be written is stored (BIN 16 bits)
n3:
Number of data blocks to be written (BIN 16 bits)
 Basic model QCPU: TO(P): 1 to 320, DTO(P): 1 to 160
 Universal model QCPU: TO(P): 1 to 14336, DTO(P): 1 to 7168
Setting
Internal device
data
Bit
Word
n1
n2
(S)
n3
*1 Specified with the upper three digits of the four hexadecimal digits representing the start I/O number.
*2 The setting range varies depending on the auto refresh setting range of the multiple CPU high speed transmission function.
The n1 is specified by the first 3 digits of the hexadecimal 4 digits which represent the head I/O number of the slot mounted to
the CPU module.
Slot number
CPU slot
Slot 0
Slot 1
Slot 2
Processing details
■TO
• Writes device data of words (S) to n3 to the CPU shared memory address specified by n2 of the host CPU module or later
address.
Host CPU
Device memory
S
n3
LCPU
Universal
Command
Command
*1
(BIN 16 bits)
*2
*2
R, ZR
J\
Bit
Head I/O number
3E00
3E10
3E20
3E30
CPU shared memory
of host CPU (n1)
n2
Writes the
data of n3
words
indicates an instruction symbol of TO/DTO.
n1
n2
P
n1
n2
U\G
Zn
Word
n1
3E0
3E1
3E2
3E3
9 MULTIPLE CPU DEDICATED INSTRUCTIONS
9.1 Writing to the CPU Shared Memory of Host CPU
S
n3
n3
S
Constant
Others
K, H
U
9
851

Advertisement

Table of Contents
loading

Table of Contents