G28 is a complex move by itself. If you just want to send Z somewhere first and then XY somewhere after that on version 2.5.0~pre I use...
o<gohome> sub G53 G0 Z0 G53 G0 X0Y0 o<gohome> endsub M2 I have used this in a file and as a MDI command o<gohome> call Rick G > rng3 pravi: >> Hello, >> Depending on the version of EMC you are using you could just create a >> small >> ngc file with the moves you want. Suppose you called it gohome. Place >> this >> file in the directory called for in your .INI file. >> >> gohome.ngc >> >> o<gohome> sub >> G28 Z0 >> G28 X0Y0 >> o<gohome> endsub >> M2 >> >> Now in your regular program use >> o<gohome> call >> >> Rick G >> >> > That's seems ok. > But doesn't work in MDI mode. There are some BUG in MDI and just make > some stupid movment. > > Slavko. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
