![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681076.webp)
1037
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 CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...