But there is another option that has some appeal, but is a marked departure. G-code does not use the $ character. But it looks a bit like an S-for-spindle. If we used that to define the spindle then there is no chance of a "collision" with any other G-code dialect (and I think that Remapping would then ve free to emulate any other G-code dialect).
This tends to get used for Multi path contorls that use 1 file per program construct $1 (program/path 1) $2 (program/path 2) but if linuxcnc did have multipath it could use %1,%2 etc !n (n=a number in equence) tends to get use for multipath controls where you need to sync programs or wait for another program etc L i have seen used but tends to be a basic wait code but again this depends on control, this was on a mitsubishi on one lathe we have which has 3 spindles it uses Sn= also just S = spindle 0 so s0=200 is spindle0 200rpm s1=100 is spindle1 100rpm but dont forget some times you need to run Spindle 1 forward, spindle 2 reverse, as if its a sub for pickup one has to be CW, other CCW to grip the part and exchange from spindle to spindle this is why you tend to find on lathes multi direction M codes ie M03 M04 M53 M54 etc but this varys on controls. i wonder what a more up to date control program looks like on a multi path multi spindle machine like the newer nakamuras etc rob ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
