Having an issue getting orientation correct

  • paulmag
  • paulmag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
21 May 2026 20:01 - 21 May 2026 21:36 #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 

 
Attachments:
Last edit: 21 May 2026 21:36 by paulmag. Reason: added info

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
22 May 2026 01:49 #346545 by tommylight
Replied by tommylight on topic Having an issue getting orientation correct
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.
The following user(s) said Thank You: paulmag

Please Log in or Create an account to join the conversation.

More
22 May 2026 03:05 - 22 May 2026 03:06 #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.
Last edit: 22 May 2026 03:06 by NWE. Reason: typo
The following user(s) said Thank You: tommylight, paulmag

Please Log in or Create an account to join the conversation.

  • paulmag
  • paulmag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
22 May 2026 08:05 #346555 by paulmag
Replied by paulmag on topic Having an issue getting orientation correct
Thanks for the feedback I will try again .

Please Log in or Create an account to join the conversation.

  • paulmag
  • paulmag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
22 May 2026 11:01 #346561 by paulmag
Replied by paulmag on topic Having an issue getting orientation correct
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.
The following user(s) said Thank You: tommylight, NWE

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum