![](/images/new-backgrounds/1093887/93887529x1.webp)
6F3B0253
8. Special I/O Functions
8.3.2Single phase speed-counter
Function
This function counts the number of changes of the count input from OFF to ON during the every specified sampling time. The count value in a sampling time is stored in the hold value register.
This counter operation is enabled while the
The setting range of the sampling time is 10 to 1000ms (10ms units). The count value range is H0000 to HFFFF
Hardware condition
Count input (X000 and X001)
ON/OFF pulse width: 100∝ s or more (max. 5KHz)
Related registers
SW16: Function selection. Refer to section 8.1.
Function | Register/device | Remarks | |
| Channel 1 | Channel 2 |
|
Count input | X000 | X001 | (Note 2) |
Sampling time | SW18 | SW20 | Data range: 1 to 100 (Note 1) |
Hold value | SW22 | SW23 | Data range: H0000 to HFFFF |
S240 | S248 | Operation is enabled when ON |
Note 1) The setting data range of the sampling time is 1 to 100. (10ms multiplier) Note 2) When both channels are used, X000 and X001 cannot be used as normal
input devices. However, if either one channel is used, the input for unused channel can be used as normal input devices.
Interrupt assignment
No interrupt function.
Basic Hardware and Function 263