Programming instructions

NC Programming 17VRS Variable Assignments and Arithmetic Functions
10-7
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Operands
Operands can be:
Constants
System constants
NC variables
Address letters, and
Functions
Floating decimal point constants can be comprised of the following ele-
ments:
Sign of the mantissa
Up to 6 decimal places
Number of places to the left of the first through sixth decimal digit
Exponent symbol "E"
Sign of the exponent, and
Up to 2 decimal places for the exponent
In order for the use of internal floating decimal point calculations, the
decimal point or the exponent sign must be present.
Example of legal floating-decimal-point constants
-0.
+123456.
1E0
-123456E+1
0.1E-00
+100.000E12
The decimal numerical value statements is interpreted as an integer con-
stant, both without the decimal point and without the exponent. Integer
constants can optionally consist of a sign and up to ten decimal places.
Example of legal integer constants
-0
1
+1234567890
The circle number "PI" (3.14159265...) and the conversion factor to go
from the inch system to the metric "KI" system (25.4) are available for use
as system constants which are programmed using their symbolic names.
Because of their higher internal accuracy, these constants should always
be used.
Constants
System constants