Omega Vehicle Security OMB-NETSCAN 1500 User Manual Page 230

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 229
Registers, Data Formats, & Queries
Appendix D
D-6 NetScan Users Manual
Data Output Formats
Data Output formats differ slightly from data input formats in that binary formats may be used for Channel Data.
Channel Data is the only output data which may use the binary format (if it is specified). Channel Data is
defined as data originating from the High/Low/Last (HLL) Registers or the Acquisition Buffer. The commands
that initiate Channel Data output are the
R
,
R#
,
U4
,
U5
and
U13
commands. However, Channel Data may
also be output as Engineering Units and Counts.
As in the case of Data Input Formats, all other types of output will be in Engineering Units unless Counts is
specified. However, there are only 3 command queries which need to follow the
F
command format in this
fashion. They are
C?
,
L?
and
U8
command queries.
Note: If Counts or Binary format is specified as the format, the Engineering Units parameter of the F
command is ignored.
Examples:
PRINT#1,"F0,0X" Output C?, L?,U8 as well as R,R#,U4,U5 and U13 in Engineering Units
Degrees C
PRINT#1,"F1,1X" Output R,R#,U4,U5 and U13 as binary
Output C?,L? and U8 as Engineering Units
Degrees F.
PRINT#1,"F3,3X" Output C?, L?,U8 as well as R,R#,U4,U5 and U13 in Counts (Note that
Engineering Units parameter is ignored)
All commands and data sent to the NetScan are in ASCII (although the engineering unit may vary).
Note: Only data supplied by the NetScan, such as time/date stamps for High/Low/Last registers, can
be in binary format.
Both the ehternet and RS-232 interfaces support data retrieval in ASCII and, for high speed applications, in
binary format. End of Reading and End of Scan terminators are not used with binary data transfers.
Engineering Units Data Format
If the engineering units data format is selected, the NetScan will supply data in format appropriate for the
configured channel type. The selected unit affects the number of decimal places used by either the ASCII or
binary formats . This section describes engineering units in relation to thermocouples, volts, time/date stamps,
and scan intervals.
Thermocouples
The NetScan uses a default system unit of degrees Centigrade. Therefore, the resolution of returned data,
independent of configured temperature units, is 0.1°C. The binary format also returns data in degrees
Centigrade. The default binary format returns two bytes of 2s complement binary data with user selecting
low/high byte or high/low byte.
If the ASCII data format is selected, the controller can select temperature units. This requires the conversion of
degrees Centigrade to configured temperature unit. Conversion to degrees Fahrenheit, degrees Rankine, and
degrees Kelvin are via the following formulas:
Centigrade: -3276.7 < C < +3276.7
Fahrenheit : F = (9/5)C + 32
Rankine: R = (9/5)C + 491.69 Note: R = F + 459.69
Kelvin : K = C + 273.16
For channels configured as thermocouples, all ASCII readings will be returned in the format which corresponds
with the engineering unit selected. The formats are as follows, where X is an ASCII digit.
Centigrade :
XXXX.XX
Fahrenheit :
XXXX.XX
Rankine :
XXXX.XX
Kelvin :
XXXX.XX
Page view 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 255 256

Comments to this Manuals

No comments