K-Heid-530i.doc

(49 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
**************************************************************************
*
***************************************************************************
***************************************************************************
*   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
*
*	Tooling Sheet / Program Information
*	Subroutines
*	By block number
*	Position : Before, after, in-line with main NC Program
*	Datums
*	Rotary Axes / Milling
* 5 Axis IKJ
*   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
***********************************************************
*	M-Functions (Used to create default Code Constructor)
***********************************************************
**************************************************************************
*   Machine independant Code Generator include file
*
*   Filename:	mill-tnc-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
**************************************************************************
**********************************************
* Setting up spindle defaults
**********************************************
* 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
* Last minute correction, change to Q2xx series next release
*
******************************************************************************************************
*	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
**************************************************************************
* 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
* 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-tnc.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
* 06/01/06 RHA DEV00015914 Re-instate continuation after spline output
* 31/01/06 RHA DEV00012212 Align code constructor trace text
* 06/02/06 RHA DEV00007742 Single helix option for Thread Mill
* 08/02/06 RHA DEV00015765 Translate reset call
* 14/02/06 RHA DEV00016311 Change index defaults
* 20/02/06 RHA DEV00016344 Implement IJK vector for 5 axis cycle
* 24/02/06 RHA DEV00016420 First rotary format corrected
* 27/02/06 RHA DEV00016380 Datum calls from Core ToolChange and Table Index
* 28/02/06 RHA DEV00016369 Fix Convert rapid to feed
* 01/03/06 RHA DEV00016487 Set modality of inex direction M code
* 07/03/06 RHA DEV00014230 Rotation axes range correction
* 10/03/06 RHA DEV00016621 Add TNC movement code token
* 15/03/06 RHA DEV00015533 Add format table entries for toolstore tokens
* 15/03/06 RHA DEV00015655 Add GEARMCODE token to hole cycles
* 16/03/06 RHA DEV00016660 Correct datum shift output formats
* 17/03/06 RHA DEV00016660 Remove datum shift modality, force cancel datum shift in START
* 23/03/06 RHA DEV00016731 TNC Datum setting again
* Version 10.75
* 06/04/06 RHA DEV00016794 Shorten overlong text string in START code constructor
* 12/04/06 RHA DEV00010822 Designate logical tokens by colour
* 12/04/06 RHA DEV00016781 Document use of UARRAY1 in template
* 12/04/06 RHA DEV00016809 Colour code tokens
* 31/05/06 RHA DEV00017347 Remove Head Rotation tokens from ToolChange
**************************************************************************
*			*************************
*			*	Template Notes Area	*
*			*************************
* Notes must be defined outside of all procedures using the following syntax
* Text is displayed in the machine NOTES area of the CGD
*  Length limit                                                                            *
*
*						*************************************************************
*						*	Template Dependant Language extensions for Code Wizard	*
*						*************************************************************
*
********************************************
*	Tab Name 	:		M-Codes
********************************************
*
*************************************************
*	Tab Name 	:		Coolant Control
*************************************************
*************************************************
*	Tab Name 	:		New Datum Setting
*************************************************
*************************************************
*	Tab Name 	:		NC File General			*
*************************************************
****************************************************************
*   Tab Name    :      Setup Sheet
****************************************************************
*************************************************
*	Tab Name 	:		Block Numbers
*************************************************
*************************************************
*	Tab Name 	:		Rapid Traverse
*************************************************
* Setvar^#RAPIDFEEDRATE^5000^Rapid Traverse^REAL^Highfeed (units/min.)
*************************************************
*	Tab Name 	:		Circular Interpolation
*************************************************
*************************************************
*	Tab Name 	:		Cutter Compensation
*************************************************
*************************************************
*	Tab Name 	:		Hole Cycles
*******************************************...
Zgłoś jeśli naruszono regulamin