+ ======================================= + --- + Version 1 + Supplied by Realtime CNC. Adding new post processor. + + ======================================= POST_NAME = "Redline Laser No Z V1 (mm) (*.ngc)" FILE_EXTENSION = "ngc" UNITS = "MM" LASER_SUPPORT = "YES" +------------------------------------------------ + Line terminating characters +------------------------------------------------ LINE_ENDING = "[13][10]" +------------------------------------------------ + Block numbering +------------------------------------------------ LINE_NUMBER_START = 0 LINE_NUMBER_INCREMENT = 1 LINE_NUMBER_MAXIMUM = 9999999 +================================================ + + Formatting for variables + +================================================ VAR LINE_NUMBER = [N|A|N|1.0] VAR POWER = [P|C|S|1.0|10.0] VAR SPINDLE_SPEED = [S|A| S|1.0] VAR FEED_RATE = [F|C|F|1.1] VAR X_POSITION = [X|C|X|1.4] VAR Y_POSITION = [Y|C|Y|1.4] VAR Z_POSITION = [Z|C|Z|1.4] VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4] VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.4] VAR X_HOME_POSITION = [XH|A|X|1.4] VAR Y_HOME_POSITION = [YH|A|Y|1.4] VAR Z_HOME_POSITION = [ZH|A|Z|1.4] VAR SAFE_Z_HEIGHT = [SAFEZ|A|Z|1.4] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Unique revision number for this post-processor +--------------------------------------------------- begin REVISION_COMMENT "%" "(VECTRIC POST REVISION)" "([REVISION])" "([POST_NAME])" +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER "( [TP_FILENAME] )" "( File created: [DATE] - [TIME])" "( Redline J Tech Laser)" "G00 G17 G40 G21 G54" +"G0[ZH]" "G0[XH][YH]" "G90" "M4" +--------------------------------------------------- + Command output after the header to switch spindle on +--------------------------------------------------- begin SPINDLE_ON "M4[S]" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "G1[X][Y][P]" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "G1[X][Y][F][P]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "G1[X][Y][P]" +--------------------------------------------------- + Commands output for the first clockwise arc move +--------------------------------------------------- begin FIRST_CW_ARC_MOVE "G2[X][Y][I][J][F][P]" +--------------------------------------------------- + Commands output for a new segment - toolpath + with same toolnumber but maybe different feedrates +--------------------------------------------------- begin NEW_SEGMENT +"[N] [S] M4" "([TOOLPATH_NAME])" "([TOOLPATH_NOTES])" +--------------------------------------------------- + Commands output for clockwise arc move +--------------------------------------------------- begin CW_ARC_MOVE "G2[X][Y][I][J][P]" +--------------------------------------------------- + Commands output for the first counterclockwise arc move +--------------------------------------------------- begin FIRST_CCW_ARC_MOVE "G3[X][Y][I][J][F][P]" +--------------------------------------------------- + Commands output for counterclockwise arc move +--------------------------------------------------- begin CCW_ARC_MOVE "G3[X][Y][I][J][P]" +--------------------------------------------------- + Commands output when the jet is turned on +--------------------------------------------------- begin JET_TOOL_ON +--------------------------------------------------- + Commands output when the jet is turned off +--------------------------------------------------- begin JET_TOOL_OFF +--------------------------------------------------- + Commands output when the jet power is changed +--------------------------------------------------- begin JET_TOOL_POWER +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "M5" +"G0[ZH]" "G0[XH][YH]" "M2" "%"