cmcdonald Posted November 3, 2014 Share Posted November 3, 2014 Does anybody have a good way to hand G20 and G21 inside the Prog1000 for Gcode implementation? I have a customer that had inch and metric g code files and refuses to convert them to one standard. Thanks Chris Link to comment Share on other sites More sharing options...
cmcdonald Posted November 3, 2014 Author Share Posted November 3, 2014 Does anybody have a good way to hand G20 and G21 inside the Prog1000 for Gcode implementation? I have a customer that had inch and metric g code files and refuses to convert them to one standard. Thanks Chris Link to comment Share on other sites More sharing options...
Omron Forums Support Posted November 14, 2014 Share Posted November 14, 2014 There are several ways to accomplish this including using the coordinate system transformation matrices to scale the units for G20/G21. You could also adjust the coordinate system definitions programmatically. The transformation approach is the most elegant and allows arbitrary scaling as the programmer requires in addition to the G20/G21 functionality. See the AROT command in the Turbo Software Reference Manual for more detailed information. I will send you a code example off line... Link to comment Share on other sites More sharing options...
Omron Forums Support Posted November 14, 2014 Share Posted November 14, 2014 There are several ways to accomplish this including using the coordinate system transformation matrices to scale the units for G20/G21. You could also adjust the coordinate system definitions programmatically. The transformation approach is the most elegant and allows arbitrary scaling as the programmer requires in addition to the G20/G21 functionality. See the AROT command in the Turbo Software Reference Manual for more detailed information. I will send you a code example off line... Link to comment Share on other sites More sharing options...
Recommended Posts