Siemens sinumerik 840d Programming Manual page 480

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

User Stock Removal Programs
14
14.6 Calculate circle data: CALCDAT
840D
840D
NCU 571
NCU 572
NCU 573
Programming example
The program determines whether the three points lie
along the arc of a circle.
N10 DEF REAL
PT[3,2]=(20,50,50,40,65,20)
N20 DEF REAL RES[3]
N30 DEF BOOL STATUS
N40 STATUS = CALCDAT(PT,3,RES)
N50 IF STATUS == FALSE GOTOF ERROR
14-480
FM-NC
810D
840Di
Y
60
50
40
30
20
ERG [1]
10
10
Point definition
Result
Variable for status
Call calculated circle data
Jump to error
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
12.98
(20.50)
(50.40)
(65.20)
20
30
40
50
60
ERG [0]
 Siemens AG 2000. All rights reserved
14
X
70

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents