![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301076.webp)
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.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...