694
(a) Program example when one D(P).DDWR instruction is executed.
The following shows a program example that writes ZR0 to ZR999 (1000 points) in CPU No.1 to ZR0 to ZR999 in
CPU No.2 with the D.DDWR instruction.
In the following program example, the next D.DDWR instruction is executed after the completion device of the
D.DDWR instruction (M2) turns on so that only one D.DDWR instruction may be executed.
Program example when one D(P).DDWR instruction is executed
T
he
max
i
mum
number
of
used
b
l
ocks
for
mu
l
t
i
p
l
e
CP
U
h
i
gh
-
speed
transm
i
ss
i
on
ded
i
cated
i
nstruct
i
on
sett
i
ng
i
s
set
to
CP
U N
o
.
2
SM
4
02
T
urn
-
on
for
one
scan
after
R
UN
MOV
K
7
SD797
Max
i
mum
number
of
used
b
l
ocks
(CP
U N
o
.
2)
MOV
K
100
D1
N
umber
of
w
r
i
te
po
i
nts
Data
w
r
i
t
i
ng
i
s
started
at
the
r
i
se
of
the
w
r
i
te
command
(X0)
X0
M0
Wr
i
te
command
Dur
i
ng
w
r
i
t
i
ng
37
RS
T
Z2
S
ET
M0
Dur
i
ng
w
r
i
t
i
ng
S
ET
M1
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
68
M0
Dur
i
ng
w
r
i
t
i
ng
M
4
E
xecut
i
on
request
of
the
next
DDWR
i
nstruct
i
on
T
he
DDWR
i
nstruct
i
on
i
s
executed
71
M1
SM797
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
N
umber
of
used
b
l
ocks
i
nformat
i
on
(CP
U N
o
.
2)
D
.
DDWR
H
3
E
1
D0
ZR0Z2
ZR0Z2
M2
Comp
l
et
i
on
status
Wr
i
te
dest
i
nat
i
on
source
/w
r
i
te
Comp
l
et
i
on
de
vi
ce
RS
T
M1
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
When
the
DDWR
i
nstruct
i
on
i
s
comp
l
eted
abnorma
ll
y,
the
annunc
i
ator
i
s
turned
on
and
data
w
r
i
t
i
ng
i
s
stopped
98
M2
M3
Comp
l
et
i
on
de
vi
ce
E
rror
comp
l
et
i
on
de
vi
ce
S
ET F
0
RS
T
M0
Dur
i
ng
w
r
i
t
i
ng
N
ext
data
w
r
i
t
i
ng
i
s
requested
at
norma
l
comp
l
et
i
on
of
the
DDWR
i
nstruct
i
on
13
4
M2
M3
Comp
l
et
i
on
de
vi
ce
E
rror
comp
l
et
i
on
de
vi
ce
+ K
100
Z2
<
Z2
K
1000
=
Z2
K
1000
P
L
S
M
4
E
xecut
i
on
request
of
the
next
DDWR
i
nstruct
i
on
RS
T
M0
Dur
i
ng
w
r
i
t
i
ng
EN
D
173
0