Hello Guest it is March 19, 2024, 07:34:08 AM

Author Topic: Start and stop spindle from mach 3  (Read 6092 times)

0 Members and 1 Guest are viewing this topic.

Start and stop spindle from mach 3
« on: August 21, 2008, 05:33:04 PM »
Hi.
I have mach 3 running through a C11 breakout board from cnc4pc.I currently start and stop the spindle manually,what I would like to do is turn spindle on and off through mach 3,and also stop the maching program from running if the motor stops,how can I do this?The motor is a 240v DC but has 240v AC into the PCB board before converting to DC at the motor.
regards Eric

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Start and stop spindle from mach 3
« Reply #1 on: August 21, 2008, 05:52:32 PM »
Is your DC motor variable speed and if so what is it controlled with, please gve any info or links to the motor or machine that you have.
Hood
Re: Start and stop spindle from mach 3
« Reply #2 on: August 21, 2008, 06:55:40 PM »
The motor is 1000w two speed ,selected with a two speed switch
regards Eric

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Start and stop spindle from mach 3
« Reply #3 on: August 21, 2008, 07:09:55 PM »
If you just use a switch to start and stop the spindle at the moment you can use a relay in its place. You can then use an output from Mach to switch the relay on and off.
Hood
Re: Start and stop spindle from mach 3
« Reply #4 on: August 22, 2008, 12:49:40 AM »
If your motor is not variable speed, just use one of the relay outputs on the C11 to switch the 240V power to the motor controller.  Stopping the program if the motor stops would require some means of detecting that the motor was actually running.  What would cause the motor to stop anyway?

Regards,
Ray L.
Regards,
Ray L.
Re: Start and stop spindle from mach 3
« Reply #5 on: August 24, 2008, 04:24:54 PM »
I am just worried that if the motor burns out or the drive belt breaks when I am not near the machine , the program will keep running and stuff up the job.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Start and stop spindle from mach 3
« Reply #6 on: August 24, 2008, 04:32:53 PM »
You could use a macropump to monitor the spindle speed DRO and if it falls below a certain amount to stop the code.
Hood