![IOtech MultiScan 1200 User Manual Download Page 336](http://html1.mh-extra.com/html/iotech/multiscan-1200/multiscan-1200_user-manual_2088024336.webp)
326 Chapter 16: API Command Reference
TempScan / MultiScan User's Manual
R#
- Read Last Readings
TYPE
System
EXECUTION
Immediate
SYNTAX
R#chans
Queries the last readings from the HLL Registers for specified channels.
chans
may be in two forms:
chan
(for a single channel where
1
<
chan
<
max
) or
first-last
(for a range of channels where
1
<
first
<
last
<
max
), where
max
=
992
for the TempScan/1100 and
max
=
744
for the MultiScan/1200.
DESCRIPTION
The
Read Last Readings
(
R#
) command will return the last readings for specific channels from the High/Low/Last
(HLL) Registers, as a subset of the following
User Status
(
U
) command query - Query last scan read (
U13
) –
which returns the last readings for all the configured channels in the scan. This command is useful for querying
specific channels within the current channel configuration without having unwanted channels returned. The
response to this command takes the same form as the
U13
command query, whereby each reading conforms to
the data output format specified via the
Set Data Format
(
F
) command. In addition, each channel is terminated
by the query terminator
hll
, as specified via the
Set Query Terminator
(
Q
) command.
For more information on the HLL Registers or data output formats, see section
High/Low/Last (HLL) Registers
in
the chapter
System Operation
, or see section
Data Format Configuration
in the chapter
System Configuration
.
EXAMPLE
PRINT#1,"OUTPUT07;C1-32,1X"
‘ Configure Channels 1 - 32 for Type J thermocouples
PRINT#1,"OUTPUT07;F1,0X"
‘ Set format for engineering units degrees C
PRINT#1,"OUTPUT07;R#32X"
‘ Get the last reading for Channel 32
PRINT#1,"ENTER07"
LINE INPUT #2, R$
PRINT R$
+0103.20
‘ Screen shows the last reading
(Channel 32 is 103.2
°
C)
PRINT#1,"OUTPUT07;R#1-4X"
‘ Get the last readings for Channels 1 - 4
PRINT#1,"ENTER07"
LINE INPUT #2, S$
PRINT S$
-0003.70
+0005.60
+0010.20
+0024.40
‘
Screen shows the last readings
(Channel 1 is -3.7
°
C)
(Channel 2 is 5.6
°
C)
(Channel 3 is 10.2
°
C)
(Channel 4 is 24.4
°
C)
Summary of Contents for MultiScan 1200
Page 2: ...TempScan MultiScan User s Manual...
Page 4: ...TempScan MultiScan User s Manual...
Page 10: ...vi TempScan MultiScan User s Manual Notes...
Page 20: ...10 Chapter 1 System Overview TempScan MultiScan User s Manual Notes...
Page 106: ...96 Chapter 8 ChartView ChartView Plus TempScan MultiScan User s Manual Notes...
Page 130: ...120 Chapter 9 TempView TempScan MultiScan User s Manual...
Page 150: ...140 Chapter 9 TempView TempScan MultiScan User s Manual Notes...
Page 166: ...156 Chapter 10 PostView TempScan MultiScan User s Manual Notes...
Page 234: ...224 Chapter 13 System Operation TempScan MultiScan User s Manual Notes...
Page 248: ...238 Chapter 14 System Calibration TempScan MultiScan User s Manual Notes...
Page 284: ...274 Chapter 15 Program Examples TempScan MultiScan User s Manual Notes...
Page 330: ...320 Chapter 16 API Command Reference TempScan MultiScan User s Manual...
Page 342: ...332 Chapter 16 API Command Reference TempScan MultiScan User s Manual...
Page 358: ...348 Appendix TempScan MultiScan User s Manual Notes...
Page 364: ...354 Index TempScan MultiScan User s Manual Notes...