Siemens SINUMERIK User Manual page 297

Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Address
Significance
GOTOB
GoBack instruction
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)
01/2017
Value assign-
Information
ments
-
A GoTo operation is performed
to a block marked by a label; the
jump destination is in the direc-
tion of the program start.
-
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.
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
formed;
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
<= 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 varia-
bles
Axis
-
traversing when measuring
Axis
-
traversing when measuring
-
Default condition:
0: Default condition, probe did
not switch
1: Probe switched
label is per-
, otherwise, the next
: Identifier of an axis (X, Z)
: Identifier of an axis (X, Z)
Programming
N10 LABEL1: ...
...
N100 GOTOB LABEL1
N10 GOTOF LABEL2
...
N130 LABEL2: ...
N10 G90 X10 Z=IC(20) ;Z
-incremental dimension,
X - absolute dimension
N10 IF R1>5 GOTOF
LABEL3
...
N80 LABEL3: ...
See G96
N10 MEAS=-1 G1 X... Z...
F...
N10 MEAW=1 G1 X... Z...
F...
N10 $A_DBR[5]=16.3 ;
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 ...
297

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808dSinumerik 808d advanced

Table of Contents