![Omron CS1W-ETN01 Operation Manuals Download Page 86](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528086.webp)
5-3
Section
Sending Commands From a PC
74
5-3-2 Program Example
When the Communications Port Enabled Flag for port 7
is ON, and RECV(098) is not being executed, the send
execution program will start when execution condition
CIO 000000 turns ON.
Input CIO 120000 remains ON from the start of
SEND(090) execution until completion.
Control Data Creation
Contents
Meaning
Number of send words = 10
Destination network number = 2
Destination node number = 4
Destination unit address = 0
Response required.
Communications port No. used = 7
Number of retries = 5
Response monitor time = 10 s
Send Data Creation
Ten words of data from word CIO 0000 is
stored from D00010 onwards.
Ten words of data from D00010 at the local node is
sent to D00020 onwards at network number 2, node
number 4, unit address 0 (the PC).
Reset Input Creation
Send Error Display
KEEP
120000
000000
A20207
120002
120001
@MOV(21)
#000A
D00000
120000
@MOV(21)
#0002
D00001
@MOV(21)
#0400
D00002
@MOV(21)
#0705
D00003
@MOV(21)
#0064
D00004
@XFER(70)
#000A
0000
D00010
@SEND(90)
D00010
D00020
D00000
DIFU(13)
120001
120000
A20207
120000
120000
A21907
Execution
condition (See note)
(Continued on next page.)
S
R
(See note)
00
0A
00
02
04
00
07
05
00
64
D0000
D0001
D0002
D0003
D0004
Word