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 <viesturs.la...@gmail.com> wrote: > 2013/12/21 Frank Tkalcevic <fr...@franksworkshop.com.au> > >> 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 in my hal file. >> >> >> >> setp halui.jog-speed [TRAJ]MAX_VELOCITY * 60 >> > > IMHO scale component is your closest friend on this question. > > Viesturs > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users