The toolpath shown in red was created using the LMS CNC control system. The program is input using the controls text editor which includes a macro programming facility. A 3d graphic viewer is used to varify the toolpath.
Machine a VOLUTE in the XY plane with a 10deg Zaxis slope. Start rad = 10mm finish rad = 82mm.
V01 (10)....................... ; start rad
V02 (0) .........................; start angle
V03 (0)
V04 (0)
F2000........................; feed 2000mm/min
X10 Y0.......................; move X to 10mm Y to 0
Z0..............................; move Z to 0
C1...............................; call subroutine 1
F2000........................; set feed 2000mm/min
Z10............................; z to 10mm clear
X0 Y0........................; XY to Zero Position
E................................; END PROGRAM
;This subroutine calculates the XYZ coordinates
; at 1 degree intervals
S1 ;sub-routine 1
V13 (COS V02 * V01) ; v13 is X start Position
V14 (SIN V02 * V01) ; v14 is Y start Position
D360 ; do loop 360 iterations
V02 (V02 + 1) ; increase Angle by 1 degree
V01 (V01 + 0.2) ; increase Rad 0.2=((82-10)/360)
V03 (COS V02 * V01) ; next X position
V04 (SIN V02 * V01) ; next Y position
V15 (V03 - V13) ; v15 = incremental length of X move
V16 (V04 - V14) ; v16 = incremental length of Y move
V17 (sqrt((v15*v15)+(v16*v16))) ; calculate Length of XY line
V17 (tan10*v17) ; calculate Z depth at 10 deg for line XY (v17)
I ; Incremental mode
X (V15) Y (V16) Z (0-V17) ; MOVE to new XYZ co-ordinates
A ; Absolute program mode
V13 (V03) ; update X start position
V14 (V04) ; update Y start position
E ; END of loop
V02 0
F1000
E