
How to Export CNC Files | ![]() The exp_cnc command, found in the pull down menu FILE, selects the filename and directory for the .TXT file to be created. The feedrates exported for CNC code files are derived, by multiplying by sixty (60),the values set by SuperCam configuration commands. The commands, settrvl and setcut, effect the X & Y axis feedratespeeds. The speed rates are entered as inches per second. The values are independent fortraveling and cutting movement. There are two commands that control the Z axis movement speeds. The setztrvl command sets the speed that the spindle will move to the surface of the material and away from it. The setzcut command sets the speed the spindle will move into the material. The speed values are in inches per second. SuperCam considers the Z axis location, zero(0), to be all the way up. Moving thespindle down moves the axis in a positive direction. The code generated, when executing exp_cnc, reverses the polarity on the coordinates, making +1 into -1. The exported code does not change the z axis until it gets to beginning of the first item to be cut. Use the setmsurf command to set the surface of the material, which is in reference to the Z axis zero(0) point. Use the setzdpth command to set the depth of cut below the surface of the material. Use the setzalt command to set the altitude of the tool over the material surface between cutting tool path moves (the altitude is the position of the tool when traveling between cuts). |
Commands That Affect CNC Code Generation| COMMAND | SETS | settrvl | XY feedrate above the material | setcut | XY feedrate in the material. | setztrvl | Z feedrate not cutting the material. | setzcut | Z feedrate cutting into the material. | setzalt | Z axis altitude between cuts. | setmsurf | Z axis coordinate for the material surface. | setzdpth | Z axis coordinate for depth of cut. | | |
Configure the Codes Generated | ![]() The setupcnc command, found in the pull down menu MCONFIG, configures the codes generated for the CNC controller. The file gcode.cfg file contains ASCII lines that configure the exported codes. There are eleven (11) elements that are uniquely configured for the CNC controller. Each element can contain up to nineteen(19) characters which are then used as a prefixto the coordinates that make that type of machine movement occur. The prefix elements canbe edit by clicking the mouse on the desired one. Then use the keyboard to edit theprefix, there is no syntax checking, use the ENTER key to exit editing mode. Emptyelements generate a line number with no following text. Click the SAVE button tosave any changes to the gcode.cfg file. The CNC export code generator can be custom configured to created virtually any type of code. The Machine Type, at the bottom right, toggles between Spindle and Torch. In the Spindle mode, the exp_cnc command exports code that turns the spindle ON at the beginning and OFF at the end of the program. When in the Torch mode the M codes are exported to turn the torch ON at the beginning of each cut item and OFF at the end of each item. That way the torch is turned OFF between each cutting item and the spindle is left ON. |
![]() Home Page at http://www.super-tech.com |
|
|
![]() |