Rockwell Automation T7833 ICS Regent+Plus Math Package for Winternet User Manual

Page 15

Advertising
background image

Math Package for W

INTERPRET

(T7833)


P D - 7 0 4 3 M a r c h , 0 6

15

The floating point math editor allows you to create up to 6500
lines in a single function block. The size of each compiled
function block is limited to 64 kbytes of code which provides up
to 1300 lines which contain floating point math statements (a
simple statement like A = 1 occupies approximately 50 bytes).

Statement Lines

Each line of the function block may contain up to 72
characters that form a floating point math statement.
Additional comment characters may also be included (see
Comments below). Statements cannot be extended from one
line to the next.

Comments
and Blank Lines

In-line comments may be included on any line of the floating
point math function block.

Comments begin with a semicolon (;). Anything following a
semicolon will be interpreted as a comment. All characters to
the right of a semicolon will be interpreted as comments and
will not be used to generate code that is loaded and executed
in the Regent. A line beginning with a semicolon is
completely a comment line.

Blank lines may be used to make the function block more
easily readable by separating sequential lines from others.
Blank lines and lines that are completely comments do not
generate any executable code, but do require 2 bytes of
function block local data.

The editor allows you to enter up to 1024 characters per line,
however, when the function block is printed only the first 125

characters of each line are printed. Avoid entering lines
longer than 125 characters wide.

An floating point math example which includes comments and
blank lines is shown in Figure 2.

Note:

Advertising