585,759 active members*
4,238 visitors online*
Register for free
Login
Page 11 of 29 91011121321
Results 201 to 220 of 574
  1. #201
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Kaspars,
    to do what Dan asks, you place the cursor in the MDI field, type s18000 and hit enter.
    I'm sure you know, but your screenshot didn't reflect that, just to be sure.
    Jack.

  2. #202
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    Thank you for all your help with this. It is much appreciated.
    It appears I have confused you but I have spent the evening trying to figure out what might be going on and I think I may have found something that may help get to the bottom of this issue.
    It is probably best to disreard my previous posts and start fresh.

    All my testing for this is based on the plugin HYTest2 since this is working ok for others here.
    I am using an older laptop with windows XP SP3, running UCCNC version 1.2037 and a UC300ETH5LPT board.
    I have repowered both the VFD and the PC before starting my tests.

    I removed my ethernet cable to the UC300ETH5LPT board and start UCCNC which comes up in Demo mode.
    I select the UC300ETH5LPT option and press continue.
    UCCNC starts and after a second Sact changes from 0 to 6000 (the value Sset is set to 6000 with the overide at 100%)
    I assume the value for Sact is being read from the VFD or somewhere else bacause it takes a second to update.
    The VFD fires you and runs. (Woo Hoo)
    I can change the speed using the override buttons or using S commands.
    It works everytime I run UCCNC in demo mode.

    I plug the ethernet cable back in and restart UCCNC
    The software starts but the Sact remains at 0 even though nothing has changed in the setup.
    When I push the spindle start button the VDF goes to run mode but the speed is 0
    I cannot change the speed using either the override buttons or using S commands.
    This has behaved like this everytime I run it ith the cable connected.

    Is there a timing issue at play here?
    It seems that communication is not being established between the VDF and the PC when the UC300 is plugged in.
    I am wondering if having to deal with the UC300 is slowing the PC down.

    I hope this helps narrow it down the issue.
    Let me know what testing you would like done and I will get it done.
    I live in New Zealand so am probably in a vastly different time zone from you but will do any testing you need ASAP

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

  3. #203
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    Peter, what is your CPU usage at in Task Manager?


    I plug the ethernet cable back in and restart UCCNC
    The software starts but the Sact remains at 0 even though nothing has changed in the setup.
    I believe that this is correct. The Sact should be 0 until the spindle starts spinning.


    I've never attempted to run the spindle in Demo mode.
    And the laptop I'm testing with is an i7 processor, so it's pretty fast.
    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)

  4. #204
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    What is specs of laptop and does it meet UCCNC requirements?

    The minimal hardware requirements for the computer are as follows:
    – CPU frequency: minimum 1.8 GHz (duo or dual core is recommended.)
    – Graphics card: OpenGL 1.3 or higher compatible
    – RAM: minimum 1GB for XP and 2GB for all other supported OS.
    – Hard drive space: minimum 16GB

  5. #205
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    Peter, what is your CPU usage at in Task Manager?




    I believe that this is correct. The Sact should be 0 until the spindle starts spinning.


    I've never attempted to run the spindle in Demo mode.
    And the laptop I'm testing with is an i7 processor, so it's pretty fast.
    The neighbours probably think I'm crazy going out to the shed after midnight.
    I checked theCPU usage and it peaks at 60% in both Demo and normal mode.

    The Sact comes up before the spindle is started on my setup in Demo mode.
    Most curious.

    Is your RS485 a Prolific chiset or the CH340T chipset?

    I might have to get my I7 out to the shed and give it a try to see if it works the same as yours or my XP machine.

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

  6. #206
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by Dan911 View Post
    What is specs of laptop and does it meet UCCNC requirements?

    The minimal hardware requirements for the computer are as follows:
    – CPU frequency: minimum 1.8 GHz (duo or dual core is recommended.)
    – Graphics card: OpenGL 1.3 or higher compatible
    – RAM: minimum 1GB for XP and 2GB for all other supported OS.
    – Hard drive space: minimum 16GB
    Mine is a Compac 6730B

    Intel Core 2 Duo P8600 Processor (2.40GHz, 3MB L2 cache, 1066MHz FSB)
    15.4-inch WSXGA+ anti-glare (1680 x 1050)
    Intel GMA 4500MHD integrated graphics (up to 384MB shared memory)
    2GB DDR2 800MHz RAM.
    250GB 5400RPM Toshiba 2.5″ HDD

    only 6% of HDD is used and it runs nothing but Mach3 and UCCNC.

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

  7. #207
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    I have the CH340/341 chipset.

    I would expect my CPU usage to be less than 10%? I'm at work right now, but I'll check this afternoon.
    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. #208
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by ger21 View Post
    I have the CH340/341 chipset.

    I would expect my CPU usage to be less than 10%? I'm at work right now, but I'll check this afternoon.
    I avoided that one. Didn't know if there were XP drivers available for that chipset or not but I use the Prolific ones on XP for work and they work fine.

    I will be away from the computer for a while now.
    It is 00:35 here so will check back in the morning.

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

  9. #209
    Join Date
    Mar 2003
    Posts
    35538

    Re: Huanyang VFD Macro/ Plugin

    I avoided that one. Didn't know if there were XP drivers available for that chipset or not
    The driver I'm using says it includes an XP version.


    http://www.wch.cn/download/CH341SER_EXE.html
    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. #210
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    My Dell optiplex 380 has almost exact specs with XP except I added a Radeon video card. What troubles me is when your main screen loads you wait a second for Sset field to fill, than another second for Sact field to fill in demo mode. When my main (run) screen loads these fields are already filled. In plugin the DataReceivedHandlerEvent, read, write timeouts is set to 500ms, this should be instant 10ms-50ms. I can increase these for you but you would see a noticeable 1-2 second delay when turning spindle on, off and changing frequency. The on/off is a fixed string, the frequency does have a very small calculation before it sends and seems to be where your problem is.This may not even be your problem but another step in process of elimination.

    Since our specs are almost identical I would try first to see what's slowing comp down before slowing plugin down to accommodate. I had Compac's in the past and remember they normally have many things running in background. Another difference between our setups is I use a UC100 but many successively use the UC300ETH5. Once again this is all theory and I could be wrong.

    Dan

  11. #211
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,
    I also use the UC300ETH-5LPT, and the ch340T chip for RS485.
    My computer for UCCNC is a Shuttle DS67U3 Barebone (Intel Core i3-6100, 2 cores 3700 MHz), so plenty of speed. It runs Windows 10.
    Just for a reference, if it is useful.
    Jack.

  12. #212
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by JackBerkhout View Post
    Hi Dan,
    I also use the UC300ETH-5LPT, and the ch340T chip for RS485.
    My computer for UCCNC is a Shuttle DS67U3 Barebone (Intel Core i3-6100, 2 cores 3700 MHz), so plenty of speed. It runs Windows 10.
    Just for a reference, if it is useful.
    Jack.
    Yes it is and thanks, trying to determine what Peter's problem is become a real baffling task.

    Thanks,
    Dan

  13. #213
    Join Date
    May 2012
    Posts
    4

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by JackBerkhout View Post
    Hi Kaspars,
    to do what Dan asks, you place the cursor in the MDI field, type s18000 and hit enter.
    I'm sure you know, but your screenshot didn't reflect that, just to be sure.
    Jack.
    Thanks guys!

    Looks like problem solved.
    Also problem to reach minimum RPM`s need to change (PD011 and PD073) lower than 120Hz (7200rpm) thats why it wasn't possible go lower to 6000rpm

    One thing I don`t get - PD144: 3000 (Rated motor revolution) - should it be MAX spindle RPM`s? Why its should be so low?

  14. #214
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Kaspars,
    you are welcome! I have learned a lot from the people here, and I am glad I could help you. :-)

    Yes, 120Hz was a bit on the high side for a 300Hz spindle. 90 would be better in your case. Because UCCNC takes care of this already, I have set (left) those to 0.
    I didn't mention that at first, as that was not where your problem was, using 300% S override to reach 18000RPM.

    PD144 is set to 3000 because it is the RPM we would have at 50Hz (50*60). It is just a factor so the VFD can calculate and display the correct RPM.
    At 300Hz, it would calculate (300/50)*3000 = 18000RPM, because of this setting.
    That's how I understand it. It does not influence the motor speed control, just the reading on the display.

    Note that the torque decreases much at lower speeds, you don't want to have the spindle stalled when milling.
    On the other side, the Vf curve (PD005-PD010) is somewhat to the safe side to my believe, I have changed that a bit.
    I think your spindle motor is water-cooled, which is excellent when using lower RPM's.
    If you check your temperature, you could play with these settings, do not deviate too extreme!
    I have these settings:
    PD005: 400.00 PD008: 220.0
    PD006: 010.00 PD009: 036.0
    PD007: 001.00 PD010: 008.0
    This lifts the low end side of the curve a bit (green line), and it works very well in my case.

    More information about that can be found here:
    http://www.cnczone.com/forums/spindl...low-speed.html
    At lower RPMs the current is a bit higher, keep an eye on your amps on the VFD, especially if you go towards 4000 RPM.
    Be wise and on your own risk...
    I saw your PD041 (carrier freq.) was set to 03 (4kHz), a very nice frequency to prevent the IGBT's in your VFD from overheating!
    Keep up to good work!
    Jack
    Attached Thumbnails Attached Thumbnails vf curve graph.jpg  

  15. #215
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Simply PD144 wants to know how many RPM at 50hz and in your case 3000.

    50hz = 3000

    PD144 3000

  16. #216
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by Dan911 View Post
    My Dell optiplex 380 has almost exact specs with XP except I added a Radeon video card. What troubles me is when your main screen loads you wait a second for Sset field to fill, than another second for Sact field to fill in demo mode. When my main (run) screen loads these fields are already filled. In plugin the DataReceivedHandlerEvent, read, write timeouts is set to 500ms, this should be instant 10ms-50ms. I can increase these for you but you would see a noticeable 1-2 second delay when turning spindle on, off and changing frequency. The on/off is a fixed string, the frequency does have a very small calculation before it sends and seems to be where your problem is.This may not even be your problem but another step in process of elimination.

    Since our specs are almost identical I would try first to see what's slowing comp down before slowing plugin down to accommodate. I had Compac's in the past and remember they normally have many things running in background. Another difference between our setups is I use a UC100 but many successively use the UC300ETH5. Once again this is all theory and I could be wrong.

    Dan
    Hi Dan and thanks for he help you and Gerry are giving with this. It is Baflling

    Just to clarify the Sset field is already filled in on startup with speed of 6000.
    About a second later the Sact speed changes from 0 to 6000 in Demo mode.


    To clarify the processor usage and these are the same whether in Demo mode or not. The 60% is the maximum load I gave is while UCCNC is loading.
    Once it is loaded it sits at the 1 - 5% mark and if I move an axis it climbs to about 12% maximum.

    The PC has nothing other than Mach3 and UCCNC loaded on it though as you say it is probably loading other Compac crap as well.
    It is not connected to a network either.

    If you like I will get my I7 out and put UCCNC on it and test.
    It will be interesting to see how it behaves and it may give us a clue.

    If you wanted to increase the timeout I could give it a test. At worst it might give a clue as to what is or isn't going on.

    I can also setup serial monitor software on my laptop and capture the serial communications if that would helps in any way.

    I should also look at trying an earlier version of UCCNC (currently testing with 1.2037)

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

  17. #217
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Hi Peter,

    There's a few that reported using Test2 with UCCNC 37 and the UC300ETH-5LPT so it would seem your problem is system related, trying with a different comp will certainly help narrow down to what part of your system the plugin is having trouble with and a place for me to look and address if necessary. What I did find with Test2, with a new first install of plugin and with having connection test on startup removed it would sometimes take 2 restarts of UCCNC for new settings to load in plugin. I changed the way
    the plugin loads new settings and tested many times on Win 8.1 and XP and now loads first time. Would appreciate you giving it a try.

    Attachment 361288

  18. #218
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    I have spent the mornng doing some testing and here are the results.
    All testing done using HYTest2 plugin

    I first installed UCCNC version 1.2027 to see if it bahaved any differently on my laptop.
    It does not. The Sact still comes up as 0 and the spindle does not turn even though the VFD goes into Run mode so there is communication going on.

    Next I loaded UCCNC onto my I7 laptop for further testing
    UCCNC version 1.2037
    Plugin HYTest2

    This worked most of the time but intermittently would show the same problem that my XP laptop was experiencing.
    It also showed another issue to do with speed changes.
    I documented this in a short video which will hopefully shed some light or at least show what I am talking about better than words.

    https://goo.gl/photos/x42bavpbr9JGczyN8

    It could be my RS485 adapter or my VDF that is causing the issue or a combination of all the parts together.

    I see you just posted a new plugin as I was typing this reply so will give it a try and get back to you.

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

  19. #219
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    I just watched your video and what you are showing is the issue I'm trying to to fix and explained in previous post. Below's a list of pointers.

    1. Whatever the Sact field shows is what speed it's going to send to VFD. So if the Sact field shows 0 that's what going to be sent to VFD.

    2. When UCCNC loads with Sact field 0 all you a have to do is load a speed with MDI or click on either the plus or minus on spindle override and it will load.

    I recently had to rewrite how the plugin saves settings and these are the kinks I'm trying to work out, that's why the plugins are named Test.

    Thanks for your help,
    Dan

  20. #220
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    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
    The ingenuity of idiots is unlimited.
    http://www.youtube.com/user/cncnutz

Page 11 of 29 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
  •