motion.spindle-at-speed behaviour
when I run this:
G00 X 0 Y 0
S500
M03
F200
G01 X 25
S1000
G01 X 50
M05
M02
The hardware input and motion.spindle-at-speed are tracking the spindle speed changes, inactive when spindle RPMs are changing and active RPMs are stable.
The HAL man page MOTION(9) says;
spindle.M.at−speed IN BIT
Motion will pause until this pin is TRUE, under the following conditions: before the first feed move after each spindle start or speed change; [deleted spindle sync and CSS part]
I there something else needed to get the man page behaviour?
Also, the man page talks of spindle numbers "spindle.M.<pin-name>" but a halcmd show just shows "spindle.<pin-name>"
Am I missing something?
Ken
Please Log in or Create an account to join the conversation.
Also, the man page talks of spindle numbers "spindle.M.<pin-name>" but a halcmd show just shows "spindle.<pin-name>"
Are you reading the manual for the version of LinuxCNC that you are using?
Though spindle.pin-name is not something that has ever been usual. motion.spindle.pin-name has become spindle.0.pin-name in 2.8 onwards.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No, which could well be the problem. I was looking at man pages dated 2021-04-15, which is a lot later than Pathpilot 1.Are you reading the manual for the version of LinuxCNC that you are using?
Yes, the at_speed pin goes false when the RPMs are changing and true when stable again (hal;show).As for the actual behaviour, have you checked if the spindle-at-speed pin goes false at the speed shift?
PP 1 is getting old, Lucid vintage so I've started the move to PP 2 (again). Not hard to do, I can run my mill on a clean install of PP2, just need to change the ini SCALEs. It's making the computer 'nice' and installing all the other things I run on it that put me off.
There are significant (to me) differences between Pathpilot 1 and 2 as well, ".so" versus ".ko" hal modules, it's not "run-in-place", and the "other" sort of kernel. Some of which cause me some confusion.
I'll sit on the at-speed problem until I get sorted again.
Thanks for you assistance with my difficulties.
Ken.
Please Log in or Create an account to join the conversation.
Is PP even LinuxCNC. or is it Machinekit?
Please Log in or Create an account to join the conversation.
Just a thought, ( TP
Please Log in or Create an account to join the conversation.
Collective wisdom here says it's LlinuxCNC, I know nothing of Machinekit, visted the website first time today.Do you know how PP2 and PP2 map on to LinuxCNC versions?
Is PP even LinuxCNC. or is it Machinekit?
In much poking around I've never seen a mention of Machinekit.
PathPilot 1 is LinuxCNC 2.6.0~pre and kernel 2.6.32-rtai
PathPilot 2 is LinuxCNC 2.8.0~pre1 and kernel is 4.11.9-rt7 REEMPT
Vmax549
PP2 seems to be about 50% linuxcnc coding and 50% tormachs own coding.
Only the PathPilot UI is tormach's work, I think the rest is pure LinuxCNC. The UI is a substantial piece of work all the same. I only wish they didn't feel the need to strip out all the bits they don't need from both LinuxCNC and the underlying Linux.
Ken.
Please Log in or Create an account to join the conversation.
Collective wisdom here says it's LlinuxCNC, I know nothing of Machinekit, visted the website first time today.Do you know how PP2 and PP2 map on to LinuxCNC versions?
Is PP even LinuxCNC. or is it Machinekit?
I asked Tormach tech support. They didn't know :-/
Please Log in or Create an account to join the conversation.
I asked Tormach tech support. They didn't know :-/
Well that inspires confidence!
I've had some a small amount of contact with them and they were informative and pleasant.
Downloaded Machinekit just for a look, it appears to be LinuxCNC rebranded with a bit of renaming and soft linking.
Ken
Please Log in or Create an account to join the conversation.
G21
S400
M03
G00 X 0 Y 0
F100
G01 X 10
S1000
G01 X 20 Y10
M02
Added some dwell time to force a pause at the speed change:
G21
S400
M03
G00 X 0 Y 0
F100
G01 X 10
S1000
G04 P 1.0
G01 X 20 Y10
M02
Now I wanted to find the minimum dwell time that would result in the correct (documented) motion.spindle-at-speed behaviour.
A dwell of 0.1 seconds doesn't work, neither does 0.15 seconds but 0.2 seconds does.
What's the significance of 0.2 second dwell?
This is with PathPilot version 1, LinuxCNC 2.6.0~pre and kernel 2.6.32-rtai.
I do really have to get my act together and update.
Please Log in or Create an account to join the conversation.