9-4
S(P).TO
9.1.1 Write to Host CPU Shared Memory (S(P).TO)
S(P).TO
Function
(1) Writes device data of words n3 to n4 to the CPU shared memory address specified by n2 of
the host CPU module or later address.
When writing is completed, the completion bit specified by turns ON.
Basic model QCPU:The first 5 digits of serial No is "04122" or higher.
Hight performance modele QCPU:Function version B or later.
n1 : Head I/O number of the host CPU (BIN 16 bits)
n2 : CPU shared memory address of the write destination host CPU (BIN 16 bits)
•Basic model QCPU: 0 to 511
•High Performance model QCPU, Process CPU, Universal model QCPU: 0 to 4095
n3 : Head number of the devices where data to be written is stored (BIN 16 bits)
n4 : Number of data blocks to be written (BIN 16 bits)
•Basic model QCPU: 1 to 320
•High Performance model QCPU, Process CPU: 1 to 256
•Universal model QCPU: 1 to 2048
: Device of the host CPU which is turned ON for one scan by the completion of writing (bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
n1 –– –– ––
n2 –– –– ––
n3 –– –– –– ––
n4 –– –– ––
–– ––
Process
Universal
Redundant
Ver.
Basic
Ver.
High
performance
Command
Command
n4
n4
n1
n1
n2
n2
S.TO
SP.TO
S.TO
SP.TO
n3
n3
D
D
D
D
D
Device memory
Writes the
data of n4
words
Host CPU
n4
n3
CPU shared memory
of host CPU (n1)
n2