Computer Operations
Computer Interface Commands and Operation
4
4-51
Table 4-5. Command and Query Reference (cont)
SCALE_MB Set Mx+B Scaling Values
Set the M and B scaling values for the indicated channel, and display the results of
the Mx+B calculation in the indicated display range. Changing the Mx+B of any
channel also clears the Review array, and resets ALARM OUTPUTS and DIGITAL
I/O lines.
SCALE_MB <channel>,<M_value>,<B_value>,<range>
<channel> = (0 .. 20)
<M_value> = signed numeric quantity
<B_value> = signed numeric quantity
<range> = (1 .. 16)
The range code for the display <range> is shown below
Range Display Max B
Code Offset
Value
1 0.0000 m 9.9999E-3
2 00.000 m 99.999E-3
3 000.00 m 999.99E-3
4 0000.0 m 9999.9E-3
5 0.0000 x1 9.9999
6 00.000 x1 99.99
7 000.00 x1 999.99
8 0000.0 x1 9999.9
9 0.0000k 9.9999E3
10 00.000k 99.999E3
11 000.00 k 999.99E3
12 0000.0 k 9999.9E3
13 0.0000 M 9.9999E6
14 00.000 M 99.999E6
15 000.00 M 999.99E6
16 0000.0 M 9999.9E6
When M=1 and B=0, there is no Mx+B scaling. The entries for M and B must be
between +/-0.0001E-3 and +/-9999.9E+6. An Execution Error is generated by invalid
entries, a channel set to OFF, if the instrument is
scanning, or if the range code is too low for the selected B value. For example, the
minimum display range for B=1000 is code 8. Mx+B scaling values for a channel are
automatically reset to 1 (M) and 0 (B) when the function for that channel is changed.
Returned measurements for a channel with Mx+B scaling has a function identifier of
MX+B (when FORMAT 2 has been asserted).
Example: SCALE_MB 18,+.55555,-17.777,6 [For channel 18, M=+.55555, B=-
17.777, and the display range is 00.000 x1.]