5 - 106
5 OPERATION CONTROL PROGRAMS
F/FS G
5.13.6 Write device data to CPU shared memory of the self CPU: MULTW
Format MULTW(D), (S), (n), (D1) Number of basic steps 8
[Usable data]
Setting
data
Usable Data
Bit device
Word device Constant
Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
16-bit
integer
type
32-bit
integer
type (L)
64-bit
floating
point
type (F)
Coasting
timer
16-bit
integer
type (K/H)
32-bit
integer type
(K/H, L)
64-bit
floating
point
type (K)
(D) —
— — —
— — — — —
(S)
— — — — — — — — —
(n) —
— — —
— — — — —
(D1)
— — — — — — — — — —
: Usable
[Setting data]
Setting data Description Data type of result
(D)
The CPU shared memory address of self CPU of
the writing destination device. (800H to FFFH)
—
(S)
Start device No. which writing data are stored.
(n)
Number of words to be written (1 to 256)
(D1)
Self CPU device is made to turn on by the writing
completion.
[Functions]
(1) A part for (n)words of data since the device specified with (S) of the self CPU
module are written to since the CPU shared memory address specified with (D) of
the self CPU module. After writing completion of the device data, the complete bit
device specified with (D1) turns on.
Self CPU operation
data area
System area
H0000
H0005
H000A
H0000
CPU shared
memory of the
self CPU
(D)
Write the data
of a part for
(n)words
H0000
H0005
H000A
H0000
(S)
Device memory
0H
200H
800H
1000H
5F0FH
2710H
CPU shared
memory address
User setting area
Unusable
Multiple CPU high
speed transmission
area
This area can be
used at users area.
(2) Do resetting of the complete bit device by the user program.
(3) Another MULTW instruction cannot be processed until MULTW instruction is
executed and a complete bit device is turned on. When MULTW instruction is
executed again, before MULTW instruction is executed and complete bit device is
turned on, the MULTW instruction executed later becomes an error.