Kaiyi — 7.1.1 Characteristics

AH500 Module Manual 7.1 Introduction An AH500 series high-speed counter module has several bidirectional high-speed counters. It can update the number of input pulses instantly. It can also cyclically update, prescale, and average the number of sampled pulses. If the number of sampled pulses is monitored, an alarm can be generated. The number of sampled pulses is added to the number of accumulated pulses. Users can detect whether the number of accumulated pulses overflows, and compares the number of accumulated pulses with a value.  AH02HC-5A: There are two bidirectional high-speed counters. Only channel 0 and channel 1 are supported. Channel 2 and channel 3 are not supported.  AH04HC-5A:

There are four bidirectional high-speed counters. Channel 0~channel 3 are supported. 7.1.1 Characteristics 1. Pulse formats which can be accepted Single pulse, double pulse, one time the frequency of A/B-phase inputs, and four times the frequency of A/B-phase inputs 2. Prescaling the number of input pulses After the number of input pulses is multiply by a certain value, it will become a value which has a specific significance. 3. Averaging the number of sampled pulses The number of sampled pulses is divided by the number of cycles set by users. 4. Number of sampled pulses The number of pulses sampled during the cycle can be prescaled.

If the number of input pulses is not even every time, it can be averaged. The number of sampled pulses is in the range of -200000 to 200000. 5. Number of accumulated pulses The number of pulses sampled during every cycle is accumulated. The number of accumulated pulses is in the range of -999999999 to 999999999. The number of pulses sampled during every cycle can be accumulated linearly or circularly. 6. Number of input pulses The number of input pulses is updated every 10 milliseconds. The number of input pulses is in the range of -2147483648 to 2147483647. 7.

Alarm output Users can set an upper-upper limit value, an upper-lower limit value, a lower-upper limit value, and a lower-lower limit value. If the number of sampled pulses is larger than the upper-upper 7-2