Chapter 8 Built-in High-speed Counter Function
(2) Counter mode
2 types of count (Linear counter, Ring counter) can be selected for the applicable use based on
functions.
▪ Counter mode is saved at the following special K area.
Mode
(a) Linear counter
■ Linear Count range: -2,147,483,648 ~ 2,147,483,647
■ If count value reaches the maximum value while increased, Carry will occur, and if count
value reaches the minimum value while decreased, Borrow will occur.
■ If Carry occurs, count stops and increasing is not available but decreasing is available.
■ If Borrow occurs, count stops and decreasing is not available but increasing is available.
8-6