EasyManuals Logo

Siemens SINUMERIK 840D Programming Manual

Siemens SINUMERIK 840D
687 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
Page #604 background imageLoading...
Page #604 background image
User stock removal programs
14.6 Calculate circle data (CALCDAT)
Job planning
14-16 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Example
The program determines whether the three points lie along the arc of a circle.
(5*>@
;




<

(5*>@
(5*>@
    






N10 DEF REAL PT[3,2]=(20,50,50,40,65,20) ;Points definition
N20 DEF REAL RES[3] ;Result
N30 DEF BOOL STATUS ;Variable for the status
N40 STATUS = CALCDAT(PT,3,RES) ;Call calculated circle data
N50 IF STATUS == FALSE GOTOF ERROR ;Jump to error

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals