Hello Guest it is April 25, 2024, 07:23:16 AM

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

821
General Mach Discussion / Re: mach3 milling errors
« on: June 10, 2019, 09:13:15 AM »
Are you using shielded cable to the motors and step/dir grounded at one end only?

For the moment ignore the steps/per as it has no bearing on your problem.

Your problem is missed steps or extra steps.  This can be noise on the motor cables from power lines being too close or on the step/dir lines or even a dodgy power supply.  it may be you need a filter on the AC input or a different motor PSU for testing.

Once the cut design is starting and finishing in the correct place then worry about fine tuning the steps/per.


822
G-Code, CAD, and CAM discussions / Re: G10 offsets
« on: June 04, 2019, 09:32:02 AM »
G10 is a global setting G52 is a local shift on the current work offset e.g. G54

G10 can be used in G91 mode to update the fixture offset or G90 mode to replace the current values.

Using it in program to offset a fixture is dodgy, if you get a program crash you can loose the original offset.

Look at G52 its safer, you can just issue a G52 X0 Y0 Z0 at the start of the program to go back to the original fixture offset.

823
Share Your GCode / Re: Mach3 and Mach4 Show Demo Code
« on: May 19, 2019, 12:04:55 PM »
The whole lot was produced with AlphaCAM but most CAM systems will produce some form of code from IGES files.

824
Mach4 General Discussion / Re: Mach 4 Mill CSS
« on: May 01, 2019, 06:03:00 AM »
It sure can be done, here is a video :- https://www.youtube.com/watch?v=i02DmXtH3XM

825
G-Code, CAD, and CAM discussions / Re: Homing on the fly
« on: April 02, 2019, 09:26:30 PM »
You could try something like this, NOT tested so be careful

Put a copy of these lines where you think they are needed

M1001 (call macro to record current positions)
G00 Z(Move to save level)
G91 G28.1 X0 Y0 Z0
G00 G90 X#1000 Y#1001
G01 Z#1002 Fffff
continue with code
....

Macro M1001 to be stored as M1001.m1s in current profile macro folder

‘ Get Machine Positions and store into #vars
SetVar(1000,GetABSPosition(0))
SetVar(1001,GetABSPosition(1))
SetVar(1002,GetABSPosition(2))


826
G-Code, CAD, and CAM discussions / Re: G0 strange movement
« on: April 02, 2019, 08:36:57 PM »
G43 Htt is calling the tool offset for the current tool, if all your offsets are zero then nothing happens.

For example G43 H4, tool offset 4 has a length offset of 10mm then when the machine moves even without a Z move commanded the tool is moved to allow for the offset.  G43 T4 will do the same but will assume H4 unless commanded otherwise.


827
G-Code, CAD, and CAM discussions / Re: G28.1 gcode
« on: April 02, 2019, 08:14:25 PM »
You would normally call G28.1 with a G91 on the line :-

%
G21 G40 G49
G91 G28.1 Z0 (this will find/search for home position)
%

or

%
G21 G40 G49
G91 G28 Z0 (this will go to known home position)
%

828
VB and the development of wizards / Re: Macro for Rotary Tool Changer
« on: March 31, 2019, 08:26:09 PM »
The turret has a hydraulic motor and clamp/unclamp but the control side is electronic so you will need to know the outputs to the solenoids and the lock/unlock switch check inputs and also the position count inputs will be on an encoder or on binary coded switches once you have all the detail then we can point you in the right direction.

829
General Mach Discussion / Re: Goofy forum layout
« on: March 31, 2019, 07:57:02 PM »
I too have reverted to the SMF layout as I find the Mach layout harsh and the video is annoying.

830
In most cases CAM programs work to a standard that makes X,Y,Z linier and A,B & C rotary so your 4th axis must be A,B or C