584,350 active members*
7,381 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > CNC "do-it-yourself" > Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4
Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2019
    Posts
    5

    Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Well as the title suggests I'm trying to achieve speed control for the spindle through Mach4.

    I'm using a Teco VFD part number is something like JNEV-202-H1. Operators manual can be found here... https://www.tecowestinghouse.com/wp-...ing_manual.pdf
    I have laptop running Mach4 with an ESS controller.

    I think I have 90% of it sorted through reading other post and info I have found on the net but the one thing that eludes me is what to do about a common between the ESS and the VFD. The VFD currently uses a com, AIN and +10v pins connected to a pot for speed control or more precisely control the frequency of the output.
    The ESS has a pins designated for FWD, REV and PWM. I'm reading 0 - 5.1v off the ESS PWM pin depending on what speed I punch in on Mach4, So I have that side of it sorted.

    My problem is I don't want to connect the ground of my ESS to the com pin on the VFD, Something deep within my subconscious is screaming "Don't do it" or maybe it was the internet saying that, who knows. Anyway how can I complete the circuit otherwise? I'm not even sure I can send a 0-5v digital signal to and analog input? Ether way I'll need some sort of common ground from the Ethernet Smoothstepper FWD, REV and PWM pins to the digital (FWD,REV) and analog (PWM) inputs of the VFD.

    Now before anyone states the obvious, "The vfd needs 10v and you only have 5v". What I'm hoping to do is use the Parameter F17 AIN gain (%) and increase it to 200% in order to reach full speed. I'm not sure it this will work or not but I'd like to try it before I buy or try to create a BOB that's capable of turning my 0-5v into 0-10v.

    Any advise would be greatly appreciated.

    Cheers,
    J

  2. #2
    Join Date
    Jan 2005
    Posts
    15362

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Quote Originally Posted by gyrojeremy View Post
    Well as the title suggests I'm trying to achieve speed control for the spindle through Mach4.

    I'm using a Teco VFD part number is something like JNEV-202-H1. Operators manual can be found here... https://www.tecowestinghouse.com/wp-...ing_manual.pdf
    I have laptop running Mach4 with an ESS controller.

    I think I have 90% of it sorted through reading other post and info I have found on the net but the one thing that eludes me is what to do about a common between the ESS and the VFD. The VFD currently uses a com, AIN and +10v pins connected to a pot for speed control or more precisely control the frequency of the output.
    The ESS has a pins designated for FWD, REV and PWM. I'm reading 0 - 5.1v off the ESS PWM pin depending on what speed I punch in on Mach4, So I have that side of it sorted.

    My problem is I don't want to connect the ground of my ESS to the com pin on the VFD, Something deep within my subconscious is screaming "Don't do it" or maybe it was the internet saying that, who knows. Anyway how can I complete the circuit otherwise? I'm not even sure I can send a 0-5v digital signal to and analog input? Ether way I'll need some sort of common ground from the Ethernet Smoothstepper FWD, REV and PWM pins to the digital (FWD,REV) and analog (PWM) inputs of the VFD.

    Now before anyone states the obvious, "The vfd needs 10v and you only have 5v". What I'm hoping to do is use the Parameter F17 AIN gain (%) and increase it to 200% in order to reach full speed. I'm not sure it this will work or not but I'd like to try it before I buy or try to create a BOB that's capable of turning my 0-5v into 0-10v.

    Any advise would be greatly appreciated.

    Cheers,
    J
    For a Spindle that is controlled by a 0-10V Analog signal, you will need a Break Out Board that can convert a PWM, Step/Dir, CW/CCW or Quadrature signals into a 0-10V analog signal (and also provide one or two relays to control the VFD)

    You don't have a 0-5v or 0-10v analog signal to run the VFD Drive to control your speed, so you need a PWM to analog 0-10v Board
    Mactec54

  3. #3
    Join Date
    Jan 2019
    Posts
    5

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Quote Originally Posted by mactec54 View Post
    For a Spindle that is controlled by a 0-10V Analog signal, you will need a Break Out Board that can convert a PWM, Step/Dir, CW/CCW or Quadrature signals into a 0-10V analog signal (and also provide one or two relays to control the VFD)

    You don't have a 0-5v or 0-10v analog signal to run the VFD Drive to control your speed, so you need a PWM to analog 0-10v Board
    Thanks mactec54. I thought that might be the case. I've got components to build a BOB and will get onto that asap.
    Any thoughts on the common/ground issue?

  4. #4
    Join Date
    Jun 2010
    Posts
    4252

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    You MUST have a ground connection, otherwise there will be nothing to reference the PWM or analog signals to.

    Cheers
    Roger

  5. #5
    Join Date
    Mar 2003
    Posts
    35538

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Most VFD's have separate grounds for the analog input and digital inputs.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  6. #6
    Join Date
    Jan 2005
    Posts
    15362

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Quote Originally Posted by gyrojeremy View Post
    Thanks mactec54. I thought that might be the case. I've got components to build a BOB and will get onto that asap.
    Any thoughts on the common/ground issue?
    If you have a PWM to analog board then this com connection won't be an issue as you will have isolation between the SS and the Analog connection you can get a board for about $8 so not worth making anything

    The VFD will connect to the Analog Board AIN and com the PWM output from the SS will connect to the input of the PWM to Analog Board

    eBay item number: this is one of many that can be used
    233391080653
    Mactec54

  7. #7
    Join Date
    Jan 2019
    Posts
    5

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Ok... after reading every ones posts and spending a couple more days researching, I was able to wrap my head around the ciruitry and connections so I decided to get a relay BoB. I bought the C41s that should work with the C25 BoB I already had.
    I'm pretty sure this will connect to the Teco VFD no problems. Ground from the ESS and C25 is connected to the input signal side of the C41 and ground or common from the VFD is connected to the relays and the analog out on the C41s. Both are isolated from the input circuitry so that makes it a no brainer.
    In hindsight I wish I bought 1 BoB to do everything. There are some pretty nice boards out there.

    https://www.cnc4pc.com/c41s-pwm-vari...rol-board.html
    https://www.cnc4pc.com/c25-smooth-st...nal-board.html

    Cheers,
    J

  8. #8
    Join Date
    Jan 2005
    Posts
    15362

    Re: Wiring Ethernet Smoothstepper to VFD for spindle speed control on Mach4

    Quote Originally Posted by gyrojeremy View Post
    Ok... after reading every ones posts and spending a couple more days researching, I was able to wrap my head around the ciruitry and connections so I decided to get a relay BoB. I bought the C41s that should work with the C25 BoB I already had.
    I'm pretty sure this will connect to the Teco VFD no problems. Ground from the ESS and C25 is connected to the input signal side of the C41 and ground or common from the VFD is connected to the relays and the analog out on the C41s. Both are isolated from the input circuitry so that makes it a no brainer.
    In hindsight I wish I bought 1 BoB to do everything. There are some pretty nice boards out there.

    https://www.cnc4pc.com/c41s-pwm-vari...rol-board.html
    https://www.cnc4pc.com/c25-smooth-st...nal-board.html

    Cheers,
    J
    YesCNC4PC make some good boards, I did not quote that board because you had the spindle On / Off working so did not need a board with the Relays just the PWM to Analog
    Mactec54

Posting Permissions

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