Error Codes - Omron CJ1W-CT021 Operation Manuals

For nj-series cpu unit. high-speed counter units.
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

5 Error Processing, Maintenance and Inspection
5-2

Error codes

Reporting errors
Errors occurring in the High-speed Counter Unit are divided into the following 4 types.
• Allocated DM area setting error
• Overflow/underflow error
• Preset error
• System error
There is an error code for each error. These error codes are made up of error code 1 and error code
2.
If an error occurs, the state becomes as follows.
• The corresponding error code is transferred to the error code 1 and 2 variables below.
• The error code is stored in the error list in the High-speed Counter Unit.
• Global Error variable below changes to ON (1).
• The ERC indicator on the front of the Unit lights up.
Variable names
*_GlblErr
*_ErrCode1
*_ErrCode2
When the cause of an error is eliminated, the state becomes as follows.
• The error code 1 and 2 variables are cleared.
• Global Error variable goes OFF (0).
• The ERC indicator on the front of the Unit goes out.
The method for eliminating an error depends on the error type. (The method for eliminating each
type of error is given on the pages that follow.)
Error List File
Up to 30 errors that occurred are recorded in the error list in the high-speed Counter Unit in the
order they occurred.
If multiple errors occurred at the same time, the error is stored in "*_ErrCode1" (error code1) and
"*_ErrCode2" (error code 2) when the [Read Next Error] variable below is changed from 0 to 1.
When the [Read Next Error] variable changes to TRUE (from 0 to 1) again, the next error can be
read out.
When an error is read out after the information of the final error is read out, the value 0 is returned to.
When the [Read Next Error] bit changes to TRUE (from 0 to 1) again, the same error list can be
scrolled through.
5-4
Type
Name
BOOL
Global Error
WORD
Error Code 1
WORD
Error Code 2
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
Function
1: Shows that one or more error has
occurred. These error codes are stored in
the error list in this Unit.
0: Normal
Error code 1
Error code 2

Advertisement

Table of Contents
loading

Table of Contents