6F3B0253
Basic Hardware and Function 259
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
Single phase Channel 1 only −001000000000011
up-counter Channel 2 only −010000000000011
Both channels −011000000000011
Single phase Channel 1 only −001010000000011
speed-counter Channel 2 on l y −010010000000011
Both channels −011010000000011
Quadrature bi-pulse counter −000100000000011
Interrupt input function SW16
FEDCBA9876543210
Interrupt 1 only Rising (OFF to ON) −001000000000101
Falling (ON to OFF) −001000000001001
Interrupt 2 only Rising (OFF to ON) −010000001000001
Falling (ON to OFF) −010000010000001
Both interrupts No. 1 = Rising, No.2 = Rising −011000001000101
1 and 2 No.1 = Rising, No.2 = Falling −011000010000101
No.1 = Falling, No.2 = Rising −011000001001001
No.1 = Falling, No.2 =
Falling −011000010001001
Pulse output function SW26
FEDCBA9876543210
CW/CCW method −−−0000000000 011
Pulse/Direction (PLS/DIR) m ethod −−−000 0000000111
PWM output function SW 26
FEDCBA9876543210
Use −−−0000000000001
For example, the followin g programs can be used to select the quadrature bi-pulse
counter.
or
(H0803)