User`s guide

Universal Library User's Guide Counter Boards - CTR Series
165
CTR Series
Counter I/O
Counter functions and methods supported
UL: cbC9513Config(), cbC9513Init(), cbCStoreOnInt(), cbCFreqIn(), cbCIn(),
cbCLoad()
UL for .NET: C9513Config(), C9513Init(), CStoreOnInt(), CFreqIn(), CIn(), CLoad()
Counter argument values
CounterNum 1 to 5 (All boards in this series)
CTR10 & CTR10HD also support counters 6 through 10
CTR20HD also supports counters 11 through 20
RegNum LOADREG1 5, HOLDREG1 5, ALARM1CHIP1, ALARM2CHIP1
CTR10 & CTR10HD also support LOADREG6 10, HOLDREG6 10,
ALARM1CHIP2, ALARM2CHIP2
CTR20HD also supports LOADREG11 20, HOLDREG11 20, ALARM1CHIP3,
ALARM2CHIP3, ALARM1CHIP4, ALARM2CHIP4
LoadValue 0 to 65535 (Refer to "16-bit values using a signed integer data type" on page 16 for
information on 16-bit values using unsigned integers.)
ChipNum 1 (All boards in this series)
CTR10 & CTR10HD also support chip 2
CTR20HD also support chips 3 and 4
FOutSource CTRINPUT1 5, GATE1 5, FREQ1 5
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 5, GATE1 5, FREQ1 5
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
Digital I/O functions and methods supported
UL: cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut()
UL for .NET: DOut(), DIn(), DBitIn(), DBitOut()
Digital I/O argument values
PortNum AUXPORT*
DataValue CTR05: 0 to 255
CTR10: 0 to 65535. Refer to "Basic signed integers" on page 164.
BitNum CTR05: 0 to 7; CTR10: 0 to 15
* AUXPORT is not configurable for these boards.