Microsoft UNO-3074 user manual 4 32-bit Counter Function Block CTR32Set=1, Counter Clock Source

Page 36

2.7.4 32-bit Counter Function Block (CTR32Set=1)

Figure 2.10: 32-bit Counter Function Block

2.7.5 Counter Clock Source

There are two clock sources available for the user counters by setting counter clock control bits - CTR0CLKSet and CTR1CLKSet.

Table 2.12: Counter Clock Source Control Bit

CTR0CLKSet

0

Internal clock (default)

 

 

 

 

1

External clock from digital input 1 (DI1) channel

 

 

 

CTR1CLKSet

0

Internal clock (default)

1External clock from digital input 3 (DI3) channel

2.7.6Counter Internal Clock

There are four frequency options to choose according to applications, and it’s set by internal clock control bits - S0 and S1.

Table 2.13: Counter Internal Clock Control Bit

S1

S0

Time base

 

 

 

0

0

100 KHz (default)

 

 

 

0

1

10 KHz

 

 

 

1

0

1 KHz

 

 

 

1

1

100 Hz

 

 

 

2.7.7 Counter Gate Source

The gate sources you select determine what kind of gate input signal to enable your counter/timer when receiving clock input. There are two gate sources available for the user counters by setting gate source control bits - CTR0GateSet and CTR1GateSet.

UNO-3074 User Manual

26

Image 36
Contents UNO-3074 Copyright AcknowledgementsSupport Product Warranty 2 years Declaration of Conformity FCC Class a Technical Support and AssistanceSafety Instructions Safety Precaution Static Electricity Contents Chapter Initial Setup Appendix Programming the Watchdog Timer Page Overview Introduction Open Architecture Designed for AutomationFront Access Connections An Industry-Proven DesignOff-the-shelf Universal PCI Extensions Designed to Fit Into Control CabinetsOnboard DI/O for Counter, Alarm/Event Handling Flexible Networking OptionsPopular Operating Systems and Rapid Application Development Hardware Specifications Battery Backup RAM 512 KB ChipsetCPU RS-232 SpeedTwo 16-bit Counters/Timers Ch Isolated Digital Input DI0~DI3Ch Isolated Digital Output DO0~DO3 Anti-ShockSafety Precautions Power Supply 16 ~ 36 VDCPower Consumption 24 W Typical Chassis Size WxHxDChassis Dimensions Chassis Dimensions for CeleronM 1GHzChassis for Pentium 1.8GHz or Faster CPU Accessories Packing ListHardware Functionality Front Panel of UNO-3074 RS-232 Interface COM1~COM2 RS-232/422/485 Interface COM3~COM41 16C550 UARTs with 16-byte Fifo Standard 2 RS-422/485 Detection4 RS-232/422/485 Selection 5 RS-485 Auto Flow/RS-422 Master/Slave Selection6 IRQ, I/O Address and Transmission Rate Setting Auto Flow & RS-422 Slave/MastersVector address for share IRQ 1D0H IRQ Setting via Switch 1 at SW3 Transmission Rate Switch 2 at SW3LAN Ethernet Connector Onboard Isolated Digital InputTermination Resistor JP6 Pin AssignmentsDigital Input Connector Signal Description Isolated InputsInterrupt Function of the DI Signals IRQ LevelInterrupt Control Register Interrupt Control Register Bit MapInterrupt Enable Control Function Interrupt Triggering Edge ControlInterrupt Flag Bit Digital Output Connector Signals Onboard Isolated Digital OutputPower On Configuration 10 Digital Output Power On ConfigurationIsolated Outputs Isolated Digital Output Connection Onboard Isolated Counter/Timer Counter/Timer Control Register11 Counter/Timer Control Register Bit Map Counter 0 Function Block Counter 1 Function Block4 32-bit Counter Function Block CTR32Set=1 Counter Clock SourceCounter Internal Clock Counter Gate SourceCounter Output Destination Counter Interrupt Flag14 Counter Gate Source Control Bit 15 Counter Output Destination Control BitPower Input Cascaded 32-bit Counter17 32-bit Counter Control Bit 12 LED Locations to Monitor Power Input 18 Power Register Bit Map LED and Buzzer for System Diagnosis19 LED & Buzzer Control Register 20 Programmable LED Control BitUSB Connector PS/2 Keyboard and Mouse ConnectorPcmcia PC Card Slot 21 Programmable Buzzer Control BitPage Make sure the IRQ of Pcmcia device is VGA Display Connector Page Battery Backup Sram 14 LED Location for Battery BackupReset Button Lithium Battery SpecificationOutput voltage 3 VDC Initial Setup Connecting Power Inserting a CompactFlash CardJP2 on mainboard refer to Figures A.3 JP1 on daughterboard refer to Figure A.4Installing a Hard Disk Correct way is shown by the first figure belowPage Page Page IDE Connector CN1 and CN2 Installing a PCI-bus Card 1st Anti-Vibration Rubber2nd PCI-bus Card Installation Installing Power Cable Mounting UNO-3074UNO-3074 Improper Installation UNO-3074 Mounting CautionUNO-3074 Correct Installation Bios Setup and System Assignments Page System Settings and Pin Assignments System I/O Address and Interrupt Assignments Table A.1 UNO-3074 System I/O PortTable A.2 UNO-3074 Interrupt Assignments Interrupt No Interrupt SourceBoard Connectors and Jumpers Figure A.1 Backplane Connector & JumpersFigure A.3 Mainboard Connector & Jumpers Front Figure A.4 Daughter Connector & Jumpers Front Figure A.5 Daughter Connector & Jumpers Back Table A.3 Connector and Jumper Descriptions Table A.4 Connector and Jumper DescriptionsTable A.5 Connector & Jumper Descriptions SW1UNO-3074 Control Register Table A.6 UNO-3074 Control RegisterRS-232 Standard Serial Port COM1~COM2 Table A.7 RS-232 Serial Port Pin AssignsEthernet RJ-45 Connector LAN1~LAN2 Table A.9 Ethernet RJ-45 Connector Pin AssignsRS-232/422/485 Serial Port COM3~COM4 Table A.8 RS-232/422/485 Serial Port Pin AssignsPower Screw Terminal PWR Table A.10 Power Connector Pin AssignmentsPS/2 Keyboard and Mouse Connector USB Connector USB1~USB4Table A.11 Keyboard & Mouse Connector Pins Table A.12 USB Connector Pin AssignmentsTable A.13 VGA Adaptor Cable Pin Assignmen Page Programming the Watchdog Timer Appendix B Programming the Watchdog Timer