EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User stock removal programs
15.6 Calculate circle data (CALCDAT)
Job planning
706 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Example
Using three points it should be determined as to whether they are located on a circle
segment.
(5*>@
;




<

(5*>@
(5*>@
    






Program code Comments
N10 DEF REAL PT[3,2]=(20,50,50,40,65,20) ; Variable to specify the points
along a circle
N20 DEF REAL RES[3] ; Variable for result
N30 DEF BOOL STATUS ; Variable for status
N40 STATUS=CALCDAT(PKT,3,ERG) ; Call the determined circle
data.
N50 IF STATUS == FALSE GOTOF ERROR ; Jump to error

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals