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.
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:
Similar Threads:
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)
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.
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)
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.
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)
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.