Measurement-computing TempScan/1100 Manual de usuario Pagina 229

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 306
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 228
TempScan / MultiScan User’s Manual
889897
API
Command Reference A-33
When the unit is inputting or outputting data, it first references the current reading format. For example, if
format
is
0
(Engineering Units), it will then reference the current settings of the engineering units and then
perform the necessary conversion. However, data readings are only converted to the specified engineering units
if the associated channel type is a channel that supports those engineering units. For example if the specified
channel is a volts channel and the engineering units is
0
(°C), then the reading will be interpreted as volts, not a
temperature in °C.
The following table shows the effect of the Set Data Format (
F
) command on reading input/output formats for the
commands and queries over which it has control.
Reading Formats
Commands Engineering Units Binary Counts
High/Low Byte Low/High Byte
C,C?,L,L?,U8
Engineering Units Engineering Units Engineering Units Counts
R,R#,U4,U5,U13
Engineering Units Binary (High/Low) Binary (Low/High) Counts
For more information on data formats, see section Data Format Configuration in the chapter System
Configuration.
EXAMPLES
PRINT#1, “OUTPUT07:F0,0X”
‘ Set the Engineering Units to °C and the
reading format to Engineering Units
PRINT#1, “OUTPUT07;C1,1,-100.0,100.0,1.0X”
‘ Set points and hysteresis interpreted as °C
PRINT#1, “OUTPUT07; U4X”
‘ Retrieve High/Low/Last readings
PRINT#1, “ENTERO7"
‘ Returned readings are in Engineering °C
format
LINE INPUT #2, A$
PRINT A$
PRINT#1, “OUTPUT07;F1,1X”
‘ Set the Engineering Units to °F and reading
format to Binary Low/High Byte
PRINT#1, “OUTPUT07;C1,1,-100.0,100.0,1.0X”
‘ Set points and hysteresis interpreted as °F
PRINT#1, “OUTPUT07;U4X”
‘ Retrieve High/Low/Last readings
PRINT#1, “ENTER07"
‘ Returned readings in Binary Low/High format
LINE INPUT #2, A$
PRINT A$
Vista de pagina 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 305 306

Comentarios a estos manuales

Sin comentarios