Siemens SINUMERIK 840DE Programming Manual page 465

Hide thumbs Also See for SINUMERIK 840DE:
Table of Contents

Advertisement

Frame functions CTRANS, CSCALE, CROT and CMIRROR are used to generate frame
expressions.
2. Geometry functions
Vocabulary
Result
word/
function
identifier
CALCDAT
BOOL:
Error status
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
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
1st parameter
2nd parameter
VAR REAL [,2]:
INT: Number of
Table with input
input points for
points (abscissa
calculation
and ordinate for
(3 or 4)
points 1, 2, 3,
etc.)
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
12.4 List of predefined subprograms
3rd parameter
VAR REAL [3]:
Result:
Abscissa,
ordinate and
radius of
calculated
circle center
point
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
CALCDAT: Calculate circle data
Calculates radius and center
point of a circle from 3 or 4 points
(according to parameter 1), which
must lie on a circle. The points
must be different.
5th
6th
parameter
parameter
bin
BOOL:
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.
Tables
12-59

Advertisement

Table of Contents
loading

Table of Contents