587,997 active members*
2,152 visitors online*
Register for free
Login
Page 11 of 26 91011121321
Results 201 to 220 of 574

Hybrid View

  1. #1
    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

  2. #2
    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)

  3. #3
    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

  4. #4
    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

  5. #5
    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)

  6. #6
    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?

  7. #7
    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)

  8. #8
    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)

  9. #9
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Hello Everyone,

    I think we may be there to finally take the label of Test off the plugin, thank you all who helped with testing and removing these bugs quickly. I ask hopefully one last time for those who can to test and post back your results with system specs, especially those who were having those random 0 frequency loads and skipped sets with spindle override.


    Attachment 361364


    Thanks,
    Dan

  10. #10
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,
    thank you very much for your hard work on the plugin! Awesome!
    Do you want me to test this version Test7 on UCCNC 37 and Windows10 (Intel I3)? I can collect some systems specs.
    It is night here, my wife and son are sleeping, the machine room is just next to the bed room, and I would avoid to wake them up with a series of noisy tests...
    Though, I would be able to do it tomorrow morning.

    I did not have problems with test version 2 or 3 (I don't remember), the one that does not have the connection confirmation pop-up at the start, and that one just works fine.

    Getting noticed by a pop-up window only in case of a communication failure could be very nice... But I believe you already build that functionality in.
    Regards,
    Jack.

  11. #11
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    Good news and bad on Test7
    The Sact comes up as matching the Sset everytime.

    However when you start the spindle it may or may not be the speed shown on the Sact that the spindle starts at.

    https://goo.gl/photos/uqZ1fBw27FRemVFT8

    Sorry for the bad news.
    I'm picking that my laptop is slow and is a worst case and fails more than others.

    I am working today but will test ASAP anything you need done.


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

  12. #12
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Hi Jack whenever you have time would be great. Our time difference is a killer, I'm about to go out to eat.

    Thanks,
    Dan

  13. #13
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Hey Peter,

    Yes that's disappointing, unfortunately I don't know what more I can do on plugin end. Briefly... the plugin uses the same variable sent to Sact for calculation of HZ, I been using all day and working flawless. You need to check on your end for possible noise related issues that can be the cause. I see you have your VFD right next to your controllers, I couldn't see if you were using a shielded cable from RS-485 and spindle.

    I also see you have a speed control knob, have you tried disabling it? I think there's a jumper for this along with additional PD settings in VFD software, I read of many having trouble with this control. I'm certainly going to double check everything on plugin end.

    Dan

  14. #14
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by Dan911 View Post
    Hey Peter,

    Yes that's disappointing, unfortunately I don't know what more I can do on plugin end. Briefly... the plugin uses the same variable sent to Sact for calculation of HZ, I been using all day and working flawless. You need to check on your end for possible noise related issues that can be the cause. I see you have your VFD right next to your controllers, I couldn't see if you were using a shielded cable from RS-485 and spindle.

    I also see you have a speed control knob, have you tried disabling it? I think there's a jumper for this along with additional PD settings in VFD software, I read of many having trouble with this control. I'm certainly going to double check everything on plugin end.

    Dan


    I really, really appreciate all the help you have given in trying to sort this out for me and others.
    It makes sense that if I am the only one experiencing the speed issue then it is something at my end.
    I have been in the fault finding game too long to blame or rule out any particular part as ok until I have tested and proved it.

    I am very mindful through out all my testing of the noise issue given where the VFD is located, though realistically the cable will be run to it no matter where I put the thing.

    The cable from the VFD to the RS485 is a balanced shielded cable with the shield connected to earthed.

    To make sure the problem wasn't noise from the VFD I did the tests with the spindle unplugged and just monitored the VFD display to make sure the speed was changing.
    It still fails for me though and using an audio probe I can hear the data being sent from the RS485 to the VFD so I'm sure the plugin is solid.
    That is why I was thinking it may be an RS485 adapter issue. Maybe its output is dodgy.
    I have already ordered a unit with the same chipset that Gerry and Jack are using to see if it produces different results and will post my findings.
    It could also be an issue with my VFD but I don't see myself getting a spare one at this time.

    The Jumper is in the VI position on my VFD and I had setup Analogue speed control just before moving onto RS485 to see how it went.

    I will also go back to Mach3 and give it a damn good thrashing to see if I can fault it as well.

    Once again thank you for all the hard work you have put into this.

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

  15. #15
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    I really, really appreciate all the help you have given in trying to sort this out for me and others.
    It makes sense that if I am the only one experiencing the speed issue then it is something at my end.
    I have been in the fault finding game too long to blame or rule out any particular part as ok until I have tested and proved it.

    I am very mindful through out all my testing of the noise issue given where the VFD is located, though realistically the cable will be run to it no matter where I put the thing.

    The cable from the VFD to the RS485 is a balanced shielded cable with the shield connected to earthed.

    To make sure the problem wasn't noise from the VFD I did the tests with the spindle unplugged and just monitored the VFD display to make sure the speed was changing.
    It still fails for me though and using an audio probe I can hear the data being sent from the RS485 to the VFD so I'm sure the plugin is solid.
    That is why I was thinking it may be an RS485 adapter issue. Maybe its output is dodgy.
    I have already ordered a unit with the same chipset that Gerry and Jack are using to see if it produces different results and will post my findings.
    It could also be an issue with my VFD but I don't see myself getting a spare one at this time.

    The Jumper is in the VI position on my VFD and I had setup Analogue speed control just before moving onto RS485 to see how it went.

    I will also go back to Mach3 and give it a damn good thrashing to see if I can fault it as well.

    Once again thank you for all the hard work you have put into this.

    Cheers
    Peter
    I just watched your video again and seen on/off worked no problems and frequency is your problem. I can't help but feel that speed control pot may possibly be the problem, you have two choices with jumper with 3 pins, analog or pot and you are using neither, have you tried just removing jumper?

    With the plugin sending 100hz to VFD for 6000rpm and it starts at 9000rpm makes me think there's some sort of interference.

    Dan

  16. #16
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by Dan911 View Post
    I just watched your video again and seen on/off worked no problems and frequency is your problem. I can't help but feel that speed control pot may possibly be the problem, you have two choices with jumper with 3 pins, analog or pot and you are using neither, have you tried just removing jumper?

    With the plugin sending 100hz to VFD for 6000rpm and it starts at 9000rpm makes me think there's some sort of interference.

    Dan
    The VI setting is analogue which is what it is currently set too. The other option is VR which is the POT but I can give removing the link it a go if you like.

    I agree the frequency is the problem but the 9000 comes not from noise but because that is the speed it was left at on the previous test.
    I just closed down and reopened UCCNC again which would have resent the speed info to the VFD and I'm sure it did.
    I just think my VFD is not reading it properly. Some sort of communication error

    I am thinking of trying different baud rates and parities to see if it helps in any way.
    I really think the plugin is good and it is just something here that is causing the issue. Hopefully the RS485 adapter.

    I would imagine noise would not be an issue until the spindle starts. I have everything else turned off in the workshop. Once the spindle starts all bets are off.

    I will try everything I can think of and let you know how I get on.
    I'm sure it isn't the plugin.


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

  17. #17
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    you have two choices with jumper with 3 pins, analog or pot and you are using neither,
    It's actually set to pins 2-3 for the onboard pot, and 1-2 for all other methods. (I think).
    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. #18
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Peter,
    can you post these setting of your VFD, please?
    I'd like to check them for you.

    Assuming a 400Hz/24000RPM spindle motor (otherwise it might be 300Hz/18000RPM).
    PD001 - Probably already set to 2
    PD002 -> Important, must be set to 2
    PD003 - 400 (Hz)
    PD004 - 400 (Hz)
    PD005 - 400 (Hz)
    PD008 - Maximum rated motor voltage
    PD011 - below or equal 120 for a 400Hz spindle motor , 90 for a 300Hz spindle motor
    PD044 - 2
    PD070 - 0
    PD072 - 400 (Hz)
    PD141 - rated spindle motor voltage
    PD142 - rated spindle motor current
    PD143 - 2 (No of motor poles, likely 2)
    PD144 - 3000
    PD163 - 1 (should be OK)
    PD164 - 1 (should be OK)
    PD165 - 3 (Should be OK)

    I skipped some Vf curve parameters (PD006, PD007, PD009, PD010) and some others as well, as it's not the issue, I guess.
    My jumper (at the right side of the terminal blocks) is set to the left (VI), and I have nothing connected to the VI terminal.
    If the parameters are set right, the jumper shouldn't matter, I guess, but this just to have a reference, because you are still having the speed issue.

    Kind regards,
    Jack.

  19. #19
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Hi Jack


    Here are my settings.
    Mine is a 2.2kw 220 volt 10 amp 400hz spindle

    PD001 - 2
    PD002 -> 2
    PD003 - 400 (Hz)
    PD004 - 400 (Hz)
    PD005 - 400 (Hz)
    PD008 - 220
    PD011 - 100
    PD044 - 2
    PD070 - 0
    PD072 - 400 (Hz)
    PD141 - 220
    PD142 - 10
    PD143 - 4
    PD144 - 3000
    PD163 - 1
    PD164 - 0 (I did all my testing at 9600 but have just reduced it to 4800 1/2 an hour ago and it has reduced the incidence of missing speed changes while steppng through spindle speeds but not this inital start speed.)
    PD165 - 3

    The link is in the left (VI)

    For some obscure reason mine is not receiving the inital setup speed when it first initalizes everytime. (Enen with my lower baudrate set.
    This bit makes no sense logically as it should fail intermittently not every time.
    I can enter MDI command eg S10000 and it will set the speed in the spindle no problem.

    Could I ask you to do a quick test for me.
    Open UCCNC and start your spindle and set its speed to 10000 or similar that is different from the inital speed your spindle normally starts at. eg mine is 6000RPM
    Stop the spindle and close UCCNC
    Open UCCNC and press spindle start.
    Read the VFD display and let me know if it is the start speed or the speed you left it sitting at when you closed it down.
    Mine always starts at the previous speed not 6000 as it should.

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

  20. #20
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Peter,
    Note RPM min is 4000 for me and max is 24000 of course.
    I used Plugin Test7.
    START:
    After starting UCCNC, readings on screen are: Sset: 4000.0, Sact: 0.0
    Sact is always 0, because I do not use an analog signal back from the VFD to the UC300ETH-5LPT.
    When I start the spindle the VFD reads 4000.
    In the MDI, I enter S10000, the spindle speeds up and the VFD reads 10000 (my pot is set at 101%, so slightly higher, actually), Sset: 10000.0, Sact: 0.0
    I stopped the spindel and closed UCCNC en then started UCCNC, al is now working as from the 'START:' above.

    I think the initial speed is the low setting in the plugin, and will always be reset to that value after closing and opening UCCNC, wether that is desired or not.
    If that is your issue, it is the same here, however, for me it isn't an issue, because I use the S command in my gcode, so it will always be set to a desired value once I start a job.
    And I always have control from 25%-300% by a potentiometer (also on feed)

    I hope this helps.

    Hi Dan,
    I used Test7 and do not find concerns in my case, in the short tests I did.
    System: Shuttle DS67U3, Windows 10, fanless, 256GB SSD, 16GB memory, Intel Core i3-6100 (2 cores @ 3700 MHz), Intel HD Graphics 520.

    Kind regards,
    Jack.

Page 11 of 26 91011121321

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
  •