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 ----- Original Message ----- From: "Slavko Kocjancic" <[email protected]> To: <[email protected]> Sent: Sunday, March 14, 2010 6:24 AM Subject: [Emc-users] G28 & Homing > Hello... > > I have (dumb) question. > How to home all axis in the end of program? > > If I execute home all button in jog screen (axis) then all is ok. Z axis > does homing and after that simultaneous X and Y. That's is just what I > want. > > But If I execute G28 (should be same as home ?!?) then all axes > simultaneous goes home. That's not ok. > > So is there some way to use G28 in single line to make homing or > multiline like > > G53 G0 Z0 > G53 G0 X0 Y0 > > is the only way?!? > > ------------------------------------------------------------------------------ > 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
