![background image](http://html1.mh-extra.com/html/omron/cs1w-clk12-v1/cs1w-clk12-v1_operation-manual_742356143.webp)
126
Using the Message Service
Section 6-3
Note
1.
With CS-series PLCs, the Network Instruction Enabled Flag in A20200 to
A20207 corresponding to communications ports will be OFF even when
PMCR (PROTOCOL MACRO) is being executed.
2.
When using the sample program, make sure that the bits and words used
in the sample program are not the same as those in the user program or
by Special I/O Units.
@XFER(70)
#0016
2000
D00040
R
S
KEEP
120002
000001
A20207
120000
120003
@MOV(21)
#0010
D00005
120002
@MOV(21)
#0003
D00006
@MOV(21)
#2000
D00007
120002
120003
A21907
Transmitted data (16 words from 2000) moved into
words beginning at D00040 for storage.
121001
120002
A21907
Turns ON to indicate reception error.
DIFU(13) 120003
120002
A20207
Creates reset input.
Word Content Meaning
D00005
0 0
1 0
16 receive words
D00006
0 0
0 3
Destination network
address = 3
D00007
2 0
0 0
Remote node
address = 32
Destination Unit
address = 0
D00008
0 7
0 5
Response required
Port No. 7 used
No. of resends = 5
D00009
0 0
0 0
Response monitoring
time = Default
Control Data Preparation
CIO 120002 remains ON while the RECV instruction
is being executed, and it turns OFF when instruction
execution has been completed.
Transfers the 16 words beginning at A100 of net
work address 3, node address 32, and Unit address
0 (PLC) to 2000.
(See note 1.)
(See note 1.)
Execution
condition
(Continued from the previous page)
@MOV(21)
#0705
D00008
@MOV(21)
#0000
D00009
Network Instruction Error Flag
@RECV(98)
A100
2000
D00005
The reception program will run when CIO 00001
turns ON, provided that the Network Instruction En-
abled Flag is ON and the SEND instruction has not
been executed.
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 ...