Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Todd Zuercher
I'm pretty sure no. I thought the machine I have using CL uses several more than 2 compares, but I'll have to check (it was several years ago I wrote that ladder.) Todd Zuercher P. Graham Dunn Inc. 630 Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -Original Message-

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Todd Zuercher
Oh I misunderstood your question. Yes I think a single variable comparison block is limited to only a single comparison of a variable to one constant or another variable. I am surprised that it worked with the last two compares combined into a single block. So for your row of logic below I

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Todd Zuercher
The CL program I have running on our machine has at least 20 different variable comparisons. There are even 6 in a single rung with 4 or branches and 2 pairs anded together. So yes you can use more than two, and as far as I know there is no practical limit. Todd Zuercher P. Graham Dunn Inc.

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Sam Sokolik
In the manual - they say you can 'and' and 'or' and such.. You need a , then the operator.. But I think maybe the limit is 2.. http://linuxcnc.org/docs/stable/html/ladder/classic-ladder.html#_compare - (, ) separate into groups example %IF1=2,&%IF2<5 in pseudo code translates to if

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Feral Engineer
I still remember the feeling of the first successful turret index on my pc turn 55  Phil T. The Feral Engineer Check out my LinuxCNC tutorials, machine builds and other antics at www.youtube.com/c/theferalengineer Help support my channel efforts and coffee addiction:

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Todd Zuercher
I think I had tried using the & symbol, and wasn't able to make it work, but it is possible I was missing the key "," in the phrase (it was a long time ago.) Todd Zuercher P. Graham Dunn Inc. 630 Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -Original Message- From:

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Sam Sokolik
also - you can't have spaces.. or it fails with no error. But once you know the little nuances - it is pretty cool! On Tue, Nov 29, 2022 at 11:21 AM Sam Sokolik wrote: > the comma certainly tripped me up.. This isn't my first or even most > complicated ladder - but buy - it has been a few

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread Sam Sokolik
the comma certainly tripped me up.. This isn't my first or even most complicated ladder - but buy - it has been a few years. Have to re-learn it all over. sam On Tue, Nov 29, 2022 at 11:05 AM Todd Zuercher wrote: > I think I had tried using the & symbol, and wasn't able to make it work, >

Re: [Emc-users] Tool Height Sensor Position

2022-11-29 Thread Feral Engineer
Mine are all permanently mounted, as a proper tool height setter should be. Phil T. The Feral Engineer Check out my LinuxCNC tutorials, machine builds and other antics at www.youtube.com/c/theferalengineer Help support my channel efforts and coffee addiction: www.patreon.com/theferalengineer

Re: [Emc-users] Classic ladder compare blocks..

2022-11-29 Thread andrew beck
Hahaha yep founds those issues a few weeks ago With the compare functions On Wed, 30 Nov 2022, 06:25 Sam Sokolik, wrote: > also - you can't have spaces.. or it fails with no error. But once you > know the little nuances - it is pretty cool! > > On Tue, Nov 29, 2022 at 11:21 AM Sam Sokolik

[Emc-users] Tool Height Sensor Position

2022-11-29 Thread John Dammeyer
My tool height sensor arrived today. Needless to say I dropped everything (almost) to play with it. Nicely sensitive. Good over travel before NC sensor opens so that second switch could be in series with Z axis limit. The photo here

Re: [Emc-users] Tool Height Sensor Position

2022-11-29 Thread John Dammeyer
A few photos of your mounted setup would be really helpful. If you can't post them to the list just pm me. Thanks John > -Original Message- > From: Feral Engineer [mailto:theferalengin...@gmail.com] > Sent: November-29-22 5:37 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: