EasyManua.ls Logo

Omron CJ - 08-2008 - Page 648

Omron CJ - 08-2008
733 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...
600
Auxiliary Area Appendix C
A203 to
A210
All Communica-
tions Port
Completion
Codes
These words contain the completion codes for the
corresponding port numbers when network instruc-
tions (SEND, RECV, CMND, or PMCR) or back-
ground execution (CJ1-H CPU Units only) have been
executed.
(The corresponding word will be cleared when back-
ground execution has been completed for CJ1-H
CPU Units.)
Words A203 to A210 correspond to communications
ports 0 to 7.
Non-zero: Error code
0000: Normal condition
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 Communications Error Flag is ON, the
FINS end code is stored.
If the Explicit Communications Error Flag is ON and
the Network Communications 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 network instruction with that port num-
ber is executed.)
(When the simple backup operation is used to per-
formed a write or compare operation for a Memory
Card on a CS1-H CPU Unit, a communications port
will be automatically allocated, and a completion
code will be stored in the corresponding word.)
(The completion code for a given port is cleared to
0000 when a network instruction with that port num-
ber is executed.)
(When the simple backup operation is used to per-
formed a write or compare operation for a Memory
Card on a CJ1-H or CJ1M CPU Unit, a communica-
tions port will be automatically allocated, and a com-
pletion code will be stored in the corresponding
word.)
Cleared --- ---
A213 A21300
to
A21307
Explicit Com-
munications
Error Flag
Turn ON when an error occurs in executing an
Explicit Message Instruction (EXPLT, EGATR,
ESATR, ECHRD, or ECHWR).
Bits 00 to 07 correspond to communications ports 0
to 7.
1: Error end
0: Normal end
The corresponding bit will turn ON both when the
explicit message cannot be sent and when an error
response is returned for the explicit message.
The status will be maintained until the next explicit
message communication is executed. The bit will
always turn OFF when the next Explicit Message
Instruction is executed.
Cleared --- A21900 to A21907
A203 to A210
A214 A21400
to
A21407
First Cycle
Flags after
Network Com-
munications
Finished
Each flag will turn ON for just one cycle after commu-
nications 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.
1: First cycle after communications finish only
2: Other status
Note: These flags are not effective until the next
cycle after the communications instruction is exe-
cuted. Delay accessing them for at least one cycle.
Retained Cleared ---
Address Name Function Status
after
mode
change
Status
at star-
tup
Write timing/
Related flags,
settings
Words Bits

Table of Contents

Related product manuals