EasyManua.ls Logo

Omron CP1L - Page 661

Omron CP1L
763 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
Loading...
627
Auxiliary Area Allocations by Address Appendix D
A202 A202.00
to
A202.07
Communica-
tions Port
Enabled Flags
ON when a network instruction
(SEND, RECV, CMND, or PMCR)
can be executed with the corre-
sponding port number. Bits 00 to 07
correspond to communications ports
0 to 7.
When two or more network instruc-
tions are programmed with the same
port number, use the corresponding
flag as an execution condition to pre-
vent the instructions from being exe-
cuted simultaneously.
(The flag for a given port is turned
OFF while a network instruction with
that port number is being executed.)
ON: Network
instruction is
not being exe-
cuted
OFF: Net-
work instruc-
tion is being
executed
(port busy)
Cleared --- --- ---
A202.15 Network Com-
munications
Port Alloca-
tion Enabled
Flag
ON when there is a communications
port available for automatic alloca-
tion.
Note Use this flag to confirm
whether a communications
port is available for automatic
allocation before executing
communications instructions
when using 9 or more com-
munications instructions
simultaneously.
ON: Port
available
OFF: Port not
available
Cleared --- --- ---
A203
to
A210
All Communica-
tions Port
Completion
Codes
These words contain the completion
codes for the corresponding port
numbers when network instructions
(SEND, RECV, CMND, or PMCR)
have been executed.
(The corresponding word will be
cleared when background execution
has been completed.)
Words A203 to A210 correspond to
communications ports 0 to 7.
Non-zero:
Error code
0000:
Normal condi-
tion
Retained --- --- ---
A214 A214.00
to
A214.07
First Cycle
Flags after
Network Com-
munications
Finished
Each flag will turn ON for just one
cycle after communications have
been completed. Bits 00 to 07 corre-
spond to ports 0 to 7. Use the Used
Communications Port Number stored
in A218 to determine which flag to
access.
Note These flags are not effective
until the next cycle after the
communications instruction is
executed. Delay accessing
them for at least one cycle.
ON: First
cycle after
communica-
tions finish
only
OFF: Other
status
--- ---
A215 A215.00
to
A215.07
First Cycle
Flags after
Network Com-
munications
Error
Each flag will turn ON for just one
cycle after a communications error
occurs. Bits 00 to 07 correspond to
ports 0 to 7. Use the Used Communi-
cations Port Number stored in A218
to determine which flag to access.
Determine the cause of the error
according to the Communications
Port Completion Codes stored in
A203 to A210.
Note These flags are not effective
until the next cycle after the
communications instruction is
executed. Delay accessing
them for at least one cycle.
ON: First
cycle after
communica-
tions error
only
OFF: Other
status
--- ---
A216
to
A217
All Network Com-
munications
Completion
Code Storage
Address
The completion code for a communi-
cations instruction is automatically
stored at the address with the I/O
memory address given in these
words.
Place this address into an index reg-
ister and use indirect addressing
through the index register to read the
communications completion code.
I/O memory
address for
the network
communica-
tions comple-
tion code
storage
--- ---
Address Name Function Settings Status
after
mode
change
Status
at star-
tup
Write
timing
Related
flags, set-
tings
Words Bits

Table of Contents

Other manuals for Omron CP1L

Related product manuals