beautypg.com

1 entering a logic statement, 2 logic statement conditions ("if"), Section 3.11.2.1 – INFICON SQC-310 Thin Film Deposition Controller User Manual

Page 68

background image

3 - 26

IP

N 07

4-

55

0-

P1

B

SQC-310 Operating Manual

3.11.2.1 Entering a Logic Statement

A logic statement consists of two parts. The first part of the string (IF) indicates the
condition that must be satisfied. The second part (THEN) indicates the action that
takes place once the IF part has been satisfied.

To create a logic statement string you must follow three simple rules. For the IF
portion of the statement:

There must be an equal number of closed and open parentheses.

All conditions must be separated by an AND, OR, or NOT operator.

Condition strings cannot end in an operator.

Enter Logic Condition: To enter a logic condition, press Go to IF. Scroll down the
condition categories, and press Select to view the specific conditions for that
category. Scroll through the list of conditions and press Insert to add the condition
to the IF portion of the logic statement. Press Done to continue building the logic
statement.

To add another condition, you will need a logic operator such as AND, OR, NOT, or
a parenthesis. Scroll to the top of the condition categories, highlight Operators and
press select. Scroll to the desired operator and press Done. Enter another logic
condition as described above. Continue these operations until the desired IF
condition is built.

If you make a mistake, press Delete to delete the last entry in the IF statement.

Enter Logic Action: To enter a logic action, press Go to Then. Scroll down the
action categories, and press Select to view the specific actions for that category.
Scroll through the list of actions and press Insert to add the action to the THEN
portion of the logic statement. Press Done to complete the action portion of the
logic statement. Only one action is possible per logic statement.

When you exit the Edit Logic Statement screen, the statement is tested for proper
syntax. If there is an error, you are given the choice of correcting the statement. If
you chose to not correct errors, the logic statement will always evaluate as false.

Besides listing the names of the 32 logic statements, the Logic Menu shows the
current state of each statement. Statements that currently evaluate as true are
shown in green. Statements that evaluate as false are shown in red. This can be a
handy aid for troubleshooting logic statement and digital I/O problems.

3.11.2.2 Logic Statement Conditions ("IF")

Operators: For more complex logic statements logical operators such as AND,
OR, NOT, parentheses ( ), greater than >, and less than < can be added.
Parenthesis are used to group logic conditions, such as “IF (Input1 AND Input2)
OR Input3”. Every open parenthesis “(“ must have a matching closed parenthesis
“)”. The less than “<” and “>” than operators are used only with Timer conditions.