Forum Header

Help: configure a Servo motor with (PUL/DIR) as a Spindle by Par-port stepconfig

More
1 year 11 months ago #315029 by sk_linuxcnc
i do not understand what is a reset mode. and where to call it/place it and in which file. :(

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

More
1 year 11 months ago - 1 year 11 months ago #315040 by PCW
Your X axis is using reset mode but the spindle is not:

net xstep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1 <<<<<<<<<<<<<<<
net xdir => parport.0.pin-03-out
net spindle-step => parport.0.pin-04-out

setp stepgen.0.steplen 1 <<<<<<<<
setp stepgen.0.stepspace 0 <<<<<<<<<


Also the spindle scale should be 800 for 800 steps/turn since you
are setting the stepgen velocity in RPS

(it should be 13.33333 if you set the stepgen velocity in RPM)
Last edit: 1 year 11 months ago by PCW.
The following user(s) said Thank You: sk_linuxcnc

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

More
1 year 11 months ago #315303 by sk_linuxcnc
thank you. i did everything like you mentioned and it works. setting steplen to 1 and stepsace to 0 along with pin reset 1 increases the total rpm i can acheive with my motor. ( now it rotates much faster than it did with scale at 6400)

what doesnt work (or is counter intuitive) is when i set the spindle scale to 800 (as my servo is set to 800 pulses/rev) the spindle turns very slowly.
when i put it to 6400, it turns much faster.
and when i put it to 64000 it turns even faster.

but as it works for me, ill leave it at that. thanks again! :D

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

Time to create page: 0.230 seconds
Powered by Kunena Forum