| inp_cnc | Reads selected G and M code file, if table is selected, the machine will follow the code commands, if not selected the tool path is only displayed to the screen. |
This is the selection window present to setup the import parameters and the file to be imported.EXIT - Button will return user to the main input loop without doing anything. Directory - Text box is used to specify the path to the sub-directory that contains the file to be imported and executed. File - Text box is used to specify the filename of the code file to be imported and executed. Below this text box is a list of the files found in the currently selected sub-directory. Files can be selected by clicking on the filename in the list. Ext - Text box is used to specify the extension of the code file to be imported and executed. There are no restrictions on what extension can be used to specify a G and M code file. OK - Button will open the g-code file and begin interpreting dependent upon the conditions of the buttons and the content of the text boxes. When the code file has been completely executed the command line will prompt, SCALE X,Y,Z - These number boxes are use to make the resulting tool path bigger or smaller. The number that is entered is multiplied by each coordinate for that axis, the result is then used as the tool path. This is an effective way to change the size and shape of the resulting tool path. By changing the SCALE factor for only the Z axis, the depth of cut can be changed to make progressively deeper cuts. OFFSET X,Y,Z - These number boxes are used to add a displacement to all the coordinates as they are interpreted. This is an effective way to move an absolute coordinate tool path around in the mechanisms working area. Single Step - This button is can be either ON or OFF. Feed Rate - This button's condition determines where the feed rates are to be derived. MENU or AUTO are the two possible settings. Units - This button defines what the feedrate units will be in the G-code file being imported. There are six different possible settings. Display - This button determines what will be displayed. As the file is executed it is drawn to the graphics window the condition if this button defines the type of displays that will take place. Mechanism - This button will either selector deselect theattached mechanism's stepper motor controller. ROTATE - This button is used to rotate the imported g-code tool path by 90 degrees. This is done by swapping the X and Y axis coordinates. The inp_cnc command can be selected from the File pull-down menu or be entering "inp_cnc" on the command line. Selecting inp_cnc will display a window listing all files in the sub-directory defined by the Directory text box with the extension defined by the Ext text box. There are no restrictions on the what extension can be used on G and M code text files. A cnc file is not saved to the drawing buffer when imported. It is only read from the file and executed. Pressing any key during execution will interrupt the current motion, at this point 'ESC' key will terminate the execution of the code file. To resume the inp_cnc command, click the right mouse button or press Enter on the keyboard. |
Interpreted G & M Codes |
| ; Comment Line |
| F Feed rate follows |
| G00 Rapid Travel Coordinates follow |
| G01 Cutting Travel Speed Coordinates follow |
| G02 Arc Clockwise |
| G03 Arc Counter Clockwise |
| G04 Dwell, the P number that follows is the delay in seconds. |
| G30 Home Mechanism |
| G90 Absolute Coordinates follow |
| G91 Incremental Coordinates follow. |
| M00 Tool Path Pause. |
| M03 Relay A On. |
| M05 Relay A Off. |
| M08 Relay B On. |
| M09 Relay B Off. |
![]() Home Page at http://www.super-tech.com |
|
|
![]() |