Hi everyone! im new to this forum and ive started programming( or atleast im trying) a few months ago ... i wanted to ask you a question and i think its a very simple issue though i cant resolve the problem... (excuse me for my bad english...) im using alphacam7 for woodworking...
so my problem is that i want to shorten the rapid moves so the tools doesnt goes up so much and to safe time when working...
as i know the rapids must be changed in the cnc code...
this is part of the code from the program... can anyone tell me what to change and how do i do it to make the rapids shorter by z level :? sorry if im too ignorant but im really new to this :)
N617 ;---- Z RAPID START -----------------------------------
N618 L359=0 ;m o n PROGRAMMING OFF - END 5 AXES TOOL CORRECTION
N619 G1 Z330 FE0
N620 ;---- Z RAPID END -------------------------------------
N621; ------ TOOL DATA------------------------------------
N622 (TCP)
N623 L385 = 114 ;TOOL LENGHT
N624 L386 = 2 ;HEAD NUMBER
N625 L398=0.0 ;TOOL RADIUS (5 AXES OP.)
N626 L357=0.0 ;TOOL EDGE RADIUS (5 AXES OP.)
N627 $TACTL1(02)=0
N628 $TDIAMETER(02)=12 ;TOOL DIAMETER (3 AXIS OP.)
N629; -->> SPINDLE RPM GOES TO 0 WHEN CHANGING TOOL
N630 G291 w1 r1 S0 ;STOP SPINDLE 1
N631 G291 w2 r1 S8000 ;SPINDLE CW ROTATION RPM 8000 N. 2
N632; ---------------------------------------------------------
N633;----------------------------------------------------------
N634; TOOL NAME PRAV 12_1
N635; TOOL NUMBER 02
N636; TOOL DIAMETER 12
N637; TOOL LENGHT 114
N638;----------------------------------------------------------
N639 ;---- A/HEAD OFFSET -------------------------
N640 (UTO,0,B-90)
N641; ---------------------------------------------------------
N642 ;---- RAPID XYZ START ---------------------------------
N643 G128 ; VFF OFF
N644 (UPR)
N645 (TCP)
N646;3D_END
N647 G16 XY
N648;3D_START 0
N649 G1 G79 ZE21 FE0
N650 G1 FE1 B-90.0000 C-28.8533
N651 (TCP,1)
N652 G1 X-230.479 Y36.037 FE0
N653 Z290.655 FE0
N654;---- XYZ RAPID END -----------------------------------
N655; ---- OPERATION Number 2 -------------------------------
N656 G190 w2 ;RPM CHECK SPINDLE 2
N657 ;----- CUTTING FEED -----------------------------------
N658 ;FEED CUT2000
N659 ;FEED DOWN2000
N660;------------------------------------------------------
N661 G1 X-142.168 Z130.374 F2000
N662 Y41.085
N663 X-143.158 Z129.826 C-29.0826
N664 Y31.085
N665 X-142.168 Z130.374 C-28.8533
N666 Y36.037
N667 X-230.479 Z290.655
N668;3D_END
N669 ;---- Z RAPID START -----------------------------------
N670 L359=0 ;m o n PROGRAMMING OFF - END 5 AXES TOOL CORRECTION
N671 G1 Z325.26 FE0
N672 ;---- Z RAPID END -------------------------------------
N673 ;---- RAPID XYZ START ---------------------------------
N674 G128 ; VFF OFF
N675 (UPR)
N676 (TCP)
N677;3D_END
N678 G16 XY
N679;3D_START 0
N680 G1 G79 ZE21 FE0
N681 G1 FE1 B-90.0000 C-18.5317
N682 (TCP,1)
N683 G1 X-151.661 Y43.065 FE0
N684 Z325.26 FE0
N685;---- XYZ RAPID END -----------------------------------
N686; ---- OPERATION Number 2 -------------------------------
N687 G190 w2 ;RPM CHECK SPINDLE 2
N688 ;----- CUTTING FEED -----------------------------------
N689 ;FEED CUT2000
N690 ;FEED DOWN2000
N691;------------------------------------------------------
N692 G1 X-93.497 Z151.75 F2000
N693 Y48.143
N694 X-94.487 Z151.416 C-18.7350
N695 Y38.143
N696 X-93.497 Z151.75 C-18.5317
N697 Y43.065
N698 X-151.661 Z325.26
N699;3D_END
N700 ;---- Z RAPID START -----------------------------------
N701 L359=0 ;m o n PROGRAMMING OFF - END 5 AXES TOOL CORRECTION
N702 G1 Z343.983 FE0
N703 ;---- Z RAPID END -------------------------------------
so my problem is that i want to shorten the rapid moves so the tools doesnt goes up so much and to safe time when working...
as i know the rapids must be changed in the cnc code...
this is part of the code from the program... can anyone tell me what to change and how do i do it to make the rapids shorter by z level :? sorry if im too ignorant but im really new to this :)
N617 ;---- Z RAPID START -----------------------------------
N618 L359=0 ;m o n PROGRAMMING OFF - END 5 AXES TOOL CORRECTION
N619 G1 Z330 FE0
N620 ;---- Z RAPID END -------------------------------------
N621; ------ TOOL DATA------------------------------------
N622 (TCP)
N623 L385 = 114 ;TOOL LENGHT
N624 L386 = 2 ;HEAD NUMBER
N625 L398=0.0 ;TOOL RADIUS (5 AXES OP.)
N626 L357=0.0 ;TOOL EDGE RADIUS (5 AXES OP.)
N627 $TACTL1(02)=0
N628 $TDIAMETER(02)=12 ;TOOL DIAMETER (3 AXIS OP.)
N629; -->> SPINDLE RPM GOES TO 0 WHEN CHANGING TOOL
N630 G291 w1 r1 S0 ;STOP SPINDLE 1
N631 G291 w2 r1 S8000 ;SPINDLE CW ROTATION RPM 8000 N. 2
N632; ---------------------------------------------------------
N633;----------------------------------------------------------
N634; TOOL NAME PRAV 12_1
N635; TOOL NUMBER 02
N636; TOOL DIAMETER 12
N637; TOOL LENGHT 114
N638;----------------------------------------------------------
N639 ;---- A/HEAD OFFSET -------------------------
N640 (UTO,0,B-90)
N641; ---------------------------------------------------------
N642 ;---- RAPID XYZ START ---------------------------------
N643 G128 ; VFF OFF
N644 (UPR)
N645 (TCP)
N646;3D_END
N647 G16 XY
N648;3D_START 0
N649 G1 G79 ZE21 FE0
N650 G1 FE1 B-90.0000 C-28.8533
N651 (TCP,1)
N652 G1 X-230.479 Y36.037 FE0
N653 Z290.655 FE0
N654;---- XYZ RAPID END -----------------------------------
N655; ---- OPERATION Number 2 -------------------------------
N656 G190 w2 ;RPM CHECK SPINDLE 2
N657 ;----- CUTTING FEED -----------------------------------
N658 ;FEED CUT2000
N659 ;FEED DOWN2000
N660;------------------------------------------------------
N661 G1 X-142.168 Z130.374 F2000
N662 Y41.085
N663 X-143.158 Z129.826 C-29.0826
N664 Y31.085
N665 X-142.168 Z130.374 C-28.8533
N666 Y36.037
N667 X-230.479 Z290.655
N668;3D_END
N669 ;---- Z RAPID START -----------------------------------
N670 L359=0 ;m o n PROGRAMMING OFF - END 5 AXES TOOL CORRECTION
N671 G1 Z325.26 FE0
N672 ;---- Z RAPID END -------------------------------------
N673 ;---- RAPID XYZ START ---------------------------------
N674 G128 ; VFF OFF
N675 (UPR)
N676 (TCP)
N677;3D_END
N678 G16 XY
N679;3D_START 0
N680 G1 G79 ZE21 FE0
N681 G1 FE1 B-90.0000 C-18.5317
N682 (TCP,1)
N683 G1 X-151.661 Y43.065 FE0
N684 Z325.26 FE0
N685;---- XYZ RAPID END -----------------------------------
N686; ---- OPERATION Number 2 -------------------------------
N687 G190 w2 ;RPM CHECK SPINDLE 2
N688 ;----- CUTTING FEED -----------------------------------
N689 ;FEED CUT2000
N690 ;FEED DOWN2000
N691;------------------------------------------------------
N692 G1 X-93.497 Z151.75 F2000
N693 Y48.143
N694 X-94.487 Z151.416 C-18.7350
N695 Y38.143
N696 X-93.497 Z151.75 C-18.5317
N697 Y43.065
N698 X-151.661 Z325.26
N699;3D_END
N700 ;---- Z RAPID START -----------------------------------
N701 L359=0 ;m o n PROGRAMMING OFF - END 5 AXES TOOL CORRECTION
N702 G1 Z343.983 FE0
N703 ;---- Z RAPID END -------------------------------------