![Omron CVM1-CLK21 Operation Manual Download Page 156](http://html1.mh-extra.com/html/omron/cvm1-clk21/cvm1-clk21_operation-manual_742531156.webp)
140
Using the Message Service
Section 6-3
Note 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 Spe-
cial I/O Units.
XFER(70)
#0016
LR 10
DM 0030
R
S
KEEP(11)
31002
00001
25204
31000
31003
@MOV(21)
#0010
DM 0003
31002
@MOV(21)
#9500
DM 0004
@MOV(21)
#0004
DM 0005
@RECV(98)
HR 10
LR 10
DM 0003
31002
31003
25203
Transmitted data (16 words from LR 10) moved into
words beginning at DM 0030 for storage.
0201
31002
25203
Turns ON to indicate reception error.
DIFU(13) 31003
31002
25204
Network Instruction Error Flag
Creates reset input.
* No destination network address specified
** Response required, 5 retries, direct designa-
tion, monitoring time: default
Control Data Preparation
The reception program will run when IR 00001
turns ON, provided that the Network Instruction En
abled Flag is ON and the SEND instruction has not
been executed.
IR 31002 remains ON while the RECV instruction is
being executed, and it turns OFF when instruction
execution has been completed.
Beginning word for
sending (by destina-
tion node) = DM5000
(05: DM designation)
Beginning Word for Indirect Sending by
Destination Node
DM 0003 0 0
1 0
16 receive words*
DM 0004 9 5
0 0
Operating level 1**
DM 0005 0 0
0 4
Node 4, Unit 0 (a PC)
HR 10
0 5
0 0
HR 11
5 0
0 0
Data for 16 words from DM 5000 (HR10, HR11) of
the node address 4 is received in LR 10 and after.
Execution
condition
@MOV(21)
#0500
HR 10
@MOV(21)
#5000
HR 11
(Continued from the previous page)
Summary of Contents for CVM1-CLK21
Page 2: ......
Page 3: ......
Page 4: ...iv...
Page 6: ...vi...
Page 33: ...17 Application Precautions Section 1 5 2 9 8 2 2 8 5 2...
Page 34: ......
Page 42: ......
Page 66: ......
Page 103: ...87 Setting Data Links Section 5 2 Device Information Setting Data Link Tables...
Page 124: ......
Page 192: ......
Page 280: ......
Page 284: ......
Page 300: ......
Page 304: ......