·34·
Programming manual
CNC 8055
CNC 8055i
2.
CREATING A PROGRAM
·M· & ·EN· MODELS
SOFT: V02.2X
Program structure at the CNC
2.1 Program structure at the CNC
All the blocks which make up the program have the following structure:
Block header + program block + end of block
2.1.1 Block header
The block header is optional, and may consist of one or more block skip conditions and by the block
number or label. Both must be programmed in this order.
Block skip condition. "/", "/1", "/2", "/3".
These three block skip conditions, given that "/" and "/1" are the same, they are governed by the
marks BLKSKIP1, BLKSKIP2 and BLKSKIP3 of the PLC. If any of these marks is active, the CNC
will not execute the block or blocks in which it has been programmed; the execution takes place in
the following block.
Up to 3 skip conditions can be programmed in one block; they will be evaluated one by one,
respecting the order in which they have been programmed.
The control reads 200 blocks ahead of the one being executed in order to calculate in advance the
path to be run. The condition for block skip will be analyzed at the time when the block is read i.e.
200 blocks before execution.
If the block skip needs to be analyzed at the time of execution, it is necessary to interrupt the block
preparation, by programming G4 in the previous block.
Label or block number. N(0-99999999).
This is used to identify the block, and is only used when block references or jumps are made. They
are represented by the letter N followed by up to 8 digits (0-99999999).
No particular order is required and the numbers need not be sequential. If two or more blocks with
the same label number are present in the same program, the CNC will always give priority to the
first number.
Although it is not necessary to program it, by using a softkey the CNC allows the automatic
programming of labels. The programmer can select the initial number and the step between labels.
Restrictions:
• Displaying the active block number at the top window on the screen:
When executing a program in ISO mode, when the label number is higher than 9999, it
displays N**** .
On the "DISPLAY / SUBROUTINES" window, when displaying an RPT that has a label higher
than 9999, it displays it with ****.
• Canned cycles G66, G67 and G68 (irregular pockets with islands) can only be edited using 4-
digit labels.