Download CHAPTER 12
Transcript
Example: G90 G1 X1.0 F50 ; linear mill to X1 at 50 units/minute H - Tool Length Offset Number H is used to select the Tool Length Offset Number. The H code offset amounts are stored in the file Offset Library. Tool Length Offsets can be specified anytime before a G43 or G44 is issued. Once specified the offset amount is stored and will only be changed when another H code is entered. The Tool Length Offset (H) can be placed on a line by itself or on a line with other G-codes. H00 is always a 0.0 length offset. Example: G43 H1 Z3 G1X0Y1 H3 X1Y1.25 G0H5 ; Selects offset corresponding to H1, moves to Z3 ; ; Selects offset corresponding to H3. ; ; Selects offset corresponding to H5. * NOTE: See Tool/Offset Library Edit (Chapter 4) for editing instruction for the offset library. For information on length compensation functions see G43 and G44 in Chapter 13. N - Block Number Block numbers are used to identify CNC program lines. Block numbers are optional, but can be used with the Search Function (See Main Screen Search option in Chapter 2). Block numbers also can make reading the NC files easier. Example: N1 G90 G17 M25 N2 G0 X0 Y0 Z0 O - Program Number The O program number allows you to identify your program with a certain number. If the program number is 9100-9999, the G codes from the O number through the next M99 will be extracted and placed in a separate subprogram/macro file. The lines will not be executed until the resulting file is called with M98 or G65. Example: O1521 N1 G90 G17 M25 N2 G0 X0 Y0 Z0 P - Parameter 12-2 M-Series Operator’s Manual 6/7/12