Chapter 7 High-speed Counter Module AH02HC/AH04HC
7-21
bit# Description
OFF: The function is disabled.
ON: The function is enabled.
4
Setting the accumulation register
OFF: The accumulation register counts linearly.
ON: The accumulation register counts circularly.
5
Setting the function of comparing the number of accumulated pulses with the
comparison value set
OFF: The function is disabled.
ON: The function is enabled.
6
Selecting a type of comparison condition
OFF: ≧
ON: ≦
(*. Bit 5 in CR4/CR32/CR60/CR88 must be turned ON.)
7
Setting the function of outputting a hardware signal
OFF: The function is disabled.
ON: The function is enabled.
(*. Bit 5 in CR4/CR32/CR60/CR88 must be turned ON.)
8
Setting the function of sending a message which asks the CPU module to execute the
interrupt subroutine specified to the CPU module
OFF: The function is disabled.
ON: The function is enabled.
(*. Bit 5 in CR4/CR32/CR60/CR88 must be turned ON.)
9
Setting the function of clearing the number of sampled pulses, the number of
accumulated pulses, and the number of input pulses
OFF: The function is disabled.
ON: The function is enabled.
10
Setting the polarity of the input contact of the external signal
OFF: Normally-open contacts
ON: Normally-closed contacts
11~15 Reserved
1. Bit 0 in CR4/CR32/CR60/CR88: If bit 0 in CR4/CR32/CR60/CR88 is turned ON, the input
contacts will be normally-closed contacts. If bit 0 in CR4/CR32/CR60/CR88 is turned OFF, the
input contacts are normally-open contacts.
2. Bit 1 in CR4/CR32/CR60/CR88: If bit 1 in CR4/CR32/CR60/CR88 is turned ON, the function of
prescaling the number of input pulses will be enabled. If bit 1 in CR4/CR32/CR60/CR88 is
turned OFF, the function of prescaling the number of input pulses will be disabled.
The function of prescaling the number of input pulses converts the number of input pulses into
the corresponding physical quantity.
Number of sampled pulses
=Number of pulses count during a cycle x Prescale value x Unit magnification
Item Setting value
Parameter
CH0 CH1 CH2 CH3
Selecting a prescale function
(Unit magnification)
0: x1
1: x0.1
2: x0.01
3: x0.001
4: x0.0001
#5 #33 #61 #89
Setting a prescale value 0~32767 #6 #34 #62 #90
(Number of input pulses count during a cycle)