Basic Hardware and Function 275
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 st or ed in the hold
value register.
This counter oper at ion is enabled while the soft-gat e is O N. When the sof t - gate is OFF,
the hold value is cleared to 0.
The sett ing range of the sampling time is 10 to 1000 m s (10 ms units) .
The count value rang e is H0000 to HFFFF (16-bit) .
Hardware condition
Count input (X000 and X001)
ON/OFF pulse width: 100 ms or more (max. 5 kHz)
Related regist ers
SW16: Function selection. Refer to sect ion 8.1.
Function Re
g
ister/device Remarks
Channel 1 Channel 2
Count input X000 X001 (Note 2)
Samplin
g
time SW18 SW20 Data ran
g
e: 1 to 100 (Note 1)
Hold value SW22 SW23 Data ran
g
e: H0000 to HFFFF
Soft-
g
ate S240 S248 Operation is enabled when ON
Note 1) The sett ing data rang e of the sam pling time is 1 to 100. (10 ms multiplier)
Note 2) When bot h channels are used, X000 and X 001 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.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net