- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Help please !!! Servo configuration with stepconf.
Help please !!! Servo configuration with stepconf.
I tried to move an empty motor with stepconf jog and it runs smooth from there as well. But it lacks speed.
The maximum speed will probably depend on the encoder counts and the base thread rate.
If you have a 1024 count encoder then that is 4098 pulses per rev (probably). If you have a 40,000nS base thread (on the slow side, what number do you actually have?) then you can pulse at 25kHz, which gives you 25,000 / 4098 = 6rps = 366rpm.
A faster base-thread will help, but you probably can't go much below 20,000 (what was your latency test result?) and I think I saw that you can change the "electronic gearing" of the drive so that one input pulse = more than one encoder count.
Please Log in or Create an account to join the conversation.
"gzip -c /dev/urandom > /dev/null"
I am getting
Servo Max jitter = 16350
Base max jitter = 19001
Encoder is 2500 C/T
I am running it with electronic gearing disabled.
Please Log in or Create an account to join the conversation.
I am running it with electronic gearing disabled.
I think that turning it on is the only practical way to get more speed.
Work out what physical distance one encoder count is, and compare that to your desired machine accuracy, and adjust the electronic gearing to suit.
On a very simple level, your 2500PPR encoder servo is acting like a 2500 step/rev stepper motor, and 200 steps/rev is usual. 4:1 electronic gearing would give you a lot more speed and probably still adequate resolution.
Please Log in or Create an account to join the conversation.
So then I should put 10000 in motor step per revolution at axis configuration window.
But should I put the driver micro-stepping ratio in wizard when I use drives electronic gear ?
Most annoying queries for me is at "Basic Machine Configuration" page where it's asking "step time" , " step space" , "direction hold" and " direction setup". I don't know how to calculate these numbers.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
According to your manual the Maximum Input Pulse Frequency is 500KHz. I'm not good with KHz and I assume that is minimum of both the on and off time of a step.
It means a billion divide by 500k = 2000 is it a correct number for step time ? I hope so.
Please Log in or Create an account to join the conversation.
Can anyone explain about what is actually "Direction Hold" and "Direction Setup" ?
Please Log in or Create an account to join the conversation.
Probably not all that relevant with that drive. But a you always stop before changing direction, it doesn't matter too much. 20,000 ought to be safe.Can anyone explain about what is actually "Direction Hold" and "Direction Setup" ?
Please Log in or Create an account to join the conversation.
Thanks !Probably not all that relevant with that drive. But a you always stop before changing direction, it doesn't matter too much. 20,000 ought to be safe.
Now I think I have all the numbers needed to run my machine with servo and step/dir with stepconf.
Step Time = 1000
Step Space = 1000
Direction hold = 20000
Direction setup = 20000
Step/Revolution = 10000
Drive Microstepping = ??? (oops! one thing still to understand.)
Pully teeth = 1:1
Lead-screw pitch = 5mm
Maximum Velocity = 1
Maximum Acceleration = 25000/10000*5 = 12.5mm per sec * electronic gear ratio.
Please Log in or Create an account to join the conversation.
I found an indirect solution is to divide screw pitch according to drives gearing ratio. But I think there should be any direct solution.
Right now I have just jogged and tuned the servo with stepconf because I have only two servo drives expansion board in my hand.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Help please !!! Servo configuration with stepconf.