+ ================================================ + Version date 04 09 2019 + + Post Process file for NWA Rotary 4th Axis tools (both Standard and Mini) + Use this post when Rotary 4th Axis is aligned along the X and you are wrapping the Y. + + In VCarve or Aspire set Job setup to Along X. + + This post ... + Wraps Y values around the X axis , Cylinder length is along X axis + Y Values are output as A + X Values output as X + Z Values are output as Z + There are NO Y moves output - tool is assumed to be aligned with centerline of cylinder + +================================================ + + History + + Who When What + ======== ========== =========================== + BrianM 13/06/2012 Inverted output X moves so positive Z is negative X + JoeB 08/03/2015 Modified post for use with side mounted mini-lathe, added G64, S (placeholder) and M3 + RandyJ 04/09/2019 + Changed .pp file name to from CNCShark-RY2AX-in to NWA Rotary Along X Warp Y inch + Changed POST NAME to NWA Rotary Along X Wrap Y inch + Changed ROTARY_WRAP_Y direction from -A to A so Headstock rotates correctly when place at the front of the machine. + Updated Header info so it displays better in the Pendant window +Scott 1/14/2020 Renamed Post Processor +Brad 5/3/2022 Renamed Post Processor and Changed to Along Y wrap X +================================================ POST_NAME = "Next Wave Laser Rotary AlongY-WrapX(inch)(*.tap)" FILE_EXTENSION = "tap" UNITS = "INCHES" + + To reverse direction of rotary axis change "-A" to "A" below + If Headstock is place at the back of the machine change A to -A. + ROTARY_WRAP_X = "-A" SUBSTITUTE = "({)}" LASER_SUPPORT = "YES" +------------------------------------------------ + Line terminating characters +------------------------------------------------ LINE_ENDING = "[13][10]" +================================================ + + Formatting for variables + +================================================ VAR LINE_NUMBER = [N|A|N|1.0] VAR POWER = [P|A| S|1.0|10] VAR SPINDLE_SPEED = [S|A|S|1.0] VAR CUT_RATE = [FC|A|F|1.1] VAR PLUNGE_RATE = [FP|A|F|1.1] VAR X_POSITION = [X|A| X|1.4] VAR Y_POSITION = [Y|A| Y|1.4|1.0] VAR Z_POSITION = [Z|A| Z|1.4|1.0] 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|1.0] VAR SAFE_Z_HEIGHT = [SAFEZ|A| Z|1.4|1.0] VAR WRAP_DIAMETER = [WRAP_DIA|A||1.3] VAR DWELL_TIME = [DWELL|A|P|1.2] +================================================ + + Block definitions for toolpath output + +================================================ +--------------------------------------------------- + Commands output at the start of the file +--------------------------------------------------- begin HEADER " ( [TP_FILENAME] )" " ( Created: [TIME], [DATE] )" "$DLDanger! Laser File Detected." " ( for Next Wave CNC from Vectric )" " ( Rotary setup: Along X Wrap Y)" " ( Cylinder Size)" " ( Length = [XLENGTH])" " ( Diameter = [WRAP_DIA])" " ( Z Origin = [Z_ORIGIN])" " ( XY Origin = [XY_ORIGIN])" " " " (Home Position:)" " ( X = [XH], Y = [YH], Z = [ZH])" " ( Safe Z = [SAFEZ])" " (Toolpaths used in this file:)" " ([TOOLPATHS_OUTPUT])" " (Tools used:)" " ( [TOOLS_USED])" " " " ( File Notes: [FILE_NOTES])" "(---------------------------------------)" " ( Toolpath: [TOOLPATH_NAME]) " "(---------------------------------------)" "G90" "G20" "[FC]" "S0" "M3" +--------------------------------------------------- + Commands output for rapid moves +--------------------------------------------------- begin RAPID_MOVE "[FC]" "G01 [X] [Y] [Z]" +--------------------------------------------------- + Commands output for the plunge move +--------------------------------------------------- begin PLUNGE_MOVE "[FP]" "G01[X][Y][Z]" + --------------------------------------------------- + Commands output for Retract Moves + --------------------------------------------------- begin RETRACT_MOVE "S0" +--------------------------------------------------- + Commands output for the first feed rate move +--------------------------------------------------- begin FIRST_FEED_MOVE "[S]" "G01[X][Y][Z][P][FC]" +--------------------------------------------------- + Commands output for feed rate moves +--------------------------------------------------- begin FEED_MOVE "[S]" "G01[X][Y][Z][P][FC]" +--------------------------------------------------- + Commands output for a new segment - toolpath +--------------------------------------------------- begin NEW_SEGMENT "(---------------------------------------)" " Toolpath:- ([TOOLPATH_NAME]) " "(---------------------------------------)" +--------------------------------------------------- + Commands output when the jet is turned on +--------------------------------------------------- begin JET_TOOL_ON "S0" "M3" +--------------------------------------------------- + Commands output when the jet is turned off +--------------------------------------------------- begin JET_TOOL_OFF "S0" +--------------------------------------------------- + Commands output when the jet power is changed +--------------------------------------------------- begin JET_TOOL_POWER "[P]" +--------------------------------------------------- + Commands output at the end of the file +--------------------------------------------------- begin FOOTER "[FC]" "G01 [ZH]" "G01 [XH] [YH]" "M02"