Having an issue getting orientation correct

More
5 months 1 week ago #346542 by paulmag
A bit of background I had gifted a 1995 Cipher engraving table controlled by a Multicam M23 box all new in the day I wanted to bring it up to date and do a complete rebuild and upgrade and as I knew/know just a little I firstly built a control box using a raspberry PI5 and attached it to a testrig I made and then to a chinese table learning how to use Linuxcnc Freecad and any other useful addons.

Now for the issue I have rebuilt the Cipher table with my Pi5 control box and it all works sensors steppers BUT initially it was engraving text mirrored so I fiddled with the INI file settings  min limit and max limit...and eventually got it to do machining BUT the layout is upside down and the X and Y axis numbers are negative below is an image showing the home and extents I have also attached the INI file
I would like to be able to load the files right side up All works fine on my first table build.

I should add that the table image attached is as the physical table but the image on screen in axis shows the home position top rhs if I "fiddle and get the home to btm left on the screen it messes with the homing 

 

Please Log in to join the conversation.

More
5 months 1 week ago #346545 by tommylight
I really hope those are not - signs in front of the axis lengths!
First, make sure when X axis is moving to the right numbers go up on screen, move up when Y axis moves away from you, and go up when Z axis goes up although these should be negative values.
You can change direction of any axis/joint in the hal file, just add - sign in front of the SCALE value in the INI file, save and run LinuxCNC (needs restarting LinuxCNC, not the PC)
Only after you got this correct move on to fixing homing if using home switches.

Please Log in to join the conversation.

More
5 months 1 week ago #346550 by NWE
In your ini file your max limits are negative, I doubt that is correct. Remove the - from max limits. If the motors run the wrong direction, fix by adding - to scale value as tommylight has pointed out.

Please Log in to join the conversation.

More
5 months 1 week ago #346555 by paulmag
Thanks for the feedback I will try again .

Please Log in to join the conversation.

More
5 months 1 week ago #346561 by paulmag
Final update after a nights sleep it took only few minutes to fix I removed the negative values in the ini file and tested travel direction to correct it I then swapped a couple of motor connections the retested and directions where good then uncommented limit switches in INI and all working great all in took less than 10 minutes...I went down the wrong rabbit hole yesterday...thanks for your help.

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum