Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-10 Thread andy pugh
On Tue, 10 Nov 2020 at 15:05, R C wrote: > Also, just wondering. Do your macros generate g-code that you have to > run? Or does it run the machine 'directly' ? They run (for example) turning.ngc as soon as you press the "run" button. There is no G-code generated. -- atp "A motorcycle is a

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-10 Thread R C
Hello Andy On 11/10/20 3:03 AM, andy pugh wrote: On Tue, 10 Nov 2020 at 02:57, R C wrote: I am trying to use the macros you wrote. It seems to work in axis, and tried the turning macro. emc/task/emctask.cc 389: interp_error: EOF in file:/usr/share/axis/images/axis-lathe.ngc seeking o-word:

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-10 Thread andy pugh
On Tue, 10 Nov 2020 at 02:57, R C wrote: > I am trying to use the macros you wrote. It seems to work in axis, and > tried the turning macro. > emc/task/emctask.cc 389: interp_error: EOF in > file:/usr/share/axis/images/axis-lathe.ngc seeking o-word: o > from line: 0 That means that the system

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-09 Thread R C
Hi Andy, I am trying to use the macros you wrote.  It seems to work in axis, and tried the turning macro. I just picked some numbers and hit the "play" button and I saw these messages: emc/task/emctask.cc 389: interp_error: EOF in file:/usr/share/axis/images/axis-lathe.ngc seeking

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-09 Thread andy pugh
On Mon, 9 Nov 2020 at 04:37, R C wrote: > when I home the X axis (with either option) , from a "random position" > (where the cross slide was left before I turned everything off for > example) It goes towards home, hits the switch, reverses and backs > off (slowly) a little and then

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-08 Thread R C
Hi Andy, On 11/8/20 3:04 PM, andy pugh wrote: On Sun, 8 Nov 2020 at 21:59, R C wrote: I found that one, the "search speed" in stepconf. (I shouldn't use that I heard, since it resets other stuff, but playing with it for now.) You can carry on using stepconf unless or until you start

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-08 Thread R C
On 11/8/20 3:04 PM, andy pugh wrote: On Sun, 8 Nov 2020 at 21:59, R C wrote: I found that one, the "search speed" in stepconf. (I shouldn't use that I heard, since it resets other stuff, but playing with it for now.) You can carry on using stepconf unless or until you start hand-editing

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-08 Thread andy pugh
On Sun, 8 Nov 2020 at 21:59, R C wrote: > I found that one, the "search speed" in stepconf. (I shouldn't use > that I heard, since it resets other stuff, but playing with it for now.) You can carry on using stepconf unless or until you start hand-editing HAL and INI. Does Stepconf let you

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-08 Thread R C
On 11/8/20 2:47 PM, andy pugh wrote: On Sat, 7 Nov 2020 at 22:37, R C wrote: when I click the "Home All" button, it moves the Z axis really slow (and I mean REALLY slow). I assume that it should do that at jog speed? It should do it at the HOME_SEARCH_VELOCITY from the INI. Or, if the

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-08 Thread andy pugh
On Sat, 7 Nov 2020 at 22:37, R C wrote: > when I click the "Home All" button, it moves the Z axis really slow > (and I mean REALLY slow). I assume that it should do that at jog speed? It should do it at the HOME_SEARCH_VELOCITY from the INI. Or, if the polarity of the input needs to be

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-07 Thread R C
Hello all, I set up the switches  an "Home X"  and "Home Z".  in axis,  the button for  homing an axis changes to "HomeAll", That gives me the impression that it would home the lathe 'automatically' ? The switches are positioned so that if both were triggered the cross slide would be as

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Jon Elson
On 11/06/2020 09:08 PM, R C wrote: ok... but, if I turn the lathe an computer off.. then restart them and want to home the lathe.. it wouldn't know how to do that unless it hit a limit switch? Yes, the limit switch can be set up to also be taken as the home switch. But, you need

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread R C
ok... but,  if I  turn the  lathe an computer off..   then restart them   and want to home the lathe..  it wouldn't know how to do that unless it hit a limit switch? On 11/6/20 8:03 PM, Jon Elson wrote: On 11/06/2020 07:33 PM, R C wrote: I noticed I can (in stepconf,  which I shouldn't

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Jon Elson
On 11/06/2020 07:33 PM, R C wrote: I noticed I can (in stepconf, which I shouldn't use of course...) That I can use the limit switches as 'home' for an axis only. Unless I am understanding this wrong, I figured an axis would travel there and when it hits it thinks "I am home" ?

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread R C
I noticed I can (in stepconf,  which I shouldn't use of course...) That I can use the limit switches as 'home'  for an axis only. Unless I am understanding this wrong,  I figured  an axis would travel there  and when it hits it thinks "I am home"  ? I see one axis move in the beginning of

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread R C
well,  the X and Z axis only have one limit switch,  which pretty much  seems like it is a  home/limit-switch because of where they are On 11/6/20 5:23 PM, Leonardo Marsaglia wrote: ah, yes, I have not set any soft limits in the new configuration yet. Also wonder how to do that. In the

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread R C
Hi Matt, yes, pretty much.  since if I use it  as a "homing device", it won't go past there anyway. So yes,  I think that is what I'd want it to do, use it as home input On 11/6/20 1:48 PM, Matthew Herd wrote: I think the question you’re asking is how to use the limit switch as a home

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Leonardo Marsaglia
> > ah, yes, I have not set any soft limits in the new configuration yet. > Also wonder how to do that. > > In the case of the lathe it's pretty easy if you have the following config wich is the one I'm using: HARD LIMITS = Negative limit switch |---Z axis real travel

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Phill Carter
> > ah, yes, I have not set any soft limits in the new configuration yet. Also > wonder how to do that. > > > For example, I have a mill, also a sherline, without limit switches which I > "return home" every time I am done, and then home the axes when I start. > > I thought I could use the

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Matthew Herd
I think the question you’re asking is how to use the limit switch as a home input. On my bridgeport mill, a single limit switch trips on the min and max limits. I also use this for home. I do this by assigning the same hardware pin to axis.0.home-sw-in (or axis.1, axis.2, etc)

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread R C
Hello Leonardo, On 11/6/20 1:01 PM, Leonardo Marsaglia wrote: Hello Ron, If I understand correctly you are using your limit switches only without any soft limit (hardware limit). Whenever a limit switch is triggered the motion will stop immediately and the only way to recover from that is to

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Leonardo Marsaglia
I ment to say software limit on the first parenthesis. El vie., 6 nov. 2020 a las 17:01, Leonardo Marsaglia () escribió: > Hello Ron, > > If I understand correctly you are using your limit switches only without > any soft limit (hardware limit). Whenever a limit switch is triggered the > motion

Re: [Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread Leonardo Marsaglia
Hello Ron, If I understand correctly you are using your limit switches only without any soft limit (hardware limit). Whenever a limit switch is triggered the motion will stop immediately and the only way to recover from that is to turn on the override limits option. I don't know if understand

[Emc-users] limit switch configuration on lathe in linxcnc (2.7)

2020-11-06 Thread R C
Hello, I am trying to configure the limit switches in linuxcnc, I think I can use them as home switches too. The switches get tripped, when teh cross slide is as close to the  chuck as it can be and as close to the user/operator as possible. I have it setup so that for example the