122
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 nine or more instructions with CVM1 and CV-series PLCs
(because CVM1 and CV-series PLCs have eight ports). A program example is
given below.
SEND/RECV Flags
CS-series PLCs
Note With CS-series PLCs, ports 0 to 7 are also used for executing the PMCR (Pro-
tocol Macro) instruction, therefore these flags are used for the 4 instructions,
SEND/RECV/CMND/PMCR. When the PMCR command is being executed,
the same port cannot be used for SEND/RECV/CMND instructions.
Execution
condition
Network Instruc-
tion Enabled Flag
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
local node
Active Node Flag for re-
mote node
A
Execution
condition
KEEP C
Keep instruc-
tion
C
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 00, 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
Summary of Contents for CS1W-CLK12-V1
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 11: ...xii ...
Page 59: ...42 Component Names and Functions Section 3 1 Dimensions Unit mm ...
Page 62: ...45 Component Names and Functions Section 3 1 Dimensions Unit mm ...
Page 91: ...74 CVM1 and CV series Optical Ring Controller Link Units Section 4 2 ...
Page 108: ...91 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Page 125: ...108 Checking Data Link Status Section 5 4 ...
Page 181: ...164 Setting Routing Tables Section 7 4 ...
Page 199: ...182 Memory Areas Related to Duplex Operation Section 8 6 ...
Page 275: ...258 Handling Precautions Section 10 7 ...
Page 298: ...281 CS series Optical Bus Controller Link Units Appendix C Dimensions Unit mm 101 35 130 ...
Page 299: ...282 CS series Optical Bus Controller Link Units Appendix C ...