586,409 active members*
3,102 visitors online*
Register for free
Login
Page 12 of 29 2101112131422
Results 221 to 240 of 574
  1. #221
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Peter sorry... please wait before testing Test4. I need to update settings for check don't won't allow speed to prematurely set like shown in your vid.

  2. #222
    Join Date
    Oct 2013
    Posts
    20

    Re: Huanyang VFD Macro/ Plugin

    Dan,

    don't want to cloud issue, but this may in fact help;

    UNCNC 1.2037
    HYPLUGIN95

    Starts Spindle everytime.

    HYPLUGIN98 VFD Relay active, no speed from spindle (similar to Peters issue).

    Switch back to 95 works.

    I return to 98 version, redo and save everthing. Restart UCCNC, spindle doesn't work (as expected).

    But here is the interesting bit; NO pc restart, close UCCNC, open MACH3, firmware updates. Spindle OK. Close and start UCCNC, FIRMWARE is updated and the SPINDLE works.

    Gordon.

  3. #223
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    That's much better Dan It starts.

    I installed Test4 into my XP laptop and it starts everytime so far.
    I still have that odd speed update issue I showed in the video and I should mention that it can intermittently cause the spindle to not turn on or off as well.
    It is something I noticed on the plugin version HY99 so it could be an issue with the RS485 adapter I am using.
    I should purchase a different adapter and give it a try. It might be a compatability issue.


    I made a new video clip to show the new plugin in action.

    https://goo.gl/photos/mfEKHk9NHaD7rmSP9

    Cheers
    Peter
    I see I was too late with previous post...LOL

    No it's not the adapter, give me a few min with update plugin with that fixed.

  4. #224
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    Strange that the Test 2 from yesterday is 100% reliable for me? I was just doing some stepper drive testing, and running a short g-code program that also ran the spindle, and it worked fine every time, for 30-40 cycles I ran over an hour or so.
    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)

  5. #225
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    Strange that the Test 2 from yesterday is 100% reliable for me? I was just doing some stepper drive testing, and running a short g-code program that also ran the spindle, and it worked fine every time, for 30-40 cycles I ran over an hour or so.
    It basically works but has a few little bugs that I'm ironing out. The biggest is sometimes when it loads Sact is 0, this is the problem Peter was having. All you have to do is set a frequency with MDI or just click spindle override plus or minus once.

    The most important thing to remember is whatever is showing in Sact field is what the VFD is set to, so if it loads up and is zero that's what VFD frequency is set at. At least that's how it suppose to work and soon will.

  6. #226
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by zymurgy42 View Post
    Dan,

    don't want to cloud issue, but this may in fact help;

    UNCNC 1.2037
    HYPLUGIN95

    Starts Spindle everytime.

    HYPLUGIN98 VFD Relay active, no speed from spindle (similar to Peters issue).

    Switch back to 95 works.

    I return to 98 version, redo and save everthing. Restart UCCNC, spindle doesn't work (as expected).

    But here is the interesting bit; NO pc restart, close UCCNC, open MACH3, firmware updates. Spindle OK. Close and start UCCNC, FIRMWARE is updated and the SPINDLE works.

    Gordon.
    This is a bug I'm working on . When you load UCCNC and Sact field reads zero you need to set a frequency and your good to go. Providing you set this up in HY config. When you go to Mach3 probably that plugin is setting a frequency on VFD.

  7. #227
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    That's much better Dan It starts.

    I installed Test4 into my XP laptop and it starts everytime so far.
    I still have that odd speed update issue I showed in the video and I should mention that it can intermittently cause the spindle to not turn on or off as well.
    It is something I noticed on the plugin version HY99 so it could be an issue with the RS485 adapter I am using.
    I should purchase a different adapter and give it a try. It might be a compatability issue.


    I made a new video clip to show the new plugin in action.

    https://goo.gl/photos/mfEKHk9NHaD7rmSP9

    Cheers
    Peter
    Hi Peter,

    I would appreciate when you have a chance to confirm if this fixed all your problems.

    Attachment 361300

    I really appreciate your help,

    Dan

  8. #228
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    I finally understand what you were saying about the spindle starting even though the speed on Sact is 0
    If I repeat the test after repowering the VFD it wont run because it doesn't have a speed set in it.
    If I had previously had the spindle running then it uses the speed set in the VFD.

    Things finally sink in if I think about them long enough.

    Cheers
    Peter
    The ingenuity of idiots is unlimited.
    http://www.youtube.com/user/cncnutz

  9. #229
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    The new version seems to work fine for me. I don't see any difference, and am getting 100% reliability.
    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)

  10. #230
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    I finally understand what you were saying about the spindle starting even though the speed on Sact is 0
    If I repeat the test after repowering the VFD it wont run because it doesn't have a speed set in it.
    If I had previously had the spindle running then it uses the speed set in the VFD.

    Things finally sink in if I think about them long enough.

    Cheers
    Peter
    Yes, don't look at Sact field as actual spindle speed, look at is as what your VFD is set to. When you first start UCCNC and Sact reads 0 and turn spindle on its sending 0 frequency to VFD.

    Dan

  11. #231
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    The new version seems to work fine for me. I don't see any difference, and am getting 100% reliability.
    On some computers(slower) sometimes only when you first start UCCNC Sact field reads zero and this is what VFD is set to, it should read min RPM. I haven't been able to reproduce this on my office comp(Quad core) but on my machine comp with XP it randomly does. What I suspect is happening is the plugin is setting frequency before finishing reading the new settings file. This problem surfaced when removing connection window with new settings file.

    I really haven't had time to really go over other than at night when I finally sit and enjoying my glass of wine or 2 which isn't the best combination...lol

    I do have time today and hope to clean this up and do some cut testing.

    Dan

  12. #232
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    I have now tested the new Test5 plugin and have the same results I got before.
    The Sact comes up as 0 but the spindle starts anyway.
    It starts at what looks like the previous speed setting it had as opposed to Sset value.
    It is still missing out speed changes as well.
    To make sure this issue is not noise related I unplugged the spindle from the VFD and just manually checked the VFD speed readout. The problem still occurs with the spindle disconnected so it is unlikely to be noise related.

    I made another video of the plugins behavour

    https://goo.gl/photos/EeqeSCzGAFCX4Azw5


    I don't pretend to know how to make a plug in or even how it works but I wonder if it would be a good idea to send each on / off / speed command 3 times , 0.5 sec or 1 sec apart just in case it is missed by the VFD on occassions.
    with the wide range of RS485 adapters and HY VFD varriants I wonder if it would make a more robust communication.
    Like I said I don't know much about this, you may already be doing it or it may not even be possible or desirable but I thought I would mention it anyway.

    I really appreciate the time you are spending on this.

    Cheers
    Peter
    That's like having to click on the cycle start button 2-3 times before it starts cutting your G code program, it would be putting a band-aid on a cut that needs stitches.

    I will clean it up today.

    Dan

  13. #233
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    I just thought I should test, to make sure no new bugs creep in.
    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)

  14. #234
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    I just thought I should test, to make sure no new bugs creep in.
    Hoping to remove these little bugs and not add new ones...Hoping

    I found where the issue is and heading to basement to test on machine, even though you haven't seen this bug you should download. This fix will also stop the speed override from setting improper speed when using speed override very quickly.

    Dan

  15. #235
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Ger, I'm having a minor issue with 2017 screenset and not sure if it's the plugin causing it or me modifying the screen for amp field or neither. When screen loads the speed override sliding bar is all the way to right and when I hit reset it goes all the way left. Not in middle like Feedrate. UCCNC 37, no issues with default.

    Attachment 361348

  16. #236
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    It's a bug in UCCNC, I just reported it. The reset buttons move the sliders all the way to the left, but set the DRO's at 100%
    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)

  17. #237
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    Actually, the spindle override should be all the way to the right.
    Feedrate is 0%-200%, so 100% is in the middle.
    Spindle speed is 50%-100%, so 100% is all the way to the right.
    You can change the min and max with the screen editor, by selecting the sliders.

    The bug is when you click Reset, as they shouldn't be moving all the way to the left.
    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)

  18. #238
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    Actually, the spindle override should be all the way to the right.
    Feedrate is 0%-200%, so 100% is in the middle.
    Spindle speed is 50%-100%, so 100% is all the way to the right.
    You can change the min and max with the screen editor, by selecting the sliders.

    The bug is when you click Reset, as they shouldn't be moving all the way to the left.
    Can it be reset to middle so you have a choice of a higher or lower RPM?

  19. #239
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by Dan911 View Post
    Can it be reset to middle so you have a choice of a higher or lower RPM?
    Ok I typed before thinking. I set max to 200% and min to 0 and works perfectly.

    Although when I hit reset it goes all the way left and sets a 100% when the middle should be 100%.

  20. #240
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    Although when I hit reset it goes all the way left and sets a 100% when the middle should be 100%.
    CNC Drive just confirmed that this is fixed in the next version.
    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)

Page 12 of 29 2101112131422

Similar Threads

  1. Accessing Macro Variable from another macro
    By ex-egll in forum Mach Wizards, Macros, & Addons
    Replies: 1
    Last Post: 02-01-2014, 06:52 AM
  2. Replies: 2
    Last Post: 12-19-2012, 01:28 PM
  3. Replies: 3
    Last Post: 02-13-2012, 07:20 PM
  4. Replies: 2
    Last Post: 03-27-2009, 09:15 PM
  5. Convert Fanuc Macro to Fadal Macro
    By bfoster59 in forum Fadal
    Replies: 1
    Last Post: 11-09-2007, 06:41 AM

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
  •