586,102 active members*
2,462 visitors online*
Register for free
Login
Page 9 of 29 789101119
Results 161 to 180 of 574
  1. #161
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Thank you for your response Jack, yes the settings is what was causing the conflict with UCCNC and needed to be rewritten so redoing the config window is a must.

    Thanks again for your help,
    Dan

  2. #162
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,
    Only once, I noticed the spindle didn't switch off, after it run for 10 seconds or so. (just testing)
    On the screen I saw the button indicated "off" state, while the spindle was still running. Then I toggled it on and off again, and the spindle switched off just fine.
    I could not reproduce it in the next 30 new tries. I noticed a slight response time in a few cases (maybe up to 0.5 seconds).
    But, it appears that in very rare cases, the command does not arrive to the VFD for some reason (not sure if the VFD could be the cause).
    Note the RS485 cable is about 3 meters in length and is not shielded.
    Tonight, I will replace the cable with a shielded one, and connect the shield to DCM of the converter.
    It can become an issue if the spindle doesn't start at the beginning of a job.
    Could it be an idea to send a command twice with some short interval in between to reduce this risk?

    Update, I replace the RS485 cable for a shielded one (about 3 meters in length).
    After starting up UCCNC, I saw the connection confirmation, but the spindle did not work.
    Restarted UCCNC, again the message, but again no response from the spindle.
    Then after the next restart, all worked as expected and kept working once started.

    It's now a couple of times I saw this behavior, where, after starting UCCNC the spindle does not respond, despite good communication was reported.
    Could try to dive into that issue, Dan? I know, it is hard to reproduce this.

    Regards,
    Jack.

  3. #163
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Hi Jack, I removed the command queue when trying to pinpoint where the problem was and never put back. What this does is prevent strings from writing over each other, I rushed to get out this test version to confirm the locking up issue was fixed before I went any farther. I am surprised that spindle didn't shut off though, because when the cw or ccw led is off what suppose to happen is a manualresetevent triggers and blocks all threads and continues to send off command. This is something I definitely need to look into.

    What was your HY settings? Did you have Amps enabled?

    Dan

  4. #164
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,
    My HY settings are:
    Port: COM4, Baudrate: 9600
    Min RPM: 4000, Max RPM: 24000, Max Frequncy: 400
    Sact Labelnumber: 20200 (I don't use it)
    Checkbox for Amps: Not checked, Amps Labelnumber: (empty)
    Checkbox for RPM ONLY on/off WONT WORK!!!: Not checked
    Kind regards,
    Jack.

  5. #165
    Join Date
    Nov 2006
    Posts
    40

    Re: Huanyang VFD Macro/ Plugin

    Dan, I know this won't help you much, but I've been using your latest plugin along with the latest version of UCCNC for the last few days, I have the sact field and amps field both enabled and working and have not had any problems with UCCNC locking up.
    I've cut a couple of jobs adding up to approx 3 hrs work without any issues.
    UC 300eth, Windows 10 on an eight year old celeron pc..

    Sent from my MotoG3 using Tapatalk
    Mark

  6. #166
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by JackBerkhout View Post
    Hi Dan,
    My HY settings are:
    Port: COM4, Baudrate: 9600
    Min RPM: 4000, Max RPM: 24000, Max Frequncy: 400
    Sact Labelnumber: 20200 (I don't use it)
    Checkbox for Amps: Not checked, Amps Labelnumber: (empty)
    Checkbox for RPM ONLY on/off WONT WORK!!!: Not checked
    Kind regards,
    Jack.
    ok, just got back to desk let me clean this up and send you new test

  7. #167
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by mphel View Post
    Dan, I know this won't help you much, but I've been using your latest plugin along with the latest version of UCCNC for the last few days, I have the sact field and amps field both enabled and working and have not had any problems with UCCNC locking up.
    I've cut a couple of jobs adding up to approx 3 hrs work without any issues.
    UC 300eth, Windows 10 on an eight year old celeron pc..

    Sent from my MotoG3 using Tapatalk
    I been using for some time with no issues but the problem is there. If I started from a cold boot and click fast on UCCNC interface tabs it would lock up. This is something I normally never do is why I never experienced it, it seems it effects some systems more than others.

    I appreciate your input,
    Dan

  8. #168
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Ok heres test2, I added back what I removed for debugging, I really have to go over this thoroughly since I made a mess debugging but this should be good.

    Attachment 361182

    Thanks for all the help will get it right soon...LOL
    Dan

  9. #169
    Join Date
    May 2012
    Posts
    4

    Re: Huanyang VFD Macro/ Plugin

    Hello,

    Mby some more competent person can help me out in this.

    Followed to this thread from beginning and yesterday got all my parts - HY VFD and my 3KW spindle (300Hz/18000RPM), also got converter RS485.
    Downloaded that DLL file "HY8" and set needed settings, everything works quite well so far.

    Problem is with min and max speeds - as I don`t know actual min speed i set it on 6000 and max on 18000 to reach max speed on UCCNC i need to adjust it till 300% as 100% is 6000.
    When I trying to set lower min speed through plugin settings like 5000rpm then when I adjust speed to 300% it reaching only 15000rpm instead of 18000.

    I`m doing something wrong or it should be so or there is some specific internal settings in VFD for that?

    I just would like to have that my spindle min speed is 4000rpm and max 18000rpm

    Thanks,
    Kaspars

  10. #170
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    You definitely shouldn't try to run spindle until you have your settings correct in VFD, you can fry spindle or worse... both

    Did you set up your VFD with proper settings? Did you use MDI to set speed to 18000 rpm (S18000).

    If you set RPM to 18000 and and its not running at 18000 than your settings are incorrect with the VFD, your min rpm setting in HY config won't do anything. If you don't have settings let me know and I'll post link.

  11. #171
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    You max rpm needs to be 18000 and your min at 6000 is fine unless you have a air cooled spindle than I suggest 8000

  12. #172
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    the plugin works flawless! Excellent work!
    I haven't seen any issues now!

    Kind regards,
    Jack.

  13. #173
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Kaspars,

    what 3kW spindle motor do you have? (voltage, current rating)
    Can you post these parameters of the VFD?

    PD003:
    PD004:
    PD005: PD008:
    PD006: PD009:
    PD007: PD010:
    PD011:
    PD041:
    PD070:
    PD071:
    PD072:
    PD073:
    PD141:
    PD142:
    PD143:
    PD144:
    PD145:

    Do you read the RPM on the VFD display?
    Assuming you have a 18000RPM Spindle motor (300Hz), for correct reading on the VFD, PD144 should be set to 3000. And PD143 (number of motor poles) most likely to 2.
    Thank you very much!

  14. #174
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    I just did some testing with the last version you posted (1.00099?).
    I had UCCNC running for about 30 minutes. started and stopped the spindle maybe 25-30 times, and changed rpm probably 50 times, and no lockups.
    But.
    I never got the message saying the VFD was connected. But it worked fine right from the first try.
    I did restart UCCNC 2-3 times as well.
    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)

  15. #175
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    I just did some testing with the last version you posted (1.00099?).
    I had UCCNC running for about 30 minutes. started and stopped the spindle maybe 25-30 times, and changed rpm probably 50 times, and no lockups.
    But.
    I never got the message saying the VFD was connected. But it worked fine right from the first try.
    I did restart UCCNC 2-3 times as well.
    That's great, I disable the window when testing. This is the same test with connection test enabled.

    Attachment 361194


    Thanks again for all your help,
    Dan

  16. #176
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    Unless you change something else, I prefer to not get the window, so I'll keep the other 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)

  17. #177
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan

    I have been testing your new plugins this morning with the complete opposite results as everyone else.
    I am running windows XP service pack3 which might be the cause but I think I read that you had also tested it on XP.
    HYTest2 when I push the spindle start the VFD goes into run as I can see by the VFD display change but the speed is 0
    additional speed commands still leaves the speed as 0

    I then tried HYTest3. It comes up with VFD is not connected and it doesn't start the spindle , or at least it doesn't start the VFD with 0 speed like Test2 version did.

    I switch back to version 95 and it works again.

    I am also having a problem with the 95 version
    It concerns the changing of speeds. When I run through the speeds using the up and down buttons it intermittently misses a speed change and does 2 on the next change.
    I know the instruction is sent to the VFD as I have a cable probe that lets me hear the data burst being sent.
    I don't seem to have the same issue using the Mach3 plugin though and I wonder if the instruction is sent multiple times for reliability.
    There is contineous communication on the Mach3 plugin.
    It may be a noise issue so I am replacing the cable with a balanced screened cable and will do more testing on this.

    Not sure why mine is behaving so wildly different from the others.

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

  18. #178
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    Peter, did you click both the Save buttons in the plugin Config?
    You need to save both the Port info, and the RPM/Frequency info.
    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)

  19. #179
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    I'm sure I did but I will go out and test right now.

    Thanks Gerry
    The ingenuity of idiots is unlimited.
    http://www.youtube.com/user/cncnutz

  20. #180
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    For Dan, I forgot to add:

    Windows 10 Pro
    UCCNC 1.2037
    2017 Screenset

    This RS-485 converter: https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
    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 9 of 29 789101119

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
  •