Cycle116: Calculation Of Center Point And Radius Of A Circle - Siemens SINUMERIK 840D sl Programming Manual

Measuring cycles
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Measuring cycle help programs
3.1 Measuring cycle subroutines
3.1.2

CYCLE116: Calculation of center point and radius of a circle

Function
This cycle calculates from three or four points positioned on one plane the circle they
inscribe with center point and radius.
To allow this cycle to be used as universally as possible, its data are transferred via a
parameter list.
An array of REAL variables of length 13 must be transferred as the parameter.
Programming
CYCLE116(_DATE, _ALM)
Parameter
• Input data
Parameter
_DATE [0]
_DATE [1]
_DATE [2]
_DATE [3]
_DATE [4]
_DATE [5]
_DATE [6]
_DATE [7]
_DATE [8]
3-2
Data type
Meaning
REAL
Number of points for calculation (3 or 4)
REAL
Abscissa of first point
REAL
Ordinate of first point
REAL
Abscissa of second point
REAL
Ordinate of second point
REAL
Abscissa of third point
REAL
Ordinate of third point
REAL
Abscissa of fourth point
REAL
Ordinate of fourth point
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring cycles

Advertisement

Table of Contents
loading

Table of Contents