beautypg.com

12 query logic statement – INFICON IC6 Thin Film Deposition Controller User Manual

Page 189

background image

10 - 19

PN

07

4-

50

5-

P1

F

IC6 Operating Manual

10.4.12 Query Logic Statement

Command = QL

Statement Number = 1 - 100

Response =

NOTE: This length is NOT the same as the length of the packet. It tells how many

bytes follow in the "event/action" .

Response can be made up of the following elements. All elements except Numeric
2 are one byte. Numeric 2 is a 4-byte integer.

AND connector . . . . . . . . . . . . . . . . . 0x26

Or connector. . . . . . . . . . . . . . . . . . . 0x7C

Left parenthesis . . . . . . . . . . . . . . . . 0x28

Right Parenthesis . . . . . . . . . . . . . . . 0x29

On connector . . . . . . . . . . . . . . . . . . 0x40

Event code . . . . . . . . . . . . . . . . . . . . (See note 1)

Negated Event code. . . . . . . . . . . . . (See note 1)

Numeric 1 . . . . . . . . . . . . . . . . . . . . (See note 2)

Numeric 2 . . . . . . . . . . . . . . . . . . . . . (See note 3)

Space . . . . . . . . . . . . . . . . . . . . . . . . 0x20 separates "if" and "then"

Action code. . . . . . . . . . . . . . . . . . . . (See note 1)

Action Numeric . . . . . . . . . . . . . . . . . (See note 4)

Terminator . . . . . . . . . . . . . . . . . . . . (ETX) 0x03 Indicates end of "then"

Note 1: For definition of event and action codes see

section 10.4.14 on page 10-21

for the Event list and

section 10.4.15 on page 10-24

for the Action list. The codes

sent via communications would be the number listed there. If the event is to be
negated, the event code will be negated as well. For example, the code for external
input is 0x41. To indicate not external input (that is, input not set) the code is 0xBF.
Action codes may not be negated.

Note 2: Numeric 1 is present if the event code requires a numeric. The range is
dependent on the specific code.

Note 3: Numeric 2 is present if the event code requires a second numeric. It is a
4-byte integer. The range is dependent on the specific code.

Note 4: The Action Numeric is present if the action code requires a numeric. The
range is dependent on the specific code.

The ordering of the logic elements is as follows: (The term Event Code includes
Negated Event Code)