504,368 active members
4,795 visitors online
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Registered
    Join Date
    Aug 2016
    Posts
    20

    Controlling spindle via VFD and LinuxCNC

    I have connected an Huanyang VFD to a 3 phase spindle and it works well when controlled directly by the VFD. However, I'm having difficulty controlling it through LinuxCNC.
    The BOB wiring is shown below with the bottom black cable being +5V and GRD, The white and green wires go to V1 and ACM on the VFD, the black and red wire are 24V from the VFD and the two brown wires are power to the VFD via the BOB relay.



    The VFD connects are shown below. I've set PD001 to 1, PD002 to 1 and PD070 to 0



    I've set pin 17 to spindle PWM and this pin connects to the jumper by the relay on the BOB.



    And I've set the spindle parameters in stepconf as



    When I power up the VFD powers up and i get 9.8 volts on the VFD terminal V1 but switching the VFD of kills this to zero.
    If i try to run the spindle from Linux CNC nothing happens.

    I realise this problem covers other than Linux but any help or re-direction would be appreciated.

  2. #2
    Registered
    Join Date
    Feb 2008
    Posts
    582

    Re: Controlling spindle via VFD and LinuxCNC

    Quote Originally Posted by bobhare View Post
    I have connected an Huanyang VFD to a 3 phase spindle and it works well when controlled directly by the VFD. However, I'm having difficulty controlling it through LinuxCNC.
    The BOB wiring is shown below with the bottom black cable being +5V and GRD, The white and green wires go to V1 and ACM on the VFD, the black and red wire are 24V from the VFD and the two brown wires are power to the VFD via the BOB relay.



    The VFD connects are shown below. I've set PD001 to 1, PD002 to 1 and PD070 to 0



    I've set pin 17 to spindle PWM and this pin connects to the jumper by the relay on the BOB.



    And I've set the spindle parameters in stepconf as



    When I power up the VFD powers up and i get 9.8 volts on the VFD terminal V1 but switching the VFD of kills this to zero.
    If i try to run the spindle from Linux CNC nothing happens.

    I realise this problem covers other than Linux but any help or re-direction would be appreciated.
    I sounds like maybe a wiring error.
    Also. I would definitely try with VFD unconnected to start

    This thread may help with wiring:

    https://www.cnczone.com/forums/gener...utput-0-a.html

  3. #3
    Registered
    Join Date
    Aug 2016
    Posts
    20

    Re: Controlling spindle via VFD and LinuxCNC

    Thanks for your reply and i've managed to get it working, at last!

Similar Threads

  1. Controlling spindle from Mach 3
    By areinike in forum Spindles / VFD
    Replies: 16
    Last Post: 03-17-2017, 04:22 PM
  2. Controlling Spindle Speed of BF20 with linuxcnc
    By microschorsch in forum Spindles / VFD
    Replies: 1
    Last Post: 02-12-2014, 08:57 PM
  3. Linuxcnc controlling analog spindle drive
    By R.thayer in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 08-18-2012, 07:41 AM
  4. Controlling a Boss Spindle via VFD
    By snakebit95 in forum Bridgeport / Hardinge Mills
    Replies: 2
    Last Post: 08-27-2006, 03:40 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
  •