Programming The Dt80; Typical Workflow - dataTaker DT80 User Manual

Dt80 series 1 series 2 series 3 series 4 series includes cem20
Hide thumbs Also See for DT80:
Table of Contents

Advertisement

Programming the DT80

Typical Workflow

When creating a program to send to the DT80, typically the work will follow this order:
Connect Sensors
Sensors & Channels (P302)
using the DT80's analog, digital and serial inputs.
The first step is therefore to refer to the sub-section relating to the quantity you wish to measure. This will help you
decide on the most appropriate way to connect the sensor to the DT80.
Define Channels
Programming the DT80 essentially consists of :
defining a series of measurements to take, and
specifying when to take them.
Each measurement definition is referred to as a channel. It is important to be clear on how the word "channel" is used –
in DT80 parlance, it refers to a measurement to be made, not a physical input channel.
For example, if you program the DT80 to measure a voltage on analog input 1, then read the state of digital input 3, then
measure the voltage on analog input 1 again then you have defined three channels. The fact that the first and third
channels both measure the same physical quantity (the voltage on analog input 1) is irrelevant – as far as the DT80 is
concerned, they are two entirely separate measurements.
To specify when measurements are to be made, channel definitions may be grouped into schedule definitions. These
specify whether the channels should be sampled immediately, or periodically, or in response to some event.
To define a channel, you need to specify:
the input number (e.g.
the channel type (e.g.
any channel options that may be required (listed in parentheses, e.g.
So to define the three channels mentioned above, you could enter:
1V 3DS 1V
Since we haven't specified any schedule, these three measurements will be taken immediately, one after the other.
Default settings will be used, since no channel options were specified. By default, the DT80 will then return the measured
values in ASCII form to the host computer, e.g.
1V 234.9 mV
3DS 1 State
1V 233.0 mV
So once you have connected the sensor as described in
entering a suitable channel definition.
For example, suppose we want to check the resistance of a resistor. In the section
wiring configurations are given. In this case we are going to connect the resistor directly to the DT80's terminals so we
don't need to worry about lead resistance issues. The simplest 2-wire configuration is therefore suitable, as described in
R4 – 2-Wire Independent Resistance Inputs
resistor between the * and # terminals on analog input 2. We can now enter the channel definition:
2*R
DT80>
2*R 559.1 Ohm
In this case the channel number is
(measure resistance) and there were no channel options, so the complete channel definition is
Note:
a particular physical input can be read using different channel types.
For example, a thermocouple can be read as a thermocouple or as a voltage. The command
1TK 1V
returns both a temperature and a voltage based on two readings of the same sensor.
For more information about how channels (measurements) are specified in the DT80 programming language, see
Channels
(P33).
UM-0085-B09
RG
describes how to measure many different quantities and read many different sensor types
1
for analog input 1)
V
to perform a voltage measurement)
(P310). We therefore pick an analog input to use, say input 2, and wire the
2*
(analog input 2, measuring between * and # terminals) and the channel type is
DT80 Range User Manual
(GL3V,FF3)
(P302), you can then test it out by directly
Sensors & Channels
(P308), several different
Resistance
2*R
.
R
Page 26

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DT80 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for dataTaker DT80

This manual is also suitable for:

Dt85Dt82Dt81

Table of Contents

Save PDF