Programming manual
CNC 8070
CREATING A PROGRAM
High-level language programming
1.
(SOFT V02.0X)
11
1.4 High-level language programming
The commands of high level language are made up of control
instructions "#" and flow control instructions "$".
Block structure
A block programmed in high-level language may have the following
data, but need not contain all of them.
The block-skip condition and the block identification 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)
High-level language commands
(3)
(—)
(4)