Super Systems 9130 Series User Manual

Page 60

Advertising
background image

Series 9130 Operations Manual Rev -

59

returns the value of the expression in the parenthesis.

Note – A pair of parenthesis by themselves is

considered an undefined function

.

The instrument calculation has limited parsing ability. This is kept to variables, operation, variable – i.e. V1
= 12.25 * V2. Another example is M128 = V1/100.
A negative sign (-) in front of the number is considered part of the number – i.e. V1 = -2.55 + V2.
A variable to the parser is one of the following: a program variable (Vxx), a Modbus register (Mxxx), a
number, or a function.
Example:
V1 = (V2 * 1.35) + (V3 * V4)
This example will multiple V2 by 1.35 and multiply V3 and V4 together, and add those two results and store
that value in V1.
The maximum length of a program line is thirty-one (31) characters.
The following are the valid mathematical operators: + (Addition), - (Subtraction), * (Multiplication), /
(Division), and % (Modulo Divide – integer only).
The difference between Division and Modulo Division is that Modulo will always return an integer value.
Example:
11 / 4 = 2.75
11 % 4 = 2 (The .75 will not be returned)


Calculation Time In MS (0 to Disabled)
This is the calculation time for the calculations. This will specify the delay between executing a line. Each
line has the same delay between them, even if they are blank. A value of zero (0) will keep the calculations
from being performed. The range is 0 – 10000.

Editor
This option will display the screen where the
calculations can be entered.
To edit a line, click on the Edit button. This will bring
up the keyboard, which will allow the user to change
the text for the calculation. If Edit is clicked on a
blank line, a new calculation can be entered.
To Insert a blank line in between lines, select the
line

BELOW

where the inserted line is going to go

and click on the Insert button.
To delete a line, highlight the line and click on the
Delete button.
To erase a line, highlight the line and click on the
Clear button.





Advertising