Creating a ShopTurn program
8.11 Entering the number of workpieces
Turning
258 Operating Manual, 01/2015, 6FC5398-8CP40-5BA2
Continue programming up to the point where you want to repeat the
program blocks.
rious" and "Repeat progr." softkeys.
Enter the names of the start and end markers and the number of times
the blocks are to be repeated.
Press the "Accept" softkey.
The marked program blocks are repeated.
Entering the number of workpieces
If you wish to produce a certain quantity of the same workpiece, then at the end of the
program, specify that you wish to repeat the program.
If your machine has a bar loader for example, you can program the reloading of the
workpiece and then the actual machining at the beginning of the program. At the end, cut off
the completed workpiece.
Control the numbers of times that the program is repeated using the "Times, counters"
window. Enter the number of required workpieces using the target number. You can track
the number of machined and completed workpieces in the actual counter window.
Workpieces can be completely automatically produced in this fashion.
Controlling program repetition
Times, counter:
Counts the work-
pieces
A CYCLE START is required for each workpiece.
No Yes A CYCLE START is required for each workpiece.
The workpieces are counted.
Yes Yes The program is repeated without a new CYCLE START
until the required number of workpieces have been ma-
Yes No Without a new CYCLE START, the program is repeated
an infinite number of times.
You can interrupt program execution with <RESET>.