Chapter 7 Usage of Various Functions
7-
ే
Chapter 7 Usage of Various Functions
7.1 Built-in Functions
7.1.1 High-speed counter function
This chapter describes the specification, handling, and programming of built-in high speed counter of K7. The built-in
high speed counter of MK80S(hereafter called HSC) has the following features;
3 counter functions as followings
- 1-phase up / down counter : Up / down is selected by user program
- 1-phase up / down counter : Up / down is selected by external B phase input
- 2-phase up / down counter : Up / down is automatically selected by the phase difference between A-phase and B.
Multiplication (1, 2, or 4) with 2-phase counter
- 2-phase pulse input multiplied by one : Counts the pulse at the leading edge of A-phase.
- 2-phase pulse input multiplied by two : Counts the pulse at the leading / falling edge of A-phase.
- 2-phase pulse input multiplied by four : Counts the pulse at the leading / falling edge of A-phase and B
1) Performance Specifications
Items Specifications
Types A-phase, B-phase, Preset
Rated level 24VDC (15mA)
Input signal
Signal type Voltage input
Counting range 0 ~ 16,777,215 (Binary 24 bits)
Max. counting speed 1-phase 16kHz/ 2-phase 8kHz
1-phase Sequence program or B-phase input
Up / Down
selection
2-phase Auto-select by phase difference of A-phase and B
Multiplication 1, 2, or 4
Preset input Sequence program or external preset input
2) Input specification
Items Specifications
Rated input 24VDC (15mA)
On voltage 14VDC or higherA / B phase
Off voltage 2.5VDC or lower
Rated input 24VDC (15mA)
On voltage 19VDC or higher
Off voltage 6V or lower
On delay time Less than 1.5ms
Preset input
Off delay time Less than 2ms