Chapter 8 Built-in High-speed Counter Function
8-6
(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
Area per each channel (word)
Ref.
%KW300 %KW330
%KW360 %KW390
%KW2220
%KW2250
%KW2280
%KW2310
(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.