603,365 active members*
3,983 visitors online*
Register for free
Login
Page 14 of 29 4121314151624
Results 261 to 280 of 574
  1. #261
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,
    to be honest, that is because I am totally clueless, how to configure it.
    In the plugin, for the Sact Labelnumber, I should fill in something in the range of 20000-20999.
    As I have no clue where to get the number from, I used a dice, counted all the dots and filled in 20200.
    Of course, I didn't expect anything from this.

    At the same time, I find it kind of annoying it is always fixed to 0, but I thought (from documentation) it needed an index pin from the spindle, which of course isn't there.
    I would truly appreciate it if you could help me with this.

    Kind regards,
    Jack.

  2. #262
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    Thanks Gerry that's what I thought is meant to happen.
    I am under the impression that the Sact is got by reading the VFD and then displays it in UCCNC.
    If this is the case then how can it be wrong everytime. ( of course I could be entirely wrong on this and talking through a hole in my head, Dan will know.)
    What the plugin reads and fills Sact field with is (" Sset * spindle override = Sact")

    UCCNC is always going start with the min rpm in UCCNC spindle setup and override at 100%.

    Dan

  3. #263
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Ok, so if 20200 is set in HYPLUGIN config you now need to go to screen edit and edit Sact field.

    Goto CONFIGURATION / GENERAL SETTINGS / Edit screen. To go to your Run screen hold down shift key and press the "Run" tab on top, now click on your "Sact" feild (A red rectangle will appear around it) in screen edit window make sure "Selection tab" is selected and change the labelnumber from "870" to 20200, than click apply settings, click on File tab on top of window than click "Save screenset".

    Dan

  4. #264
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    Wow, awesome! That works like a charm!
    To test it, I entered S12000 in the MDI, the Sact field shows the Sset value * override value, the way I liked it, and when I turn the pot to 200%, it reaches 24000RPM!
    So now I can see what I'm adjusting the speed to with override, without doing the math myself!
    Thank you very much!
    BTW, when I first tried to accomplish that a week ago, I was not able to switch to the Run screen, and thought the screen editor was just buggy, instead of me. :-)

    So this way, I could add a Amp field too?

    Kind regards,
    Jack.

  5. #265
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Yes, use screen edit to copy Sact field and put where you like. Don't forget to change label number to match amp field in config.

  6. #266
    Join Date
    Mar 2003
    Posts
    35494

    Re: Huanyang VFD Macro/ Plugin

    Yes.

    I've also requested a new field from CNC Drive, that will show the SSet * Override value. It probably won't be in the default screen, but should be available for use in the next release.
    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)

  7. #267
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Ger,

    funny, I had requested it too, so there are more requests.
    Anyway, Dans plugin takes care for it now.

    And I have added the Amps field on some spot I could free a bit of space:



    Not very pretty, but it will do. :-)

    BTW, I use a touch screen, that works very nice with UCCNC!
    Attached Thumbnails Attached Thumbnails Spindle_Amps.jpg   Spindle_Amps.jpg  

  8. #268
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Nice...LOL. I put mine in same place. If you make the Cycle Stop, Free Hold and Single Line buttons height a little smaller it gives you some room.

    Dan

  9. #269
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by JackBerkhout View Post
    BTW, when I first tried to accomplish that a week ago, I was not able to switch to the Run screen, and thought the screen editor was just buggy, instead of me. :-)
    I did and thought the same when first played with screen edit.

  10. #270
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    I actually placed the those buttons closer to each other, so from top to bottom, I decreased t Y positions, I thought by 15 the first 30 the second and so on...

    jack.

  11. #271
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    may I ask, how did you develop the plugin? Which language did you use (C#, C++)? Which IDE do you use for it?
    I'd like to learn it too. I do know both C# (to a degree) and C++.

    Kind regards,
    Jack.

  12. #272
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    C# Good place to start is Documentation folder in UCCNC folder.

    Dan

  13. #273
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,

    excellent, thank you!

    Jack.

  14. #274
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Hello All,

    There's a lot a different Test versions in the past pages of this thread so wanted to put out the latest recommended version and fairly confident "Final Version". You won't get a "You are Connected Window" but will get a window if there's a connection problem.


    Download Here>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>HY10.rar.zip


    Dan

  15. #275
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,


    The new Rs485 adapter just arrived in the mail.
    I quiclkly grabbed it and went out to the workshop and installed it.
    The spindle started with the correct minimum speed for the first time which it had never done before. :banana:
    I then stepped through the speeds and it also worked as it should.
    I restarted the pc and VFD several times and retested. So far so good.
    I installed HY10 and retested. It also works as it should.
    I haven't had much time to look at it properly and will test some more when I get some time.
    I realize my test was only quick but I was able to break the last ones in minutes so it looks encouraging.
    I had tried other drivers for the Prolific adapter as you suggestedbut with no success.
    The new one is a CH340 adapter.

    I have to work late tonight so probably do won't get a chance to test further today.

    Just thought I would let you all know how the new RS485 went.

    Thanks to everyone who has given help with this

    Cheers
    Peter

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

  16. #276
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Quote Originally Posted by P.Passuello View Post
    Hi Dan,


    The new Rs485 adapter just arrived in the mail.
    I quiclkly grabbed it and went out to the workshop and installed it.
    The spindle started with the correct minimum speed for the first time which it had never done before. :banana:
    I then stepped through the speeds and it also worked as it should.
    I restarted the pc and VFD several times and retested. So far so good.
    I installed HY10 and retested. It also works as it should.
    I haven't had much time to look at it properly and will test some more when I get some time.
    I realize my test was only quick but I was able to break the last ones in minutes so it looks encouraging.
    I had tried other drivers for the Prolific adapter as you suggestedbut with no success.
    The new one is a CH340 adapter.

    I have to work late tonight so probably do won't get a chance to test further today.

    Just thought I would let you all know how the new RS485 went.

    Thanks to everyone who has given help with this

    Cheers
    Peter

    :cheers:
    Great News!!!

    Could you please mail me the old RS485 so I can smash it with a hammer...LOL

    Happy you got it going, use HY10 it has connection test back, you WON"T receive a window on startup but will if there's a problem. It also waits for connection to be set before it starts so it don't miss any commands.

    Dan

  17. #277
    Join Date
    Dec 2005
    Posts
    238
    Quote Originally Posted by Dan911 View Post
    Great News!!!

    Could you please mail me the old RS485 so I can smash it with a hammer...LOL

    Dan
    Do you have a big enough hammer?

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

  18. #278
    Join Date
    Dec 2005
    Posts
    238

    Re: Huanyang VFD Macro/ Plugin

    So I opened up the RS485 adapter tonight when I got home from work and had a look at it.
    I noticed 2 things about it.
    1st the metal case of the USB plug was not soldered to the circuit board. Not a problem as far as the operation of the adapter goes but mechanically it will cause premature failure of the device as it puts strain on the USB connectors pins and gives a clue as to the quality of the build.
    2nd I noticed that the USB to serial IC is unlabeled and it is not because the name has been scratched off as is sometimes done to hide a critical IC's identity.
    I suspect it is a copy of the Prolific 2303 chip and was not working correctly with the drivers.
    The utility on the prolific website identified it as a PL 2303 series chip so maybe it is genuine but I find it hard to believe they wouldn't put their name on it. This IC is also a well known target of counterfiet though the Prolific drivers aren't meant to work with it at all.

    Prolific Adapter (Click to enlargen)
    Click image for larger version. 

Name:	Prolific adapter.jpg 
Views:	2 
Size:	55.1 KB 
ID:	361698

    The CH340 adapter is a better build quality and the USB to serial IC is labelled (Click to enlargen)

    Click image for larger version. 

Name:	CH340 Adapter.jpg 
Views:	2 
Size:	58.5 KB 
ID:	361700

    Both use the Max485 line driver IC for output to the VFD which converts RS232 to RS485.

    Just thought you might be interested in seeing what was inside and regardless of wether it is a fake or just faulty I will be dealing out vengeance on this adapter. :devious:

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

  19. #279
    Join Date
    Mar 2010
    Posts
    813

    Re: Huanyang VFD Macro/ Plugin

    Good info for any in the market to purchase one of these, there's many to choose from on eBay.

    Dan

  20. #280
    Join Date
    Jan 2017
    Posts
    35

    Re: Huanyang VFD Macro/ Plugin

    Hi Dan,
    I have just tested HY10 and could not find any issues with it.
    Thank you very much!!!
    Kind regards,
    Jack.

Page 14 of 29 4121314151624

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
  •