PDA

View Full Version : Doing it wrong all this time!



charlieuk
29-05-2017, 01:29 PM
So I built my first cnc about 2 or 3 years ago now and it has only just come to realise I think I have the y axis going the wrong way it's just never mattered as I have only been cutting symmetrical surfboards with it.

I think I got it wrong because of the design of the machine being a cantilever style and it made sense to me to have it home in the corner as in the first pic and have the axis set up like the second pic but should the y axis in fact be the opposite way?

spluppit
29-05-2017, 02:08 PM
Charlie as i know your build (as i made some of the parts for you) It looks like your orientation is correct in my book ( as you stand in front of the machine). In the case of your machine the longest travel is left and right, this would be your X. The head traveling away from you and towards you is your Y. The Z Axis as always never changes and is is the head up and down directions. This is the standard configuration for any milling machine. In the technical sense the X and X doesn't really matter as long as you know what each one is. As i described above is the standard configuration that's been used for the last zillion years.

charlieuk
29-05-2017, 02:30 PM
thanks for the reply and the parts :) im happy with the x y and z it more the + and - directions that I think I have wrong?

Basically I have been learning to use fusion 360 and it came to me when trying to do the cam on my machine that I could not get the origin going in the right direction.

Neale
29-05-2017, 04:31 PM
I agree with you, Charlie - normally Y would go in the opposite direction. You could still home to the same position, but configure Mach3 (if that's what you are using) to set Y to its maximum value rather than zero.

What you have would be called a left-handed coordinate system, but most software assumes a right-handed system. Very easy to change in Mach3, though, so well worth doing so it all agrees with Fusion 360 and saves a lot of confusion downstream!

I get the impression that the US tend to have X on the gantry axis and Y along the bed, although my own machine is like yours. People seem to have strong opinions on this, but as long as you know which is which and setup work accordingly, it doesn't really matter. My own problem is that with my mk1 router I stood next to the long axis (X) but mk2 has raised rails along the bed so I tend to stand at one end as its easier to load/unload. I then forget that X goes away and Y across from where I'm standing. Thank heaven for e-stop switches...

A_Camera
29-05-2017, 10:03 PM
Charlie as i know your build (as i made some of the parts for you) It looks like your orientation is correct in my book ( as you stand in front of the machine). In the case of your machine the longest travel is left and right, this would be your X. The head traveling away from you and towards you is your Y. The Z Axis as always never changes and is is the head up and down directions. This is the standard configuration for any milling machine. In the technical sense the X and X doesn't really matter as long as you know what each one is. As i described above is the standard configuration that's been used for the last zillion years.

It's not about which is the longest axis, it's about orientation. The one parallel with your belly is the X, the one moving AWAY from your belly is Y and the one moving towards your head from your feet is the Z. Plus (increasing value) is moving from left to right, from nearest to farthest (away from you) and from lowest to highest, assuming the lowest is always zero. Just look in any maths book, it should be like that in every one of them. ...but you may have another book, the one with a printing error, because his orientation is indeed wrong regarding Y. But it really isn't a big deal, except that it is a bit confusing if he is learning the wrong way or talking to other people about axis orientation. I don't know where Y is increasing when moving towards you, and I really don't think it's been like that for any number of years, let alone zillion... :rolleyes:

charlieuk
29-05-2017, 11:04 PM
thanks for all the help I think I have it all switched around now and working in the correct directions.


I think I'm the most unlucky person with there cnc or it certainly feels that way, probably to a lack of knowledge on my part

This has all come about as its the first time I have used my machine with a different program other than my surfboard program.


I have been using fusion360 on a friends cnc that uses nc studio and i was getting everything working fine. Like i mentioned earlier this is the first time i have tried to use fusion on my own cnc that runs mach3.

i drew a file*and went to cut it out and a few seconds in everything stops and my y axis driver shows a fault. I re set everything and tried again and it stoped exactly in the same place and cased the same fault on the driver, i repeated two more times out of desperation and the same thing each time!


i then ran a file created by my surfboard program and it all ran fine.


i then created a very simple drawing of a few boxes on fusion and tried to cut it and that also worked fine.


i then tried the original file and it crashed again

so i rew drew the original file in a slightly different way and then that too also crashed!!


I'm absolutely lost as to why it is doing it and very frustrated too considering its such a simple thing!

m_c
30-05-2017, 06:05 PM
For direction, you have to think about the cutter moving in relation to the workpiece.

On a moving gantry machine (i.e. typical router), Y+ the gantry moves away from you, and X+ the spindle moves to the right.
On a moving table machine (i.e. typical mill), Y+ the table moves towards you, and X+ the table moves to the left.

Z is easier to remember, as it's simply whatever way moves the cutter vertically away from the work, but that may mean lifting the spindle, or dropping the table.

charlieuk
30-05-2017, 09:23 PM
cheers yea that's how I have it now and slowly getting used to it! although still having problems with my fusion files.

A_Camera
31-05-2017, 07:27 AM
On a moving table machine (i.e. typical mill), Y+ the table moves towards you, and X+ the table moves to the left.



Yes, but when the table is moving towards your belly the Y axis value is actually increasing, so the arrow is moving away from you (imaginary movement). So mathematically it is the same as with a moving gantry type of machine and the same G code can be run. In a moving table machine the X, Y zero of the table is the left bottom corner of the table, same as a moving gantry type of machine.

m_c
31-05-2017, 04:06 PM
Yes, but when the table is moving towards your belly the Y axis value is actually increasing, so the arrow is moving away from you (imaginary movement). So mathematically it is the same as with a moving gantry type of machine and the same G code can be run. In a moving table machine the X, Y zero of the table is the left bottom corner of the table, same as a moving gantry type of machine.

That was what I was highlighting in my post, or did you ignore the first sentence?

Desertboy
21-06-2017, 02:10 PM
I gave up trying to decide what was what so now I go with bottom axis, gantry and Z axis then no one seems to get confused.

To me though it seems logical that the bed should be X, Gantry Y and of course spindle Z, wouldn't surprise me if the Americans fucked everything up as they don't even know how to spell colour lol.

A_Camera
21-06-2017, 06:49 PM
I gave up trying to decide what was what so now I go with bottom axis, gantry and Z axis then no one seems to get confused.

To me though it seems logical that the bed should be X, Gantry Y and of course spindle Z, wouldn't surprise me if the Americans fucked everything up as they don't even know how to spell colour lol.

In a moving gantry, yes... well... maybe...

I still think it is more logical the way I see it.

The axis parallel with your belly is the X. Positive X movement is from left to right.
The axis moving away from you is the Y. Positive Y is movement is from you, negative is towards you.

This seems to work with every CAD, CAM software as well as Mach3 and UCCNC screens I used.

21915

Neale
21-06-2017, 09:26 PM
There are two things being discussed here, and it's important not to muddle them.

First - and least important - is this matter of whether X is along the bed (long axis) or gantry, with Y being the other one. Doesn't matter a damn. Do what you like. Better, do what works for you. On my mk1 machine, there were no side rails and I stood at the machine looking at the long axis. So, made sense for X to go from left to right along the long axis and Y along the gantry. My mk2 machine has high side rails so I tend to stand at one end to load and operate the machine. It would make just as much sense to have X on the gantry so it went from left to right and have Y along the long axis. I get the impression that the US tends to do it the second way and Europe the first, but as I say, as long as you know so you put the stock on the bed the right way round, it does not matter. People argue for hours about the "logic" of one way or the other; ignore them. The only logical way is the way that works for you. As Desertboy said, though, people talk about X and Y and assume that everyone else has these the same way round. Much better to talk about long axis, gantry, etc, to avoid confusion.

The second point is very important and must not be ignored. This is to do with making sure that the positive direction of the axes is correct, and this time there is only one correct answer so that your machine is consistent with every CAD, CAM and motion control system out there. This time there are two ways to do it - the right way and the wrong way. What is described below is the right way. This is not a matter of opinion. This is the convention that everyone uses, and you ignore it at your peril. Stand looking at your machine with the X axis running side to side in front of you (long axis, gantry, doesn't matter). X goes from left to right (typically, but not necessarily, X=0 at the left end, X=max travel at the right). Whatever the numbers, as the tool moves from left to right, X is increasing. Under these circumstances, Y must increase as the tool moves away from you. Again, typically, Y=0 is nearest you, Y=max travel is furthest away. For Z, lowest coordinate is down, highest coordinate is up. People often set Z=0 at the top so as Z moves down, the Z coordinate is always negative. This will then tie in with Fusion 360, Vectric VCarve, TurboCAD, Mach3, LinuxCNC, etc. It is called a right-handed coordinate system (although the name doesn't matter) and it's what the rest of the world uses. If you set up your coordinates differently so that the numbers run the other way, you have a left-handed coordinate system and you are screwed every which way. You will never figure out quite what is going to happen when you run gcode generated by any normal software.

What I have described here works for a router, where we can all see that the work is still and the tool moves. That's easy to follow. Milling machines (table moves in X and Y) and fixed gantry machines (tool moves on one axis, table on the other) can give problems. The trick is to see that the only thing that matters is where the tool is relative to the work. Doesn't matter which of them moved. Tape a sheet of paper to the bed of your router. Draw X and Y axes on it - X from left to right at the bottom of the sheet, Y from bottom to top along the left-hand edge. Bottom left is now X=0, Y=0. Now take your piece of paper and tape it to the bed of your milling machine (or fixed gantry machine). Move the table so that the tool is over the X=0, Y=0 point. The DRO or whatever you are using should say 0,0. Now move the table so that the tool is over the max Y position. The table moved towards you. Don't worry about that - what matters is the DRO increased its Y reading. Now move the table so that the tool is at the right-hand edge of the paper. Table moved to the left. Doesn't matter - what matters is that the DRO increased its X reading. Just try to think about where the tool is on the work, and whether the DRO readings go the right way when you move the tool over the work.

So, choose for yourself which axis is X and which is Y. Make sure that when you move the tool, X and Y DRO readings move in the correct direction. Then start using the bloody machine, and the whole business will become second nature in no time. I have a moving gantry router on one side of the workshop and a vertical mill on the other with its XY moving table. There is no confusion as long as you take time to set them up right from the beginning.

Neale
21-06-2017, 09:33 PM
I still think it is more logical the way I see it.

The axis parallel with your belly is the X. Positive X movement is from left to right.
The axis moving away from you is the Y. Positive Y is movement is from you, negative is towards you.

This seems to work with every CAD, CAM software as well as Mach3 and UCCNC screens I used.

I stand looking at the short side of my router. Gantry runs left to right in front of me. Does it still make sense to say that the long axis is X?

Problem is, there are two right answers!

Desertboy
21-06-2017, 09:45 PM
Beat me to it Neale lol, my 3d printer had the X&Y axis wrongly configured for years and I never noticed because being square it just printed everything at 90° from day 1 and with no reference point I never clicked lol.

Logically the lowest axis should be X going up from there just goes against common sense to have the Y axis as the lowest one lol.

On a milling machine things are more confusing I think we should rename the Axis Curly, Larry and Moe instead ;)

