Need Help! C69 PWM Board and UCCNC

Results 1 to 20 of 20

Thread: C69 PWM Board and UCCNC

  1. #1
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default C69 PWM Board and UCCNC

    I'm in the process of installing a C69 PMW board on my CNC to control a Delta VFD022E21A. I've got the board wired up and I should have UCCNC configured correctly, however when I switch the VFD to be controlled remotely it won't start. I can't find a whole lot of info when it comes to controlling this VFD with UCCNC. Even getting a basic M3 and M5 working right now would be great. So far I've checked that power is running to the board, however I don't see an LED light up by the relay when I start the spindle or send an M3, and for some reason when I check the voltage output, the voltage is the same between the 10v pin and main ground as is is between the ground pin and main ground. The analog output adjustment also doesn't seem to have any effect on the voltage when I was making adjustments. It seems as though something is not working right, or set up right with the C69 board, but hopefully someone else out there has been through this before and can offer a bit of guidance.

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    What do you have for all of your settings in UCCNC?

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  3. #3
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    PMW pin 14
    Direction Pin 16
    frequency 400hz
    M3 relay pin 16



  4. #4
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Is the relay on the C69 working when you try to start the spindle? You'll be able to here it click?

    In UCCNC, on the Diagnostics page, does the Spindle CW LED light up? It doesn't sound like it?
    If you set the M3 port and pins, and check the box, the relay should work. If the Spindle CW LED is lit up, then you must have something wired wrong.



    You need to post a diagram of how you wired it, or explain exactly how everything is wired.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  5. #5
    Member
    Join Date
    Jun 2015
    Location
    Sweden
    Posts
    943
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Quote Originally Posted by Andrew22 View Post
    PMW pin 14
    Direction Pin 16
    frequency 400hz
    M3 relay pin 16
    Does your VFD receive the Start signal?
    Does your VFD receive the PWM?
    Measure them.
    If it does then the issue is with your VFD settings.
    If it does not then the issue may be wrong pin numbers setup or wrong polarity setup (Active low settings).



  6. #6
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Quote Originally Posted by ger21 View Post
    Is the relay on the C69 working when you try to start the spindle? You'll be able to here it click?

    In UCCNC, on the Diagnostics page, does the Spindle CW LED light up? It doesn't sound like it?
    If you set the M3 port and pins, and check the box, the relay should work. If the Spindle CW LED is lit up, then you must have something wired wrong.



    You need to post a diagram of how you wired it, or explain exactly how everything is wired.
    The relays aren't turning on. The led in UCCNC diagnostic light up though, both for direction and pwm (it flickers when not set to full speed, I believe this is how it gets the board to vary voltage)





    I've attached pics of the board and VFD. I've followed the wiring diagrams in the manual. I can draw up a diagram too if necessary.


    Sent from my iPhone using Tapatalk



  7. #7
    Member
    Join Date
    Jun 2015
    Location
    Sweden
    Posts
    943
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    I advice you to measure the signals with unplugging the DSUB25 connector from the BOB.
    Measure the pin voltage between the pin and the ground which is the 18. to 25. pins.

    The start (M3) pin you should see a solid 0 or 5Volts as the on/off states.
    The analog signal it should be a PWM so you should see an avarage voltage on a multimeter.
    Try to change the spindle speed with the M command and the measured voltage should go up and down proportionally.

    If the signals are not there then you will know it is UCCNC config problem.
    If these signals are there then the UCCNC producing the signals properly and in this case you can go on with your measurement with measuring the signals on your BOB and on the VFD.

    I think it is possible that the signals are inverted on the BOB which can be a problem.
    And it should be also noted that the VFDs mostly work with inverted logic. for example the start signal has to be low to switch the spindle on which can be another cause why your spindle not starting.

    A measurement as mentioned above could clear things.



  8. #8
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    I think you have your parallel cable plugged into the wrong end of your C69?
    It normally gets its signals from the parallel port, so your motion controller should be plugged into the parallel port end.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  9. #9
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Quote Originally Posted by Andrew22 View Post
    I'm in the process of installing a C69 PMW board on my CNC to control a Delta VFD022E21A. I've got the board wired up and I should have UCCNC configured correctly, however when I switch the VFD to be controlled remotely it won't start. I can't find a whole lot of info when it comes to controlling this VFD with UCCNC. Even getting a basic M3 and M5 working right now would be great. So far I've checked that power is running to the board, however I don't see an LED light up by the relay when I start the spindle or send an M3, and for some reason when I check the voltage output, the voltage is the same between the 10v pin and main ground as is is between the ground pin and main ground. The analog output adjustment also doesn't seem to have any effect on the voltage when I was making adjustments. It seems as though something is not working right, or set up right with the C69 board, but hopefully someone else out there has been through this before and can offer a bit of guidance.
    That VFD is just like any other VFD... I mean, seen from the UCCNC side, there isn't really a lot of difference between different VFD. You must however start at the VFD side, check the manual and that the VFD is configured as needed. Parameters 02.00 and 02.01 are the most important for the control but the others are also important, so those must be checked as well. Check also the wiring, not only that the wires are connected but also that the are connected right and that there is really connection between the BOB and the VFD.

    One thing which is not clear for me is the type of motion controller you are using. AFAIK, the C69 is just a BoB, so you need a motion controller as well, not just the UCCNC software and the BoB. If you already have a motion controller with a license and it is not the UC100, are you sure you have it configured right and that the parallel cable is plugged into the right pin header of the controller?

    Edit:

    In that picture it looks like you are using the UC300, but as Gerry says, you plugged it into the wrong port. The motion controller should be connected to the parallel port plug of the BoB and the driver side should go to your stepper drivers.

    https://www.youtube.com/c/AdaptingCamera/videos
    https://adapting-camera.blogspot.com


  10. #10
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    So I've plugged the db25 into the other port and the relays are turning on and off with m3 and m5. Something must be off though cause both relays turn on with an m3 and the spindle won't start. There's a bit of a lag between relays shutting off, so m5 makes the spindle start briefly before shutting down. I don't have anything specified for the m4 pin, don't know what it corresponds to on the c69 but that could be the problem right now


    Sent from my iPhone using Tapatalk



  11. #11
    Member
    Join Date
    Jun 2015
    Location
    Sweden
    Posts
    943
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    You not listening, just typing.

    I think it is possible that the signals are inverted on the BOB which can be a problem.
    And it should be also noted that the VFDs mostly work with inverted logic. for example the start signal has to be low to switch the spindle on which can be another cause why your spindle not starting.
    You probably have the start signal polarity inverted.



  12. #12
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    As a quick test I removed the wires from the second relay so it can only send an M3 forward signal, and that did the trick. I would like to have the option for reverse, but for now at least I'm up and running. One thing I've noticed now is that my speed will vary about 15hz between cutting and free spinning which it never used to do. I can both hear it and see the VFD display going back and forth. I've tuned the analogue output on the board so that it's accurate at 12000, 18000 and 24000 rpms, but if I go down to 6000 I'm off by about 600-900 rpms. Any ideas what would be causing this?



  13. #13
    Member
    Join Date
    Jun 2015
    Location
    Sweden
    Posts
    943
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Quote Originally Posted by Andrew22 View Post
    As a quick test I removed the wires from the second relay so it can only send an M3 forward signal, and that did the trick. I would like to have the option for reverse, but for now at least I'm up and running. One thing I've noticed now is that my speed will vary about 15hz between cutting and free spinning which it never used to do. I can both hear it and see the VFD display going back and forth. I've tuned the analogue output on the board so that it's accurate at 12000, 18000 and 24000 rpms, but if I go down to 6000 I'm off by about 600-900 rpms. Any ideas what would be causing this?
    wrong settings.



  14. #14
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Do you have the jumper set correctly for the direction pin? Measure the voltage at the direction pin, and make sure that it's changing when you send an M3 and M4.

    I've tuned the analogue output on the board so that it's accurate at 12000, 18000 and 24000 rpms, but if I go down to 6000 I'm off by about 600-900 rpms. Any ideas what would be causing this?
    You need to measure the analog voltage and see if at 6000rpm, is it 1/4 of what it is at 24,000.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  15. #15
    Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    1899
    Downloads
    2
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Quote Originally Posted by Andrew22 View Post
    So I've plugged the db25 into the other port and the relays are turning on and off with m3 and m5. Something must be off though cause both relays turn on with an m3 and the spindle won't start. There's a bit of a lag between relays shutting off, so m5 makes the spindle start briefly before shutting down. I don't have anything specified for the m4 pin, don't know what it corresponds to on the c69 but that could be the problem right now


    Sent from my iPhone using Tapatalk
    I think you have configured both UCCNC and the VFD wrongly. Disconnect the BoB and just connect a piece of wire to the same terminals of the VFD where the relay is connected. If the VFD and the spindle starts then your VFD configuration should be right, but if not then you should start at that end, fix the VFD configuration first before moving on.

    Once the VFD is OK you should check the wires, as I already mentioned but you seem have missed or ignored. Configuring UCCNC is pretty simple, but you must make sure everything else is right before you move to UCCNC.

    https://www.youtube.com/c/AdaptingCamera/videos
    https://adapting-camera.blogspot.com


  16. #16
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    I've been troubleshooting the speed variation with Arturo from CNC4PC as well, and changing the frequency to 800Hz in UCCNC helped (VFD is 400Hz) in getting the set speed closer to the actual speed, however I'm getting fluctuations of about 600-900 rpm when the spindle is running, now matter what speed I have it set to. It doesn't matter if its under load or not, but it appears that theres a slight voltage fluctuation coming from the 10v output. Does this sound like a bad component on the board or could it be something else?



  17. #17
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    however I'm getting fluctuations of about 600-900 rpm when the spindle is running, now matter what speed I have it set to. It doesn't matter if its under load or not, but it appears that theres a slight voltage fluctuation coming from the 10v output. Does this sound like a bad component on the board or could it be something else?
    Did you measure the voltage?
    I got a similar issue with my MB2 and Huanyang. When I measured the voltage, there was zero fluctuation. I found others with the same issue. One person said it was a noise issue. I added a capacitor across the analog voltage, and it got better, but didn't go away completely. So I switched to Modbus for speed control, which is 100% stable. In my case, I'm pretty sure that it's an issue with the VFD.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  18. #18
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    139
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Yes, I measured the voltage and it fluctuates by about 10-15 %. Noise could be a factor, but I don't have an oscilloscope to check. I was reading through the other thread about Modbus control, and that looks like it's worth testing out. I kinda wish I had known about that option before getting the breakout board, but I didn't anticipate these kinds of issues with PWM. It would be really nice to have spindle speed feedback too. After the crash I dealt with I think a macro that would trigger the e-stop if spindle RPMs drop below a certain % of set speed would be very useful and would have saved me a lot of time checking and realigning my z axis.



  19. #19
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Yes, I measured the voltage and it fluctuates by about 10-15 %.
    Then it sounds like the speed control board is faulty.
    My MB2 outputs a perfectly stable voltage. But the Huanyang VFD still fluctuates.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  20. #20
    Member
    Join Date
    May 2006
    Location
    US
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default Re: C69 PWM Board and UCCNC

    Check the jumpers for operation mode on the C69 for either INT or US mode. The manual shows you what signal combinations cause which relay to toggle. In INT mode, if no PWM signal is present, no relays will be activated. If you don't have a scope to verify PWM is getting to the board, some multimeters have a Hz readout and you can check the base frequency (e.g. 400 Hz).



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

C69 PWM Board and UCCNC

C69 PWM Board and UCCNC