Programming and Operating Manual (Turning)
01/2017
297
GOTOB GoBack instruction - A GoTo operation is performed
to a block marked by a label; the
jump destination is in the direc-
tion of the program start.
N10 LABEL1: ...
...
N100 GOTOB LABEL1
GOTOF GoForward instruction - A GoTo operation is performed
to a block marked by a label; the
jump destination is in the direc-
tion of the end of the program.
N10 GOTOF LABEL2
...
N130 LABEL2: ...
IC Coordinate specified
using incremental
The dimension can be specified
for the end or center point of a
certain axis irrespective of G90.
N10 G90 X10 Z=IC(20) ;Z
-incremental dimension,
IF Jump condition - If the jump condition is fulfilled,
the GoTo operation to the block
with the following
label is per-
formed;
, otherwise, the next
instruction/block will follow. In
one block,
several IF instructions are possi-
ble.
Relational operators:
= = equal, <> not equal
> greater than, < less than
>= greater than or equal to
N10 IF R1>5 GOTOF
LABEL3
...
N80 LABEL3: ...
LIMS Upper limit speed of
the spindle with G96,
0.001 ... 99
999.999
Limits the spindle speed with the
G96 function enabled - constant
See G96
MEAS Measurement with
deletion of distance-to-
go
+1
-1
=+1: Measuring input 1, rising
edge
=-1: Measuring input1, falling
N10 MEAS=-1 G1 X... Z...
F...
MEAW Measurement without
deletion of distance-to-
go
+1
-1
=+1: Measuring input 1, rising
edge
=-1: Measuring input1, falling
N10 MEAW=1 G1 X... Z...
F...
$A_DBB[n]
$A_DBW[n]
$A_DBD[n]
$A_DBR[n]
Data byte
Data word
Data double-word
Real data
Reading and writing PLC varia-
bles
N10 $A_DBR[5]=16.3 ;
Write Real variables
; with offset position 5
; (position, type and
meaning are agreed be-
tween NC and PLC
$AA_MM[
axis
]
Measurement result for
an axis in the machine
-
Axis
: Identifier of an axis (X, Z)
traversing when measuring
N10 R1=$AA_MM[X]
$AA_MW[
axis
]
Measurement result for
an axis in the work-
piece coordinate sys-
-
Axis
: Identifier of an axis (X, Z)
traversing when measuring
N10 R2=$AA_MW[X]
$AC_MEA[1] Measuring task status - Default condition:
0: Default condition, probe did
not switch
N10 IF $AC_MEAS[1]==1
GOTOF .... ; Continue
program when probe has