Error Codes - Omron CJ1W-CTL41-E Operation Manual

Machine automation controller, 4-channel counter unit, nj-series cpu unit
Hide thumbs Also See for CJ1W-CTL41-E:
Table of Contents

Advertisement

5-2

Error Codes

 Reporting errors
Errors occurring in the 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 Counter Unit.
• Global Error variable below changes to TRUE (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 FALSE (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 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.
Variable names
*_RdNxtErr
CJ-series 4-Channel Counter Unit Operation Manual for NJ-series CPU Unit (W512)
5 Error Processing, Maintenance and Inspection
Type
Name
BOOL
Global Error
WORD
Error Code 1
WORD
Error Code 2
Type
Name
BOOL
Read Next Error
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
Function
When multiple errors occurred at the
same time, at the rising edge from 0 to 1,
the next error is read out from the error
list in this Unit.
5
5-3

Advertisement

Table of Contents
loading

Table of Contents