Measurement Computing TempScan/1100 User Manual
Page 87

TempScan / MultiScan User's Manual
879596
System Configuration 4-29
• Timebase (Scan Interval): The timebase (or scan interval) data will have the same ASCII-based
format as the Time/Date input data format, but without the date as follows:
hh:mm:ss.t
Binary Format
As previously discussed, the Binary data format may be used only for the output of channel data, where
channel data is defined as data originating from the High/Low/Last (HLL) Registers or the Acquisition
Buffer of the TempScan/1100 or MultiScan/1200 unit. For all other types of data, input or output, if the
Binary format is selected via the
format
parameter of the Set Data Format (
F
) command, then these data
values will be interpreted as Engineering Units.
Note: Channel data is the only output data which may use the Binary format. If the Binary format
is specified for channel data, then the Engineering Units
engr
parameter will be ignored.
Note: When Binary formats are specified, the
hll
,
scan
, and
block
parameters of the Set Query
Terminator (
Q
) command do not apply. These parameters refer to the High/Low/Last (HLL),
Scan, and Trigger Block terminators, respectively.
Note: Binary numbers can represent either positive or negative decimal values. Programs using
Binary data will know how to decipher the sign of the decimal value by the Binary number
alone. Refer to the Binary-to-ASCII number conversion table.
Note: Data in Binary format is not printable. The Binary data must be converted to ASCII format
for printability. Consequently, no query terminators are used in Binary format.
The Binary format is valid for the following channel data output only. All other data under this Binary
option will be interpreted as Engineering Units.
• Temperature: For channels configured as thermocouples, the Binary data consists of two 8-bit bytes
which can be output in either high/low-byte or low/high-byte format. Each byte is in 2h (two-digit
hexadecimal) format.
• Volts: Similarly for channels configured for voltage, the Binary data consists of two 8-bit bytes which
can be output in either high/low-byte or low/high-byte format. Each byte is in 2h (two-digit
hexadecimal) format.
• Time/Date Stamping: If Binary format is selected, the channel data output will also include
Time/Date Stamping.
The HLL Registers of the TempScan/1100 or MultiScan/1200 supplies
Time/Date output data in slightly different formats, depending on whether the data represents an
absolute or a relative time stamping.
With either the high/low-byte or low/high-byte selection, the Time/Date Stamping data consists of ten
8-bit bytes, as follows:
• Absolute time stamping:
hmstuvwMDY
• Relative time stamping:
hmstuvwDEF
.
Where each of the ten letters represents one 8-bit byte in 2h (two-digit hexadecimal) format, as follows
(refer to the Binary-to-ASCII number conversion tables):
•
h:
Hours such that
$00 ≤ h ≤ $FF
(where decimal:
-23 ≤ h ≤ 23
).
•
m:
Minutes such that
$00 ≤ m ≤ $FF
(where decimal:
-59 ≤ m ≤ 59
).
•
s:
Seconds such that
$00 ≤ s ≤ $FF
(where decimal:
-59 ≤ s ≤ 59
).
•
tuvw:
(Together as 4 bytes, low-to-high byte) Microseconds such that
$00000000 ≤ tuvw ≤ $FFFFFFFF
(where decimal:
-999999 ≤ tuvw ≤ 999999
).
•
M:
Months such that
$01 ≤ M ≤ $0C
(decimal:
01 ≤ M ≤ 12
).
•
D:
Days such that
$01 ≤ D ≤ $1F
(decimal:
01 ≤ D ≤ 31
).
•
Y:
Years such that
$00 ≤ Y ≤ $63
(decimal:
00 ≤ Y ≤ 99
).
•
DEF:
(Together as 3 bytes, low-to-high byte) Days such that
$000000 ≤ DEF ≤ $FFFFFF
(where decimal:
-999999 ≤ DEF ≤ 999999
).