Specifications

Table Of Contents
7 - 10
Reading of data from shared memory of other machine: MULTR
Format Setting data Contents Result data type
(D)
Head No. of device in which data read is
stored
(S1)
Head input No. of Q-CPU, motion-CPU to
read
(S2)
Head address of shared memory of data to
read
MULTR (D), (S1), (S2), (n)
(n) Number of reading data items
(1) The (n) word of data is read from the address designated by (S2) of the CPUs
shared memory of other machine CPU designated by (S1) to store it in and after
the device designated by (D).
(2) When the reading of data from designated object machine is completed properly,
the "Reading completed" flag corresponding to the object machine is turned ON.
(3) When the MULTR command is executed last to the same machine, the "Reading
completed" flag of the object machine is turned ON/OFF depending on the results
of MULTR executed last.
(4) Since the processing time increases in proportion to the number of reading data
items (n), it is recommended to execute the processing to the normal task or
event task (7.1ms or over), so as not to obstruct the motion operation.
Program example
Program to shift to succeeding step after reading 2-word from the No.1 machines
shared memory C00H to #0
C00
C01
100
200
#0
#1
100
200
2-word transfer
F0
MULTR #0, H3E0, HC00, K2
G0
M9216