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

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