Thanks Phillip I will try that. On 2013-12-30 11:21, Philipp Burch wrote: > Hi Marius! > > On 12/30/2013 09:43 AM, Marius Liebenberg wrote: >> I am trying to setup some subroutines to do tool length and touchoff >> calculations. Where can I see the #parameters while the system is running. >> I am storing a value in say #1000 and then I want to use it later in >> another sub. I am not sure if my data is correct as I keep on ending up >> above the job for some reason. >> > I don't know if there is a way to get parameter values from outside the > G-Code (e.g. to display it in a Hal Meter). But it is easy to display a > message from the G-Code: > > #1000 = 1.234 > (DEBUG,Var 1000 contains #1000) > > This does also work with named parameters: > > #<myparam> = 5.678 > (DEBUG,myvar contains #<myparam>) > > Please remember to check the scope of your used parameters. #1 .. #30 > are subroutine arguments (local). #31 .. #5000 are global. Named params > with leading underscores (#<_par>) are global, those without underscore > (#<par>) are local. > > > Regards, > Philipp > > > > ------------------------------------------------------------------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users
-- Regards /Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
