********************************* * * EdgeCAM Code Wizard Templates * File 4cyb-AdvTurn.cgs * * Template source file for 2 axis lathes based on ISO G code formats * * Created from old templates 10 June 2003 * Placed under change control * Richard Halton * ********************************** * 23/12/03 RHA DEV00009701 Change version and date. Set up v8.5 templates * 18/02/04 RHA DEV00010264 Set version 8.50.14 * * ********************************* * * EdgeCAM Code Wizard Templates * File Turn-Initialise.cgi * ********************************* * * Created from old templates 10 June 2003 * Placed under change control * Richard Halton * * File contains Variable Declarations, Token Definitions and Format Table * references for turn templates. * * General fixes also implemented here * 05/08/03 RHA DEV00008306 Separate vars for rapid and feed polar/cartesian mode * 07/08/03 RHA DEV00007890 Make R word calculation in cycles switchable * 12/08/03 RHA DEV00007046 Function Off tokens in Rapid to TC and Home * 12/08/03 RHA DEV00008119 Add FLUTE length to set up data * 20/08/03 RHA DEV00008484 Correct multi-start threads * 26/08/03 RHA DEV00008539 Add warnings counter *Change Control * 14/11/03 RHA DEV00009364 Correct coolant settings * 20/11/03 RHA DEV00009231 Combined spindle and coolant codes added * 28/11/03 RHA DEV00009456 AVN Feedback - Tool Change options * 01/12/03 RHA DEV00009047 Complete spindle synch * 05/12/03 RHA DEV00007048 Add Rigid Tapping Option * 15/12/03 RHA DEV00009616 Remove all Q67 series uservars, Turret side now uses USERVAR4 * 15/12/03 RHA DEV00009612 Add new date tokens * 16/12/03 RHA DEV00009384 Pull Out token for threading * 15/01/04 RHA DEV00008184 Give GEARMCODE its own format address * 15/01/04 RHA DEV00009858 New token for Fanuc Polar output * 19/01/04 RHA DEV00008669 Use MAXRPM sys var in MAXRPM token * 21/01/04 RHA DEV00009848 Make Convert No-Convert modal * 26/01/04 RHA DEV00009967 Polar setting for Radila/Diametral #POLARDIAM * 26/01/04 RHA DEV00009953 Token for second leg return to ToolChange * 27/01/04 RHA DEV00009963 Add [ ] Tokens * 30/01/04 RHA DEV00008184 Make token call to C Axis codeconstructor modal * 02/02/04 RHA DEV00010088 add diametral switches for axial/radial machining * 03/02/04 RHA DEV00002228 Work round calculation problem in token definitions * 05/02/04 RHA DEV00009977 Tokens for user defined toolstore variables * 06/02/04 RHA DEV00010176 Re-assign CY_SPINDIR to MCODE address * 10/02/04 RHA DEV00010088 Correct #DIAM switching * 12/02/04 RHA DEV00004642 Token COOLTHRTLOFF * 13/02/04 RHA DEV00010219 Separate Z reverse switch for sub spindle driven tools * 08/03/04 RHA DEV00010387 Set gear for maxrpm * 11/03/04 RHA DEV00010521 CSS speed check optional * 22/03/04 RHA DEV00010537 Correct retract G codes * Version 900 * 07/05/04 RHA DEV00010784 Next tool tokens have own format addresses * Add Retract Ejector Token * Add more spindle select variants,driven tool * Procedure for driven tool codes to allow for subspindle * 07/05/04 RHA DEV00010872 Token for Push Check Code Constructor * 10/05/04 RHA DEV00010872 Add separate control for polar in hole cycles * 13/05/04 RHA DEV00010924 Tool Change corrections, alternative code constructors etc * 21/05/04 RHA DEV00010783 Add #MACHINEMINRPM * 07/06/04 RHA DEV00010712 Separate token for CY Cycle dwell * 09/06/04 RHA DEV00011069 TLO fixes, #TLOSHIFT * 15/07/04 RHA DEV00008178 Add multi level/depth to hole cycles * 15/07/04 RHA DEV00010735 Cancel canned cycle for radial holes - X Clearance move * 19/07/04 RHA DEV00011202 Implement arc bulge control, remove #ARCTOL * 19/07/04 RHA DEV00010739 B Axis formatting corrections * 20/07/04 RHA DEV00010907 Put MAXRPM tokens in all start macros * 20/07/04 RHA DEV00009388 Datum choice for sub spindle movements * 21/07/04 RHA DEV00010739 B Axis XABSORIGIN now uses #BREFDIAM * 29/07/04 RHA DEV00011469 Add X Reversal options * Version 950 * 30/11/04 RHA DEV00012029 Add #RADNEG * 01/12/04 RHA DEV00011681 Additional mill tool tokens * 07/12/04 RHA DEV00012698 Manual option for Polar control #POLARAUTO,#POLARMAN * 08/12/04 RHA DEV00012014 Add Turret Priority Token for Spindle Control * 08/12/04 RHA DEV00012305 Add ABS abd INC tokens for R to TC moves (Integrex) * 09/12/04 RHA DEV00012305 Rigid Tapping G Codes, Variables * 14/12/04 RHA DEV00012766 Speed modality, change REVS token output variable * 14/12/04 RHA DEV00012765 Make hole cycle approach context sensitive #PREPOSITION * 21/12/04 RHA DEV00012864 Correct helix ZEND, Make KVALUE=PITCH switchable #KVALPITCH * 23/12/04 RHA DEV00012874 Turning Spindle Stop token * 13/01/05 RHA DEV00012533 G55 datum token * Version 9.75 * 04/03/05 RHA DEV00013026 Add Tool Direction selection * 09/03/05 RHA DEV00012875 Add User Numeric Tokens 11-20 * 1 more * 1 more * 2 more * 1 more * 5 more * Is this used ? * At least 4 more * 1 more * 1 more * 1 more * 1 more * 1 more * C & Y Axis (Milling) Specific * more * 1 more * 1 more * * Specific for Okuma turning cycles * * Rough Profile Cycle * * Alternative cycle G codes for side and b axis. * M Codes * CY M Codes * Sub Spindle * ********************************* * * Variable Declarations * ********************************* * #TEST,#PROF * Block Numbering * G (preparatory) codes * Circular Interpolation * Spindle / Gears * General Coordinate Systems * Rapid Traverse * Hole Cycles * Toolchange / Tooling * Subroutines * Cutter Radius Compensation * * #NEGINCR * Datum Shifting * Turning Cycles * Threading Cycles * Turning General * 4 Axis * Caxis / Yaxis (Milling) * CY Thread Milling * Compensation * NOTHING SET TO THIS VARIABLE AS YET ????????? * #TOOLYSET,$FIXED, * *User variables for ****************************** * Advanced Turn Declarations ****************************** *CHANGE * Vars for M codes, spindle 2 * Misc control functions G or M * * Coolant ********************************* * * Code Constructor Token Definitions * ********************************* * *Token^token name^format^desc^action before output^action after output^Turret designation * G-Codes : General * Added for Integrex only at present * G Codes : Hole Cycles * G Codes : Turning Cycles * G Codes - Threading * G Codes - Rapid Home/Toolchange * M Codes : Coolant * M Codes : General * M Codes : Chuck * M Codes : Miscellaneous M-Codes * M Codes : Threading * General * CY Movements * Main movement axes, upper and lower turrets * Toolchange / Tooling * Note that *1 is needed on next line to avoid DEV00002228 (subtract operation) * G50/G92 Tool Settings * Tooling Data for use in NC Program * Cutter Radius Compensation * Circular Interpolation * Hole Cycles * * Datum Shift : Translate * * New * * Tooling Sheet / Program Information * Subroutines * By block number * Position : Before, after, in-line with main NC Program * Turning Cycles * Threading Cycles * Rapid to Home / Toolchange * Ge style G1 X.. Z.. F0 rapid * M-Functions (Used to create default Code Constructor) * C & Y Axis (Milling) * Additional tokens for Siemens 3T 7/10/98 *********************************************************** * C Axis Tokens *********************************************************** *********************************************************** * Job Record Tokens *********************************************************** *********************************************************** * Setup Tokens *********************************************************** *********************************************************** * User tokens for *********************************************************** * ************************************************************ * 4 Axis Turning ************************************************************ * * Token^TURRETGCODE^[#TURRETGCODE=!FT_GTURRET]^Select Turret G-Code * For Okuma only ************************************************************ * Tokens for Bar Feed ************************************************************ ************************************************************ *B Axis Tokens ************************************************************ * Spin-select indicates which spindle is active with codes for driven and static tools * DRIVEN indicates whether the tool is driven or static with codes available for sub and main spindles * Misc control functions G or M * * Spindleid indicates which work spindle is being programmed * ************************************************************ * Sub Spindle Movement ************************************************************ * ********************************* * * EdgeCAM Code Wizard Templates * File Turn-ISO-Mach.cgi * ********************************* * * Created December 2003 * Placed under change control * Richard Halton * * File contains Machine configuration lines * *Change Control * 23/12/03 RHA DEV00009701 Move MM MS MT etc to this file * 22/01/04 RHA DEV00009966 Correct sub spindle type setting to 3 * 04/02/04 RHA DEV00009826 Correct MM defaults, SW17-19 * 06/02/04 RHA DEV00009826 Change TC and Home defaults * 25/02/04 RHA DEV00010375 Set lower turret default to main spindle * 11/03/04 RHA DEV00010541 Correct MM line and comments for helical * 22/03/04 RHA DEV00010590 MM line settings for 2AX & 4AX * 21/05/04 RHA DEV00010995 Set switch 14 on 2axis sub spindle MS line to zero * 10/06/04 RHA DEV00011069 CRC/TLO Q var fixes * Version 9.75 * 24/02/05 RHA DEV00000610 Make Q var Strings translateable * ********************************************** * Setting up mach...
arturoglobo