![Fagor CNC 8070 Скачать руководство пользователя страница 515](http://html1.mh-extra.com/html/fagor/cnc-8070/cnc-8070_programming-manual_3212158515.webp)
Programming manual
CNC 8070
STATEMENTS AND
IN
STRUCTI
O
NS
Fl
ow c
ont
ro
lli
n
g
i
n
st
ru
ct
io
n
s
15.
(S
OFT
V02.0
X
)
481
15.2.2 Conditional execution ($IF)
$IF <condition>... $ENDIF
The following parameter is defined in this instruction:
This instruction analyzes the programmed condition.
•
If the condition is true, it executes the blocks contained between
the $IF and $ENDIF instruction.
•
If the condition is false, the execution continues at the block after
$ENDIF.
The $IF instruction always ends with a $ENDIF, except when adding
a $GOTO instruction, in which case, it must NOT be programmed.
As an option, the $ELSE and $ELSEIF instructions may be inserted
between $IF and $ENDIF.
<condition>
I t m ay b e a c o m p a r i s o n b e t w e e n t wo n u m b e r s ,
parameters or arithmetic expressions whose result is a
number.
...
N20 $IF P1==1
N30...
N40...
N50 $ENDIF
N60 ...
If P1 is equal to 1, it will execute blocks N30 through N40.
If P1 is other than 1, the execution continues at N60.
...
N20 $IF P1==1 $GOTO N40
N30...
N40: ...
N50...
If P1 is equal to 1, the execution continues at block N40.
If P1 is other than 1, the execution continues at N30.
Содержание CNC 8070
Страница 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 12: ......
Страница 14: ......
Страница 16: ......
Страница 22: ......
Страница 26: ......
Страница 28: ......
Страница 30: ......
Страница 32: ......
Страница 34: ......
Страница 54: ...Programming manual 20 CNC 8070 1 CREATING A PROGRAM Parameters constants and expressions SOFT V02 0X 20...
Страница 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Страница 154: ...Programming manual 120 CNC 8070 6 TOOL PATH CONTROL Manual intervention G200 G201 G202 SOFT V02 0X 120...
Страница 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Страница 188: ...Programming manual 154 CNC 8070 8 ADDITIONAL PREPARATORY FUNCTIONS Probing G100 SOFT V02 0X 154...
Страница 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Страница 446: ...Programming manual 412 CNC 8070 14 CNC VARIABLES Alphabetical listing of variables SOFT V02 0X 412...
Страница 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...