Omron CJ1W-EIP21 - 10-2010 Operation Manual page 255

Ethernet/ip units
Table of Contents

Advertisement

Communicating between OMRON PLCs
Execution
condition
Reset B
A
A
A
Execution
condition
Reset D
Note
Communications
Port Enabled Flag
C
KEEP(011) A
Operand,
control data
created with
@MOV and
@XFER.
Communications
instructions
@SEND
@RECV
@CMND
Communications
Port Enabled Flag
DIFU(013) B
Communications
Port Error Flag
Communications
Port Enabled Flag
A
KEEP(011) C
(Continued in same way.)
The execution status of the SEND(090), RECV(098), and CMND(490) instruc-
tions is always reflected by the communications flags (i.e., the Communica-
tions Port Enabled Flag and the Communications Port Error Flag). The CS/
CJ-series CPU Unit's communications flags are allocated in the Auxiliary Area
as shown in the following table.
Flag name
Communications Port
Enabled Flag
Communications Port
Error Flag
In CS/CJ-series PLCs, communications ports 0 to 7 are also used when exe-
cuting the PCMR(260) (PROTOCOL MACRO), TXDU(256), and RXDU(255)
instructions, so these flags are shared by SEND(090), RECV(098),
CMND(490), PCMR(260), TXDU(256), and RXDU(255).
SEND(090), RECV(098), and CMND(490) cannot be executed at a communi-
cations port if PCMR(260) TXDU(256), or RXDU(255) is being executed at
that port.
Input A remains ON from start to completion of commu-
nications instruction.
Creates operand and control data in a given
area.
Executes communications instructions.
Creates reset input. (Turns reset B ON
after execution of communications in-
struction.)
Send Error Flag display
(Retry can be executed.)
Exclusive control so execution is not simultaneous.
Use exclusive control so that no other communica-
tions instructions are started before execution of the
above communications instruction is complete.
Address
Word
Bits
A202
Bit 7: Port 7
Bit 6: Port 6
Bit 5: Port 5
Bit 4: Port 4
Bit 3: Port 3
Bit 2: Port 2
Bit 1: Port 1
Bit 0: Port 0
A219
Bit 7: Port 7
Bit 6: Port 6
Bit 5: Port 5
Bit 4: Port 4
Bit 3: Port 3
Bit 2: Port 2
Bit 1: Port 1
Bit 0: Port 0
Section 8-6
Contents
OFF: Execution enabled
(being executed)
ON: Execution disabled
(not being executed)
0: Normal completion
1: Abnormal completion
227

Advertisement

Table of Contents
loading

Table of Contents