![background image](http://html.mh-extra.com/html/omron/c200hw-clk21/c200hw-clk21_operation-manual_742483223.webp)
198
Using the Message Service
Section 6-3
Note
1.
With CS/CJ-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(11)
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.
CIO 120002 remains ON while the RECV instruction
execution has been completed.
is being executed, and it turns OFF when instruction
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
Control Data Preparation
Word
Content
Meaning
D00005
0 0 10
16 send words
D00006
0 0 0 3 Destination network
address=
3
D00007
2 0 0 0 Destination 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
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 C200HW-CLK21
Page 3: ...iv ...
Page 9: ...x ...
Page 12: ...xiii TABLE OF CONTENTS Index 367 Revision History 373 ...
Page 13: ...xiv ...
Page 19: ...xx ...
Page 57: ...32 Application Precautions Section 1 5 Example CX Programmer Response Timeout Setting ...
Page 69: ...44 Message Service Procedure Section 2 2 ...
Page 111: ...86 Constructing Networks with Repeater Units Section 3 4 ...
Page 154: ...129 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Page 261: ...236 Response Codes Section 6 7 ...
Page 297: ...272 Message Delay Times Section 8 4 ...
Page 353: ...328 Handling Precautions Section 9 6 ...
Page 364: ...339 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Page 365: ...340 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Page 369: ...344 Standard Models Appendix A ...
Page 391: ...366 Using the Relay Terminal Block Appendix C ...
Page 397: ...372 Index ...
Page 401: ...376 Revision History ...