Programming manual
CNC 8070
CREATING A PROGRAM
Programming in ISO code
1.
(SOFT V02.0X)
5
1.3 Programming in ISO code
ISO-coded functions consist of letters and numbers.
• The letters are "N", "G", "F", "S", "T", "D", "M", "H", "NR" plus those
identifying the axes.
• The numbers include digits "0" through "9", the "+" and "-" signs
and the decimal point ".". On the other hand, the numbers may be
replaced by a parameter, variable or arithmetic expression whose
result is a number as explained in the section on
"1.5 Parameters, constants and expressions" later in this
chapter.
Programming allows blank spaces between letters, numbers and a
sign as well as not using the sign with positive values.
Block structure
A block may have the following data, but needs not contain all of them.
These data don't have a preestablished order, except the block skip
and block label which must always be programmed at the beginning
of the block.
1. Conditional block skip "/"
If the block-skip mark is active, the CNC will skip the blocks having
this character (not executing them) and will go on to the next block.
The CNC reads several blocks ahead of the one in execution, in
order to calculate in advance the path to travel. The block-skip
condition is examined at the time when the block is read.
2. Block identification "N"
They must be programmed when the block is used as the
destination of references or jumps. In this case, it is recommended
to program it alone in the block. It may be represented in two ways:
• The letter "N" followed by the block number (0-4294967295)
and the ":" character (only when the label is used as the
destination of a block jump); they need not follow a particular
order or be consecutive.
If the label is not a jump target and is programmed without ":",
it may go in any position of the block, not necessarily at the
beginning.
• "[<name>]" type labels, where <name> may be up to 14
characters long and may consist of uppercase and lowercase
characters as well as numbers (no blank spaces are allowed).
Both types of data may be programmed in the same block.
/
(1)
N—
(2)
G— G—
(3)
X— Y— Z—
(4)
F— S—
(5)
T—
(6)
M— H—
(7)
NR—
(8)
(—)
(9)