Maintenance; Reading The Error Log Table; Clearing Errors; Mounting Precautions - Omron C200H-ASC11 Manual

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Maintenance

9-4-2

Reading the Error Log Table

9-4-3

Clearing Errors

Clearing Errors from the
ASCII Unit
Clearing Error Codes
Using BASIC Commands
9-5

Maintenance

9-5-1

Mounting Precautions

The Error Log Table is reflected in the Allocated I/O as shown below. There-
fore, the table can be read from the CPU Unit via the Allocated I/O.
• When an error is generated, the newest error code and error type is set to
n + 7 words in the IR/CIO Area Allocations.
• To trace past error codes and error types, refer to the Error Log Table
when toggling the Allocated I/O word n bit 06 from 1 to 0 and 0 to 1. The
previous error code and error type will be set to n+7 words. If there are no
older errors the n + 7 words will become 00
newest error.
Note The ERR function is used when an error is generated and that error
code is to be read in the BASIC program.
• The error that has been read can be monitored to determine whether or
not it originated after the program was run (i.e., old or new error informa-
tion) by using word n + 5 bit 08 in the IR/CIO Area. This bit matches each
error type/code for the error log.
Errors are cleared using the ERC command as follows:
By executing the ERC command while in Command Mode, the error status at
that point will be deleted and the error types and codes in the Error Log Table
will also be cleared.
The IOWR (SPECIAL I/O UNIT WRITE) instruction can be executed with a
control code of #EC00 to delete error status (such as with ERC in program
mode). The generated error type and code will remain in the Error Log Table.
IOWR
The ERC command can be executed in Program Mode to delete the current
error status. The deleted error type/codes will remain in the Error Log Table.
These errors will all be given the status "old."
• Turn OFF the power before exchanging ASCII Units.
• After exchanging ASCII Units, confirm again that the new Unit is not faulty.
• If the ASCII Unit has a fault, the user memory area (RAM) in the ASCII
Unit and the BASIC program or library functions in the flash ROM cannot
be read in some cases. Save the compiled BASIC program and library
functions on an external device (e.g., personal computer).
C: #EC00
C
S: Any (data must be 0000)
C200HX/HG/GE
S
D: Bits 12 to 15:
Bits 00 to 11:
D
CS1-series PCs
D: Bits 00 to 03:
D+1:
Section 9-5
once and then return to the
hex
Unit number (0 to F)
001
hex
Unit number (0 to F)
0001
hex
255

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents