![background image](http://html1.mh-extra.com/html/omron/cvm1-clk21/cvm1-clk21_operation-manual_742531154.webp)
138
Using the Message Service
Section 6-3
Note
1.
With CS/CJ-series PCs, 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.
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.
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 (PC) 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
Содержание 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: ......