Retrofitting a 1986 Maho MH400E
- drimaropoylos
- Offline
- Elite Member
- Posts: 267
- Thank you received: 39
John
Please Log in or Create an account to join the conversation.
When you want to turn off the VFD then set the output to zero, otherwise pass-through the motion.spindle-on value.
To put it another way, halui.spindle-off is for stopping the spindle.
You want a slightly different signal that controls the VFD both for spindle on/off and for gearchanging.
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
- Posts: 267
- Thank you received: 39
Just change the comp file so it ignores the 0 rpm speed, and make changes in the gears for a value of 1 rpm and higher.On a gearbox machine, it would be best to simply display current gearbox speed, and leave it alone when the machine stops. So what we now need is a work around the default behavour.
.
Please Log in or Create an account to join the conversation.
The MAHO E series has no VFD. The gearbox provides the speed, the motor is just a simple 3ph constant speed motor controlled by relays.
What you should so is have motion.spindle-on as in input to your comp, and then an output (gearchange.0.spindle-on) as an output.
So you mean, give the gearbox.comp final control of the spindle relays? Sergey and I were also approaching that solution.
The Linuxcnc behaviour of commanding speed zero when you actually want spindle stop seems like a kludge up of two independant functions.
We decided to parse S0 as gearbox neutral based on the assumptions:
1/ Stopping the spindle was independant of speed (that assumption hasn't aged well).
2/ MAHO's gearbox provides a neutral position.
3/ Setting neutral is a safety benefit when you install a non-rotating tool in the spindle, such as a touch probe.
Currently we parse S>0 as 80rpm. but S=0 as neutral.
If I dump the neutral control, Johns suggestion is also attractively simple.
Those are all good suggestions you have given. I'll go through them with Sergey.
Mark
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
- Posts: 267
- Thank you received: 39
John
Please Log in or Create an account to join the conversation.
Yes. I am fairly sure that my gearbox comp does that, and it will need to when I get round to adding on-the-fly gear changing. (I have electric clutches, so just need to make sure that the motor and spindle speeds are close before engaging the other gear. The idea is to only allow a gear change during a G0 move. But I have to consider how well that will work with facing cyles.)TSo you mean, give the gearbox.comp final control of the spindle relays? Sergey and I were also approaching that solution.
I disagree. But halui.spindle-stop seems fairly explicit as a stop.The Linuxcnc behaviour of commanding speed zero when you actually want spindle stop seems like a kludge up of two independant functions.
Bear in mind that the halui pins are intended for UI hook-up. ie on-screen buttons. You probably do want an on-screen button to both set the speed to zero and set is-on to false to allow for different HAL interfaces in various configs.
Please Log in or Create an account to join the conversation.
Regarding HALUI, I use gmoccapy, and also expected it to net into the halui pins, but Norbert has found a different solution to hook straight into linuxcnc without netting pins.
Mark
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
- Posts: 267
- Thank you received: 39
John
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
- Posts: 267
- Thank you received: 39
Please Log in or Create an account to join the conversation.
I think that as long as you stick to the required spacing it should be OK.
Though side-by-side would look more conventional.
Please Log in or Create an account to join the conversation.