IFM AL4143 handleiding
Handleiding
Je bekijkt pagina 12 van 62

AL4143 Remote I/O module 16 DI
12
Filter module pin 4
Filter module pin 2
Count input
Count input/
control input
Main counter
Batch counter
Process data
Process data
Counter module
A counter module can be operated in different operating modes. The following operating modes are
available.
Maximum count frequency: 4500 Hz
4.5.1 Counter mode CTU
In CTU (Count Up) mode, the counter module operates as an up counter with overflow detection and
overflow counter.
Behaviour:
• The initial value of the main counter is m = 0. The initial value of the batch counter is b = 0. The
main counter has a threshold value CT. The batch counter has a threshold value CTb.
• If the counter module detects a positive edge at pin 4 of the port, the value of the main counter is
incremented (m = m+1).
• If the main counter reaches the threshold value CT (m = CT), the counter value is reset (m = 0).
Due to the overflow detection, the value of the batch counter is incremented (b = b+1).
• If the batch counter reaches the threshold value CTb (b = CTb), the counter value is reset (b = 0).
CTb
CT
0
0
t
Main Counter
Batch Counter
4.5.2 Counter mode CTD
In CTD (Count Down) mode, the counter module operates as a down counter with underflow detection
and underflow counting.
Behaviour:
• The initial value of the main counter is m = 0. The initial value of the batch counter is b = 0. The
main counter has a threshold value CT. The batch counter has a threshold value CTb.
• The first time a positive edge is detected at pin 4, the value of the main counter is set to the
threshold value CT-1 (m = CT-1). At the same time, the value of the batch counter is set to the
threshold value CTb-1 (b = CTb-1).
• If the counter module detects a positive edge at pin 4 of the port, the value of the main counter is
decremented (m = m-1).
• If the main counter falls below 0, the counter value is reset to the threshold value (m = CT-1). Due
to the underflow detection, the value of the batch counter is decremented (b = b-1).
• If the batch counter falls below 0, the counter value is reset to the threshold value (b = CTb-1).
Bekijk gratis de handleiding van IFM AL4143, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | IFM |
Model | AL4143 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 5317 MB |