![background image](http://html1.mh-extra.com/html/omron/cs1w-clk12-v1/cs1w-clk12-v1_operation-manual_742356142.webp)
125
Using the Message Service
Section 6-3
PLC Programming Examples
CS-series PLCs
DIFU(13) 120001
120000
A20207
@MOV(21)
#000A
D00000
120000
R
S
KEEP
120000
000000
A20207
120002
120001
@MOV(21)
#0002
D00001
@MOV(21)
#0400
D00002
121000
120000
A21907
Control Data Preparation
Turns ON to indicate transmission error.
Word Content Meaning
D00000 0 0 0 A 10 send words
D00001 0 0 0 2 Destination network
address= 2
D00002 0 4 0 0 Remote node
address = 4
Destination Unit
address = 0
D00003 0 7 0 5 Response required
Port No. 7 used
No. of resends = 5
D00004 0 0 6 4 Response monitoring
time = 10 s
Transfers the 10 words beginning at CIO 0000 to the
10 words beginning at D00010.
Transfers the 10 words beginning at DM 00010 of
the local node to the words beginning with D00020
at network address 2, node address 4, and Unit
address 0 (PLC).
Creates reset input.
The transmission program will run when CIO 00000
turns ON, provided that the Network Instruction En-
abled Flag is ON and the RECV instruction has not
been executed.
CIO 120000 remains ON while the SEND instruction
is being executed, and it turns OFF when instruction
execution has been completed.
(See note 1.)
Execution
condition
(See note 1.)
@MOV(21)
#0705
D00003
@MOV(21)
#0064
D00004
@XFER(70)
#000A
0000
D00010
@SEND(90)
D00010
D00020
D00000
(Continued on the next page)
Network Instruction Error Flag
Summary of Contents for CS1W-CLK12-V1
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 11: ...xii ...
Page 59: ...42 Component Names and Functions Section 3 1 Dimensions Unit mm ...
Page 62: ...45 Component Names and Functions Section 3 1 Dimensions Unit mm ...
Page 91: ...74 CVM1 and CV series Optical Ring Controller Link Units Section 4 2 ...
Page 108: ...91 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Page 125: ...108 Checking Data Link Status Section 5 4 ...
Page 181: ...164 Setting Routing Tables Section 7 4 ...
Page 199: ...182 Memory Areas Related to Duplex Operation Section 8 6 ...
Page 275: ...258 Handling Precautions Section 10 7 ...
Page 298: ...281 CS series Optical Bus Controller Link Units Appendix C Dimensions Unit mm 101 35 130 ...
Page 299: ...282 CS series Optical Bus Controller Link Units Appendix C ...