Re: [Emc-users] math in a hal file

2013-12-21 Thread Viesturs Lācis
2013/12/21 Dewey Garrett > >Can you do math in a .hal file? > > http://linuxcnc.org/docs/html/hal/haltcl.html Another "thank you" for sharing this. I did not know that there is something like that possible! Viesturs --

Re: [Emc-users] math in a hal file

2013-12-21 Thread Gene Heskett
On Saturday 21 December 2013 13:49:09 Dewey Garrett did opine: > >Can you do math in a .hal file? > > http://linuxcnc.org/docs/html/hal/haltcl.html Interesting Dewey, bookmarked. Thank you very much. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury,

Re: [Emc-users] math in a hal file

2013-12-21 Thread Dewey Garrett
>Can you do math in a .hal file? http://linuxcnc.org/docs/html/hal/haltcl.html -- Dewey Garrett -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how

Re: [Emc-users] math in a hal file

2013-12-21 Thread Dave Caroline
As Viesturs says the scale comp can be used for an example see http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Hobbing Dave Caroline On 21/12/2013, Viesturs Lācis wrote: > 2013/12/21 Frank Tkalcevic > >> Can you do math in a .hal file? >> >> >> >> I need to set halui.jog-speed, which is just MAX_VELO

Re: [Emc-users] math in a hal file

2013-12-21 Thread Viesturs Lācis
2013/12/21 Frank Tkalcevic > Can you do math in a .hal file? > > > > I need to set halui.jog-speed, which is just MAX_VELOCITY in the [TRAJ] > section of the ini file. But MAX_VELOCITY is in machine units (mm/s), and > halui.jog-speed appears to be in program(?) units (mm/min), so I need to > m

[Emc-users] math in a hal file

2013-12-21 Thread Frank Tkalcevic
Can you do math in a .hal file? I need to set halui.jog-speed, which is just MAX_VELOCITY in the [TRAJ] section of the ini file. But MAX_VELOCITY is in machine units (mm/s), and halui.jog-speed appears to be in program(?) units (mm/min), so I need to multiple by 60. I really need to do this