User manual

5-5
5.1.1 Table of System Registers for FP0
Content of system register settings
1. Setting the timers and counters (System register 5)
By indicating the counter start number, the timer and counter are split into two areas. The timer and
counter together total 144 points, and the default value for th split is 100. Thus the point allotment is as
shown in the table below.
Timer 100 points (No. 0 to No. 99)
Counter 44 points (No. 100 to No. 143)
Setting example
To increase the number of timers to 120, change the value of system register 5 to K120.
For T32, set the system registers 5 and 6 to the same value. This sets the timer to a non-hold type and
counter to a hold type.
By setting system register 5 to “0”, the whole area becomes the counter. Also, by setting it to the value
“144”, the whole area becomes the timer.