Community
HSM Support Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inverted axis on machine simulation (5axis)

13 REPLIES 13
SOLVED
Reply
Message 1 of 14
maxime.eichenlaub
735 Views, 13 Replies

Inverted axis on machine simulation (5axis)

Hi

 

I'm facing a problem with machine simulation. I built my machine on Solidworks with all the axis in the same orientation than the real machine.

 

Z axis is carrying the spindle

X axis is carrying the Z axis + spindle

Y axis is carrying A and C axis + the table

 

The Mechanical Zero is set correctly and the axis have the same orientation than my solidworks machine assembly.

 

My problem is the following : when i move the X and Z cursor to the right (positive) the axis moves in the positive direction of the axis, which is great. But when i do the same with the Y axis cursor ( cursor to the right), the axis moves in the negative direction of the axis.

 

You can see in the screenshot here : Y cursor is on +110 but the table moves up when it should move down (Y is oriented to the bottom)

 

Capture.JPG

 

I spent more than 6 hours trying to solve this problem playing around with the mechanical zero axis orientations and whatever i do, there is always one axis that doesn't follow the good direction.

 

Also i tried to post process a gcode with the machine in the screenshot above and the behavior of the machine is exactly the same behavior as the simulation, Y is inverted.

 

I don't know what i can do to fix this, i feel like i've tried everything and i feel stucked. Please let me know if you have an idea how to fix this.

 

Thanks 

Maxime

 

13 REPLIES 13
Message 2 of 14

I'm pretty sure you're misinterpreting the axes in a real machine.
The top always has a positive axis direction.

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 3 of 14

Hi, thanks for your answer.

 

No, all the axis are right i doubled checked just now.

 

I really want to understand why the Y axis of the machine simulation goes in the opposite direction when i'm playing with the cursor, makes no sense to me

Message 4 of 14

Show a picture of the axis on the machine.

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 5 of 14

Okay so this is the machine in the same configuration as my screenshot : 

 

20230325_145949.jpg

 

This is what i read on my control software : 

 

20230325_150004.jpg

 

And this is my machine in another position : 

 

20230325_150308.jpg

 

And the screen for this position : 

 

20230325_150318.jpg

 

As you can see my X and Y direction in Solidworks are pointing the good direction. Only the Z is inverted from reality but i set the spindle orientation to -1 in the machine configuration : 

 

Capture.JPG

Message 6 of 14

What axis is along the spindle? Y or Z?

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 7 of 14

Z is the spindle axis

 

Y is the axis moving the table

 

Capture2.JPG

Message 8 of 14

Exactly. So why m model have z axis set with opposite sense?

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 9 of 14

Because solidworks don't allow me to orientate Z in this direction. If i click on flip Z axis it automatically flip the Y axis too. See :

 

Message 10 of 14

And it's very good that it flip around. So it has to be. We are at home.

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 11 of 14

It worked?

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 12 of 14

I just finished trying. I flipped Z and did a test gcode on the machine and it seems to work properly now. I'm pretty sure i tried this before and it didn't work but i must have made a mistake somewhere else. 

 

Now everything looks fine 😁 thank you very much for your help, i would have probably take forever to figure this out myself 😅

 

 

Message 13 of 14

So we go back to what I wrote in the first comment - you misread (interpreted) the axis directions from the infographic compared to the real machine.

 

I saw this before I finished reading your post as it's a common problem for newbies. Especially if you haven't dealt with machining before.

 

Remember - CAM interface support is the last thing. Beforehand, you need to know the construction, we have the principles of designing technological processes, the principles of selecting a cutting strategy and many other issues. 

 

As for the direction of the axis - you fell victim to "ease making it harder".

 

CNC programming is the process of defining the path of the tool relative to the part.
When you write a program, you decide how the tool will behave.

 

For many years, manufacturers of equipment and products have been guided by the maxim "Don't make them think". Products and devices are to be idiot-proof in use.
For CNC machines, there are 2 types of positions - programmers and operators. And all the facilities that don't make them think are aimed at the operators. Not to programmers.

 

For this machine, the Y-axis is described for the operator (in fact, the direction is reversed); the operator does not think how to position the tool, but how to move the table.

 

But I remind you - CNC programming is a process of defining a toolpath - TOOLS, NOT TABLE.

 

The Y axis moves the table, but you want programing the tool. Only the postprocessor translates the tool path into local movements resulting from the machine design.

 

Therefore, as a programmer, you must use the nominal (logical) coordinate system, not the operator's convenience.

 

Therefore, learning programming should proceed in the following way:
mathematics -> geometry -> machine building -> machining technology -> CAM programming.
The interface of the program is the last episode, which only serves to speed up the implementation of your choices, not to make them for you - and for this you need to know the mentioned issues.

 

Learn the principles of (conventional) machining and machine building in your free time. It will be useful to you and will make it much easier to navigate in the CNC environment.

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | WWW | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 14 of 14

Thank you very much for taking your time to explain all of this, it makes much more sense now.

 

I was using a 3 axis router before to upgrade to this 5axis desktop machine, it's definitely more complicated than expected 😅 But thanks to you i'm ready to continue learning 😁

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report