Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
7 - 83
7 OPERATION CONTROL PROGRAMS
(3) Another MULTW instruction cannot be processed until MULTW instruction is
executed and a complete bit device is turned on. When MULTW instruction was
executed again before MULTW instruction is executed and complete bit device is
turned on, the MULTW instruction executed later becomes an error.
(4) The word devices that may be set at (D), (S) (n) and (D1) are shown below.
Word devices
(Note-1)
Bit devices
(Note-1), (Note-2)
Setting data
Dn Wn #n Mn Bn Fn Xn Yn
(D)
— — — — —
(S)
(Note-3)
(Note-3)
(n)
— — — — —
(D1) —
(Note-4)
(Note-4)
(Note-1) : The device No. cannot be specified indirectly.
(Note-2) : Specify a multiple of 16 as the device number of bit data.
(Note-3) : PX/PY cannot be set.
(Note-4) : PY can be set. PX cannot be set.
(5) Adjust an executive task, the number of transfer word referring to the operation
processing time so that this instruction may not obstruct the execution of the
motion operation because processing time becomes long in argument to the
number of words (n) to be written.
[Errors]
(1) An operation error will occur if:
• Number of words (n) to be written is outside the range of 1 to 256.
• 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.
• 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.
• First device No. (S) which writing data are stored + number of words (n) to be
written is outside the device range.
• MULTW instruction was executed again before MULTW instruction is executed
and complete bit device is turned on.
• (D1) is a write-disabled device.
• (S) is a bit device and device number is not a multiple of 16.
• PX/PY is set in (S) to (S)+(n-1).