EasyManua.ls Logo

Omron CP1H CPU

Omron CP1H CPU
788 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...
642
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) or
background execution can be exe-
cuted with the corresponding 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.
The following codes will be stored
when an Explicit Message Instruction
(EXPLT, EGATR, ESATR, ECHRD, or
ECHWR) has been executed.
If the Explicit Communications Error
Flag turns OFF, 0000 hex is stored.
If the Explicit Communications Error
Flag is ON and the Network Commu-
nications Error Flag is ON, the FINS
end code is stored.
If the Explicit Communications Error
Flag is ON and the Network Commu-
nications Error Flag is OFF, the
explicit message end code is stored.
During communications, 0000 hex
will be stored and the suitable code
will be stored when execution has
been completed. The code will be
cleared when operation is started.
(The completion code for a given
port is cleared to 0000 when a net-
work instruction with that port num-
ber is executed.)
Non-zero:
Error code
0000:
Normal condi-
tion
Retained --- --- ---
Address Name Function Settings Status
after
mode
change
Status
at star-
tup
Write
timing
Related
flags, set-
tings
Words Bits

Table of Contents

Related product manuals