Address
Significance
GOTOF
GoForward instruction
IC
Coordinate specified
using incremental
dimensions
IF
Jump condition
LIMS
Upper limit speed of
the spindle with G96,
G97
MEAS
Measurement with
deletion of distance-to-
go
MEAW
Measurement without
deletion of distance-to-
go
$A_DBB[n]
Data byte
$A_DBW[n]
Data word
$A_DBD[n]
Data double-word
$A_DBR[n]
Real data
$AA_MM[
Measurement result for
axis
]
an axis in the machine
coordinate system
axis
$AA_MW[
Measurement result for
]
an axis in the work-
piece coordinate sys-
tem
$AC_MEA[1]
Measuring task status
Programming and Operating Manual (Turning)
6FC5398-5DP10-0BA2, 06/2015
Value assign-
Information
ments
-
A GoTo operation is performed to
a block marked by a label; the
jump destination is in the direction
of the end of the program.
The dimension can be specified
for the end or center point of a
certain axis irrespective of G90.
-
If the jump condition is fulfilled, the
GoTo operation to the block with
the following
otherwise, the next instruc-
tion/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
<= less than or equal to
0.001 ... 99
Limits the spindle speed with the
999.999
G96 function enabled - constant
cutting rate and G97
+1
=+1: Measuring input 1, rising
edge
-1
=-1: Measuring input1, falling edge
+1
=+1: Measuring input 1, rising
edge
-1
=-1: Measuring input1, falling edge
Reading and writing PLC variables N10 $A_DBR[5]=16.3 ;
Axis
-
: Identifier of an axis (X, Z)
traversing when measuring
Axis
-
: Identifier of an axis (X, Z)
traversing when measuring
-
Default condition:
0: Default condition, probe did not
switch
1: Probe switched
Programming
N10 GOTOF LABEL2
...
N130 LABEL2: ...
N10 G90 X10 Z=IC(20) ;Z
-incremental dimension,
X - absolute dimension
N10 IF R1>5 GOTOF
LABEL3
label is performed;
,
...
N80 LABEL3: ...
See G96
N10 MEAS=-1 G1 X... Z...
F...
N10 MEAW=1 G1 X... Z...
F...
Write Real variables
; with offset position 5
; (position, type and
meaning are agreed be-
tween NC and PLC
)
N10 R1=$AA_MM[X]
N10 R2=$AA_MW[X]
N10 IF $AC_MEAS[1]==1
GOTOF .... ; Continue
program when probe has
switched ...
245