EasyManua.ls Logo

Tormach PCNC 440 - 7.2.5 Formatting G-code Blocks

Tormach PCNC 440
183 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7
100
UM10372_PCNC440_Manual_0221A
PROgRAMMiNg
A number consists of the following, in order: (1) an oponal plus or minus sign, followed by
(2) zero to many digits, followed, possibly, by (3) one decimal point, followed by (4) zero to
many digits.
There must be at least one digit somewhere in the number.
There are two kinds of numbers: integers and decimals. An integer does not have a decimal
point in it; a decimal does.
Numbers may have any number of digits, subject to line length limitaons. PathPilot only
retains 17 signicant gures. This is enough for all known applicaons.
A non-zero number with no sign as the rst character is assumed to be posive.
Inial zeros (before the decimal point and the rst non-zero digit) and trailing zeros (aer the
decimal point and the last non-zero digit) are allowed but not required. A number wrien with
inial or trailing zeros has the same value when it is read as if the extra zeros were not there.
Numbers used for specic purposes by the operang system are oen restricted to some nite set
of values or some to some range of values. In many uses, decimal numbers must be close enough to
an integer to be accepted as input. A decimal number which is supposed to be close to an integer is
considered close enough if it is within 0.0001 of an integer.
7.2.5 Formatting G-code Blocks
A permissible block of input code consists of the following programming elements, in order, with
the restricon that there is a maximum (currently 256) to the number of characters allowed on a
line:
Oponal block delete character (/)
Oponal line number
Any number of words, parameter sengs, and comments
End of line marker (carriage return or line break)
Any input not explicitly allowed is illegal and causes the interpreter to signal an error or to ignore
the line.
Programs are limited to 999,999 lines of code.
Spaces and tabs are allowed anywhere on a line of code and do not change the meaning of the line,
except inside comments. For example, the line:
G00 x +0. 12 34y 7
is equivalent to:
G00 x+0.1234 y7
Blank lines are allowed in the input, but are ignored.

Table of Contents

Other manuals for Tormach PCNC 440