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

2022-11-29 Thread andrew beck
t;> P. Graham Dunn Inc. > >> 630 Henry Street > >> Dalton, Ohio 44618 > >> Phone: (330)828-2105ext. 2031 > >> > >> -----Original Message- > >> From: Sam Sokolik > >> Sent: Tuesday, November 29, 2022 11:55

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

2022-11-29 Thread Sam Sokolik
rase (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: Sam Sokolik >> Sent: Tuesday, Novembe

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

2022-11-29 Thread Sam Sokolik
kolik > Sent: Tuesday, November 29, 2022 11:55 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Classic ladder compare blocks.. > > [EXTERNAL EMAIL] Be sure links are safe. > > In the manual - they say you can 'and' and 'or' and such.. You need a , > t

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

2022-11-29 Thread Todd Zuercher
sage- From: Sam Sokolik Sent: Tuesday, November 29, 2022 11:55 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Classic ladder compare blocks.. [EXTERNAL EMAIL] Be sure links are safe. In the manual - they say you can 'and' and 'or' and such.. You need a , then the operator.

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 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 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 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-