Siemens SINUMERIK 840Di sl Programming Manual page 512

Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Tables
12.4 List of predefined subprograms
Names
Result
CALCPOSI
INT:
Status
0 OK
-1 DLIMIT
neg.
-2 Trans.
n.def.
1 SW limit
2 Working
area
3 Prot. zone
See PGA for
more
Explanation:
CALCPOSI
INTERSEC
BOOL:
Error status
3. Axis functions
Result
AXNAME
AXIS:
Axis identifier
AXTOSPI
INT:
Spindle
number
SPI
AXIS:
Axis identifier
512
1st parameter
2nd parameter 3rd parameter 4th parameter
REAL:
REAL:
Starting
Increment:
position in
Path definition
WCS
[0] Abscissa
[0] Abscissa
[1] Ordinate
[1] Ordinate
[2] Applicate
[2] Applicate
referred to
starting
position
CALCPOSI is for checking whether, starting from a defined starting point, the geometry
axes can traverse a defined path without violating the axis limits (software limits), working
area limitations, or protection zones. If the defined path cannot be traversed without
violating limits, the maximum permissible value is returned.
VAR REAL [11]:
VAR REAL [11]:
First contour
Second contour
element
element
1st parameter
2nd parameter
STRING [ ]:
Input string
AXIS:
Axis identifier
INT:
Spindle number
REAL:
REAL:
Minimum
Return value
clearances of
possible incr.
limits to be
path if path
observed
from parameter
[0] Abscissa
3 cannot be
fully traversed
[1] Ordinate
without
[2] Applicate
violating limit
[3] Lin.
machine
Axis
[4] Rot. Axis
VAR REAL [2]:
Result vector:
Intersection
coordinate,
abscissa and
ordinate
Explanation
AXNAME: Get axis identifier
Converts the input string to an axis identifier. An
alarm is generated if the input string does not
contain a valid axis identifier.
AXTOSPI: Convert axis to spindle
Converts an axis identifier into a spindle number.
An alarm is set if the transfer parameter does not
contain a valid axis identifier.
SPI: Convert spindle to axis
Converts a spindle number to an axis identifier. An
alarm is generated if the passed parameter does
not contain a valid spindle number.
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
5th
6th
parameter
parameter
BOOL:
bin
encoded
0:
to be
Evaluation
monitored
G code
group 13
1 SW limits
(inch/metr.)
2 working
area
1:
4 active
Reference
protection
to basic
zone
control
system,
8 preactive
independen
protection
t of active
zone
G codes
group 13
Intersection: Calculation of
intersection
The intersection between two
contour elements is calculated.
The intersection coordinates
are return values. The error
status indicates whether an
intersection was found.
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents