3ax-cin750-generic.doc

(50 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
**************************************************************************
*
***************************************************************************
***************************************************************************
*   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-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
**************************************************************************
**********************************************
* 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
**************************************************************************
* 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-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 Spindle control fixes
* 28/02/06 RHA DEV00016369 Fix Convert rapid to feed
* 01/03/06 RHA DEV00016487 Set modality of inex direction M code
* 02/03/06 RHA DEV00016511 G54 default format to be 2.2
* 07/03/06 RHA DEV00015555 High Speed mode tolerance, Reposition ZMOVE in Rapid codecon
* 07/03/06 RHA DEV00014230 Rotation axes range correction
* 14/03/06 RHA DEV00016367 Spindle control - add spindir to rapid codecon
* 15/03/06 RHA DEV00015533 Add format table entries for toolstore tokens
* 15/03/06 RHA DEV00015655 Add GEARMCODE token to hole cycles
* 21/03/06 RHA DEV00007321 Correct Datum setting - limits
* Version 10.75
* 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
* 20/04/06 RHA DEV00016925 Add PLANEGCODE to Rapid After ToolChange
* 22/05/06 RHA DEV00017232 Add FEEDMODEGCODE for Inverse Time Feeds
* Version 11.0
* 25/07/06 RHA DEV00016799 Remove force output in Rapid After ToolChange
* 26/07/06 RHA DEV00017767 Correct g98g99 terminology - all amachines
* 01/08/06 RHA DEV00017818 Hole cycle clearance and level options
* 01/08/06 RHA DEV00017490 Make spindle start warning optional
* 03/08/06 RHA DEV00017814 Add WORKGCODE token to Rapid Home & Rapid TC
* 04/08/06 RHA DEV00017771 Number of turns token for ISO
* 24/08/06 RHA DEV00017771 Suppress P0 in helix
* Version 11.5
* 20/09/06 RHA DEV00017909 Expand trace options
* 26/10/06 RHA DEV00018471 HPCC improvements
* 03/11/06 RHA DEV00018471 ToolChange HPCC call should only be via a token
* 21/12/06 RHA DEV00018873 Call 5 axis off at end if still active
* 04/01/07 RHA DEV00018873 5 Axis cancel, correct for 3 axis machines
* 08/01/07 RHA DEV00018930 Make ZSAFE value available as a token for hole cycles
* 07/02/07 RHA DEV00018471 Correct Highspeed output in CORE TC
* 07/02/07 RHA DEV00018873 try again
**************************************************************************
*			*************************
*			*	Template Notes Area	*
*			*************************
* Notes must be defi...
Zgłoś jeśli naruszono regulamin