Creating & Using Nodes
70
PT Program Generator (PPG) v5.0
For example, you could multiply the contents of the default register by 3 and
store the results in a register called
Triple
. Rather than supplying a constant
(such as 3), you could specify another register that contains the number you
want to multiply, add, subtract, or divide by.
shows the dia-
log box for a
Math
node.
The format of the math function is as follows:
Constant
|
Register
|
File
+ | - | / | *|
%
Constant
|
Register = Register
|
File
The results of the math operation must be within the range of
-999,999,999
through
999,999,999
and are always rounded to the
nearest integer.
Floating Point Math
PPG supports floating point math. Decimal values and exponential notation
of values with up to 13 digits can be entered in an application.
Operand 1 Tab
The
Operand 1
tab lets you specify a constant value or a file or register con-
taining the first operand for the mathematical operation. The location of
Operand 1
is displayed near the bottom of the dialog.
Figure 46. Math Node: Operand 1Tab
For more information on files and registers, refer to
.
2342.book Page 70 Thursday, July 22, 2004 8:35 AM
Содержание PT Program Generator
Страница 1: ...PT Program Generator User s Manual 2342 book Page 0 Thursday July 22 2004 8 35 AM...
Страница 16: ...Introduction 4 PT Program Generator PPG v5 0 NOTES 2342 book Page 4 Thursday July 22 2004 8 35 AM...
Страница 34: ...PPG Application Design 22 PT Program Generator PPG v5 0 NOTES 2342 book Page 22 Thursday July 22 2004 8 35 AM...
Страница 60: ...The PPG Menubar 48 PT Program Generator PPG v5 0 NOTES 2342 book Page 48 Thursday July 22 2004 8 35 AM...
Страница 88: ...Creating Using Nodes 76 PT Program Generator PPG v5 0 NOTES 2342 book Page 76 Thursday July 22 2004 8 35 AM...
Страница 174: ...The PPG Library 162 PT Program Generator PPG v5 0 NOTES 2342 book Page 162 Thursday July 22 2004 8 35 AM...
Страница 180: ...ASCII Hex Conversion Table 168 PT Program Generator PPG v5 0 NOTES 2342 book Page 168 Thursday July 22 2004 8 35 AM...
Страница 194: ...Glossary 182 PT Program Generator PPG v5 0 NOTES 2342 book Page 182 Thursday July 22 2004 8 35 AM...
Страница 203: ...2342 book Page 191 Thursday July 22 2004 8 35 AM...