![background image](http://html1.mh-extra.com/html/omron/cvm1-clk21/cvm1-clk21_operation-manual_742531153.webp)
137
Using the Message Service
Section 6-3
PC Programming Examples
CS/CJ-series PCs
DIFU(13) 120001
120000
A20207
@MOV(21)
#000A
D00000
120000
R
S
KEEP
120000
00000
A20207
120002
120001
@MOV(21)
#0002
D00001
@MOV(21)
#0400
D00002
120000
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 0010.
Transfers the 10 words beginning at DM 00010 of
the source node to the words beginning with DM
0020 at network address 2, node address 4, and
Unit address 0 (PC).
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 12000 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
Содержание CVM1-CLK21
Страница 2: ......
Страница 3: ......
Страница 4: ...iv...
Страница 6: ...vi...
Страница 33: ...17 Application Precautions Section 1 5 2 9 8 2 2 8 5 2...
Страница 34: ......
Страница 42: ......
Страница 66: ......
Страница 103: ...87 Setting Data Links Section 5 2 Device Information Setting Data Link Tables...
Страница 124: ......
Страница 192: ......
Страница 280: ......
Страница 284: ......
Страница 300: ......
Страница 304: ......