Programming and Operating Manual (Milling)
336 6FC5398-4DP10-0BA6, 09/2017
A GoTo operation is per-
formed to a block marked by a
label; the jump destination is
in the direction of the program
start.
N10 LABEL1: ...
...
N100 GOTOB LABEL1
A GoTo operation is per-
formed to a block marked by a
label; the jump destination is
in the direction of the end of
the program.
N10 GOTOF LABEL2
...
N130 LABEL2: ...
Coordinate specified
using incremental
dimensions
The dimension can be speci-
fied for the end or center point
of a certain axis irrespective of
G90.
N10 G90 X10 Z=IC(20); Z -
incremental dimension, X -
absolute dimension
If the jump condition is fulfilled,
the jump to the block with
Label: is performed
; other-
wise, next instruction/block;
several IF instructions per
block are possible
Relational operators:
= = equal, <> not equal, >
greater than, < less than, >=
greater than or equal to, <=
less than or equal to
N10 IF R1>5 GOTOF LABEL3
...
N80 LABEL3: ...
Measuring with
deletion of distance-
to-go
=+1: Measuring input 1, rising
edge
=-1: Measuring input1, falling
edge
N10 MEAS=-1 G1 X... Y... Z...
F...
Measuring without
deletion of distance-
to-go
=+1: Measuring input 1, rising
edge
=-1: Measuring input1, falling
edge
N10 MEAW=-1 G1 X... Y... 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
variables
N10 $A_DBR[5]=16.3 ; Write
Real variables; with offset
position 5; (position, type and
meaning are agreed between
NC and PLC)
Measurement result
for an axis in the
m achine coordinate
system
Axis
: Identifier of an axis (X, Y,
Z ...) traversing when measur-
ing
Measurement result
for an axis in the
workpiece coordi-
nate system
Axis
: Identifier of an axis (X, Y,
Z ...) traversing when measur-
ing
Timer for runtime:
$AN_SETUP_TIME
$AN_POWERON_TI
ME
$AC_OPERATING_
TIME
$AC_CYCLE_TIME
$AC_CUTTING_TIM
E
0.0 ... 10
+300
min (value read-
only)
min (value read-
only)
s
s
s
System variable:
Time since the control system
last booted
Time since the control system
last booted normally
Total runtime of all NC pro-
grams
Runtime of the NC program
(only of the selected program)
Tool action time
N10 IF
$AC_CYCLE_TIME==50.5 ....