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.
cCP2E Nîš…îš…-type CPU Unit requests the data to be transmitted from dCP2E 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 dCP2E Nîš…îš…-type (node address 3), transmitted to cCP2E Nîš…îš…-type
and stored in D200 to D219 using the RECV instruction.
15-4-7 CMND/SEND/RECV Instructions
Sample Program
20 words
D200
D201
D219
:
20 words
D100
D101
D119
:
Send request
RECV instruction
c
CP2E N-type CPU Unit
Port number 7
Response requested
Retries: 3
Response monitoring time 10s
Response data
d
CP2E N-type CPU Unit
Node address: 3
Unit address: 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.07W0.00
S D00100
D D00200
C D00300
First source word (remote node)
First destination word (local node)
First control word
Number of words to receive (send request): 0014 hex (20 words)
Source network address: 00 hex (local network)
Source node address: 3 hex, Source unit address: 00 hex (CPU Unit)
Response requested (fixed), Logical port number: 7 hex, Retries: 3 hex
Response monitoring time: 0064 hex (10 sec.)