585,744 active members*
4,136 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Spindles / VFD > Mach3 to VFD Spindle Speed and Control
Page 1 of 2 12
Results 1 to 20 of 23
  1. #1
    Join Date
    Jan 2017
    Posts
    8

    Mach3 to VFD Spindle Speed and Control

    Hello everyone - this is my first post here so I apologize in advance if I picked the wrong category.

    I purchase a Huanyang Vfd and 18000RPM spindle kit on ebay. I'm using a gecko 540 and mach 3 through an ethernet wire.

    I hooked up a 10k potentiometer and was able to go the full range of pd072 and pd073 (200hz to 300hz) for 12000RPM to 18000RPM which is awesome. When we change pd001 to 1 and pd002 to 0, and we enter S12000 into MDI in mach3, it automatically jumps all the way to 18000RPM (300hz). We tried flipping pd072/073 with no change.

    I'm attaching my .xml for mach3 in the hopes it's just something I've overlooked. Just change to .xml when you get it downloaded.

    Thank you very much for any help!

    Rich

  2. #2
    Join Date
    Mar 2010
    Posts
    813

    Re: Mach3 to VFD Spindle Speed and Control

    Shouldn't pd002 = 1 for external terminal?

  3. #3
    Join Date
    Jan 2005
    Posts
    15362

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Rich2017 View Post
    Hello everyone - this is my first post here so I apologize in advance if I picked the wrong category.

    I purchase a Huanyang Vfd and 18000RPM spindle kit on ebay. I'm using a gecko 540 and mach 3 through an ethernet wire.

    I hooked up a 10k potentiometer and was able to go the full range of pd072 and pd073 (200hz to 300hz) for 12000RPM to 18000RPM which is awesome. When we change pd001 to 1 and pd002 to 0, and we enter S12000 into MDI in mach3, it automatically jumps all the way to 18000RPM (300hz). We tried flipping pd072/073 with no change.

    I'm attaching my .xml for mach3 in the hopes it's just something I've overlooked. Just change to .xml when you get it downloaded.

    Thank you very much for any help!

    Rich
    PD001=0 (1 For Remote Control)

    PD002=0 ( 1 For 0-10v Terminal Control or Remote Trim Pot Control )
    ( J1 Also Needs to be set for Terminal Control )

    PD72=300

    PD73=200
    Mactec54

  4. #4
    Join Date
    Jan 2017
    Posts
    8

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by mactec54 View Post
    PD001=0 (1 For Remote Control)

    PD002=0 ( 1 For 0-10v Terminal Control or Remote Trim Pot Control )
    ( J1 Also Needs to be set for Terminal Control )

    PD72=300

    PD73=200
    PD001 = 1
    PD002 = 0

    72/73 set.. shoots all the way to 300hz (18000 RPM) and doesn't move. I am able to change the frequency manually when on operator control on the VFD.

  5. #5
    Join Date
    Dec 2003
    Posts
    24220

    Re: Mach3 to VFD Spindle Speed and Control

    PD001 is how you start the VFD into Run/Stop
    PD002 is how you control the frequency of the spindle.
    If PD001 is =1 that is using the input terminals, not the panel.
    If PD002 is = 0 then the rpm is controlled from the panel, for a Pot, it would be PD002= 1.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  6. #6
    Join Date
    Jan 2017
    Posts
    8

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Al_The_Man View Post
    PD001 is how you start the VFD into Run/Stop
    PD002 is how you control the frequency of the spindle.
    If PD001 is =1 that is using the input terminals, not the panel.
    If PD002 is = 0 then the rpm is controlled from the panel, for a Pot, it would be PD002= 1.
    Al.
    I think I have that all set correctly.. was this meant for me? I was using a pot to make sure my freq ranges were good but now I'm trying to control from Mach 3.

  7. #7
    Join Date
    Dec 2003
    Posts
    24220

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Rich2017 View Post
    I think I have that all set correctly.. was this meant for me? I was using a pot to make sure my freq ranges were good but now I'm trying to control from Mach 3.
    You were the OP!
    If you want M3/M5 and S value from Mach then
    PD001 = 1
    PD002 = 1.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  8. #8
    Join Date
    Mar 2010
    Posts
    813

    Re: Mach3 to VFD Spindle Speed and Control

    There's also a jumper on main board to the right of terminal block.that needs to be across pin1 and 2.

    PD002 needs to be 1

  9. #9
    Join Date
    Jan 2017
    Posts
    8

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Al_The_Man View Post
    You were the OP!
    If you want M3/M5 and S value from Mach then
    PD001 = 1
    PD002 = 1.
    Al.
    Ok.. both set to 1. I hear a relay click but no spindle rotation.

    Quote Originally Posted by Dan911
    There's also a jumper on main board to the right of terminal block.that needs to be across pin1 and 2.

    PD002 needs to be 1
    Jumper is set for VI across pin 1 and 2.

    I've attached a picture of my VFD wiring.. does that all look good?

    Thanks y'all!

  10. #10
    Join Date
    Mar 2010
    Posts
    813

    Re: Mach3 to VFD Spindle Speed and Control

    The click you hear is it turning spindle on, Do you have a frequency set??

  11. #11
    Join Date
    Jan 2017
    Posts
    8

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Dan911 View Post
    The click you hear is it turning spindle on, Do you have a frequency set??
    Within Mach 3 on the MDI panel, I input (for example) S8000 and then M3, hear a click but no movement.

  12. #12
    Join Date
    Mar 2010
    Posts
    813

    Re: Mach3 to VFD Spindle Speed and Control


  13. #13
    Join Date
    Jan 2005
    Posts
    15362

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Rich2017 View Post
    Within Mach 3 on the MDI panel, I input (for example) S8000 and then M3, hear a click but no movement.
    The click would be the relay, see that the relay is wired to the VFD correct
    Mactec54

  14. #14
    Join Date
    Dec 2003
    Posts
    24220

    Re: Mach3 to VFD Spindle Speed and Control

    You don't necessarily need the relay you can connect direct.
    See http://www.cnczone.com/forums/spindl...equipment.html
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  15. #15
    Join Date
    Jan 2017
    Posts
    8
    I have the STDR-4C which has an internal relay. I guess I can try switching the wires.

  16. #16
    Join Date
    Dec 2003
    Posts
    24220

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Rich2017 View Post
    I have the STDR-4C which has an internal relay. I guess I can try switching the wires.
    You mentioned in the OP a Gecko G540?
    OK I see it has an integrated G540 internal.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  17. #17
    Join Date
    Jan 2005
    Posts
    15362

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Rich2017 View Post
    I have the STDR-4C which has an internal relay. I guess I can try switching the wires.
    How do you have it connected now

    FOR and DCM are the Relay Pin Connection

    ACM= 7

    10v=9

    VI=8
    Mactec54

  18. #18
    Join Date
    Jan 2017
    Posts
    8

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by mactec54 View Post
    How do you have it connected now
    Black wire to DCM
    Red Wire to REV
    Attached Thumbnails Attached Thumbnails 20170218_193158.jpg  

  19. #19
    Join Date
    Jan 2005
    Posts
    15362

    Re: Mach3 to VFD Spindle Speed and Control

    Quote Originally Posted by Rich2017 View Post
    Black wire to DCM
    Red Wire to REV
    why would you have it wire to REV
    Mactec54

  20. #20
    Join Date
    Jan 2017
    Posts
    8
    Quote Originally Posted by mactec54 View Post
    why would you have it wire to REV
    I need the facing bit I will use to go Clockwise.

Page 1 of 2 12

Similar Threads

  1. Spindle Speed Control With C6 and Mach3
    By JCN in forum Spindles / VFD
    Replies: 2
    Last Post: 10-20-2015, 06:18 PM
  2. Mach3 + Kflop + VFD = Spindle Speed control?
    By slimneill in forum Dynomotion/Kflop/Kanalog
    Replies: 7
    Last Post: 05-07-2015, 06:22 PM
  3. Spindle Speed Control for X3 with C11G BOB & Mach3
    By MRM RCModels in forum Benchtop Machines
    Replies: 24
    Last Post: 07-26-2008, 06:39 PM
  4. MACH3 to control spindle speed of Wabeco F1210E
    By pdyer in forum Benchtop Machines
    Replies: 0
    Last Post: 07-23-2008, 06:34 AM
  5. SX3 spindle speed control with Mach3
    By bbox in forum Benchtop Machines
    Replies: 47
    Last Post: 07-05-2008, 11:15 PM

Tags for this Thread

Posting Permissions

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