Specifications

Table Of Contents
7 - 9
Writing of data to local machines shared memory: MULTW
Format Setting data Contents Result data type
(D)
Shared memory address of local machine
CPU at writing destination
(S)
Head No. of device in which writing data is
stored
(n) Number of data items to be written
MULTW (D), (S), (n), (D1)
(D1)
Local machine device to turn ON after
completion of writing
(1) (n) word of device data is written from the local machine CPUs (S) to the CPU
shared memory address designated local machine CPUs CPU.
When the writing is completed, the completion bit designated by (D1) is turned
ON.
(2) Reset the completion bit using the user program.
(3) Note that the other MULTW command cannot be executed until the MULTW
command is executed and the completion bit is turned ON.
(4) Since the processing time increases in proportion to the number of writing 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 write 2-word from D0 to shared memory A00H, and shift to
succeeding step after confirming the writing completion.
D0
D1
100
200
A00H
A01H
100
200
2-word transfer
F0
RST M0
MULTW HA00, D0, K2, M0
G0
M0
Shared memory