Siemens sinumerik 808d Programming And Operating Manual page 22

Hide thumbs Also See for sinumerik 808d:
Table of Contents

Advertisement

Programming principles
1.1 Fundamentals of programming
Address
Significance
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
axis
]
result for an axis in
the machine
coordinate system
axis
$AA_MW[
Measurement
]
result for an axis in
the workpiece
coordinate system
$AC_MEA[1]
Measuring task
status
22
Value assignments
-
0.001 ... 99 999.999
+1
-1
+1
-1
-
-
-
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
Information
If the jump condition is fulfilled,
the GoTo operation to the block
label is
with the following
performed;
, otherwise, the next
instruction/block will follow.In
one block,
several IF instructions are
possible.
Relational operators:
= = equal, <> not equal
> greater than, < less than
>= greater than or equal to
<= less than or equal to
Limits the spindle speed with the
G96 function enabled - constant
cutting rate and G97
=+1: Measuring input 1, rising
edge
=-1: Measuring input1, falling
edge
=+1: Measuring input 1, rising
edge
=-1: Measuring input1, falling
edge
Reading and writing PLC
variables
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
Turning Part 2: Programming (Siemens instructions)
Programming
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 R1=$AA_MM[X]
N10 R2=$AA_MW[X]
N10 IF $AC_MEAS[1]==1
GOTOF .... ; Continue
program when probe has
switched ...

Advertisement

Table of Contents
loading

Table of Contents