Neale
21-06-2017, 09:57 PM
I still remember school maths when no-one could remember which way X and Y went when we were drawing graphs. "X is a-cross" has stuck in my head for more years than I can remember!

Clive S
21-06-2017, 10:29 PM
Dare I bring the point up about if one axis is wrong you can get a mirrored image:smile:

Neale
21-06-2017, 10:44 PM
Dare I bring the point up about if one axis is wrong you can get a mirrored image:smile:

Certainly a possibility! Other likely outcomes are smacking into limit switches or snapping tools off against hold-down clamps. Of course, none of these things have ever happened to me...

spluppit
22-06-2017, 12:43 AM
I stand looking at the short side of my router. Gantry runs left to right in front of me. Does it still make sense to say that the long axis is X?


Sorry cocked up the quote.


This is why i ignored A_cameras post trying to slate me and 35 years in the sector. It seems years in the sector means nothing to a home, self taught user who has learn't from forums, YouTube and the Internet. Pretty disrespectful to be honest. And as i stated it's generally accepted the X axis is longest axis of out the two omitting Z on a standard 3 axis configuration This is the industry standard A_ Camera.. accept it or not. I'm giving you the benefit of my knowledge... you are not teaching me anything I don't already know. There are the odd few machines out there where the other way around but they are very few and far between, it's often to a more square table configuration and a technical reason why it's reversed rather than by preference, those very few machines where this applies is often due to an a slightly different configuration or machine design.

