Section:
Page
PROGRAMMING
40
Chapter: 6
Then, press [.] and key in the number of times this section is to be executed. For
example: N030 G25 N5.20.81
If the number of repetitions is not indicated, the CNC assumes a value of "1"
meaning that it will only execute it once. For example: N030 G25 N5.20 is the
same as N030 G25 N5.20.1
When using a parameter to indicate the program section to be executed, all three
fields of the G25 statement will be parametric. For example: when programming
N123 G25 NP10.20.30 the CNC interprets the first block of the section to be the
one indicated by parameter P10, the last block of the section will be the one indicated
by P20 (not necessarily block N020) and it will be executed the number of times
indicated by parameter P30 (not necessarily 30 times).
Up to 15 nesting levels may be programmed, which means that it is possible to call
from one section to another and from this one to another and so on up to 15 levels.
Each level may be repeated 99 times.
Attention:
If the last block of the program section to be executed is empty, the CNC
will issue error 7.
Programming example:
N000 G00 X10
M3
N005
Y20
N010 G01 X50
N015 G00 Y0
N020
X0
N025
Y10
N030 G25 N5.20.81
N035
Y22
The program starts running at block N000. When it reaches block N030, the
CNC executes the section between blocks N005 and N020 (both included) 81
times.
Then, it continues running from block N035.
PARAMETRIC
PROGRAMMING
Содержание 101
Страница 1: ...101 101S CNC 102 102S CNC OPERATING MANUAL 9703 ing...
Страница 6: ...COMPARISON TABLE FOR FAGOR CNC MODELS 101 101S 102 102S...
Страница 11: ...Introduction 1 INTRODUCTION...
Страница 96: ...ERROR CODES...
Страница 100: ...CNC 101 102 S New Features Version 9905 in...