![background image](http://html.mh-extra.com/html/omron/c200hw-clk21/c200hw-clk21_operation-manual_742483222.webp)
197
Using the Message Service
Section 6-3
PLC Programming Examples
CS/CJ-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 Destination 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 DM 00010.
Transfers the 10 words beginning at DM 00010 of
the source node to the words beginning with DM
00020 at network address 2, node address 4, and
Unit address 0 (PLC).
Creates reset input.
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
The transmission program will run when CIO 000000
turns ON, provided that the Network Instruction Ena-
bled Flag is ON and the RECV instruction has not
been executed.
Содержание C200HW-CLK21
Страница 3: ...iv ...
Страница 9: ...x ...
Страница 12: ...xiii TABLE OF CONTENTS Index 367 Revision History 373 ...
Страница 13: ...xiv ...
Страница 19: ...xx ...
Страница 57: ...32 Application Precautions Section 1 5 Example CX Programmer Response Timeout Setting ...
Страница 69: ...44 Message Service Procedure Section 2 2 ...
Страница 111: ...86 Constructing Networks with Repeater Units Section 3 4 ...
Страница 154: ...129 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Страница 261: ...236 Response Codes Section 6 7 ...
Страница 297: ...272 Message Delay Times Section 8 4 ...
Страница 353: ...328 Handling Precautions Section 9 6 ...
Страница 364: ...339 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Страница 365: ...340 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Страница 369: ...344 Standard Models Appendix A ...
Страница 391: ...366 Using the Relay Terminal Block Appendix C ...
Страница 397: ...372 Index ...
Страница 401: ...376 Revision History ...