Using The Message Service - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

Using the Message Service

6-3
Using the Message Service
Network Instruc
Execution
tion Enabled Flag
condition
Reset B
A
Active Node Flag for
source node
Network Instruction
Enabled Flag
A
Network Instruction Error Flag
A
Network Instruction
Execution
Enabled Flag
condition
Reset D
(Continues in the same way.)
SEND/RECV Flags
CS/CJ-series PCs
Network Instruc-
tion Enabled Flag
Network Instruc-
tion Error Flag
132
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
PCs, nine or more instructions with CS/CJ-series, CVM1, and CV-series PCs
(because CVM1 and CV-series PCs have eight ports), or two or more instruc-
tions with CQM1H-series PCs.
C
KEEP A
Keep instruction
Active Node Flag for
destination node
Operand and
control data cre
ation by @MOV
and @XFER
Communications
instruction
@SEND
@RECV
@CMND
Startup differ
ential
DIFU B
A
KEEP C
Keep instruc
tion
Name
Word
A202
A219
Note With CS/CJ-series PCs, 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.
Turns A ON from beginning to completion of
communications instruction.
Creates operand and control data in a given area.
Executes communications instruction.
Creates reset input. (Turns reset B ON after execution of
communications instruction.)
In case of Send Error Flag, re-send processing
can be executed.
Exclusive control to prevent simultaneous execution:
Establishes exclusive control so that no communications
instruction is started before the previous one has been
completed.
Address
Bit
Port number corresponds
to bit number, i.e., port 0:
bit 00, port 1: bit 01, etc.
Port number corresponds
to bit number plus 8, i.e.,
port 0: bit 08, port 1: bit 09,
etc.
Section 6-3
Contents
0: Execution not enabled (executing)
1: Execution enabled (not executing)
0: Normal end
1: Abnormal end

Advertisement

Table of Contents
loading

Table of Contents