Am 24.03.2012 um 13:27 schrieb Erik Christiansen: > On 23.03.12 11:20, Michael Haberler wrote: >> You will find lots of examples for embedded Python usage in the canned >> demos under configs/sim/remap, and regression tests using these >> features, like under tests/remap and tests/interp. > > In > manual-toolchange-with-tool-length-switch/nc_subroutines/manual_change.ngc > > I see "o<manual_change> sub". That's spiffy, but doesn't quite seem to > be documented in either > > http://www.linuxcnc.org/docs/html/gcode_main.html
Since technically this is just a plain O-word procedure (except for the parameter passing method), there is no point documenting it in the G-code reference. However, it is designed to work as configured by the REMAP statement, which is documented here: http://www.linuxcnc.org/docs/devel/html/remap/structure.html#_configuring_remapping and which the demos in configs/sim/remap are about. > or > > http://www.linuxcnc.org/docs/devel/html/gcode/o-code.html > > Is that a currently or imminently supported LinuxCNC feature? I do support the remapping code (I dont document code which I'm not sure about), which is part of master since late last year. There are a few folks using this capability, running real machines. There have been a few bugs reported initially, all of which are fixed. > (Just curious, since a symbol table in the translator is done now, > providing named subroutines on older versions of LinuxCNC.) > > The new doco is impressive. There's a lot of work going into it, > clearly. > > Many thanks. > > Erik > > -- > C makes it easy to shoot yourself in the foot. C++ makes it harder, but > when you do, it blows away your whole leg. - Bjarne Stroustrup > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users