3.4. Mode count programming
The input setup is available on the 'CnInp' module which
allows configuration of the count mode and batch operation.
3.1.1. Count Modes
The software provides setup for five different count modes:
uP
Up count
do
Down count.
In-A
Allows count on A input regardless of input B
InA-B
Pulses applied at the A input are added or subtracted to the
count display if the B input is at low level and being used as
inhibited input.
uP-do IndEP
Pulses applied at the A input are added to the count display
while pulses at the B input are subtracted.
uP-do dIrEC
When B input is at low level, the pulses applied at the A
input increment the count. When B input is at high level, the
pulses at the A input decrement the count.
uP-do PHASE
The rising edges at the A input increment the count if the B
iinput is at low level. The falling edges at the A input
decrement the count if the B input is at low level.
Unidirectional counters:
MODE
U
P
I
N
A-B
A counts up if B is '0'. B inhibits count.
1
process
input A
input B
2
3
4
5
MODE
DO
I
N
A-B
A counts down if B is '0'. B inhibits count.
8
process
input A
input B
7
6
5
4
17
17
3.4. Mode count programming
The input setup is available on the 'CnInp' module which
allows configuration of the count mode and batch operation.
3.1.1. Count Modes
The software provides setup for five different count modes:
uP
Up count
do
Down count.
In-A
Allows count on A input regardless of input B
InA-B
Pulses applied at the A input are added or subtracted to the
count display if the B input is at low level and being used as
inhibited input.
uP-do IndEP
Pulses applied at the A input are added to the count display
while pulses at the B input are subtracted.
uP-do dIrEC
When B input is at low level, the pulses applied at the A
input increment the count. When B input is at high level, the
pulses at the A input decrement the count.
uP-do PHASE
The rising edges at the A input increment the count if the B
iinput is at low level. The falling edges at the A input
decrement the count if the B input is at low level.
Unidirectional counters:
MODE
U
P
I
N
A-B
A counts up if B is '0'. B inhibits count.
1
process
input A
input B
2
3
4
5
MODE
DO
I
N
A-B
A counts down if B is '0'. B inhibits count.
8
process
input A
input B
7
6
5
4