![background image](http://html.mh-extra.com/html/omron/c200hw-clk21/c200hw-clk21_operation-manual_742483217.webp)
192
Using the Message Service
Section 6-3
6-3
Using the Message Service
With SEND, RECV, and CMND, the Network Instruction Enabled Flag and
Network Instruction Error Flag are generally written into the program as input
conditions, as shown below. Only one instruction can be executed at a time for
any given communications port. Exclusive control thus must be incorporated
to execute two or more instructions per operating level with C200HX/HG/HE
PLCs, nine or more instructions with CS/CJ-series, CVM1, and CV-series
PLCs (because CVM1 and CV-series PLCs have eight ports), or two or more
instructions with CQM1H-series PLCs.
SEND/RECV Flags
CS/CJ-series PLCs
Note
With CS/CJ-series PLCs, ports 0 to 7 are also used for executing the PMCR
(Protocol Macro) instruction, therefore these flags are used for the 4 instruc-
tions, SEND/RECV/CMND/PMCR. When the PMCR command is being exe-
cuted, the same port cannot be used for SEND/RECV/CMND instructions.
KEEP A
Keep instruction
Turns A ON from beginning to completion of
communications instruction.
Reset B
A
Operand and
control data cre-
ation by @MOV
and @XFER
Communications
instruction
@SEND
@RECV
@CMND
Creates operand and control data in a given area.
Executes communications instruction.
Network Instruction
Enabled Flag
A
Startup differ-
ential
DIFU B
Creates reset input. (Turns reset B ON after execution of
communications instruction.)
Network Instruction Error Flag
Network Instruction
Enabled Flag
A
Reset D
In case of Send Error Flag, re-send processing
can be executed.
Establishes exclusive control so that no communications
instruction is started before the previous one has been
completed.
Exclusive control to prevent simultaneous execution:
(Continues in the same way.)
Active Node Flag for
source node
Active Node Flag for
destination node
A
Execution
condition
KEEP C
Keep instruc-
tion
C
Execution
condition
Network Instruction
Enabled Flag
Name
Address
Contents
Word
Bit
Network Instruc-
tion Enabled Flag
A202
Port number corresponds
to bit number, i.e., port 0:
bit 00, port 1: bit 01, etc.
0: Execution not enabled (executing)
1: Execution enabled (not executing)
Network Instruc-
tion Error Flag
A219
Port number corresponds
to bit number plus 8, i.e.,
port 0: bit 08, port 1: bit 09,
etc.
0: Normal end
1: Abnormal end
Содержание 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 ...