Siemens SINUMERIK 802D sl Programming And Operating Manual page 44

Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

Programming
3.1 Fundamental Principles of NC Programming
Address
Meaning
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_FXS
Status,
axis
[
]
travel to fixed stop
$AA_MM
Measurement result
axis
[
]
for an axis in the
machine coordinate
system
$AA_MW
Measurement result
axis
[
]
for an axis in the
workpiece coordinate
system
$AC_MEA
Measuring job status
[1]
3-14
Value assignments
Information
-
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 pos-
sible.
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
999.999
the G96 function enabled -
constant cutting rate and G97
+1
=+1: Measuring input 1, rising
-1
edge
=-1: Measuring input1, falling
edge
+1
=+1: Measuring input 1, rising
-1
edge
=-1: Measuring input1, falling
edge
Reading and writing PLC vari-
ables
-
Values: 0 ... 5
Axis
Axis
-
traversing when measuring
Axis
-
traversing when measuring
-
Default condition:
0: Default condition, probe did
not switch
1: Probe switched
Programming and Operating manual, 06/2006, 6FC5398-4CP10-0BA0
label is per-
, otherwise, the next
: Machine axis identifier
: Identifier of an axis (X, Z)
: Identifier of an axis (X, Z)
Programming
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 between NC and
PLC
)
N10 IF $AA_FXS[X1]==1
GOTOF ....
N10 R1=$AA_MM[X]
N10 R2=$AA_MW[X]
N10 IF $AC_MEAS[1]==1
GOTOF .... ; Continue pro-
gram when probe has
switched ...
Grinding

Advertisement

Table of Contents
loading

Table of Contents