![Advantech PCL-818L Скачать руководство пользователя страница 57](http://html.mh-extra.com/html/advantech/pcl-818l/pcl-818l_user-manual_2856743057.webp)
Chapter 8 Programmable counter/timer 53
OUT
Current state of counter output
NC
Null count is 1 when the last count written to the counter
register has been loaded into the counting element
The counter enable register, located at address BASE+10, has a close
relationship with the counter operation. Refer to Chapter 4, Timer/
counter enable register, for the register data format. The TC0 bit
enables and disables the pacer. If TC0 = 0, the pacer is enabled. If
TC0 = 1, the pacer is disabled and trigger pulses from the pacer are
kept from the A/D until TRIG0 is taken high. The TC1 bit controls the
input source for Counter 0. If TC1 = 0, Counter 0 is configured to
accept external clock pulses. If TC1 = 1, Counter 0 is internally
connected to the 100 KHz clock source.
Counter operating modes
MODE 0 Stop on terminal count
The output will be initially low after this mode of operation is set.
After you load the count into the selected count register, the output
will remain low and the counter will count. When the counter reaches
the terminal count, its output will go high and remain high until you
reload it with the mode or a new count value. The counter continues to
decrement after it reaches the terminal count. Rewriting a counter
register during counting has the following results:
1. Writing to the first byte stops the current counting.
2. Writing to the second byte starts the new count.
MODE 1 Programmable one-shot
The output is initially high. The output will go low on the count
following the rising edge of the gate input. It will then go high on the
terminal count. If you load a new count value while the output is low,
the new value will not affect the duration of the one-shot pulse until
the succeeding trigger. You can read the current count at any time
without affecting the one-shot pulse. The one-shot is retriggerable,
thus the output will remain low for the full count after any rising edge
at the gate input.
Содержание PCL-818L
Страница 1: ...PCL 818L High performance DAS card with programmable gain ...
Страница 5: ...Chapter 1 General information 1 1 General information C H A P T E R ...
Страница 13: ...Chapter 2 Installation 9 C H A P T E R 2 Installation ...
Страница 25: ...Chapter 3 Signal connections 21 3 Signal connections C H A P T E R ...
Страница 31: ...Chapter 4 Register structure and format 27 4 Register structure and format C H A P T E R ...
Страница 41: ...Chapter 5 A D conversion 37 C H A P T E R 5 A D conversion ...
Страница 47: ...Chapter 6 D A conversion 43 6 D A conversion C H A P T E R ...
Страница 50: ...46 PCL 818L User s Manual ...
Страница 51: ...Chapter 7 Digital input and output 47 7 Digital input and output C H A P T E R ...
Страница 53: ...Chapter 8 Programmable counter timer 49 8 Programmable timer counter C H A P T E R ...
Страница 61: ...Chapter 9 Direct memory access operation 57 9 Direct memory access operation C H A P T E R ...
Страница 64: ...60 PCL 818L User s Manual ...
Страница 65: ......
Страница 66: ...Appendix B Connector Switch and VR Locations 63 B Connector switch and VR Locations A P P E N D I X ...
Страница 68: ...Appendix C PC I O port address map 65 C PC I O port address map A P P E N D I X ...
Страница 70: ...Appendix D Calibration 67 D Calibration A P P E N D I X ...
Страница 73: ...70 PCL 818L User s Manual ...
Страница 75: ...2 PCL 818L User s Manual ...