Section:
Page
PROGRAMMING
26
Chapter: 6
6.8 OTHERS FUNCTIONS
6.8.1 BATCH PROGRAMMING (G81)
This function is especially designed for feeders of sheetmetal, cardboard, paper, plastic,
etc.
It allows programming batches of parts having the same length.
Its programming format is:
G81 L C A
L
Length of each part of the batch.
C
Number of parts to make.
A
Forewarning part number
Example:
To make a batch of 100 parts, each being 200mm long and warning
when there are 3 parts left to finish the batch: G81 L200 C100 A2
Function G81 executes a G92 after each part (after each feed), thus being necessary
to set "P100(8)=1" so the G92 does not accumulate count (coordinate setting)
Basic operation:
1.- When pressing
or receiving the external Cycle Start command.
2.- The CNC executes function G92 X0 setting the X axis coordinate to "0".
3.- The X axis moves the distance indicated by parameter "L" in G01 and the
programmed feedrate F. It assumes the G05 or G07 previously active.
4.- Once the axis is in position, the CNC outputs an "M07" for the machine to cut the
material. The part counter is incremented and the cycle is interrupted.
5.- The CNC verifies the following:
a)
If the whole lot has been cut, number of parts equal to "C", the CNC outputs
an "M09" and concludes the execution of function "G81".
b)
When there are "A" parts left to go, the CNC outputs function "M08" so the
forewarning signal is activated.
6.- If all the parts have not been made yet, the CNC waits for another Cycle Start
command in order to resume the execution of the cycle from step "2".
Attention:
G81 is not modal. Therefore, it must be programmed every time.
It uses the internal CNC part counter. It resets it to zero at the beginning
of the execution and it increments it every time it executes a part.
In the counter display mode, the CNC shows, on the left-hand side, the
number of parts programmed for the batch and, on the right-hand side, the
number of parts already made.
OTHER FUNCTIONS