Can't get lathe to Feed

More
5 years 3 months ago #214084 by andypugh
Replied by andypugh on topic Can't get lathe to Feed
You need spindle,0,revs and spindle.0.speed-in connected to the spindle encoder.

linuxcnc.org/docs/2.8/html/man/man9/moti....html#SPINDLE%20PINS

I thought that there was a specific section on spindle synched motion, but I confess that I can not find it.

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

More
5 years 2 months ago #217064 by rider-83
Replied by rider-83 on topic Can't get lathe to Feed
I'm loosing the will to live here. I'm trying to find out what it is I'm supposed to do with those two commands you have stated, but I can't find any useful help.
Where do I need to look on how to set this up ?

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

More
5 years 2 months ago #217067 by rider-83
Replied by rider-83 on topic Can't get lathe to Feed
In my HAL file (as referenced above) those statements are present.
If I set my scale to 50 still no feed movements in G1
If I swap G95 to G94, still no movements in G1.
What am I doing wrong ?

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

More
5 years 2 months ago #217082 by andypugh
Replied by andypugh on topic Can't get lathe to Feed
I suspect that spindle-at-speed is being too picky. It seems to be set up to accept 1% error, which is probably far too tight.

Change
Code:
# set the spindle speed inputs to agree if within 1% setp near.0.scale 1.01

To
Code:
# set the spindle speed inputs to agree if within 1% setp near.0.scale 1.333

Also open a halmeter (eg from the "machine" menu in Axis) and watch the signal "spindle-at-speed" and the pin "spindle.0.at-speed"

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

More
5 years 2 months ago - 5 years 2 months ago #217111 by rider-83
Replied by rider-83 on topic Can't get lathe to Feed
OK, scale is now 1.333
RPM SET TO 500, and M3
Still no feed.
HALMeter shows:
spindle-at-speed =FALSE
spindle.0.at-speed = FALSE
pulse-index-combined = swaps FALSE/TRUE
spindle-velocity  = 8
spindle-cmd-rpm = 500
spindle-cmd = 0

 
Last edit: 5 years 2 months ago by rider-83.

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

More
5 years 2 months ago #217119 by rider-83
Replied by rider-83 on topic Can't get lathe to Feed
In an attempt to try and understand,Ive tried a few things:

Should 'spindle-velocity' display (via halmeter) the true RPM?
If so, if I change the scale from 100 to 1.6, then my rpm matches that of the displayed rpm on the drive.

Then if I swap 'net spindle-cmd => near.0.in2' to 'net spindle-cmd-rpm => near.0.in2' then 'spindle.0.at-speed' goes TRUE.

But, still no feed movements,
I'm not saying this is the correct thing to do, but just an effort to track my problem

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

Time to create page: 0.396 seconds
Powered by Kunena Forum