Re: [Emc-users] #ifdef

2021-06-17 Thread Chris Albertson
use that's now the encoders job but there are a > lot of non-starters at the moment. > > > > -Original Message- > > From: Phill Carter [mailto:phillcarte...@gmail.com] > > Sent: June-16-21 9:12 PM > > To: linuxcnc-users > > Subject: Re: [Emc-users

Re: [Emc-users] #ifdef

2021-06-17 Thread John Dammeyer
linuxcnc-users > Subject: Re: [Emc-users] #ifdef > > > > > On 17 Jun 2021, at 3:51 pm, John Dammeyer wrote: > > > > Thanks Phil, > > I just broke it and lost pulses to the spindle. Went back and commented in > > the other direction and I have my spindle b

Re: [Emc-users] #ifdef

2021-06-17 Thread Phill Carter
ster/lib/hallib/plasmac.tcl ><https://github.com/LinuxCNC/linuxcnc/blob/master/lib/hallib/plasmac.tcl>> > > John > > >> -Original Message- >> From: Phill Carter [mailto:phillcarte...@gmail.com >> <mailto:phillcarte...@gmail.com>] &

Re: [Emc-users] #ifdef

2021-06-16 Thread John Dammeyer
-21 10:45 PM > To: linuxcnc-users > Subject: Re: [Emc-users] #ifdef > > > > > On 17 Jun 2021, at 2:47 pm, John Dammeyer wrote: > > > > Not sure I understand. Say for example the existing HAL file has this: > > > > net spindle-vel-fb-rps <

Re: [Emc-users] #ifdef

2021-06-16 Thread Phill Carter
Carter [mailto:phillcarte...@gmail.com >> <mailto:phillcarte...@gmail.com>] >> Sent: June-16-21 9:12 PM >> To: linuxcnc-users >> Subject: Re: [Emc-users] #ifdef >> >> >> >>> On 17 Jun 2021, at 2:03 pm, John Dammeyer wrote: >>>

Re: [Emc-users] #ifdef

2021-06-16 Thread John Dammeyer
e-16-21 9:12 PM > To: linuxcnc-users > Subject: Re: [Emc-users] #ifdef > > > > > On 17 Jun 2021, at 2:03 pm, John Dammeyer wrote: > > > > Is there something like an > > > > #ifdef > > #else > > #endif > > > > in HAL fi

Re: [Emc-users] #ifdef

2021-06-16 Thread Chris Albertson
What you are asking for is a macro pre-processor for HAL files.There is nothing stopping you from doing this. I think most Linux distributions come with "m4" installed. But be warned that you just might get what you asked for. Software that uses a macro preprocessor is notoriously hard to

Re: [Emc-users] #ifdef

2021-06-16 Thread Phill Carter
> On 17 Jun 2021, at 2:03 pm, John Dammeyer wrote: > > Is there something like an > > #ifdef > #else > #endif > > in HAL files? > Thanks > John No, but it is possible to use HALTCL files.

[Emc-users] #ifdef

2021-06-16 Thread John Dammeyer
Is there something like an #ifdef #else #endif in HAL files? Thanks John "ELS! Nothing else works as well for your Lathe" Automation Artisans Inc. www dot autoartisans dot com ___ Emc-users mailing list