Re: [Emc-users] Probe switch / limit switch
Sebastian, You got the concept absolutely correct. Thanks for the feedback. I will give it a shot tomorrow when I get back to the machine. Thanks, Jim On 4/12/2016 12:12 PM, Sebastian Kuzminsky wrote: > On 04/12/2016 10:40 AM, Jim Craig wrote: >> I am helping a buddy build a plasma cutter. The z axis assembly we are >> using includes a probe switch so that when the torch tip moves up a >> slight amount relative to the normal torch position it will trip the >> switch saying the torch is on the metal to be cut. > So you probe down until the switch on the Z assembly touches the work, > and you use that Z level as your "top of material"? That sounds good. > > >> It is simple enough to use this switch as a probe switch and we will do >> so. However I would like to use it as a z-axis limit switch when a probe >> move is not being conducted. >> >> Is there any reason I cannot use the motion.motion-type pin to disable >> the switch as a limit switch during a probe move? It is stated in the >> man page that it is a debugging pin. > Interesting idea. So you would use something like this (.hal pseudo-code): > > Z-switch-in => motion.probe-input > ((motion.motion-type != Probing) && Z-switch-in) => axis.Z.neg-lim-sw-in > > I can't think of a reason why that wouldn't work. > > It will mean the -Z soft limit is wrong since it is statically set to > the largest possible value in the ini file, while the actual hard limit > moves up and down as you load materials with different thickness on the > machine. > > I wonder if you can set ini.Z.min_limit to the probed Z value as part of > your "find the top of material" subroutine. > > I'm not sure how that would all behave, but i'd love to hear your results! > > >> Is there a better way to do this? > Not that I can think of. > > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Probe switch / limit switch
On 04/12/2016 10:40 AM, Jim Craig wrote: > I am helping a buddy build a plasma cutter. The z axis assembly we are > using includes a probe switch so that when the torch tip moves up a > slight amount relative to the normal torch position it will trip the > switch saying the torch is on the metal to be cut. So you probe down until the switch on the Z assembly touches the work, and you use that Z level as your "top of material"? That sounds good. > It is simple enough to use this switch as a probe switch and we will do > so. However I would like to use it as a z-axis limit switch when a probe > move is not being conducted. > > Is there any reason I cannot use the motion.motion-type pin to disable > the switch as a limit switch during a probe move? It is stated in the > man page that it is a debugging pin. Interesting idea. So you would use something like this (.hal pseudo-code): Z-switch-in => motion.probe-input ((motion.motion-type != Probing) && Z-switch-in) => axis.Z.neg-lim-sw-in I can't think of a reason why that wouldn't work. It will mean the -Z soft limit is wrong since it is statically set to the largest possible value in the ini file, while the actual hard limit moves up and down as you load materials with different thickness on the machine. I wonder if you can set ini.Z.min_limit to the probed Z value as part of your "find the top of material" subroutine. I'm not sure how that would all behave, but i'd love to hear your results! > Is there a better way to do this? Not that I can think of. -- Sebastian Kuzminsky -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Probe switch / limit switch
I am helping a buddy build a plasma cutter. The z axis assembly we are using includes a probe switch so that when the torch tip moves up a slight amount relative to the normal torch position it will trip the switch saying the torch is on the metal to be cut. It is simple enough to use this switch as a probe switch and we will do so. However I would like to use it as a z-axis limit switch when a probe move is not being conducted. Is there any reason I cannot use the motion.motion-type pin to disable the switch as a limit switch during a probe move? It is stated in the man page that it is a debugging pin. Is there a better way to do this? What say you? Thanks, Jim -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users