872
Network Instructions
Section 3-25
The following diagram shows an example of exclusive control.
Automatic Allocation of
Communications Ports
■
Overview
The following instructions all use one communications port (logical port)
between ports 0 to 7.
• Network Communications Instructions: SEND(090), RECV(098), and
CMND(490)
• PROTOCOL MACRO: PMCR(260)
In this section, all of the above instructions are referred to as Communications
Instructions.
Each communications port can be used by only one instruction at a time. The
following steps were previously necessary to use the communications ports.
• When programming, it was necessary to keep track of the communica-
tions ports that were being used to designate them in operands.
• In the ladder program, it was necessary to confirm the availability of com-
munications ports before using them.
Execution
condition
Communications
Port Enabled Flag
Bit A remains ON while the communications
instruction is being executed.
Reset B
Destination
Node Active
Flag
Local Node
Active Flag
Copies the operand and control data to the
desired data area.
Executes the communications instruction.
Writes the reset input. (Reset B is turned
ON when the communications instruction
is completed.)
For Transmission Error Flag display
(Good if data is retransmitted.)
Exclusive control to prevent simulta-
neous execution:
Exclusive control prevents another
communications instruction from being
executed until the instruction above is
completed.
Communications
Port Enabled Flag
Communications
Port Error Flag
Execution
condition
Communications
Port Enabled Flag
Reset D
Same as above.
KEEP A
Creates op-
erand or
control data
with @MOV
or @XFER.
@SEND,
@RECEIVE,
@CMND
DIFU B
KEEP C
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...