586,070 active members*
3,517 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Benchtop Machines > CNC spindle motor turns on after computer boot
Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2007
    Posts
    29

    Smile CNC spindle motor turns on after computer boot

    Hi, I have a Taig CNC http://www.finelinehair.com/home/Taig%20Mill%20CNC.htm controlled via LPT1 pins 16 & 17. The spindle (& mist) are controlled via solid-state relays. When I reboot my PC, the spindle comes on & stays on until Mach3 is started. I have tried changing the LPT1 settings in the BIOS. Normal mode seems to work best (motor on for 1 second on reboot) but then Mach3 loses control over the relays. I know all I have to do is turn the machine off until Mach3 has been started. Certainly the safest way to proceed but it bugs me. Must be a LPT1 thing; maybe looking for a printer. thanks, Alan

  2. #2
    Join Date
    Jun 2008
    Posts
    1082
    Quote Originally Posted by oisyaot View Post
    Hi, I have a Taig CNC http://www.finelinehair.com/home/Taig%20Mill%20CNC.htm controlled via LPT1 pins 16 & 17. The spindle (& mist) are controlled via solid-state relays. When I reboot my PC, the spindle comes on & stays on until Mach3 is started. I have tried changing the LPT1 settings in the BIOS. Normal mode seems to work best (motor on for 1 second on reboot) but then Mach3 loses control over the relays. I know all I have to do is turn the machine off until Mach3 has been started. Certainly the safest way to proceed but it bugs me. Must be a LPT1 thing; maybe looking for a printer. thanks, Alan
    I don't know how you can implement this in your system, but probably the most convenient solution would be to add "charge pump" control to your relays.
    A charge pump is pretty much a special signal sent by your computer only when Mach3 is active. If the signal isn't present (like when Mach3 is "reset") devices that are activated by a charge pump will not be active.

    I'm sorry, I haven't started using my relays yet so I can't recommend specific products, but I bet you can buy a charge pump switch that will only pass a signal when a charge pump is detected.
    This is worth a look...
    http://www.cnc4pc.com/Store/osc/prod...products_id=51

  3. #3
    Join Date
    Oct 2007
    Posts
    29
    That would do it, I'm sure. I was not eager to add more complexity but I'll check it out. thanks!

  4. #4
    Join Date
    Dec 2004
    Posts
    1865
    Quote Originally Posted by oisyaot View Post
    Hi, I have a Taig CNC http://www.finelinehair.com/home/Taig%20Mill%20CNC.htm controlled via LPT1 pins 16 & 17. The spindle (& mist) are controlled via solid-state relays. When I reboot my PC, the spindle comes on & stays on until Mach3 is started. I have tried changing the LPT1 settings in the BIOS. Normal mode seems to work best (motor on for 1 second on reboot) but then Mach3 loses control over the relays. I know all I have to do is turn the machine off until Mach3 has been started. Certainly the safest way to proceed but it bugs me. Must be a LPT1 thing; maybe looking for a printer. thanks, Alan
    What you are describing is the exact reson charge pump was implemented, safety.
    Windows will play with the pport and there is no way to know what it is doing.
    Boot first and then turn on machine. I would aslo recommend a breakout board with charge pump, but that is up to you.

    Mike
    Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.

  5. #5
    Join Date
    Oct 2007
    Posts
    29
    Thanks for the info. I have a breakout board already, now I'll get the charge pump. The one I need is only $22. what a bargain.

  6. #6
    Join Date
    Aug 2005
    Posts
    52
    I had a bunch of spare relay outputs so I wired my spindle in series through the NO contact on one relay and the NC contact of the next relay. This way the spindle can only turn on if one relay is energised and the other isn't - which should only happen if mach has control of the relay board.
    --
    Jon

  7. #7
    Join Date
    Oct 2007
    Posts
    29
    thanks Jon. but I have no spares to use as you did. I'll just have to use the charge pump relay.

  8. #8
    Join Date
    Jun 2004
    Posts
    6618
    I just use manual switches. I flip them on once Mach 3 is started. This works okay, but a charge pump is a much better choice in case Mach 3 gets hung by the computer. If you have a crash, then you will get a wild crash on the machine as well.
    Not good at all and a charge pump would likely prevent the physical crash.
    Lee

  9. #9
    Join Date
    Oct 2007
    Posts
    29
    Lee, thanks, I'm ordering a charge pump this week. I put a scope on Mach3, 12.5KHz output & it was more like, 12KHz. I hope this is not a problem for the pump as it is microcomputer controlled & uses an algorithm to check the range. My Mach3/cpu puts out a perfect 25KHz & I wonder why the 12.5KHz is not as accurate. Alan

  10. #10
    Join Date
    Oct 2007
    Posts
    29

    charhe pump implemented

    Works great, thanks for your help everyone. sorry it took so long to follow-up with th results.

    Taig Micro Mill Breakout Board, SCHP, Pendant, Tach & Relay Box

    Alan
    ------------------------------------
    Alan

Similar Threads

  1. help info on VFD-motor-computer
    By wilkomedic in forum Phase Converters
    Replies: 3
    Last Post: 04-29-2009, 03:34 AM
  2. 4th axis turns to many turns
    By cob in forum Mastercam
    Replies: 6
    Last Post: 02-16-2009, 07:19 PM
  3. Stepper motor only turns one way
    By henryblowery in forum Stepper Motors / Drives
    Replies: 6
    Last Post: 12-21-2008, 05:01 AM
  4. How to hook up FSD2U2P12 driver(Japan Servo Motor) to computer?
    By happytriger2000 in forum Servo Motors / Drives
    Replies: 2
    Last Post: 05-28-2006, 03:59 PM
  5. Okuma Vmc ,g80 Turns Spindle Off
    By qmas99 in forum G-Code Programing
    Replies: 7
    Last Post: 05-20-2006, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •