![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301078.webp)
1038
Network Instructions
Section 3-25
Programming Example
Timing the Execution of
Network Instructions
A Network Instruction just starts the communications processing when its
execution condition is established. The actual communications processing is
executed in the background in the “serial communications port servicing” por-
tion of peripheral servicing.
The communications processing is performed as follows:
1.
If the corresponding Communications Port Enabled Flag (A20200 to
A20207) is ON when the execution condition is established, the system
performs the following processes:
• Turns OFF the port’s Communications Port Enabled Flag and Commu-
nications Port Error Flag (A21900 to A21907).
• Sets the port’s Communications Port Completion Code (A203 to A210)
to 0000.
• Reads the control words (beginning at C) and starts communications
processing (sending a FINS command or receiving a response.)
2.
In the peripheral servicing’s “serial communications port servicing” portion
of the cycle, the system composes a FINS command based on the oper-
ands (see note) and sends the FINS command to the Communications
Unit or other destination node.
A20201
W00000
A20201
W00001
Communications were previously enabled by
exclusively controlling operation using W00000 and
W00001.
Automatic
port alloca-
tion was add-
ed to the pro-
gram.
This instruction may, at times, use
communications port 1. Even if W00000
or W00001 is turned ON, A20201 will be
turned OFF by execution of this
PMCR(260) instruction, so neither of the
CMND(490) instructions will be executed.
Port: 1
Port: 1
Port: F
CMND
S
D
C
Cycle
time
Communications Port
Enabled Flag
Background communications
processing
Cycle
time
Directs the
start of
processing
only.
Execution
Condition
Stores results when
communications
processing is completed.
Composes a FINS
command based on the
command data and sends it.
Receives the response and stores
the information as response data.
The communications results are
reflected in the allocated Auxiliary
Area Flags.
The communications processing
(transmission and reception) is
performed in time-slices over several
cycles during the peripheral
servicing’s “serial communications
port servicing” portion of the cycle.
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 ...