PCNC770 4th Axis w/ Clear Path Servo & PathPilot

More
10 years 4 months ago #75465 by PCW
Yeah, ALL the changes need to be made:

1. P = 1000
2. MAX_ERROR = 0
3. Fix thread order
4. Set reasonable FERROR and MIN_FERROR
limits say 0.1 and 0.01

and FF1 MUST be 1

Please Log in to join the conversation.

More
10 years 4 months ago #75473 by charliebrumfield
current ini file a axis params
Code:
# PID tuning params DEADBAND = 0 P = 1000 I = 0 D = 0 FF0 = 0 FF1 = 1 FF2 = 0.00011 BIAS = 0 MAX_OUTPUT = 0 MAX_ERROR = 0 SCALE = 200.0 FERROR = 0.1 MIN_FERROR = 0.01

current hal file servo thread
Code:
######################################################################## # servo thread addf hm2_5i25.0.read servo-thread addf hm2_5i25.0.pet_watchdog servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf estop-latch.0 servo-thread addf toggle.0 servo-thread addf prog-not-idle servo-thread addf axis3-not-homing servo-thread addf x-homing-not2 servo-thread addf gearchange.0 servo-thread addf probe-active-hi-lo servo-thread addf debounce.0 servo-thread addf pid.0.do-pid-calcs servo-thread addf pid.1.do-pid-calcs servo-thread addf pid.2.do-pid-calcs servo-thread addf pid.3.do-pid-calcs servo-thread addf tormachspindle servo-thread addf enable-limit-x servo-thread addf enable-limit-y servo-thread addf enable-limit-z servo-thread addf probe-enable-input servo-thread addf door-limit-in servo-thread addf y-axis-lim-sw-and2 servo-thread addf door-limit-x-lut servo-thread addf door-limit-y-lut servo-thread addf hm2_5i25.0.write servo-thread ########################################################################

just made a run with the above settings. i guess i inadvertently set ff1 = 0 at some point last night. that was causing the machine to error off. now the machine runs and the decell looks like its working right. but we're still getting a twisted part.

Please Log in to join the conversation.

More
10 years 4 months ago #75474 by PCW
OK so you now know the stepgen is following the commanded position within .1 degree
( its probably doing much better ) So now we know the issue is elsewhere

Guesses:
scaling wrong

Interface step polarity wrong so a step is lost every reversal because the direction
hold time is violated

Step noise pickup

Mechanical problems

Please Log in to join the conversation.

More
10 years 4 months ago #75587 by charliebrumfield
ok turns out i'm an idiot. when I wired the step and direction signals I botched the direction signal. didn't catch it because we only spin the axis in one direction. turns out it would only spin in one direction. fixed that issues and all is running correctly now. though you MUST have the .ini setup as previously discussed on this page. tormachs default PID settings lead to decell issues with the clear path servos.

many thanks to yall for helping me sort this out.

Please Log in to join the conversation.

More
10 years 4 months ago #75591 by andypugh

charliebrumfield wrote: ok turns out i'm an idiot. when I wired the step and direction signals I botched the direction signal. didn't catch it because we only spin the axis in one direction. turns out it would only spin in one direction.


Thanks for telling us what the problem was. Too often folk either say nowt or come back with a "fixed now". We can all now (you included) have this possibility in mind next time we see something like this here.

Please Log in to join the conversation.

More
10 years 4 months ago #75683 by charliebrumfield
oh one other thing, you can not flip the axis direction using the clear path settings as that will also cause an interpolation error.

Please Log in to join the conversation.

More
10 years 4 months ago #75684 by charliebrumfield
yup. comes from my coding days. I always try to post the solution so that someone else can hopefully find a use for it later.

Please Log in to join the conversation.

More
10 years 4 months ago #75714 by cncbasher
thanks for posting , and glad you found it in the end

Please Log in to join the conversation.

More
9 years 11 months ago #82428 by TT350
I would like to do this upgrade as well. Do you mind posting the Clear Path motor part#?

Please Log in to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum