Teledyne M300EM operation manual Command Syntax, Data Types, X Id Command <Cr>

Models: M300E M300EM

1 398
Download 398 pages 30.02 Kb
Page 159
Image 159
8.1.7.2.Command Syntax

Teledyne API – Technical Manual - Model 300E Family CO Analyzers

Remote Operation

8.1.7.2.Command Syntax

Commands are not case-sensitive and all arguments within one command (i.e. ID numbers, keywords, data values, etc.) must be separated with a space character.

All Commands follow the syntax:

X [ID] COMMAND <CR>

Where

Xis the command type (one letter) that defines the type of command. Allowed designators are listed in Appendix A-6.

[ID]

is the machine identification number (Section 8.1.6). Example: the Command “? 700”

 

followed by a carriage return would print the list of available commands for the revision of

 

software currently installed in the instrument assigned ID Number 700.

COMMAND

is the command designator: This string is the name of the command being issued (LIST,

 

ABORT, NAME, EXIT, etc.). Some commands may have additional arguments that define

 

how the command is to be executed. Press ? <CR> or refer to Appendix A-6 for a list of

 

available command designators.

<CR>

is a carriage return. All commands must be terminated by a carriage return (usually

 

achieved by pressing the ENTER key on a computer).

Table 8-3: Teledyne API’s Serial I/O Command Types

COMMAND

COMMAND TYPE

C

Calibration

D

Diagnostic

L

Logon

T

Test measurement

V

Variable

W

Warning

8.1.7.3.Data Types

Data types consist of integers, hexadecimal integers, floating-point numbers, Boolean expressions and text strings.

Integer data: Used to indicate integral quantities such as a number of records, a filter length, etc.

They consist of an optional plus or minus sign, followed by one or more digits.

For example, +1, -12, 123 are all valid integers.

Hexadecimal integer data: Used for the same purposes as integers.

They consist of the two characters “0x,” followed by one or more hexadecimal digits (0-9, A-F, a-f), which is the ‘C’ programming language convention.

No plus or minus sign is permitted.

For example, 0x1, 0x12, 0x1234abcd are all valid hexadecimal integers.

Floating-point number: Used to specify continuously variable values such as temperature set points, time intervals, warning limits, voltages, etc.

They consist of an optional plus or minus sign, followed by zero or more digits, an optional decimal point and zero or more digits.

At least one digit must appear before or after the decimal point.

Scientific notation is not permitted.

04288D DCN5752

157

Page 159
Image 159
Teledyne M300EM Command Syntax, Data Types, X Id Command <Cr>, 3:Teledyne API’s Serial I/O Command Types