Omron CS1W-ETN01 Operation Manuals page 86

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents