![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.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...