SuperCam's Commands Listed in alphabetical order


inp_cncReads 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.
All |First |Previous |Next |Last
* Indicates the command is in the MCHNCTRL.DAT file.
Importing G and M code files command screenThis 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,
"Execute File Again <No:Yes>?".
  Pressing "F1"(redraw) on the keyboard will redraw the graphics window.
  Selecting "No" by clicking the left mouse button or pressing"N" on the keyboard will end the command.
  Selecting "Yes" by clicking the right mouse button or pressing "Y" on the keyboard will execute the file again.

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.
  ON the g-code file will be executed one line at a time.
  OFF the g-code files will be executed consecutively until the file is completely read.
The single step mode is good for debugging g-code tool path files.

Feed Rate - This button's condition determines where the feed rates are to be derived.  MENU or AUTO are the two possible settings.
  MENU mode the feed rates that are specified by the MCONFIG command are applied with no regard to the feed rates specified in the g-code file. G00 movements will use the travel speed parameters, G01 will use the cutting speed paramenters.
  AUTO mode the feed rates found in the file are applied to the tool paths. If the feed rate is greater than the maximum starting speed the slew rate will be set to the read feed rate, the speed variable will be set to the maximum starting value possible.

Units - This button defines what the feedrate units will be in the G-code file being imported. There are six different possible settings.
  in/sec - inches per second - ips
  in/min - inches per minute - ipm
  mm/sec - millimeters per second
  cm/sec - centimeters per second
  mm/min - millimeters per minute
  cm/min - centimeters per minute
When a feedrate is found in the code file it is translated into the current motion setting unit values. That way when motion is interrupted the motion parameters displayed may be different that the feed rate values embedded in the code file.

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.
  ALL - In this condion the vectors and the coordinates of movement are displayed before each movement motion. The code lines are displayed in the command area of the screen before being executed.
  Vector - In this condition the vectors of movement are displayed before the movement occurs. The lines of text read from the code file are not displayed in the command area.
  Coords - In this condition just the coordinates are displayed in the sidebar area of the screen.
  None - In this condition no movement vectors or coordinates are displayed. This is inherently the fasted way to run the code file.

Mechanism - This button will either selector deselect theattached mechanism's stepper motor controller.
  DESELCT - The attached mechanism is deseleced and disabled. The code file is just displayed and not executed. This allows the file to be viewed before actually running the mechanism.
  SELECTD - The attached mechanism is selected and enabled.

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.
  No - Code file is executed with out rotating.
  Yes - Code file is executed with X and Y axis coordinates swapped, thus rotating the tool path ninety(90) degrees.

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.
CAM File Format SuperCam Demo DownloadCNC Machine Tool Operating System Software ProgramSuper Tech Main Home Page


Home Page at http://www.super-tech.com

http://www.super-tech.com/root/supercam/cmmds/default.asp
Copyright 2004-2006 Dennis L. Bohlke
Revised 05/31/06
Log On to website as registered user
Liberty Loves Blind Justice