Fanuc 6T MS [+CGB] L747 85 4


{
MILL=F
LATHE=T
SIMPLE_ROT_POS=F
ROTARY_MILL=F
ADV_MILL=F
SUBS=F
MILLTURN_POLAR-SEG=F
MILLTURN_Y-AXIS=F
METRIC=F
}

{Change Comments ***********************************************************}

{2/21/90, Updated: Fanuc 6T MS [-] L005.55 to .69.3 format, JR}
{7/24/90, Added InitProg globally to posts with this remark, DWB}
{9/25/90, Updated to Version 3.2 per Fanuc 10T MS [-] L001.71.1 Format, DWB}
{10/2/90, Added StockOff globally at FirstOperation, DWB}
{10/8/90, Replace CalcRPM2 globally with CalcEPRPM# at end of prog, DWB}
{3/19/91, Updated to Version 4.0 per Fanuc 10T MS [-] L001.80 Format, DWB}

{08/06/91
Updated: Fanuc 6T MS (-) L005.80
For: Gibbs & Associates
Updated to Version 4.0 per Fanuc 6M M001.82 Format.
Kim Michelman}

{2/3/94
Copied & modified: Fanuc 6T MS (-) L005.82
For: CNCCS / Winegar, Inc.
Added GearRange.
Updated Approach subs to .82ż format, other misc update stuff.
Changed StrtPos to StrtPosC in Roughing canned cycle to suppress output of axis already in position.
Moved CoolOff to ZCPC line at end of program.
Combined CSSOff line and ZCPC line at end of tools.
Changed thread lead label from an E to an F.
Changed ToolAngle to 'A29' in CannedCycle Threading.
Jim Radcliffe}

{2/8/94, Created PosSideLathe version, JR}

{8/9/95, Updated Fanuc 6T MS [+WB] L298.82 to .85 format per Fanuc 6T MS (-) L005.85, JR}

{20Jul98
Original: Fanuc 6T MS [+WB] L298.85
Created: Fanuc 6T MS [+CGB] L747.85
For: C.G.Bretting Mfg
Changes made per: CNC Manual, FAX and conversations with Gerry Beebe
New Post: FIRST DRAFT
Added Formatting for Recall#
Added Spaces to all Address Codes
Changed to R Format Arcs.
Changed F to E in MachSpec Threading Cycle
Rewrote FirstOp and NewTool per Sample code
Added Custom Line Numbering for Tools. ( Maximum of 40 Tools )
Modified to support Tailstock Approach.
Customer requires OpToolID and LatheOffset called on ThisOpEntryXCP line.
Added Booleans to handle Block Deletes on all Threading and Finish Operations, at FirstOperation, NewTool and End of Prog
Deleted NewHome in NewTool and replaced with Literal ' G28 U.01 W.01'
Deleted GearRange Throughout Prog
Deleted CSSOn Boolean from the Common Point
Split StartPos line in Canned Cycles into two lines
Deleted < ConstantVolumeCut? AND SingleEdgeCut > style, Threading Cycle, and replaced with simple G76 style of output.
Deleted CSSOff Bollean at End of Prog
Charles Winston}

{29Jul98
Original: Fanuc 6T MS [+CGB] L747.85
Created: Fanuc 6T MS [+CGB] L747.85.1
For: C.G.Bretting Mfg
Changes made per: Gerry Beebe
Added Format#8 at Prog Numeric Format Definitions and added Formatting for Tool#
Added Booleans in ApproachSP to suppress ZSPC move when CannedCycle? or OptCyc1 is TRUE
Moved OpToolID LatheOffset to ThisOpEntryZCP line in Approach
Modified CheckOffset, FirstOperation and NewTool to support GearRange
Added GearTable Resource in MachSpec
Moved CRCOn to Approach and Deleted CkCRC Sub
Added OR OptCyc1? to CannedCycle Boolean in ToolPath
Deleted CkCRC from Toolpath and CheckRapid Subs
Deleted MaxRPM from FirstOperation and NewTool on the Preset Line
Changed Literal 'G28' to 'G30' in NewTool at Finish off last Operation
Changed Literal 'M28' to 'G30' in End of program
Added G70 Finish Turn Cycle in the Common Point,when NOT Canned, Using OptCyc1
Added Utility Data Instructions at InitProg.
Charles Winston}

{6Aug98
Original: Fanuc 6T MS [+CGB] L747.85.1
Created: Fanuc 6T MS [+CGB] L747.85.2
For: C.G.Bretting Mfg
Changes made per: Gerry Beebe
Added OptCyc1F at DoPostScript
Moved OpToolID LatheOffset from Approach to AppMove
Changed LOfstOff to OpToolID at End of Prog
Charles Winston}

{16Sep98
Original: Fanuc 6T MS [+CGB] L747.85.2
Created: Fanuc 6T MS [+CGB] L747.85.3
For: C.G.Bretting Mfg
Changes made per: Gerry Beebe
Added Post Boolean Description at the top of comments.
Moved LOfstOff to a seperate line in NewTool, Finish off last Operation and End of Prog
Changed Literal '/1 M99' to '/ M99' in NewTool, Finish off last Operation and End of Prog
Added OpExitZCPC move at End of Prog
Changed Format for D in G71 & G72 Canned Cyc from '^###0' to '^0000' in MachSpec
Charles Winston}

{19Feb99
Original: Fanuc 6T MS [+CGB] L747.85.3
Created: Fanuc 6T MS [+CGB] L747.85.4
For: C.G.Bretting Mfg
Changes made per: Gerry Beebe
Develop: Catalyst 5.03/ComPost2 1.7b15
Updated Post Header Comment at the top of Prog.
Added Formatting for Pallet# in Prog Numeric Format Definitions
Modified 'G70' Finish-Turn Cycle, at the Common Point. Command now uses PostScript PIN Commands
and outputs a finish cycle using the original P and Q values in the matching Roughing Cycle.
The Finish Pass allows the use of different tool from the Roughing Cycle. See Utility data for further details.
Added PalletInF and SetPalletIn('999') at PSInit.
Modified the Logic in ToolPath to suppress the last move of a Canned Cycle.
Added Code to store Zero in variables 51 thru 59 ( Initialise variables for G70 Finish Pass )
Added Utility Data Instructions at InitProg.
Charles Winston}

{Prog Numeric Format Definitions *******************************************}

#1 = '#.00'
#2 = '###.####;0.'
#3 = '#######0'
#4 = '###^##0'
#5 = '#.######;0.'
#6 = '###0'
#7 = '#'
#8= '#00'

FORMAT(FileFeet#,1)
FORMAT(FileMeters#,1)
FORMAT(MUL#,2) { Non-Canned Threading AutoFinish }
FORMAT(FirstMoveEPX#,2)
FORMAT(FirstMoveEPZ#,2)
FORMAT(SPZ#,2)
FORMAT(SPX#,2)
FORMAT(Program#,3)
FORMAT(Recall#,3)
FORMAT(Operation#,3)
FORMAT(Tool#,3)
FORMAT(Dwell#,4)
FORMAT(FeedIPR#,5)
FORMAT(CalcEPRPM#,6)
FORMAT(Pallet#,6)
FORMAT(RapidF#,7)
FORMAT(Tool#,8)

{Prog Subroutines **********************************************************}

RestoreScale:
IF Metric? {CAM file is in Metric, tools and tool path}
SetScale('.03937007874') { change to English, this is an English post}
END
RETURN

DoOpComments:
IF UseComments?
SetScale('1')
IF OperationIDComment?
'( OPERATION ' Operation# ': ' OperationType$ ' )' EOL
END
IF OperationComment?
'( ' OperationComment$ ' )' EOL
END
IF WorkGroupComment?
'( ' WorkGroupComment$ ' )' EOL
END
IF ToolTypeComment?
'( TOOL ' Tool# ': ' ToolSize$ ' ' ToolType$ ' )' EOL
END
IF ToolComment?
'( ' ToolComment$ ' )' EOL
END
RestoreScale
END
RETURN

PSInit: {reset flags from last Op, .70}
PalletInF
SetPalletIn('999')
RETURN

PSStuff:
RETURN

DoPostScript:
PSInit
OptCyc1F
EachPS
SeqLabC PostScript EOL
PSStuff
NextPS
RETURN

DoEndOpPS:
PSInit
EachEOPS
SeqLabC EndOpPS EOL
PSStuff
NextPS
RETURN

StockOnNoCan:
IF NOT CannedCycle?
StockOn {need stock for SP positioning, if not a canned cycle}
END
RETURN

FeedNoCan:
IF NOT CannedCycle?
FeedC
END
RETURN

FeedRateNoCan:
IF NOT CannedCycle?
FeedRateC
END
RETURN

ApproachSP:
IF ApproachFace?
SeqLabC StockOnNoCan XSPC EOL
SeqLabC StockOff ZOpCPC EOL
StockOnNoCan
IF NotEqual? CycleStartZ# ZOpCP#
SeqLabC FeedNoCan ZSPC FeedRateNoCan EOL
END
ELSE { ODApproach/IDApproach }
{ The following move is suppressed if CannedCycle? is TRUE, OR OptCyc1? is TRUE }
{ However the move is NOT suppressed if Threading? is TRUE }
IF CannedCycle? OR OptCyc1?
IF Threading?
SeqLabC StockOnNoCan ZSPC EOL
ELSE
TrackZNO# SPZ#
END
ELSE
SeqLabC StockOnNoCan ZSPC EOL
END
SeqLabC StockOff XOpCDC EOL
StockOnNoCan
IF NotEqual? CycleStartX# XOpCD#
SeqLabC FeedNoCan XSPC FeedRateNoCan EOL
END
END
RETURN

AppMove:
StockOff OpToolID LatheOffset CoolOn
RETURN

Approach: { MODIFIED FOR TAILSTOCK, 20/7/98 - CW }
Rapid RapidF# { RapidF# Forces FeedRate }
IF ApproachOD?
SeqLabC StockOff ThisOpEntryZCP EOL
SeqLabC CRCOnC ThisOpEntryXCP AppMove EOL
ELSE
IF ApproachID?
SeqLabC StockOff ThisOpEntryZCP EOL
SeqLabC CRCOnC XOpCD AppMove EOL
ELSE {ApproachFace}
SeqLabC StockOff ThisOpEntryZCP EOL
SeqLabC CRCOnC StockOnNoCan XSP AppMove EOL
END
END
ApproachSP
RETURN

CheckOffset: {with gear ranges}
DoEndOpPS
IF LAST ProgStop?
SeqLabC ' M0' EOL
ELSE
IF CoolOff? AND LAST NOT CoolOff?
SeqLabC CoolOff EOL
END
END
IF NewToolOffset?
SeqLabC LOfstOff '00' EOL
SeqLabC OpToolID LatheOffset EOL
END
IF NewGear?
SeqLabC GearRange EOL
END
IF ConstantSurfaceFeed?
IF LAST ConstantSurfaceFeed?
IF NotEqual? MaxRPM# LAST MaxRPM#
SeqLabC Preset MaxRPM EOL
END
SeqLabC SpeedC
ELSE
SeqLabC Preset MaxRPM EOL
SeqLabC CSSOn ' G96' Speed
END
ELSE
IF LAST ConstantSurfaceFeed?
SeqLabC CSSOff ' G97' Speed
ELSE
SeqLabC SpeedC
END
END
IF LAST ProgStop?
SpinOn EOL
SeqLabC CoolOn EOL
ELSE
EOL
IF NOT CoolOff? AND LAST CoolOff?
SeqLabC CoolOn EOL
END
END
DoPostScript
RETURN

FormatArc:
IF ArcCW?
CWArcC
ELSE
CCWArcC
END
MoveXC MoveZC
IF ArcIJFormat?
ArcIJC
ELSE
ArcRC
END
RETURN

CkCRC:
{ Not Supported }
RETURN

ToolPath:
EACHFeat
GetToolTip
IF LastFeat?
IF Drilling?
IF Tap?
SeqLabC SpinOff EOL
SeqLabC ' G4 P2000' EOL
SeqLabC Speed InverseSpinOn EOL
ELSE
IF Dwell?
SeqLabC ' G4P' Dwell# EOL
END
END
END
END
IF PointFeat?
SeqLabC MoveSXYC EOL
ELSE
IF RapidFeat?
SeqLabC RapidC MoveXC MoveZC EOL
ELSE
IF NOT LastFeat? AND NEXT LastFeat? AND CannedCycle?
SeqLab
END
IF LineFeat?
IF LastFeat? AND CannedCycle?
ELSE
SeqLabC FeedC MoveXC MoveZC FeedRateC EOL
END
ELSE
IF ArcFeat?
EACHQuadrant { Do not use NOT, LAST, FIRST or NEXT modifiers in this loop }
SeqLabC FormatArc FeedRateC EOL
NEXTQuadrant
ELSE
IF ThreadFeat?
SeqLabC ' G32' MoveXC MoveZC ThrdLead EOL
Rapid
END
END
END
END
END
NEXTFeat
RETURN

CheckRapid:
IF LAST CannedCycle?
Rapid
ELSE
RapidC
END
RETURN

{Start of executable Prog **************************************************}

{setup and initializations}
InitProg
SetAbs
PosSideLathe
SetMaxRPM('10000')
SetMaxFeed('500')
IF PSComment? AND UseComments?
'PostScript:' EOL
' Literals: put between single or double quotes.' EOL
' Separate commands and literals with at least one space.' EOL
' A CR ( RETURN key ) will start a new line.' EOL
' Commands: must be all capital letters when typed in.' EOL
' ENDOP -' EOL
' all literals and commands before an ENDOP command' EOL
' will appear at the beginning of the operation. All ' EOL
' literals and commands after an ENDOP command will appear' EOL
' at the end of the operation. ' EOL
' ' EOL
' Using the The PIN(x) command.' EOL
' The PIN(x) command must be entered in the Utility Data - At Op Start BOX' EOL
' in two seperate places. Once for a Roughing Operation and once for a finish pass.' EOL
' The value of x must be greater than zero and less than TEN. EXAMPLE: PIN(1)' EOL
' This will cause the Post to output a G72 Finish Cycle using the same P and Q values' EOL
' As the roughing Operation.' EOL
' NOTE[1]: Each pair of Operations ( rough and finish ), must use the same PIN(x) number.' EOL
' The Pin(x) command can be used up to a maximum of nine times in each part.' EOL
' For each pair of rough and finish operations, a different PIN number must be used.' EOL
END

{Setup custom Tool Line Numbering MAX 40 Tools}
Save# Num#('1') Num#('1')
Save# Num#('2') Num#('2')
Save# Num#('3') Num#('3')
Save# Num#('4') Num#('4')
Save# Num#('5') Num#('5')
Save# Num#('6') Num#('6')
Save# Num#('7') Num#('7')
Save# Num#('8') Num#('8')
Save# Num#('9') Num#('9')
Save# Num#('10') Num#('10')
Save# Num#('11') Num#('11')
Save# Num#('12') Num#('12')
Save# Num#('13') Num#('13')
Save# Num#('14') Num#('14')
Save# Num#('15') Num#('15')
Save# Num#('16') Num#('16')
Save# Num#('17') Num#('17')
Save# Num#('18') Num#('18')
Save# Num#('19') Num#('19')
Save# Num#('20') Num#('20')
Save# Num#('21') Num#('21')
Save# Num#('22') Num#('22')
Save# Num#('23') Num#('23')
Save# Num#('24') Num#('24')
Save# Num#('25') Num#('25')
Save# Num#('26') Num#('26')
Save# Num#('27') Num#('27')
Save# Num#('28') Num#('28')
Save# Num#('29') Num#('29')
Save# Num#('30') Num#('30')
Save# Num#('31') Num#('31')
Save# Num#('32') Num#('32')
Save# Num#('33') Num#('33')
Save# Num#('34') Num#('34')
Save# Num#('35') Num#('35')
Save# Num#('36') Num#('36')
Save# Num#('37') Num#('37')
Save# Num#('38') Num#('38')
Save# Num#('39') Num#('39')
Save# Num#('40') Num#('40')

Save# Num#('51') Num#('0') { Initialise variables for G70 Finish Pass }
Save# Num#('52') Num#('0')
Save# Num#('53') Num#('0')
Save# Num#('54') Num#('0')
Save# Num#('55') Num#('0')
Save# Num#('56') Num#('0')
Save# Num#('57') Num#('0')
Save# Num#('58') Num#('0')
Save# Num#('59') Num#('0')

EachOp {Start of post processing *********************}
GetLCycle
IF FirstOperation?
EOR EOL
ProgID1
IF UseComments? AND ProgramNameComment?
'( ' ProgramName$ ' )'
END
EOL
IF UseComments?
IF ProgramComment?
'( ' ProgramComment$ ' )' EOL
END
IF FormatNameComment?
'( FORMAT: ' FormatName$ ' )' EOL
END
IF TimeComment?
'( ' Date$ ' AT ' Time$ ' )' EOL
END
IF MovesComment?
'( OUTPUT IN ABSOLUTE INCHES )' EOL
END
END
RestoreScale
OpenSub
StockOff
SetHome
DoOpComments
DoPostScript
Plane
Save# Tool# Add# Recall# Tool# Num#('1000')
'N' Recall# Tool# Rapid ' T' Tool# '00' GearRange EOL
Save# Num#('50') Recall# Tool#
SeqLabC Preset Home EOL
SeqLabC
IF ConstantSurfaceFeed?
CSSOn ' G96'
ELSE
CSSOff ' G97'
END
Speed SpinOn EOL
Approach
ELSE
IF NewTool?

{Finish off last Operation}

StockOff
CheckRapid
IF LAST ApproachOD?
SeqLabC LAST OpExitXCPC EOL
ELSE
IF LAST ApproachID?
SeqLabC LAST XOpECDC EOL
END
END
DoEndOpPS
SeqLabC Rapid CRCOffC ' G30 U.01 W.01' CoolOff EOL
SeqLabC LOfstOff '00' EOL
IF LAST Turning? OR LAST Threading?
SeqLabC ' M0' EOL
'/ M99 P' Recall# Num#('50') EOL
ELSE
IF LAST ProgStop?
SeqLabC ' M0' EOL
ELSE
SeqLabC ProgStop EOL
END
END

{Start new Operation}

DoOpComments
DoPostScript
Save# Tool# Add# Recall# Tool# Num#('1000')
'N' Recall# Tool# Rapid ' T' Tool# '00' GearRange EOL
Save# Num#('50') Recall# Tool#
SeqLabC Preset Home EOL
SeqLabC
IF ConstantSurfaceFeed?
CSSOn ' G96'
ELSE
CSSOff ' G97'
END
Speed SpinOn EOL
Approach
ELSE
IF SameTool?

{Start new Operation}

StockOff
DoOpComments
IF LAST StraightConnect?
CheckOffset
CheckRapid
SeqLabC StockOnNoCan XSPC ZSPC EOL
ELSE
CheckRapid
IF ApproachOD?
IF LAST ApproachOD?
SeqLabC LAST XOpECDC EOL
ELSE {around}
IF LAST ApproachID?
SeqLabC LAST XOpECDC EOL
END
SeqLabC LAST OpExitZCPC EOL
SeqLabC LAST OpExitXCPC EOL
END
ELSE
IF ApproachID?
IF LAST ApproachID?
SeqLabC LAST XOpECDC EOL
ELSE
IF LAST ApproachOD? {around}
SeqLabC LAST OpExitXCPC EOL
END
SeqLabC LAST OpExitZCPC EOL
SeqLabC XOpCDC EOL
END
ELSE {ApproachFace}
IF LAST ApproachFace?
SeqLabC LAST ZOpECPC EOL
ELSE
IF LAST ApproachOD? {around}
SeqLabC LAST OpExitXCPC EOL
ELSE {LAST ApproachID}
SeqLabC LAST XOpECDC EOL
END
SeqLabC LAST OpExitZCPC EOL
END
END
END
CheckOffset
ApproachSP
END
END
END
END {common point for all operations}
IF CannedCycle?
StockOff
IF Roughing?
IF RoughSimple?
StockOn
SetPass1
SeqLabC LCycle
IF ApproachFace?
'Z' FirstMoveEPZ# XatFinZ
ELSE
XatFinZ FinZ
END
XTapAtZ FeedRate EOL
SimpleRough
ELSE
TagInc
SetPass2
IF NotEqual? Pallet# Num#('999')
IF GTEqual? Pallet# Num#('10')
'( * Warning : PIN(' Pallet# ') is Not valid. The Value must be less than 10 * )' EOL
ELSE
IF LTEqual? Pallet# Num#('0')
'( * Warning : PIN(' Pallet# ') is Not valid. The Value must be greater than zero * )' EOL
ELSE
Save# Add# Num#('50') Pallet# Tag#
END
END
END
IF RoughContour?
SeqLabC LCycle ' PÅ‚' Tag# ' Q²' Tag# XStkLeft ZStkLeft CutDepth FeedRate EOL
'>' Tag# EOL
IF ApproachFace?
SeqLab StepMove ' Z' SPZ# EOL
SeqLabC FeedC ' X' SPX# EOL
ELSE
SeqLab StepMove ' X' SPX# EOL
SeqLabC FeedC ' Z' SPZ# EOL
END
ELSE
IF RoughPatternShift?
SeqLabC LCycle ' PÅ‚' Tag# ' Q²' Tag# XStkLeft ZStkLeft XminusU ZminusW NumCuts FeedRate EOL
'>' Tag# EOL
SeqLab Rapid StrtPosC EOL
END
END
ToolPath
'<' Tag# EOL
IF AutoFinish?
SeqLabC ' G70' ' PÅ‚' Tag# ' Q²' Tag# EOL
END
SetPass1
TrackXNO# CycleStartX#
TrackZNO# CycleStartZ#
END
ELSE
IF Threading?
IF Chamfer?
SeqLabC ' M23' EOL
END
SeqLabC LCycle XatFinZ FinZ XTapAtZ ThrdHeight CutDepth ThrdLead ' A60' EOL
IF AutoFinish?
SeqLabC ' G92' XatFinZ FinZ XTapAtZ ThrdLead EOL
END
IF Chamfer?
SeqLabC ' M24' EOL
END
ELSE
IF Drilling?
IF Tap?
SeqLabC LCycle ZDepth ' E' FeedIPR# EOL
SeqLabC SpinOff EOL
SeqLabC ' G4 P2000' EOL
SeqLabC Speed InverseSpinOn EOL
SeqLabC ZSP EOL
ELSE
SeqLabC LCycle FromCP ZDepth RLevel Dwell Peck Retract FeedRate EOL
SeqLabC DrillOff EOL
IF AutoFinish?
SeqLabC Feed ZDepth EOL
IF Dwell?
SeqLabC ' G4 P' Dwell# EOL
END
IF NOT FIFO?
Rapid
END
SeqLabC ZSP EOL
END
END
ELSE
IF Grooving?
StockOn
SetPass1
SeqLabC StrtPos EOL
ToolPath
END
END
END
END
ELSE
SetFlagF('9')
IF NotEqual? Pallet# Num#('999')
IF GTEqual? Pallet# Num#('10')
'( * Warning : PIN(' Pallet# ') is Not valid. The Value must be less than 10 * )' EOL
ELSE
IF LTEqual? Pallet# Num#('0')
'( * Warning : PIN(' Pallet# ') is Not valid. The Value must be greater than zero * )' EOL
ELSE
IF Equal? Num#('0') Recall# Add# Pallet# Num#('50')
'( * Warning : PIN(' Pallet# ') is Not valid. There appears to be no matching Roughing Cycle * )' EOL
ELSE
SetFlag('9')
END
END
END
END
IF Turning? AND Flag?('9') { Finish Contour Cycle }
SetPass1
SeqLabC ' G70' ' PÅ‚' Recall# Add# Num#('50') Pallet# ' Q²' Recall# Add# Num#('50') Pallet# FeedRateC EOL
ELSE
StockOn
SetPass1
ToolPath
END
IF AutoFinish? { .82.1c }
StockOff
IF Turning?
IF ApproachFace?
SeqLabC RapidC ZOpECPC EOL
ELSE
SeqLabC RapidC XOpECDC EOL
END
ApproachSP
SeqLabC StockOff StrtPosC EOL
ToolPath
ELSE
IF Roughing? AND NOT RoughSimple?
SetPass2
SeqLabC RapidC XSPC ZSPC EOL
SeqLabC StockOff StrtPosC EOL
ToolPath
SetPass1
ELSE
IF Threading?
SeqLabC ' X' MUL# Num#('2') ADD# FinishXRadius# Taper# EOL
SeqLabC ' G32'
IF Taper?
XatFinZ
END
FinZ ThrdLead EOL
SeqLabC Rapid XSP EOL
SeqLabC ZSP EOL
END
END
END
END
END
IF Drilling? AND Tap?
SeqLabC SpinOff EOL
SeqLabC ' G4 P2000' EOL
SeqLabC Speed SpinOn EOL
END
NextOp {loops back to EachOP until last Operation}

{End of program ************************************************************}

{finish last operation}
StockOff
CRCOffC
IF CannedCycle?
Rapid
ELSE
RapidC
END
IF ApproachOD?
SeqLabC OpExitXCPC EOL
ELSE
IF ApproachID?
SeqLabC XOpECDC EOL
END
END
SeqLabC OpExitZCPC EOL
SeqLabC Rapid CRCOff ' G30 U.01W.01' CoolOff EOL
SeqLabC OpToolID '00' EOL
IF Turning? OR Threading?
SeqLabC ' M0' EOL
'/ M99 P' Recall# Num#('50') EOL
ELSE
IF LAST ProgStop?
SeqLabC ' M0' EOL
ELSE
SeqLabC ProgStop EOL
END
END
DoEndOpPS
SeqLabC EOP EOL
Post
EOR EOL
Close
Retag
IF UseComments?
SetScale('1') {restore scale for comments}
Reopen
IF FileBytesComment?
'( FILE LENGTH: ' FileBytes# ' CHARACTERS )' EOL
END
IF FileFeetComment?
'( FILE LENGTH: ' FileFeet# ' FEET )' EOL
END
IF FileMetersComment?
'( FILE LENGTH: ' FileMeters# ' METERS )' EOL
END
Close
END


Wyszukiwarka

Podobne podstrony:
Fanuc 6T MS [SE] L683 85
Fanuc 6T MS [VE] L392 85 1
Fanuc 6T MS [JBT] L480 85
Fanuc 6T MS [G92 R] L071 85
Fanuc 6T MS [PW] L465 85 1m
Fanuc 6T MS [ PM] L251 85
Fanuc 6T MS ( r) [OI] L449 85
Fanuc 6T MS [MM] L450 85
Fanuc 6T MS [MM] L450 85
Fanuc 6T MS [ f] L006 85
Fanuc 6T MS TL5 [GHH] L693 85 2
Fanuc 6T MS [A&D ] L243 85
Fanuc 6T MS [ ] L016 85
Fanuc 6T MS ( ) L005 85

więcej podobnych podstron