7 MOTION PROGRAMS FOR POSITIONING CONTROL
[Program Example]
An operation error will occur if :
(a) Number of words (n) to be written is outside the range of 1 to 256.
(b) The shared CPU memory address (D) of self CPU of the writing destination
device is outside the range (800H to FFFH) of the shared CPU memory
address.
(c) The shared CPU memory address (D) of self CPU of the writing destination
device + number of words (n) to be written is outside the range (800H to
FFFH) of the shared CPU memory address.
(d) First device No. (S) which writing data are stored + number of words (n) to
be written is outside the device range.
(e) MULTW instruction was executed again before MULTW instruction is
executed and complete bit device is turned on.
2-word from D0 is written in the shared CPU memory to since A00H.
RST #M0 ;
MULTW HA00 #D0 2 #M0 ;
7 - 177