Hello Guest it is March 28, 2024, 06:29:23 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Graham Waterworth

891
G-Code, CAD, and CAM discussions / Re: Gcode offset
« on: May 20, 2015, 04:23:31 AM »
You need to look at using G52

G52 is a local offset from the current fixture offset so you can set G54 to Xnnn Ynnn Znnn and then when you wish to use the second spindle call G52 Xnnn Ynnn Znnn with the offset from the first spindle. then when you want to go back to the first spindle call G52 X0 Y0 Z0

If the position of the spindle changes you can use variables to do this e.g.

(Start of program)

#100=243.0 (X offset)
#101=125.0 (Y offset)
#102=66.0 (Z offset)

G54
G00 G90 G43 X0 Y0 Z25. S2000 M3
Z1.
G01 Z-2. F500.
ETC.....

(CHANGE TO SECOND SPINDLE)

G52 X#100 Y#101 Z#102
G00 X0 Y0 Z25.
ETC.....

G52 X0 Y0 Z0
M30

892
A Fanuc 6m or 11m should work fine.

893
G-Code, CAD, and CAM discussions / Re: tool library Mach3 vs CAM
« on: March 18, 2015, 07:03:05 PM »
I am not sure just what you are getting at but this is how it works in Mach3 :-

The tool library stores the length and diameter of tools, each line in the library is a different tool.  The user decides what tool is in what position and needs to make sure the offset values are correct.  These tools can be in the machine or on a rack on the wall but they must be marked with the tool number in the library.

The cam system should have a list of the tools in the machine and then when programming a part the tools in the machine can be called to work.

The idea is that any part can then use any tool just by calling its tool number as it is pre set in the machine along with its offsets.

I hope this helps

894
G-Code, CAD, and CAM discussions / Re: G54-G59 Work offsets
« on: March 02, 2015, 02:52:24 PM »
You can do this :-

%
(USE FIXTURE OFFSET G54)

G21 G40
T1 M6
G52 X0 Y0
G54 G00 G90 G43 X0 Y0 Z25. H1 S750 M3 (MOVE TO FIXTURE DATUM)
(FIXTURE LOCATION 1)
G52 X20. Y20.               (SET FIRST LOCAL DATUM)
M98 P0001                    (CALL SUB PROGRAM)
G00 X0 Y0 Z1.               (RAPID TO START OF CIRCLE)
M98 P0002 L10              (CALL SUB 2 10 TIMES)
G00 G90 Z1.                  (RAPID BACK TO START)
G52 X0 Y0                     (CANCEL LOCAL DATUM)

(FIXTURE LOCATION 2)
G52 X50. Y20.
M98 P0001
G00 X0 Y0 Z1.
M98 P0002 L5               (ONLY CALL SUB 2 5 TIMES)
G00 G90 Z1.
G52 X0 Y0

(FIXTURE LOCATION 3)
G52 X80. Y20.
M98 P0001
G00 X0 Y0 Z1.
M98 P0002 L10
G00 G90 Z1.
G52 X0 Y0

(FIXTURE LOCATION 4)
G52 X80. Y50.
M98 P0001
G00 X0 Y0 Z1.
M98 P0002 L5
G00 G90 Z1.
G52 X0 Y0

(FIXTURE LOCATION 5)
G52 X50. Y50.
M98 P0001
G00 X0 Y0 Z1.
M98 P0002 L10
G00 G90 Z1.
G52 X0 Y0

(FIXTURE LOCATION 6)
G52 X20. Y50.
M98 P0001
G00 X0 Y0 Z1.
M98 P0002 L5
G00 G90 Z1.
G52 X0 Y0
M5
M30

O0001 (SUB PROGRAM)
G00 X-5. Y0                   (MOVE TO FIRST HOLE)
G81 Z-10. R1. F125.        (DRILL FIRST HOLE)
X5.                                (DRILL SECOND HOLE)
G80
M99
   
O0002(SUB NUMBER 2)
G91                             (INCREMENTAL)
G01 Z-.5 F100.              (FEED DOWN)
G03 I-20.                      (CIRCLE)
M99
                 
%

895
G-Code, CAD, and CAM discussions / Re: G81 problems
« on: January 06, 2015, 12:04:04 PM »
Just try this modified code, only change is the Z start point is above the G81 rapid point, I have seen this confuse controllers in the past

N5 (File Name = Test123014 #10a on Sunday, January 04, 2015)
N10 (Default Mill Post)
N15  G91.1
N20 G0  Z1.0000
N25 M3
N30  X1.8917  Y1.3226
N35  Z1.1000 (make this above R point in G81 line)
N40 G81  X1.8917  Y1.3226  Z0.0000  R1.0000  F60.00
N45 X12.2269
N50 G80
N55 G0
N60  X15.1293  Y0.0000
N65  Z0.1000
N70 G1  Z0.0000
N75  X0.1742   
N80 G0  Z1.0000
N85  X15.1293  Y3.1072
N90  Z0.1000
N95 G1  Z0.0000
N100  X0.0000  Y3.3105   
N105 G0  Z1.0000
N110 M5
N115 M30

896
G-Code, CAD, and CAM discussions / Re: deactivate undefined or a bad spirit
« on: November 07, 2014, 11:24:22 AM »
Inside the Mach3 folder you should have a xmlbackups folder with all your previous XML files, you can pull one and rename it and use it.


897
G-Code, CAD, and CAM discussions / Re: X axis G28 point is moving .75
« on: October 16, 2014, 04:02:58 AM »
In your G-code do you have a G52 or a G92 with an X value?

If not just as a test run the machine with the feed rate at 75% and the rapids at 75% and see if the fault is there


898
G-Code, CAD, and CAM discussions / Re: Simple M6 Manual Tool Change
« on: October 01, 2014, 05:19:08 PM »
T0606 and the like is standard for turning T6 M6 is standard for mills and routers.


899
G-Code, CAD, and CAM discussions / Re: Cutting a tapered slot ?
« on: October 01, 2014, 05:16:50 PM »
I would ask this on the CamBam forum.

In g-code it would be something like this :-

G20 G90
G00 X0 Y0 Z.25 S12000 M3 (MOVE TO START POSITION AND START SPINDLE)
G01 Z0 F10. (FEED TO TOP OF WOOD)
X-3. Z-.5 F6. (FEED 3" AND DOWN .5")
G00 Z.25 (JUMP OUT OF WOOD)
M30 (END)


900
Show"N"Tell ( Your Machines) / Re: 5 axis desktop machine Kickstarter
« on: September 20, 2014, 01:36:43 PM »
Very interesting project  :)