Siemens sinumerik 802d sl Operation And Programming Manual page 132

Hide thumbs Also See for sinumerik 802d sl:
Table of Contents

Advertisement

Address
Meaning
AP
Polar angle
AR
Aperture angle for circular
interpolation
CALL
Indirect cycle call
CR
Radius for circular
interpolation
DC
Absolute coordinate;
approach position directly
(for rotary axis, spindle)
DEF
Definition instruction
GOTOB
GoBack instruction
GOTOF
GoTo instruction
IC
Coordinate specified
using incremental
dimensions
IF
Jump condition
$A_DBB[n]
Data byte
$A_DBW[n]
Data word
$A_DBD[n]
Data double-word
$A_DBR[n]
Real data
$A_MONIFA
Factor for tool life
CT
monitoring
Value assignments
0 ... 359.99999
Specification in degrees, traversing in polar
coordinates, definition of the pole; in addition: Polar
radius RP
0.00001 ... 359.99999
Specified in degrees; one possibility of defining the
circle when using G2/G3
Special form of the cycle call; no parameter transfer;
the name of the cycle is stored in a variable;
only intended for cycle-internal use
0.010 ... 99 999.999
One possibility of defining a circle when using G2/G3
Negative sign – for
selecting the circle:
greater than semi-circle
It is also possible to specify the dimensions for the end
point of a rotary axis with DC(...) irrespective of
G90/G91.
Defining a user variable of the type
BOOL, CHAR, INT, REAL, STRING[n],
to be defined directly at the beginning of the program
A GoTo operation is performed to a block marked by a
label; the jump destination is in the direction of the
program start.
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 jump to the block
with Label: is performed; otherwise, next
instruction/block;
several IF instructions per block are possible
Comparison operators:
= =
Greater than,
>
greater than,
>=
greater than or equal to
<=
less than or equal to
Reading and writing PLC variables
> 0.0
Initialization value: 1.0
Information
see G0, G1, G2, G3, G110, G111, G112
See G2, G3
N10 CALL VARNAME ; Variable name
See G2, G3
N10 A=DC(45.3)
directly
DEF INT VARI1=24, VARI2 ; 2 variables of the INT type
DEF STRING[12] VARS3="HELLO" ; max. 12 char.
N10 LABEL1: ...
...
N100 GOTOB LABEL1
N10 GOTOF LABEL2
...
N130 LABEL2: ...
N10 G90 X10 Y=IC(20)
N10 IF R1>5 GOTOF LABEL3
...
N80 LABEL3: ...
<>
not equal to
<
less than
N10 $A_DBR[5]=16.3
; Writing the REAL variables with offset position 5
; (position, type and meaning are agreed between NC
and PLC)
N10 $A_MONIFACT=5.0 ; Tool life elapsed
Programming
; Approach A axis position
; name will be def by user
; Y – incremental dimension,
X – absolute dimension
5 times faster

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents