VMC related HAL questions.

More
11 years 5 months ago #59029 by andypugh
Replied by andypugh on topic VMC related HAL questions.

sspeed33317 wrote: Or I can use the mechanical method which is the way it was done on my machine.
Spindle would turn at a slow rpm then a shot pin would set and then a prox switch would sense
when the pin dropped and locked the spindle and then sent a signal to the control and VFD a stop signal.


That is fairly easy to control with LinuxCNC from the G-code sub.
You probably need to be quite careful to make sure that you can't try to start the spindle with the lock energised, but that sort of interlocking is what HAL is good at.

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

More
11 years 5 months ago #59034 by sspeed33317
i believe with the way HAAS did it was the Orient Pin sensor was wired directly to the VFD
When I removed all the factory wiring there was a harness that led directly up to the spindle from the VFD
and was labeled stop.

Also if i remember correctly the way they did it was power up the spindle 25 rpm, then let it coast , drop the pin and then the stop signal.

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

More
11 years 5 months ago #59035 by andypugh
Replied by andypugh on topic VMC related HAL questions.

sspeed33317 wrote: Also if i remember correctly the way they did it was power up the spindle 25 rpm, then let it coast , drop the pin and then the stop signal.


That makes it easier, as then you can have the pin disabled by motion.spindle-is-on.

M3
G4 P2
M5
M65 P0 (drop the pin)

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

More
11 years 5 months ago #59038 by sspeed33317
Ha.. then there is the two speed gearbox i have to figure out :-)

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

More
11 years 5 months ago #59039 by andypugh
Replied by andypugh on topic VMC related HAL questions.

sspeed33317 wrote: Ha.. then there is the two speed gearbox i have to figure out :-)


Not too much of a problem for spindle orientation.

Is there any switch which indicates the selected gear? That can make things easier. Though it is possible to detect the gear by the ratio of motor frequency to spindle speed.

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

More
11 years 5 months ago #59045 by sspeed33317
Yes there is a proximity switch for high/low , the gearbox is shifted by a air solenoid and actuator

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

Time to create page: 0.428 seconds
Powered by Kunena Forum