Omron CJ1W-ETN11 Network Card User Manual


 
92
Sending Commands From a PC Section 5-3
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)
120000
@MOV(21)
@MOV(21)
@MOV(21)
@MOV(21)
@XFER(70)
@SEND(90)
DIFU(13)
120000 A20207
120000
120000 A21907
Execution
condition
(See note.)
(
Continued on next
p
a
g
e.
)
S
R
(See note.)
00 0A
00 02
04 00
07 05
00 64
D0000
D0001
D0002
D0003
D0004
Word
#000A
D00000
#0002
D00001
#0400
D00002
#0705
D00003
#0064
D00004
#000A
0000
D00010
D00010
D00020
D00000
120001