Problem Controlling spindle via VFD and LinuxCNC


Results 1 to 3 of 3

Thread: Controlling spindle via VFD and LinuxCNC

  1. #1
    Member
    Join Date
    Aug 2016
    Location
    United Kingdom
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default 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.

    Controlling spindle via VFD and LinuxCNC-bob-wiring-jpg

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

    Controlling spindle via VFD and LinuxCNC-vfd-wiring-jpg

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

    Controlling spindle via VFD and LinuxCNC-parallel-port-pins-jpg

    And I've set the spindle parameters in stepconf as

    Controlling spindle via VFD and LinuxCNC-spindle-stepconf-jpg

    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.

    Similar Threads:
    Attached Thumbnails Attached Thumbnails Controlling spindle via VFD and LinuxCNC-parallel-port-pins-jpg   Controlling spindle via VFD and LinuxCNC-vfd-wiring-jpg   Controlling spindle via VFD and LinuxCNC-bob-wiring-jpg   Controlling spindle via VFD and LinuxCNC-spindle-stepconf-jpg  



  2. #2
    Member
    Join Date
    Feb 2008
    Location
    USA
    Posts
    582
    Downloads
    0
    Uploads
    0

    Default 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.

    Controlling spindle via VFD and LinuxCNC-bob-wiring-jpg

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

    Controlling spindle via VFD and LinuxCNC-vfd-wiring-jpg

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

    Controlling spindle via VFD and LinuxCNC-parallel-port-pins-jpg

    And I've set the spindle parameters in stepconf as

    Controlling spindle via VFD and LinuxCNC-spindle-stepconf-jpg

    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
    Member
    Join Date
    Aug 2016
    Location
    United Kingdom
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default Re: Controlling spindle via VFD and LinuxCNC

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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Controlling spindle via VFD and LinuxCNC

Controlling spindle via VFD and LinuxCNC

Controlling spindle via VFD and LinuxCNC