A _Camera this is not pie in the sky. It's fact from being in more workshops than you are probably ever likely to be in or see, being around more machines and styles than you probably know exist, from machine 30 odd years old to the most modern 5 axis Dmg mori. Go check Hurco, Mazak, Feeler, Dugard, Bridgeport. XYZ machine tools, Matchmaker, Haas, Matsuura. Dah lih to name but a few.

The rest of the post where you tried slating me I don't think I'm going to even bother with because i don't actually believe you are that dumb, I think points scoring was your actual objective, or you really didn't read the post properly which i find hard to believe as reading your blog and some post here you are are fairly articulate.

The bottom line is, no matter what you think or what makes sense to you A_Camera this is what industry does take it or leave it. Have you ever hard of the phrase. ' industry standard'? It's called that for a reason.

A_Camera
22-06-2017, 05:08 AM
I stand looking at the short side of my router. Gantry runs left to right in front of me. Does it still make sense to say that the long axis is X?

Problem is, there are two right answers!

...but I didn't say anything about which is longer than the other. It actually doesn't matter... as long as you know which is which and your X screw is the X axis and the Y screw is your Y axis and those match the drawings and the codes.

A_Camera
22-06-2017, 07:29 AM
I stand looking at the short side of my router. Gantry runs left to right in front of me. Does it still make sense to say that the long axis is X?


