Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Flipz01 on October 10, 2007, 06:41:25 PM
-
This is really a new/old topic. I've read a bunch of entries, and here, I'm following along with an entry that Chip made in October '06.
I think I have this set up correctly. My display is in degrees that roll over from 360 back to 0. I can jog the A-axis, and it responds to a "Go to 0,0" command.
My set-up is a test board so there is no load on the steppers. I have 5 motors as follows: X, Y, Z, A (rotational), & B (Slave to Y). The slave axis works perfectly. When I run a pattern, I would expect that the A-axis would orient to be tangential to the X-Y position. However it never moves. Trying to figure out what I've missed.
Below, I'm following what Chip posted last year:
I've done this
General Config - checked A-Axis is Angular, checked - Rot 360 rollover, checked - Ang Short Rot an G0.
I've done this
ToolPath Configuration - checked - A Rotations, Enable, use Diameter for Feedrate. Also, I set the Axis of Rotation to Z-Axis (I've tried all three)
For the next one, I don't know what Chip means by "rotational set-up 360 deg., but my SPI for rotational is 50 and it is 1600 for all other axes.
Motor Tuning, My A Rotational set-up 360 deg., set-up X,Y,Z, 40000 step's, 10.002 vel, A 1 Deg.=, 400.2 step's, 2500 vel, 144072 = 360 1 turn 144072 dev by 360 = 400.2
Re-Start, Mach3 - Did it!
I'm not sure what the rest here has to do with basic set-up, but I did this as well.
Loaded Tooth1.txt Gcode file, No Rotational View Shows in Tool Path Window's, just linear view..
Regen Tool Path, Still No Rotational View, Gcode Shows Run Through, Jog A axis shows Degree Mode in Display.
Setting's Page, set Rotation Diameters A axis to 1.0000, Re-Gen ToolPath, OK, Now it shows Rotational View.
Default Start-up and Create New Profile or Closing Mach3 with a value of 0.0000 in the Setting's Page, Rotation Diameters on re-start will Default back to Linear View as it is now.
Help would be greatly appreciated!
-
I found the answer.
I also needed to go to the "Settings" screen and turn on "Tangential Control"
-
It's seems as though you got your tangential working.
I am nearly finished my A axis cutter however on the intial testing my A axis DRO only moves a few degree's when taking corners >90 degree's.
Iam using a G100 with Gecko drive and A axis is a 1.8deg/step stepper. My A axis motor tuning is 2000/rev so this works out at 5.555 steps/degree.
My setup is similar to yours below and I am using metric units with Tangential on.
Is your A axis DRO reflecting it's position in degrees??
Jason
-
Here is a square.tap that I load and run.
If any one can throw there thoughts in it would be appreciated.
My A axis DRO readings.
0.00 across the first horizontal side
0.18 up the vertical
0.540 across the horizontal
0.720 down the vertical to the finish
What am I doing wrong
Jason
-
Hi Jason,
I can't quite grasp what your problem is.
Post some of your code and lets see what you are doing, a photo of the machine and the job set up may be helpful.
Graham.
-
Brian will be looking at this in the coming week. On my machine, it seems to be off by a factor of 360.
That is, instead of moving to 90 degrees, it moves to 0.25 degrees. Instead of moving to 270 degrees, it moves to 0.75 degrees.
I'll let you know if I hear new information.
-
Thanks for having a look.
Here is a picture of the machine I built and the square tapfile I tested with.
In a nutshell The Z axis is run using 2.5D and a actuator I have setup the A axis as rotational and if I enter in G0 A90 the A Axis stepper turns 90 deg.
When I run this file the A axis DRO only increments as above
I have got the Z shuttling up and down in tangential mode however it does require a bit of tweeking to get the timing correct for the Z to come up and for the A Axis to turn the desired increment, the problem being that the A axis does not turn the correct amount.
Thanks for you help
Jason
-
And here is the Square.tap renamed.
Jason
-
Hi, Jason
Is your Gcode for a square, in your code you have a G91 Inc mode should be G90 ?
Try this Gcode
N5 (File Name = square on Saturday, October 27, 2007)
N10 (Default Mill Post)
g90 ;-----------------------------------------------------N15 G91.1
N20 G0 Z1.0000
N25 M3
N30 X190.4607 Y54.4125
N35 Z0.1000
N40 G1 Z0.0000 F2000.00
N45 X565.3026
N50 Y231.2444
N55 X190.4607
N60 Y54.4125
N65 G0 Z1.0000
N70 M5
N75 M30
%
Is it your cutting a square with a knife cutter and need a 90 deg turn at each corner ?
N5 (File Name = square on Saturday, October 27, 2007)
N10 (Default Mill Post)
g21;--------set for MM
g90 ;--------------------------N15 G91.1
N20 G0 Z1.0000
N25 M3
N30 X190.4607 Y54.4125
N35 Z0.1000
N40 G1 Z0.0000 F2000.00
N45 X565.3026
g01 a 90
N50 Y231.2444
g01 a 180
N55 X190.4607
g01 a 270
N60 Y54.4125
g01 a 0
N65 G0 Z1.0000
g00 x0 y0
N70 M5
N75 M30
%
Thanks, Chip
-
Thanks Chip,
I have run your code and added a few dwells and Z lifts. The dwell is to allow for the z to lift prior to turning the knife in the job and to wait for the z to plunge before heading of in the x or y. The machine run's it great if you wish to cut squares only
I am looking forward to seeing what the guys come up with regarding the in built Tangential. I just have to machine the blade holder and we are good to start cutting carbon/fibre glass products and other materials
21
g90
N20 G0 Z0.50000
N25 M3
N30 X190.4607 Y54.4125
N40 G1 Z0.0000 F3000.00
G04 P500
N45 X565.3026
N46 G0 Z0.5
g04 P500 a 90
N47 G0 Z0.0
G04 P500
N50 Y231.2444
N46 G0 Z0.5
g04 P500 a 180
N47 G0 Z0.0
G04 P500
N55 X190.4607
N56 G0 Z0.5
g04 P500 a 270
N57 G0 Z0.0
G04 P500
N60 Y54.4125
N46 G0 Z0.5
g04 P500 a 0
g00 x0 y0
N70 M5
N75 M30
Thanks again
Jason
-
Hi, Jason
Any time.
Chip
-
Brian will be looking at this in the coming week. On my machine, it seems to be off by a factor of 360.
That is, instead of moving to 90 degrees, it moves to 0.25 degrees. Instead of moving to 270 degrees, it moves to 0.75 degrees.
I'll let you know if I hear new information.
Have you heard from Brian regarding the solution.
I am looking for some cam software that may do the conversion for the tangential A axis
-
Not yet.
You shouldn't need CAM conversion anything. When this works properly, the control will maintain a position parallel to or perpendicular to you cut path (depending on where you set your home switch).