Noobie Settings for Chinese YooCNC Ebay router
- cruxfixture
- Offline
- New Member
- Posts: 4
- Thank you received: 0
I bought a chinese ebay machine with YooCNC drivers. I like the machine, but I am having difficulty with this.
These are the specs from my machine's very stingy manual:
Leadscrew 1404 double thread Trapezoidal screws
Driving units X axis 1404 trapezoidal screws
Y axis 1404 trapezoidal screws
Z axis 1404 trapezoidal screws
Sliding units X axis Dia.16mm chrome plate shafts
Y axis Dia.16mm chrome plate shafts
Z axis Dia.12mm chrome plate shafts
Stepping motor type 57 two-phase 1.8A
Principal axis collet ER11 / 3.175 mm
Repeat accuracy 0.05mm
I need to determine the correct timing settings for the stepconf wizard such as:
Leadscrew Pitch
Driver Microstepping
Step Time
Step Space
Direction Hold
Direction Setup
Can anyone help?
Thanks
Please Log in or Create an account to join the conversation.
also as you dont mention the actual machine or controller model numbers
4mm pitch
400 steps per rev ( standard stepper motors 200 steps per rev x half step )
10us step time
and 5us direction hold
the YooCNC is a very basic Allegro chipset controller , most of the default settings should get you somewhere in the ball park
see how you go , and we can smooth out the wrinkles as you find them .
Please Log in or Create an account to join the conversation.
The micro stepping setting would be on your driver set by a jumper or switch possibly.
But if the machine is working (steppers can be noisy at low speeds) try this,
Set your machine for a known move, say 1"
mark your starting point on the table.
Set a slow speed (F5)
Take any backlash out (G1 X-1)
Go to start position
(G1 X0)
Move 1" (G1 X1)
Measure how far the machine moves.
Calculate the difference between what the machine moved and what you commanded.
Use that to calculate your true scale. If you commanded a 1" move and the machine moved .5" you are off by a factor of 2.
Go back to Stepconf and adjust what you need to to get the Scale you need entered and test again.
Also test your machine by moving positive and negative from a know location to see if you are losing steps.
Rick G
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- cruxfixture
- Offline
- New Member
- Posts: 4
- Thank you received: 0
My StepConf Settings are as follows:
-Step Time and Space: 10us(10000ns)
-Dir Hold and Setup: 3us
These are based on the numbers given in my manual, but I am not sure if this is correct.
Base Period Max Jitter is 50us, but when I run the latency test I can get as high as 330us of Base thread Max Jitter.
X axis settings:
Motor steps per rev: 400 (Explicit in Manual, I am pretty sure that this is correct)
Pulley teeth: 1:1 (I think this is right since I don't see any gear reduction)
Leadscrew Pitch: 4 mm/rev (I turned the axis one rev manually with power off and measured the distance traveled)
Driver Microstepping: 4 (I don't think that this is correct, but This is where I had to use trial and error and it gave me the correct distance)
Max. Velocity: 33mm/s ( Explicit in Manual)
Max. Acceleration:200mm/s2 (EIM)
Other axes are identical expect for slower Max. velocity on the Z.
Please Log in or Create an account to join the conversation.
Base Period Max Jitter is 50us, but when I run the latency test I can get as high as 330us of Base thread Max Jitter.
Well that does not sound right, take a look here at the info on Base period and Stepconfig...
linuxcnc.org/docs/html/config_stepconf.html#cha:Stepconf-Wizard
Do you get an error code when you start EMC?
If you enter the proper latency number in Stepconfig it will calculate the best Base period you can use. That will determine how fast your motors can be run from EMC, if the motors are up to it.
A typical stepper motor would have 200 steps per rev, so at 1/2 stepping would be 400 steps per rev.Motor steps per rev: 400 (Explicit in Manual, I am pretty sure that this is correct)
Pulley teeth: 1:1 (I think this is right since I don't see any gear reduction)
Leadscrew Pitch: 4 mm/rev (I turned the axis one rev manually with power off and measured the distance traveled)
Driver Microstepping: 4 (I don't think that this is correct, but This is where I had to use trial and error and it gave me the correct distance)
It does not really matter how you input the numbers in Stepconfig as long as the resulting steps give you the Scale you need. So 400 motor steps and 4 micro stepping is the same as 200 motor steps and 8 micro stepping.
Stepper motors can be noisy at slow speeds, there is a normal slow speed band that can be quite a bit rougher than other speeds. You need to check that you are not losing steps by making several moves back and forth and making sure you end up where you started.
Rick G
Please Log in or Create an account to join the conversation.
you may find the Max velocity and Acceleration values can be set different to what is in the manual , just go with what sounds right or gives you no lost moves , a lot of performance and pc latencey can affect these as Rick G says
it's usual for the Z axis to be probably around half of the Max velocity as this axis has the weight to carry and is also fighting against gravity , so slightly less performance in using steppers is ok
again so long as your not loosing steps and all sounds good is fine
Please Log in or Create an account to join the conversation.