User`s guide

Universal Library User's Guide Expansion Boards - CIO-EXP Series
175
CIO-EXP Series
Temperature Input
Temperature input functions and methods supported
UL: cbTIn(), cbTInScan()
UL for .NET: TIn(), TInScan()
Temperature input argument values
Options NOFILTER
Scale CELSIUS, FAHRENHEIT, KELVIN
HighChan From 16 up to 255 for 16-channel boards, and from 64 up to 303 for 64-channel
boards. The value depends on the number of boards connected and the application.
Hardware considerations
CIO-EXP boards are used only in combination with an A/D board. Channel numbers for accessing the
expansion boards begin at 16 for 8-channel and 16-channel boards, and at 64 for 64-channel boards. To
calculate the channel number for access to CIO-EXP channels, use the following formula:
Chan = (ADChan * 16) + (16 + MuxChan)
MuxChan is a number ranging from 0 to 15 that specifies the channel number on a particular bank of the
expansion board. An EXP32 has two banks, so the channel numbers for one EXP32 connected to an A/D
board would range from 16 to 47.
If all A/D channels are not used for CIO-EXP output, direct input to the A/D board is still available at these
channels (using channel numbers below 16).
When CIO-EXP boards are used for temperature input, set the gain of the A/D board to a specific range.
When using A/D boards with programmable gain, the range is set by the Universal Library. However, when
using boards with switch-selectable gains, you must set the gain to a range that is dependent on the
temperature sensor in use. Generally, thermocouple measurements require the A/D board to be set to 5 V
bipolar, if available (or 10 V bipolar if not). RTD sensors require a setting of 10 V unipolar, if available.
These checks are made when you configure the system for temperature measurement using InstaCal.