Omron CP1H CPU Operation Manual page 677

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Auxiliary Area Allocations by Address
Address
Name
Words
Bits
A213
A213.00
Explicit Com-
to
munications
A213.07
Error Flag
A214
A214.00
First Cycle
to
Flags after
A214.07
Network Com-
munications
Finished
A215
A215.00
First Cycle
to
Flags after
A215.07
Network Com-
munications
Error
A216
All
Network Com-
to
munications
A217
Completion
Code Storage
Address
A218
All
Used Commu-
nications Port
Numbers
A219
A219.00
Communica-
to
tions Port
A219.07
Error Flags
A262
All
Maximum
and
Cycle Time
A263
Function
Turn ON when an error occurs in
executing an Explicit Message
Instruction (EXPLT, EGATR, ESATR,
ECHRD, or ECHWR).
Bits 00 to 07 correspond to commu-
nications ports 0 to 7.
The corresponding bit will turn ON
both when the explicit message can-
not be sent and when an error
response is returned for the explicit
message.
The status will be maintained until
the next explicit message communi-
cation is executed. The bit will always
turn OFF when the next Explicit Mes-
sage Instruction is executed.
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.
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.
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.
Stores the communications port
numbers used when a communica-
tions instruction is executed using
automatic communication port allo-
cations.
ON when an error occurred during
execution of a network instruction
(SEND, RECV, CMND, or PMCR).
Bits 00 to 07 correspond to commu-
nications ports 0 to 7.
These words contain the maximum
cycle time since the start of PLC
operation. The cycle time is recorded
in 8-digit hexadecimal with the left-
most 4 digits in A263 and the right-
most 4 digits in A262.
Settings
Status
Status
after
at star-
mode
change
ON: Error end
Retained ---
OFF: Normal
end
ON: First
cycle after
communica-
tions finish
only
OFF: Other
status
ON: First
cycle after
communica-
tions error
only
OFF: Other
status
I/O memory
address for
the network
communica-
tions comple-
tion code
storage
0000 to 0007
hex: Commu-
nications port
0 to 7
ON: Error
Retained ---
occurred
OFF: Normal
condition
0 to
---
---
FFFFFFFF:
0 to
429,496,729.
5 ms
(0.1-ms units)
Appendix D
Write
Related
timing
flags, set-
tup
tings
---
A219.00
to
A219.07
A203 to
A210
---
---
---
---
---
---
---
---
---
---
---
---
643

Advertisement

Table of Contents
loading

Table of Contents