Contents - Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Description of workpiece points
- Definition of workpiece positions
- Polar coordinates
- Incremental dimension
- Plane designations
- Position of zero points
- Position of coordinate systems
- Machine coordinate system
- Basic coordinate system
- Workpiece coordinate system
- Frame system
- Assignment of workpiece coordinate system to machine axes
- Current workpiece coordinate system
- Axes
- Main axes/Geometry axes
- Special axes
- Channel axes
- Synchronized axes
- Command axes
- Lead link axes
- Coordinate systems and workpiece machining
- Structure and contents of an NC program
- Language elements of the programming language
- Programming a sample workpiece
- First programming example for milling application
- Second programming example for milling application
- Programming example for turning application
- General notes
- Absolute/relative dimensions
- Incremental dimensions (G91, X=IC)
- Absolute dimension for rotary axes (DC, ACP, ACN)
- Dimensions inch/metric, (G70/G700, G71/G710)
- Special turning functions
- Position of workpiece
- Zero offset (frame), G54 to G57, G505 to G599, G53, G500/SUPA
- Selection of working plane (G17 to G19)
- Working area limitation (G25/G26, WALIMON, WALIMOF)
- Reference point approach (G74)
- Travel commands with polar coordinates, polar angle, polar radius
- Traversing commands with polar coordinates, (G0, G1, G2, G3 AP=..., RP=...)
- Rapid traverse movement (G0, RTLION, RTLIOF)
- Linear interpolation (G1)
- Circular interpolation types, (G2/G3, CIP, CT)
- Circular interpolation with center point and end point (G2/G3, I=, J=, K=AC...)
- Circular interpolation with radius and end point (G2/G3, CR)
- Circular interpolation with arc angle and center point (G2/G3, AR=)
- Circular interpolation with polar coordinates (G2/G3, AP=, RP=)
- Circular interpolation with intermediate and end points (CIP)
- Circular interpolation with tangential transition (CT)
- Helical interpolation (G2/G3, TURN=)
- Involute interpolation (INVCW, INVCCW)
- Contour definitions
- Two straight lines (ANG1, X3... Z3... ANG2)
- Three straight lines (ANG1, X3... Z3... ANG2, X4... Z4...)
- End point programming with angle
- operating principle
- Programmable run-in and run-out paths (DITS, DITE)
- Linear progressive/degressive thread pitch change (G34, G35)
- Tapping without compensating chuck (G331, G332)
- Tapping with compensating chuck (G63)
- Stop with thread cutting(LFOF, LFON, LFTXT, LFWP, LFPOS)
- Lifting on retraction (LFTXT, LFWP, LFPOS, POLF, POLFMASK; POLFMLIN)
- Approaching a fixed point (G75)
- Travel to fixed stop (FXS, FXST, FXSW)
- Chamfer, rounding (CHF, CHR, RND, RNDM, FRC, FRCM)
- Exact stop (G60, G9, G601, G602, G603)
- Continuous-path mode (G64, G641, G642, G643, G644)
- Acceleration behavior
- Influence of acceleration on following axes (VELOLIMA, ACCLIMA, JERKLIMA)
- Technology G groups (DYNNORM, DYNPOS, DYNROUGH, DYNSEMIFIN, DYNFISH)
- Smoothing the path velocity
- Traversing with feedforward control, FFWON, FFWOF
- Contour accuracy, CPRECON, CPRECOF
- Dwell time, G4
- Internal preprocessor stop
- General
- Frame instructions
- Programmable zero offset
- Axial zero offset (G58, G59)
- Programmable rotation (ROT, AROT, RPL)
- Programmable frame rotations with solid angles (ROTS, AROTS, CROTS)
- Programmable scale factor (SCALE, ASCALE)
- Programmable mirroring (MIRROR, AMIRROR)
- Frame generation according to tool orientation (TOFRAME, TOROT, PAROT)
- Deselect frame (G53, G153, SUPA, G500)
- Deselect DRF (handwheel) offsets, overlaid motions and transformation (DRFOF, CORROF TRAFOOF)
- Feedrate (G93, G94, G95 or F..., FGROUP, FGREF)
- Traversing positioning axes (POS, POSA, POSP, FA, WAITP, WAITMC)
- Position-controlled spindle operation (SPCON, SPCOF)
- Positioning spindles (position-controlled axis operation) (SPOS, M19 and SPOSA)
- Milling on turned parts (TRANSMIT)
- Cylinder surface transformation (TRACYL)
- Feedrate for positioning axes/spindles (FA, FPR, FPRAON, FPRAOF)
- Percentage feedrate override (OVR, OVRA)
- Feedrate with handwheel override (FD, FDA)
- Percentage acceleration override (ACC option)
- Feedrate optimization for curved path sections (CFTCP, CFC, CFIN)
- Spindle speed (S), direction of spindle rotation (M3, M4, M5)
- Constant cutting rate (G96, G961, G97, G971, LIMS)
- Constant grinding wheel peripheral speed (GWPSON, GWPSOF)
- Programmable spindle speed limitation (G25, G26)
- Multiple feedrate values in one block (F.., ST=.., SR=.., FMA.., STA=.., SRA=..)
- Blockwise feed (FB...)
- Tool offsets in the control's offset memory
- List of tool types
- Tool selection/tool call T
- Tool offset D
- Tool selection T with tool management
- Turning machine with circular magazine (T selection)
- Milling machine with chain magazine (T selection)
- Tool offset call D with tool management
- Milling machine with chain magazine (D call)
- Activating the active tool offset immediately
- Tool radius compensation (G40, G41, G42)
- Contour approach and retraction (NORM, KONT, KONTC, KONTT)
- Compensation at the outside corners (G450, G451)
- Smooth approach and retraction
- Approach and retraction with enhanced retraction strategies (G460, G461, G462)
- Collision monitoring (CDON, CDOF, CDOF2)
- ½ D tool offset (CUT2D, CUT2DF)
- Tool length compensation for orientable toolholders (TCARR, TCOABS, TCOFR)
- Grinding-specific tool monitoring in parts programs (TMON, TMOF)
- Additive offsets
- Specify wear and setup values ($TC_SCPxy[t,d], $TC_ECPxy[t,d])
- Delete additive offsets (DELDL)
- Special handling of tool offsets
- Mirroring of tool lengths
- Wear sign evaluation
- Tool length and plane change
- Tools with a relevant cutting edge length
- Special functions
- M functions
- H functions
- Arithmetic Parameters and Program Jumps
- Unconditional program jumps
- Conditional program jumps (IF, GOTOB, GOTOF, GOTO, GOTOC)
- Subprograms and Repetition of Program Sections
- Subprogram call
- Subprogram with program repetition
- Program section repetition
- Tables
- List of addresses
- List of G functions/preparatory functions
- List of predefined subprograms
- Predefined subprogram calls in motion-synchronous actions
- Predefined functions
- Data types
- A.1 Abbreviations
- Glossary
|
Subprograms and Repetition of Program Sections11.2 Subprogram callFundamentalsProgramming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1 11-5Example of R parameter transferN10 G0 X0 Y0 G90 T1 ;Tool T1 in rapid traverse to thefirst ;position, absolute dimensionN20 R10=10 R11=20 ;Describe ;arithmetic parameters R10and R11N30 RECTANGLE ;Call the rectangle subprogram;"RECTANGLE.SPF" with;transfer of R parameters:N15 G1 X=R10 G91 F500N25 Y=R11N35 X=-R10N45 Y=-R11N55 M17 ;End of subprogramN40 G0 X50 Y50 G90 ;Position tool at the next;machining positionN50 RECTANGLE ;Call the rectangle subprogram;"RECTANGLE.SPF" with;transfer of R parametersN60 M30 ;End of main programCalling main program as subprogramA main program can also be called as a subprogram. The end of program set in the mainprogram M30 is evaluated as M17 in this case (end of program with return to callingprogram). You program the call specifying the program name. Example: N10 MPF739 orN10 WELLE30DLQSURJUDP103)2U1:(//(2WKHU0DLQSURJUDP110A subprogram can also be started as a main program. PreviousNext |