
5-5
5 Error Processing, Maintenance and Inspection
CJ-series High-speed Counter Units Operation Manual for NJ-series CPU Unit(W492)
5-2 Err
o
r cod
es
5
5-2-1 D
M
-configu
ration
erro
rs
An allocated DM area setting error is detected during the initialization processing when the Controller is
reset or the Unit is restarted.
When an allocated DM area setting error is detected, the error information is stored into memory and
the High-speed Counter Unit stops operation.
You can read the error information with the Read Next Error variable.
For the allocated DM area offset, refer to A-1-2 Differences in Access Methods from a User Program.
m in the table indicates the first word allocated in DM. m = (N
×
100) (N: Unit number)
Variable names
Type
Name
Function
*_RdNxtErr
BOOL
Read Next Error
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-2-1
DM-configuration errors
Error Code 1
Error Code 2
Error
Description
0300
Offset (BCD)
Out of Range
The DM-setting located at (Nx100) + Offset is
Out of Range (N = Machine Number).
0310
Offset (BCD)
Illegal Value
The BCD value of the allocated DM area (m+x (x: offset)
words) is invalid. (Any values other than 0 to 9 are
invalid.)
0311
Offset (BCD)
Invalid Initial
Counter Value
The Initial Counter Value located at (Nx100) +
Offset is outside the counting range that is set for that
Counter (N = Machine Number).
0320
Counter
No.
Range
No.
(BCD)
Invalid
Range Limits
Upper limit
<
Lower limit
Bits 00 to 11: Data No. (16#0001 to 16#0032)
Bits 12 to 15: Counter No. (16#1, 16#2)
0330
Counter
No.
Range
No.
(BCD)/
CV No.
(BCD)
Invalid
Range Limit(s)/
Comparison Value
If the Unit is in Range Mode: Lower and/or Upper Range
Limit is/are outside Counting Range. Counter No. indi-
cates the Counter number and Range No. indicates the
Range number.
If the Unit is in Comparison Mode: Comparison value is
outside Counting Range. Counter No. indicates the
Counter number and CV No. indicates the Comparison
Value number.
(The counting range of Circular and Linear Counters can
be specified, refer to 3-2-2 Circular Counter and 3-2-3
Linear Counter for more information).
Bits 00 to 11: Data numbers (16#0001 to 16#0032)
Bits 12 to 15: Counter numbers (16#1, 16#2)
0331
Counter
No.
CV No.
(BCD)
Duplicate Target
Value
For the Counter, with the Counter Number as reported in
Error Code 2, one or more Comparison Values are
equal. CV No. indicates the Comparison Value number.
Bits 00 to 11: Data numbers (16#0001 to 16#0032)
Bits 12 to 15: Counter numbers (16#1, 16#2)