EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1036
Network Instructions Section 3-25
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
Execution condition
d (Execution completed)
a (Executing)
c (Standby)
d (Execution completed)
c (Standby)
a (Executing)
MOV
A218
a
(Executing)
TST
A214
TSTN
A215
TST
A215
KEEP
Communications
instructions
Port: F
b
(Used port)
b
(Used port)
b
(Used port)
b
(Used port)
When a (Executing) turns ON, a communications instruction
(SEND(090), RECV(098), CMND(490), or PMCR(260)) is executed with the
communications port specified as “F.”
The communications port number that was automatically allocated is
stored in a work word b (Used port) from A218 (Used Communications
Port Number).
Confirms that the First Cycle Flags after Network Communications Finished for the
automatically allocated port number (corresponding bit for word b in A214) is ON.
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.
Network communications
completion processing
Network communications
error processing
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.

Table of Contents

Related product manuals