15 Ethernet
15-34
CP2E CPU Unit Software User’s Manual(W614)
The data and FINS commands can be transmitted between the CP2E N
-type CPU Unit and other
devices using the CMND, SEND or RECV instuction.
Setting the network address and the node address of the instrction in the CP2E N
-type CPU Unit
ladder program, it is possible to send the data and FINS commands to another device, or receive data
from another device.
c
CP2E N
-type CPU Unit requests the data to be transmitted from
d
CP2E N
-type CPU Unit
(node address
3
) in the local network and receives the data.
When W0.00 and A202.7 (the Communications Port Enabled Flag for port 07) are ON, 20 words are
read from D100 to D119 of
d
CP2E N
-type (node address
3
), transmitted to
c
CP2E N
-type
and stored in D200 to D219 using the RECV instruction.
15-4-7 CMND/SEND/RECV Instructions
Sample Program
20 word
s
D200
D201
D219
:
20 word
s
D100
D101
D119
:
S
end re
qu
e
s
t
RECV in
s
tr
u
ction
c
CP2E N
-type CPU Unit
Port n
u
m
b
er 7
Re
s
pon
s
e re
qu
e
s
ted
Retrie
s
: 3
Re
s
pon
s
e monitoring time 10
s
Re
s
pon
s
e d
a
t
a
d
CP2E N
-type CPU Unit
Node
a
ddre
ss
: 3
Unit
a
ddre
ss
: 00 (CPU Unit)
RECV
15 87 0
D: D00300 0 0 1 4
C+1: D00301 0 0 0 0
C+2: D00302 0 3 0 0
C+3: D00303 0 7 0 3
C+4: D00304 0 0 6 4
A202.07
W0.00
S
D00100
D D00200
C D00300
Fir
s
t
s
o
u
rce word (remote node)
Fir
s
t de
s
tin
a
tion word (loc
a
l node)
Fir
s
t control word
N
u
m
b
er of word
s
to receive (
s
end re
qu
e
s
t): 0014 hex (20 word
s
)
S
o
u
rce network
a
ddre
ss
: 00 hex (loc
a
l network)
S
o
u
rce node
a
ddre
ss
: 3 hex,
S
o
u
rce
u
nit
a
ddre
ss
: 00 hex (CPU Unit)
Re
s
pon
s
e re
qu
e
s
ted (fixed), Logic
a
l port n
u
m
b
er: 7 hex, Retrie
s
: 3 hex
Re
s
pon
s
e monitoring time: 0064 hex (10
s
ec.)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......