Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 887

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Network Instructions
Execution condition
d (Execution completed)
a (Executing)
c (Standby)
c (Standby)
a (Executing)
854
Applications Methods
To use automatic communications port allocation, set the communications
port number of "F" and then program as shown below.
Completing and Processing Error after Executing Communications
Instructions
KEEP
a
(Executing)
When a (Executing) turns ON, a communications instruction
(SEND(090), RECV(098), CMND(490), or PMCR(260)) is executed with the
Communications
communications port specified as "F."
instructions
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 Number).
A218
Confirms that the First Cycle Flags after Network Communications Finished for the
b
(Used port)
automatically allocated port number (corresponding bit for word b in A214) is ON.
TST
A214
b
(Used port)
TSTN
A215
b
(Used port)
TST
A215
b
(Used 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 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 for the automatically allocated port
number (corresponding bit for word b in A215) is OFF.
Section 3-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents