home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / CNT5.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.7 KB  |  128 lines

  1. name Centurion 5
  2.  
  3. % 00
  4. O >4
  5. N >4
  6. G >2
  7. X ->3.>4
  8. Y ->3.>4
  9. Z ->3.>4
  10. A ->3.>4
  11. I ->3.>4
  12. J ->3.>4
  13. K ->3.>4
  14. Q ->3.>4
  15. R ->3.>4
  16. P >40
  17. F >3.2
  18. H >2
  19. D >2
  20. T >2
  21. M >2
  22. S >4
  23.  
  24.  
  25. ModalLetters X Y Z F                  # List of letters that are modal    
  26.  
  27. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  28.  
  29.  
  30. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  31. First#? N                             # Y or N  'Output 1st sequence no.  
  32. Last#? N                              # Y or N  'Output last sequence no. 
  33.  
  34. HCode X                               # X or X U  'Horizontal char.       
  35. VCode Y                               # Y or Y V  'Vertical char.         
  36. Dcode Z                               # Depth char.                       
  37. FeedCode F                            # Feed rate char.                   
  38.  
  39. Comment ( )                           # Begin End comment char.           
  40.  
  41. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  42. Coolant 8 9 7                         # On, Off & Mist m codes            
  43. DComp 41 42 40                        # Left, Right & Cancel m codes      
  44. LComp 43 49                           # On & Off codes                    
  45.  
  46. Feed G1                             # Linear move                       
  47. Rapid G0                            # Rapid positioning word            
  48. Cw G2                               # Circular move clockwise           
  49. Ccw G3                              # Circular move counter clockwise   
  50.  
  51. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  52.  
  53. CtrCode I J                           # I J or R or I J K L               
  54. Helical? N
  55.  
  56. Spaces? Y                             # Y or N  'Spaces between words     
  57. Incremental? N                        # Y or N  'Inc or abs output        
  58. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  59. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  60.  
  61. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  62.  
  63. WorkDefault 1                         # Work offset register default      
  64.  
  65. Drill                                 # Drilling canned/manual cycle      
  66.  
  67. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  68. end cancel
  69.  
  70. Peck                                  # Pecking canned/manual cycle       
  71. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  72. end cancel
  73.  
  74. Tap                                   # Tapping canned/manual cycle       
  75. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate] Q[VBite]
  76. end cancel
  77.  
  78. Ream                                  # Reaming canned/manual cycle       
  79. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  80. end cancel
  81.  
  82. Bore                                  # Boring canned/manual cycle        
  83. G89 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  84. end cancel
  85.  
  86. Cancel                                # Cancel a canned/manual cycle      
  87. G80
  88. end
  89.  
  90. StartCode                             # Start of the program              
  91. %0
  92. O[Program#]
  93. G90 G80 G40 G17
  94. End
  95.  
  96. 1stToolChange                         # First tool change                 
  97. T[Tool] M6
  98. M[Direct] S[Speed]
  99. G0 G[Work] X[H] Y[V]
  100. G43 Z[D] H[Lcomp]
  101. M[Cool]
  102. End
  103.  
  104. Infeed                                # Enable cutter comp                
  105. G[Side] X[H] Y[V] D[DComp] F[FRate]
  106. end
  107.  
  108. Outfeed                               # Disable cutter comp               
  109. G1 G40 X[H] Y[V]
  110. Z[D]
  111. end
  112.  
  113. ToolChange                            # Secondary tool changes            
  114. G0 G49 Z0 M9
  115. T[Tool] M6
  116. M[Direct] S[Speed]
  117. G0 G[Work] X[H] Y[V]
  118. G43 Z[D] H[Lcomp]
  119. M[Cool]
  120. End
  121.  
  122. EndCode                               # End of the program                
  123. G0 G49 G0 M9
  124. X0 Y0
  125. M30
  126. %0
  127. End
  128.