695
1
10
3
4
6
6
7
8
10.1
O
ver
view
(b) Program example when the D(P).DDWR instructions are executed concurrently
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.
As shown on the program example, multiple CPU device write/read instructions can be executed concurrently.
When reading/writing devices with the multiple CPU high-speed transmission dedicated instructions concurrently,
the more the total number of blocks in the multiple CPU high speed transmission area (send area), the more the
time taken to complete reading/writing with the multiple CPU high-speed transmission dedicated instruction can be
shortened.
Program example when the D(P).DDWR instructions are executed concurrently
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
158
M3
M
4
Comp
l
et
i
on
de
vi
ce
1
E
rror
comp
l
et
i
on
de
vi
ce
1
S
ET F
0
RS
T
M0
Dur
i
ng
w
r
i
t
i
ng
DDWR
i
nstruct
i
on
error
d
i
sp
l
ay
M5
M6
Comp
l
et
i
on
de
vi
ce
2
E
rror
comp
l
et
i
on
de
vi
ce
2
N
ext
data
w
r
i
t
i
ng
i
s
requested
at
norma
l
comp
l
et
i
on
of
the
second
DDWR
i
nstruct
i
on
197
M5
M6
Comp
l
et
i
on
de
vi
ce
2
E
rror
comp
l
et
i
on
de
vi
ce
2
+ K
200
Z2
<
Z2
K
1000
=
Z2
K
1000
P
L
S
M7
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
2
4
1
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
1
MOV
K
100
D3
N
umber
of
w
r
i
te
po
i
nts
2
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
39
RS
T
Z2
S
ET
M0
Dur
i
ng
w
r
i
t
i
ng
Fi
rst
DDWR
i
nstruct
i
on,
Second
DDWR
i
nstruct
i
on
70
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
1
S
ET
M2
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
2
M7
E
xecut
i
on
request
of
the
next
DDWR
i
nstruct
i
on
T
he
f
i
rst
DDWR
i
nstruct
i
on
i
s
executed
9
4
M1
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
1
SM797
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
M3
Comp
l
et
i
on
status
1
Wr
i
te
dest
i
nat
i
on
source
w
r
i
te
Comp
l
et
i
on
de
vi
ce
1
RS
T
M1
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
1
T
he
second
DDWR
i
nstruct
i
on
i
s
executed
126
M2
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
2
SM797
N
umber
of
used
3
b
l
ocks
i
nformat
i
on
(CP
U N
o
.
2)
D
.
DDWR
H
3
E
1
D2
ZR100Z2
ZR100Z2
M5
Comp
l
et
i
on
status
2
Wr
i
te
dest
i
nat
i
on
source
w
r
i
te
Comp
l
et
i
on
de
vi
ce
2
RS
T
M2
Dur
i
ng
execut
i
on
of
the
DDWR
i
nstruct
i
on
2
0