Download User Manual, Volume 3, Configuration and Advanced Operation

Transcript
Volume 3c
Configuration and Advanced Operation
2.5.13.
Programmable Variables These 64 variable
statements are evaluated
every 500 msec starting at
the statement that
determines the value of
Points 7025 through 7088.
Each statement can contain
up to 3 variables or
constants. Variables can be
optionally preceded by the
‘$’ symbol denoting the
ABSOLUTE value of the
variable is to be used.
Constants are identified by
placing a ’#’ symbol ahead
of the number. These and
other operators are:
Operator
Symbol
ABSOLUTE
$
CONSTANT
#
POWER
&
MULTIPLY
*
DIVIDE
/
ADD
+
SUBTRACT
EQUAL
=
IF
)
GOTO
G
MOVE
:
COMPARE
%
INDIRECT
“
The order of precedence is:
1) ABSOLUTE
2) POWER
3) MULTIPLY/DIVIDE
4) ADD/SUBTRACT
In cases where operators
have the same precedence,
statements are evaluated
left to right.
E.g.: The value of floating
point variable 7035 is
defined as:
7035:7027&#0.5*7026
The power operator is
evaluated first (the value of
Point 7035 is set equal to
the square root of the
number contained in Point
7027) and the result is
multiplied by the number
stored in variable 7026.
Note that statements can
contain the results of other
statements. (See OmniCom
Help for more information by
pressing [F1] on your PC
keyboard in the “Configure
Variable Statement’ menu.)
22/26.74+  06/07
Programmable Variable Statements
Enter [Y] at ‘Program Variables ?’ of the ‘Misc Setup’ menu to open the
following entries:
Prog Variable 70xx
Equation or Statement
Comment or Remark
{PL}
25:
_______________________ _______________________
{PL}
26:
_______________________ _______________________
{PL}
27:
_______________________ _______________________
{PL}
28:
_______________________ _______________________
{PL}
29:
_______________________ _______________________
{PL}
30:
_______________________ _______________________
{PL}
31:
_______________________ _______________________
{PL}
32:
_______________________ _______________________
{PL}
33:
_______________________ _______________________
{PL}
34:
_______________________ _______________________
{PL}
35:
_______________________ _______________________
{PL}
36:
_______________________ _______________________
{PL}
37:
_______________________ _______________________
{PL}
38:
_______________________ _______________________
{PL}
39:
_______________________ _______________________
{PL}
40:
_______________________ _______________________
{PL}
41:
_______________________ _______________________
{PL}
42:
_______________________ _______________________
{PL}
43:
_______________________ _______________________
{PL}
44:
_______________________ _______________________
{PL}
45:
_______________________ _______________________
{PL}
46:
_______________________ _______________________
{PL}
47:
_______________________ _______________________
{PL}
48:
_______________________ _______________________
{PL}
49:
_______________________ _______________________
{PL}
50:
_______________________ _______________________
{PL}
51:
_______________________ _______________________
{PL}
52:
_______________________ _______________________
{PL}
53:
_______________________ _______________________
{PL}
54:
_______________________ _______________________
{PL}
55:
_______________________ _______________________
®
2-19