Looking for Some Help Configuring System For The First Time

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
17 Jul 2019 15:25 #139704 by rodw
If you have holding torque, it sounds like your steppers are correctly wired up

Also you might need to change this line in the ini file if you are running imperial

LINEAR_UNITS = mm

I know the first time I tried with one stepper on the floor that I thought nothing was happening until I looked real hard to see the faintest of movement. I can tell you I was excited!

I had the STEP_SCALE wrong but a couple of tweaks later I was fairly screaming at 750 rpm or so. The trick is to make sure the STEP_SCALE is the number of pulse per device unit which is usually not hard to work out.

The other big change from 2.7 to 2.9 is the different way of defining joints and axes. a joint is a motor. So in my config all the joints in HAL are numbered from 0 to 3 so there is no confusing use of y and y1 for axes, they are numbered joints tied together with the homing_sequence. The big advantage of this is that which joint does what is defined in one line in the ini file.
eg, joints 0,1,2,3 are connected to axes here:
KINEMATICS = trivkins coordinates=YYXZ
Mine is a bit funny the way I did it due to knowing nothing about CNC when I set the machine up.
You might need the more normal XYYZ here.

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

  • PurduePete
  • PurduePete's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
17 Jul 2019 16:58 #139711 by PurduePete
How embarrassing. It was moving. Just slowly. Good call rodw.

When I checked the micro-step setting on the driver I didn't change it, and apparently forgot what it was set at. It was set at 1/125 and I had my steps per revolution set at 200 in the software. I changed it to 1/32 and then made my steps per revolution 3200 and it moves to where the eye can see a change...especially at 1000 in/min. Haha. Sorry about that. I was assuming that it was software related since I am so new to it and it turned out that it was hardware related and user error. Now on to Plasmac.

I have actually got my settings at XYYZ already. But wouldn't have known if I hadn't already built a system that is running. I am sure that I will have many more questions on this journey but I am going to try to figure it out on my own before asking. Everyone has been really helpful so far.

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
17 Jul 2019 21:54 #139723 by rodw
Awesome work Pete. You played your part too with clear answers! It was when you said you had holding torque, it made me think hard to remember what I had done to get mine working.

So now the next thing to do is to sort out your home switches for your Y. Note that in your ini file you need to this set exactly as shown for both sides of the Y.
HOME_SEQUENCE = -1
Take the time to read the chapter on homing configuration in the 2.9 docs. Make sure you always get to the docs from the main Linuxcnc.org home screen as there are substantial diffferences between 2.9 and earlier branches in some areas (homing is one of them).

One thing to understand here is that a home switch needs to stay triggered from the triggering edge to the machine limits. If you use a shared home/limit switch, you must move the axis using the home_offset so its clear of the striker plate otherwise, a limit switch error will happen as soon as homing completes. You have plenty of inputs so take the time to do it properly. If using proximity sensors, use PNP types as they will plug straight into the mesa card.

And don't beat yourself up, be sure to ask when you get stuck. We've all been where you are.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.055 seconds
Powered by Kunena Forum