Toshiba 6F3B0250 Video Gaming Accessories User Manual


 
Basic Hardware and Function
271
8. Special I/O Functions
The table below summarizes the mode setting data of each function. In the table,
-’ means do not care.
Variable input filter constant
SW16
FEDCBA9876543210
Use 1 0
----
00
--
00
----
High speed counter
SW16
FEDCBA9876543210
Sin
g
le phase Channel 1 onl
y
-
001000000000011
up-counter Channel 2 onl
y
-
010000000000011
Both channels
-
011000000000011
Sin
g
le phase Channel 1 onl
y
-
001010000000011
speed-counter Channel 2 onl
y
-
010010000000011
Both channels
-
011010000000011
Quadrature bi-pulse counter
-
000100000000011
Interrupt input function
SW16
FEDCBA9876543210
Interrupt 1 onl
y
Risin
g
(OFF to ON)
-
001000000000101
Fallin
g
(ON to OFF)
-
001000000001001
Interrupt 2 onl
y
Risin
g
(OFF to ON)
-
010000001000001
Fallin
g
(ON to OFF)
-
010000010000001
Both interrupts No.1 = Risin
g
, No.2 = Risin
g
-
011000001000101
1 and 2 No.1 = Risin
g
, No.2 = Fallin
g
-
011000010000101
No.1 = Fallin
g
, No.2 = Risin
g
-
011000001001001
No.1 = Fallin
g
, No.2 = Fallin
g
-
011000010001001
Pulse output function
SW26
FEDCBA9876543210
CW/CCW method
---
0000000000011
Pulse/Direction (PLS/DIR) method
---
0000000000111
PWM output function
SW26
FEDCBA9876543210
Use
---
0000000000001
For example, the following programs can be used to select the quadrature bi-pulse
counter.
or
(H0803)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net