200
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
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 PLC)
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)
The reception program will run when IR 000001
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 ...