beautypg.com

Special i/o functions – Toshiba 6F3B0253 User Manual

Page 265

background image

6F3B0253

Basic Hardware and Function

263

8. Special I/O Functions

8.3.2

Single 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 soft-gate is ON. When the soft-gate is
OFF, the hold value is cleared to 0.
The setting range of the sampling time is 10 to 1000ms (10ms units).
The count value range is H0000 to HFFFF (16-bit).

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

Soft-gate

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.