Omron CJ - INSTRUCTIONS Reference Manual page 953

Table of Contents

Advertisement

Applications Methods
1. Set the communications port in the instruction operand to F hex.
2. Program the ladder diagram as shown below.
Completing and Processing Errors after Executing Communications Instructions
Execution condition
d (Execution completed)
a (Executing)
c (Standby)
a (Executing)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
KEEP
a
(Executing)
When a (Executing) turns ON, a communications instruction
Communications
(SEND(090), SEND2(491), RECV(098), RECV2(492), CMND(490),
instructions
CMND2(493), PMCR(260), or PMCR2(264)) is executed with the
communications port specified as "F."
Port: F
The communications port number that was automatically allocated is
stored in a work word b (Used port) from A218 (Used Communications
MOV
Port Numbers).
A218
Confirms that the First Cycle Flags after Network Communications Finished Flag for
b
(Port)
the automatically allocated port number (corresponding bit for word b in A214) is ON.
c (Standby)
TST
A214
b
(Port)
TSTN
A215
b
(Port)
TST
A215
b
(Port)
Bit c turns OFF the cycle after the
communications instruction was
executed to enable checking for
communications completion or
communications errors.
Confirms that the First Cycle Flags after Network
Communications Error Flag for the automatically allocated
port number (corresponding bit for word b in A215) is OFF.
d (Execution completed)
Network communications
completion processing
Network communications
error processing
Confirms that the First Cycle Flags after Network
Communications Error Flag for the automatically allocated
port number (corresponding bit for word b in A215) is OFF.
3. Instructions
3
915

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?

Table of Contents

Save PDF