EasyManuals Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

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
Page #1078 background imageLoading...
Page #1078 background image
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 servicings “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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals