Preset Error; Interrupt Fifo Full Error - Omron CJ1W-CT021 Operation Manual

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Error codes
5-2-4

Preset error

Error Code 1
Error Code 2
0470
Counter No.
Clearing Preset error
5-2-5

Interrupt FIFO full error

Error Code 1
Error Code 2
0480
External Interrupt
Task No. (BCD)
Clearing Interrupt FIFO
error
140
Note
At overflow- and underflow errors it is possible to configure Output State Control
(refer to 3-5-4 "Output Control Configuration").
A Preset error is generated if a Circular or Linear Counter is preset with an invalid
Preset Value (refer to 3-4 "Digital Input Functions" for more information about pre-
setting). The Preset Value is invalid if it is outside the counting range of the Circu-
lar or Linear Counter.
Error
Invalid Preset Value
A Preset error can be cleared by resetting or by presetting the Counter that gen-
erated a Preset error, with a valid Preset Value. To reset a Counter refer to 3-6
"Reset Signals". To preset a Counter refer to 3-4 "Digital Input Functions".
Every interrupt that you want to use is assigned to an external interrupt task
number (0-255). This number corresponds with the external interrupt task in the
CJ-series CPU Unit that is to be executed when the assigned interrupt is activated
(refer to 4-6 "Interrupts").
Multiple interrupts, generated by the Digital Inputs and/or the Outputs, will be
queued in FIFO-order inside the High-speed Counter Unit, for as long as the cur-
rent active interrupt is not executed. The FIFO-buffer stores up to 30 interrupt
requests. If the FIFO-buffer is full the Unit will report an error to the CJ-series CPU
Unit. All interrupts generated by the Unit, after the "Interrupt FIFO full" error has
occurred will be ignored and will not generate additional errors. Error Code 2 con-
tains the external interrupt task number of the corresponding interrupt that was
excluded from the full FIFO-queue.
Error
Interrupt-FIFO full
If the speed with which the High-speed Counter Unit generates interrupts is higher
than the speed with which the CJ-series CPU Unit executes the interrupts, the
FIFO-buffer inside the Unit runs full and the "Interrupt FIFO full" error is generated.
The error can be cleared by issuing the IOWR-instruction with the Error Clear
("EC") command (refer to 4-5-3-5 "Error Clear Command" for details).
Description
The Linear Counter with the Counter No. as
reported in Error Code 2 is preset with an
invalid Preset Value.
Description
The interrupt-FIFO inside the High-speed
Counter Unit is full and the interrupt assigned
to External Interrupt Task could not be
executed.
Section 5-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents