Omega Engineering DAQ-12 user manual Counter 1 Clock rate register high word

Page 30

Counter 1 - Clock rate register (high word)

operating mode:

2

minimum count value:

2

configuration byte:

0 / 1 / 1 / 1 / 0 / 1 / 0 / 0 = 74H

Example:

Program the value 13A4H into the high word of the clock rate register.

output 74H to output A4H to output 13H to

base_address + 0FH base_address + 0DH base_address + 0DH

Example:

Program the value FFFFH into the high word of the clock rate register.

output 74H to base_address + 0FH output FFH to base_address + 0DH output FFH to base_address + 0DH

Counter 2 - Multi-function timer register

operating mode:

2

minimum count value:

2

configuration byte:

1 / 0 / 1 / 1 / 0 / 1 / 0 / 0 = B4H

Example:

Program the value 000AH into the multi-function timer register.

 

 

output B4H to base_address + 0FH

 

 

output 0AH to base_address + 0EH

 

 

output 00H to base_address + 0EH

Example:

Program the value 0100H into the multi-function timer register.

 

 

output B4H to base_address + 0FH

 

 

output 00H to base_address + 0EH

 

 

output 01H to base_address + 0EH

DAQ-12 Users Manual

30

Image 30
Contents 15,1*,1 WARRANTY/DISCLAIMER Application of Council Directive Manufacturers NameManufacturer’s Address Standards to which Conformity is DeclaredServicing North America For immediate technical or application assistanceServicing Europe Page Table of Contents Introduction List of Figures and Tables Installation DAQ-12 Specifications Jumper J1 Configuration Analog to Digital ConverterDisable Pre-Scaler Enable Pre-Scaler Factory default Recommended Input Ranges and Gain Settings Code Digital to Analog Converters Voltage Unipolar Bipolar CodeChannel Bipolar Gain =Digital Input/Output Base AddressClock Selection Internal Clock External Clock Trigger Selection Start of ConversionDirect Memory Access 10. Jumpers J8 and J9 Configuration DackInterrupts External InterruptExternal Connections Page Register Description Control Word RegisterINT2 INT1 INT0 Description Start of Conversion Register 3 A/D Converter Data Register5 D/A Converter 1 Register Multi-Function Timer Register4 D/A Converter 0 Register Clock Rate Register low wordProgramming the 8254 Counter/Timer Counter 1 Clock rate register high word Version January 28