Using the floating point math editor – Rockwell Automation T7833 ICS Regent+Plus Math Package for Winternet User Manual

Page 14

Advertising
background image

Math Package for W

INTERPRET

(T7833)


1 4

Industrial Control Services

The Regent does not reset the values of the line number and
error code variables when no more math errors are present.
When the error condition ceases, these variables contain the
values for the last error. You should include equations to
reset the error variables (as shown in lines 1 and 2 in Table 9.
Otherwise, once an equation generates an error, the test for
error will remain true for that equation until a different line
number generates a math error.

Using the Floating Point Math Editor

Floating Point Math function blocks are created using the
Add Function Block or Insert Function Block from the
Program Editor. After you have created a new math function
block the Floating Point Math Editor window is opened as
shown in Figure 1.

Figure 1. The Floating Point Math Editor Window.

Using the drop-down menus you can select commands to
create floating point math statements, define error variables,
perform cut, copy and paste operations, print the function
block and a host of other configuration operations.

The Floating Point Math Editor lets you create and edit
floating point math function blocks. When you create a math
function block you will enter your equations line by line in a
simple text-based editor.

Advertising