Reset output pulse and MPG for FRO, JRO, SRO

Results 1 to 7 of 7

Thread: Reset output pulse and MPG for FRO, JRO, SRO

  1. #1
    Registered
    Join Date
    Mar 2004
    Location
    UK
    Posts
    392
    Downloads
    0
    Uploads
    0

    Default Reset output pulse and MPG for FRO, JRO, SRO

    So whilst I am still waiting for some bits of hardware to arrive before I start my next build in ernst I have started to think about my controller cab build.

    I will be using UCCNC with a UC400eth and UB1 BOB along with Ger21's 2017 sceenset.
    Hardware will be Leadshine EL5 servo controllers which are very industrial and have excellent IO.

    My first question is can UCCNC output a short pulse to be used as a alarm clear to the servo drives upon reset?

    My current DIY build is based on Mach3 with a CSMIO-S controller and the same servo drives and the Mach3 CSMIO plugin has a defined output for Alarm Clear.
    This is very useful when there has been a crash or anything that causes a single servo to error our as it means that the entire system does not have to be power cycled to bring the servos back to operation.


    My other question is around the use of simple Rotary encoder instead of potentiometers.
    My current build uses a Pokeys 56u for all the front panel buttons etc and I use 3 very cheap and simple Rotary encoders wired as MPG's and assigned to the feed, spindle and jog overrides (in the Pokeys plugin).
    I have been reading through the UCCNC manual and I can only see the use of analogue potentiometers to accomplish this.
    The Rotary encoders have the advantage that there is no upper of lower limit to the override range and they don't physically need to be "zero'd" i.e when the system boots the DRO's will all be at 100% no mater where the pulse generator is positioned unlike a POT (and you can use the on screen override "reset" button).
    Is there a way to use these in the same manor in UCCNC?

    Rotary encoder example:
    Reset output pulse and MPG for FRO, JRO, SRO-s-l500-jpg

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: Reset output pulse and MPG for FRO, JRO, SRO

    Not sure how short the pulse needs to be, but maybe write a macro to activate the output, then deactivate it, with a short wait in between?

    As for the encoders, you need to write a macroloop to do it.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered
    Join Date
    Mar 2004
    Location
    UK
    Posts
    392
    Downloads
    0
    Uploads
    0

    Default Re: Reset output pulse and MPG for FRO, JRO, SRO

    Two responses to that Ger.

    1, Thanks for the info. It's good to know it can be done with a bit of code.

    2, Damn, it needs code to be done! ;-)

    Looks like i'll be tapping up my Dev friend when it comes to to get all this integrated ( I need an ATC macro written as well).

    P.S. I just purchase your 2017 screenset as I am building the PC system for UCCNC at the moment.



  4. #4
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: Reset output pulse and MPG for FRO, JRO, SRO

    Thanks,
    I'll send you the link when I get home from work.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  5. #5
    Registered
    Join Date
    Mar 2004
    Location
    UK
    Posts
    392
    Downloads
    0
    Uploads
    0

    Default Re: Reset output pulse and MPG for FRO, JRO, SRO

    Cheers, no rush.

    Can't imagine using Mach3 without your 2010 screenset. It gets used everyday in production.
    2017 will be installed from day one.



  6. #6
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: Reset output pulse and MPG for FRO, JRO, SRO

    I was going to make some major changes to 2017 later this year, but I may just create a completely new screen and include it with the 2017. There have been a lot of changes in UCCNC that I need to accommodate, and there just isn't enough room. It'll be a few months, though.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  7. #7
    Registered
    Join Date
    Mar 2004
    Location
    UK
    Posts
    392
    Downloads
    0
    Uploads
    0

    Default Re: Reset output pulse and MPG for FRO, JRO, SRO

    My machine isn't going to be built for months yet. Every time I set myself to it business go mad and I'm busy running the two current Routers constantly.
    I'll be sure to check for updates before I finalise my controller build.



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Reset output pulse and MPG for FRO, JRO, SRO

Reset output pulse and MPG for FRO, JRO, SRO