# PCI-, PC104-, and CIO-CTR Series

The PCI-, PC104-, and CIO-CTR Series includes the following hardware:

- PCI-CTR05
- PCI-CTR10
- PCI-CTR20HD
- CIO-CTR05
- CIO-CTR10
- CIO-CTR20HD
- CIO-CTR10HD
- PC104-CTR10HD

PCI-, PC104-, and CIO-CTR Series hardware support the following UL and UL for .NET features.

## Counter I/O

Functions

UL: cbC9513Config(), cbC9513Init(), cbCStoreOnInt(), cbCFreqIn(), cbCIn(), cbCLoad()

UL for .NET: C9513Config(), C9513Init(), CStoreOnInt(), CFreqIn(), CIn(), CLoad()

CounterNum

1 to 5 (All boards in this series)

CTR10 and CTR10HD also support counters 6 through 10

CTR20HD also support counters 11 through 20

RegNum

LOADREG1 to LOADREG5, HOLDREG1 to 5, ALARM1CHIP1, ALARM2CHIP1

CTR10 also supports LOADREG6 to LOADREG10, HOLDREG6 to HOLDREG10, ALARM1CHIP2, ALARM2CHIP2

CTR20HD also supports LOADREG6 to LOADREG20, HOLDREG6 to HOLDREG20, ALARM1CHIP2 to ALARM1CHIP4, ALARM2CHIP2 to ALARM2CHIP4

LoadValue

0 to 65,535 (Refer to 16-bit values using a signed integer data type for information on 16-bit values using unsigned integers.)

ChipNum

1 (All boards in this series)

CTR10 and CTR10HD also support chip 2

CTR20HD also support chips 3 and 4

FOUT Source

CTRINPUT1 to CTRINPUT5, GATE1 to GATE5, FREQ1 to FREQ5

These values refer to the sources on a particular 9513 chip, so are limited to the sources on that particular chip. For example, to set the source to the input for counter 6, use CTRINPUT1 (the first counter on the second 9513 chip).

CountSource

TCPREVCTR, CTRINPUT1 to CTRINPUT5, GATE1 to GATE5, FREQ1 to FREQ5

These values refer to the sources on a particular 9513 chip, so are limited to the sources on that particular chip. For example, to set the source to the input for counter 6, use CTRINPUT1 (the first counter on the second 9513 chip). Likewise for the TCPREVCTR value: when applied to the first counter on a chip (counter 6, for example) the "previous counter" is counter 5 on that chip (for this example, counter 10).

## Digital I/O

Functions

UL: cbDIn(), cbDOut(), cbDBitIn(), cbDBitOut()

UL for .NET: DIn(), DOut(), DBitIn(), DBitOut()

PortNum

AUXPORT*

DataValue

CTR05: 0 to 255

CTR10: 0 to 65,535 (refer to Visual Basic signed integers in the Counter Hardware topic for more information.)

BitNum

CTR05: 0 to 7

CTR10: 0 to 15

* AUXPORT is not configurable for these boards.

## Event Notification

PCI-CTR05, PCI-CTR10 and PCI-CTR20HD only.

Functions

UL: cbEnableEvent(), cbDisableEvent()

UL for .NET: EnableEvent(), DisableEvent()

EventType

ON_EXTERNAL_INTERRUPT/OnExternalInterrupt

## Hardware considerations

##### Clock Input Frequency (PCI boards only)

The clock source for each of the four counters is configurable with InstaCal:

PCI-CTR05: 1 MHz, 5 MHz

PCI-CTR10: 1 MHz, 3.33 MHz, 5 MHz

PCI-CTR20HD: 1 MHz, 1.67 MHz, 3.33 MHz, 5 MHz, or External

##### Event notification

ON_EXTERNAL_INTERRUPT cannot be used in conjunction with cbCStoreOnInt() or CStoreOnInt().

The boards in this series that support event notification only support external rising edge interrupts.