Calculate Circle Data (Calcdat) - Siemens SINUMERIK 828D Programming Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

15.6

Calculate circle data (CALCDAT)

Function
Using the
coordinates from the three or four points known along the circle The specified points must be
different. Where four points do not lie directly on the circle an average value is taken for the
circle center point and the radius.
Syntax
<Status>=CALCDAT(<circle points>[<number>,<type>],<number>,<result>)
Significance
CALCDAT
<status>
<circle points>[]
<number>
<result>[3]
Note
Please note that the variables must be defined before they are used.
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
command, you can calculate the radius and the circle center point
CALCDAT
Command to calculate the radius and center point coordinates
of a circle from 3 or 4 points
Variable for the circle calculation status
Type:
Value:
Variable to specify the circle points
using parameters
<number>
<type>
Parameter for the number of the points used for the calculation
(3 or 4)
Variable for result:
Circle center point coordinates and radius
0
1
2
15.6 Calculate circle data (CALCDAT)
BOOL
TRUE
The specified points lie on a circle.
FALSE
The specified points do not lie on a
circle.
Number of circle points (3 or 4)
Type of coordinate data,
e.g. 2 for 2-point coordinates
Circle center point coordinate: Abscissa value
Circle center point coordinate: Ordinate value
Radius
User stock removal programs
705

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents