5 Axis Nutated Car Fillet.doc

(86 KB) Pobierz
**************************************************************************
*   Machine independant Code Generator include file
*
*   Filename:	mill-initialise.cgi
*	Author:		RHA
*   Date:       11 November 2005
*
* New file for adaptive milling templates derived from earlier multiplane template                                *
**************************************************************************
*   Change History
* Version 10.5
*          FIRST ISSUE
* 20/02/06 RHA DEV00016344 Implement IJK vector for 5 axis cycle
* 27/02/06 RHA DEV00016236 Spindle control fixes
* 10/03/06 RHA DEV00016621 Add TNC movement code token
* 16/03/06 RHA DEV00016660 Change to IF tokens for TNC Datum Shifting
* Version 10.75
* 11/05/06 RHA DEV00017093 Variables in user tokens USER11 onwards
* 16/05/06 RHA DEV00017213 Correct index handling for no rotation cases
* Version 11.0
* 01/08/06 RHA DEV00017818 Hole cycle clearance and level options IF token
* 01/08/06 RHA DEV00017490 Make spindle start warning optional
* 04/08/06 RHA DEV00017771 Number of turns token for ISO
* Version 11.5
* 20/09/06 RHA DEV00017909 Expand trace options
* 26/10/06 RHA DEV00018471 HPCC improvements
* 24/11/06 RHA DEV00017338 Move CPLNAME to a template variable
* 08/01/07 RHA DEV00018930 Make ZSAFE value available as a token for hole cycles
* Version 11.75
* 30/04/07 RHA DEV00019883 Tokens etc for Euler angles in Index output
* 14/05/07 RHA DEV00019985 Tokens for XINC etc., improve XABSORIGIN Description
* 21/05/07 RHA DEV00020096 Implement Maintain Index Option at ToolChange
* 24/05/07 RHA DEV00019981 Orthogonal plane cycle controls
* Version 12.00
* 10/08/07 RHA DEV00020285 Add new ISO Datum Shift Tokens
* 25/09/07 RHA DEV00021119 Add setvars and tokens for pivot mode control
* 27/09/07 RHA DEV00021119 Give pivot code its own format entry
* Version 12.25
* 18/10/07 RHA DEV00021382 Correct use of #TMP - #COMPTEMP
* 04/12/07 RHA DEV00021534 Enable longhand tapping
* Version 12.50
* 17/01/08 RHA DEV00022021 Incremental option for Z Clear
* 18/01/08 RHA DEV00021841, DEV00021908 New optional warnings
* 22/01/08 RHA DEV00022142 Clearance options applied to all clearance tokens
* 19/03/08 RHA DEV00022891 Allow concecutive coincident indexes to CPL
* Version 2009.1
* 14/04/08 RHA DEV00018979 Correct BNUM reset
* 07/07/08 RHA DEV00023548 Implement NC Code Suppression
* 06/08/08 RHA DEV00024310 Back bore and face in milling
* 06/08/08 RHA DEV00023786 Add tool group and ID tokens
* 11/08/08 RHA DEV00024364 Implement helical hole cycles
* 21/08/08 RHA DEV00024504 Probing tokens for ISO machines
* 28/08/08 RHA DEV00023797 Add tool token and remove chamfer angle restriction
* 10/09/08 RHA DEV00024504 Probe token corrections
**************************************************************************
*
***************************************************************************
***************************************************************************
*   SPLINE OUTPUT
***************************************************************************
*
*   NC Output control for PCIs (ECS2700)
*	Block Numbering
*	G (preparatory) codes
*		Circular Interpolation
*	Spindle / Gears
*	General Coordinate Systems
*	Rapid Traverse
*	Hole Cycles
*	Toolchange / Tooling
*	Subroutines
*	Cutter Radius Compensation
*
*	Datum Shifting
* #RECORD
*	Multi-plane / Rotary
*	M-FUNCTIONS
*Thread Mill
* Variables for Thread Mill canned cycle
*Extra Variables for TNC
************ Check useage and remove if not required
*User variables for
*
*	Constants for start of G function in DATA1 & M function in DATA2 statements
*
*
*
*
*	*********************************
*	Tokens - Use in Code Constructor
*	*********************************
*
*
*	G-Codes
*	M Codes
*	General
*	Toolchange / Tooling
* Rapid to Home or ToolChange
*	Cutter Radius Compensation
*	Circular Interpolation
*	Hole Cycles
* Added for Sinumerik840 & Fadal cycles
*	Datum Shift : Translate / Index
* Origin shift for TNC
*
* Datum shift for ISO
*	Tooling Sheet / Program Information
*	Subroutines
*	By block number
*	Position : Before, after, in-line with main NC Program
*	Datums
*	Rotary Axes / Milling
* 5 Axis IKJ
* Pivot options
*   Spline Output
*   Fanuc specific
*   Heidenhain specific
* Tap cycle tokens for different addresses
* Thread Mill Canned Cycle
***********************************************************
* Job Record Tokens
***********************************************************
***********************************************************
* User tokens for
***********************************************************
*	Heidenhain TNC Only
* modal lines in Drill Cycle Modify
* Euler angles for Workplane
* Tokens for back bore cycles
* Tokens for Helical cycles
* Tokens for tool group and ID
* Tokens for Probing
* One token for depth  #BOREBOSSZDEPTH #WEBPOCKETZDEPTH #4THAXISZDEPTH
***********************************************************
*	M-Functions (Used to create default Code Constructor)
***********************************************************
**************************************************************************
*   Machine independant Code Generator include file
*
*   Filename:	mill-iso-mach-mm.cgi
*	Author:		RHA
*   Date:       11 November 2005
*
* New file for adaptive milling templates derived from earlier multiplane template                                *
**************************************************************************
*   Change History
* Version 10.5
*          FIRST ISSUE
* 16/12/05 RHA DEV00015566 Spline output enabled
* 20/02/06 RHA DEV00016344 New MM line switch for 5 axis IJK
* 02/03/06 RHA DEV00016506 Change default Home and Tool Change locations
* 07/03/06 RHA DEV00015555 High Speed mode tolerance
* Version 11.0
* 18/07/06 RHA DEV00017692 Tidy Code Generator options in hole macros
* 28/07/06 RHA DEV00017797 New MM and MT line switches
* 07/08/06 RHA DEV00012241 Add High speed and coolant controls to Tool Change*
* 08/08/06 RHA DEV00017341 Correct Tool Length Offset setting
* 13/09/06 RHA DEV00018145 Correct High Speed Mode Q var macro setting
* Version 12.00
* 03/04/07 RHA DEV00020278 Allow Macro15 access to USERVAR2
* Version 12.50
* 06/02/08 RHA DEV00022190 Set default helical interpolation
* 19/03/08 RHA DEV00022891 Allow concecutive coincident indexes to CPL
* Version 2009
* 06/08/08 RHA DEV00024310 Back Bore Cycles Q205
* 13/08/08 RHA DEV00024364 Helical Hole Cycles Q205
**************************************************************************
**********************************************
* Setting up spindle defaults
**********************************************
* Code Generator Options
* Tapping Modifiers
* Longhand^No^Yes
* CRC Register
* Work Datum Override
* Tap Cycle Type^Floating^Rigid
* Tap CycleTap Cycle^Right Hand^Left Hand
*Chord    Enter chord length for arc splitting
*Full Canned Cycle
* High speed tolerance
* High Speed Mode^Off^On
* Coolant^Off^Flood^Mist
* Tool Length Offset
*
******************************************************************************************************
*	Gcodes                                            20                            30             35             40              45
*	Mcodes
*
**************************************************************************
*   Machine independant Code Generator include file
*
*   Filename:	mill-default-kt.cgi
*	Author:		RHA
*   Date:       11 November 2005
*
* New file for adaptive milling templates
**************************************************************************
*   Change History
* Version 10.5
*          FIRST ISSUE
* 13/03/06 RHA DEV00016683 Alter horizontal machine width
* Version 11.75
* 23/04/07 RHA             Change gantry default size
**************************************************************************
* Base=Height, Width, Length, Thickness
* Mount=Length,Width,Height   would be used in case of trunnion table
*lower mount would be used as the default mount
*side mount is for machines with a vertical mount
*saddle mount is for machines with a saddle
* Table=Length, Width, Height, Lead, Angle, Radius
* the line below is used for table in case of horizontal machines with B primary axis
* Head=Type,Length, Width, Height,Lead, Angle,Protrusion Length,Protrusion Width,Protrusion Ht,SpindleLocation
* Head=Type,Length, Width, Height,Protrusion Length,Protrusion Width,Protrusion Ht
* KTTILTTABLE Length, Width, Height, Lead, Angle, Radius
* cylinder KTROTUNIT Length, Radius
* KTSADDLE Length, Radius,thickness,width,height
* KT Chuck Type, Length,Diameter,Bore,JawLength,JawHeight,JawWidth,Protrusion,NoJaws,NoSteps
*KT ATC - Length Width Depth Lead Angle Diameter Protrusion
*
**************************************************************************
*   Machine independant Code Generator include file
*
*   Filename:	mill-iso.cgi
*	Author:		RHA
*   Date:       11 November 2005
*
* New file for adaptive milling templates derived from earlier multiplane template                                *
**************************************************************************
*   Change History
* Version 10.5
*          FIRST ISSUE
* 16/12/05 RHA DEV00015647 Add R in XY Only Option
* 31/01/06 RHA DEV00012212 Align code constructor trace text
* 06/02/06 RHA DEV00007742 Single helix option for Thread Mill
* 10/02/06 RHA DEV00016236 Spindle control fixes
* 14/02/06 RHA DEV00016311 Change index defaults
* 15/02/06 RHA DEV00016297 Incremental datum shift
* 20/02/06 RHA DEV00016344 Implement IJK vector for 5 axis cycle
* 24/02/06 RHA DEV00016420 Dwell token in peck drill codecon
* 27/02/06 RHA DEV00016236 Spi...
Zgłoś jeśli naruszono regulamin