Sorry cocked up the quote.


This is why i ignored A_cameras post trying to slate me and 35 years in the sector. It seems years in the sector means nothing to a home, self taught user who has learn't from forums, YouTube and the Internet. Pretty disrespectful to be honest. And as i stated it's generally accepted the X axis is longest axis of out the two omitting Z on a standard 3 axis configuration This is the industry standard A_ Camera.. accept it or not. I'm giving you the benefit of my knowledge... you are not teaching me anything I don't already know. There are the odd few machines out there where the other way around but they are very few and far between, it's often to a more square table configuration and a technical reason why it's reversed rather than by preference, those very few machines where this applies is often due to an a slightly different configuration or machine design.

A _Camera this is not pie in the sky. It's fact from being in more workshops than you are probably ever likely to be in or see, being around more machines and styles than you probably know exist, from machine 30 odd years old to the most modern 5 axis Dmg mori. Go check Hurco, Mazak, Feeler, Dugard, Bridgeport. XYZ machine tools, Matchmaker, Haas, Matsuura. Dah lih to name but a few.

The rest of the post where you tried slating me I don't think I'm going to even bother with because i don't actually believe you are that dumb, I think points scoring was your actual objective, or you really didn't read the post properly which i find hard to believe as reading your blog and some post here you are are fairly articulate.

The bottom line is, no matter what you think or what makes sense to you A_Camera this is what industry does take it or leave it. Have you ever hard of the phrase. ' industry standard'? It's called that for a reason.

I think your only problem is that you don't understand what I am saying or don't want to understand. This happens maybe because I am not a native English speaker, maybe because you feel so much aggression, maybe something else, I am not going to analyze your problem with it. As an effort to clear this misunderstanding, here is a drawing of how my machine is configured.

21918

Now, please tell me this is NOT the industry standard and I'll change. But if you do that I would like you to explain what is wrong, not just by telling me that you have been 35 years in business, because that is not enough. I have also 40 years in engineering, even though not machining, but had to deal a lot with X, Y Z charts and other axis related issues all my adult life (and even before that).

But, as Neale said above the post which pissed you off...


People seem to have strong opinions on this, but as long as you know which is which and setup work accordingly, it doesn't really matter.

...or as m_c is saying a few posts below:


For direction, you have to think about the cutter moving in relation to the workpiece.

On a moving gantry machine (i.e. typical router), Y+ the gantry moves away from you, and X+ the spindle moves to the right.
On a moving table machine (i.e. typical mill), Y+ the table moves towards you, and X+ the table moves to the left.

Of course, you can beat your chest as much as you like, but I think, if you REALLY think about what I am saying then you should agree with me, because as I said, my X and Y matches every CAD/CAM software I gave seen so far, so even if it is not according to your standards, it seems to be according to theirs (and according to others in this thread) because I have absolutely no issues running any standard G code.

m_c
22-06-2017, 09:58 AM
It's not about which is the longest axis, it's about orientation. The one parallel with your belly is the X, the one moving AWAY from your belly is Y and the one moving towards your head from your feet is the Z.

Ger21
22-06-2017, 12:44 PM
I didn't read all of the replies,but your Y axis is backwards. If X+ is to the right, then Y+ moves towards your wall in the back.

Boyan Silyavski
22-06-2017, 08:51 PM
There is only one right way to do it. There is a certain rule how to find the coordinates in a Cartesian system and if not learned right you can make a very BIG Mistake on a machining centre or when you have more than the 3 axis. Take that 5 min effort to learn things right.