Operation
3-17
‘Comments
12 Sets trigger count to 10 (two scans of five
channels).
13 and 14 Selects Timer and sets it for 0.5 seconds.
This is the delay period between scanned
channels.
15 Configures the scan list for channels 1
through 6.
16 Selects internal scanning.
17 through 19 Configures buffer to store 10 temperature
readings.
20 Includes channel number and temperature
units with readings over the bus.
21 Starts scanning operation.
22 through 25 After the two scans are finished, the 10
temperature readings are sent to the
computer where they are displayed.
■ Open and close channels
Manual scanning can be performed by using the following
programming statements to open and close channels. The
following statements assume that the previous scanning
program has been run. Remember that the timer was set to
0.5 seconds. Therefore, once a temperature measurement
channel is closed, the temperature readings will update at
that rate.
NOTE
The reference junction temperature (chan-
nel 1) needs to be acquired often to assure
accurate temperature measurements.
‘Comments
PRINT #1, ‘‘output 16; init:cont on’’ ‘1
PRINT #1, ‘‘output 16; :rout:clos (@1)’’ ‘2
PRINT #1, ‘‘output 16; temp:rjun1:acq’’ ‘3
PRINT #1, ‘‘output 16; :rout:clos (@ 3)’’ ‘4
PRINT #1, ‘‘output 16; :rout:open:all’’ ‘5
‘Comments
1 Enables continuous initiation.
2 and 3 Closes channel 1 and acquires the reference
junction temperature.
4 Opens channel 1 and closes channel 3. The
temperature reading for channel 3 is dis-
played.
5 Opens channel 3.