Okuma 700L [GT] L656 85


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

{9/23/88
Copied & modified: Okuma OSP 3000-LC20 L049.51
For: Shultz
Machine: Okuma
Control: OSP 5000 LB15
Machine only has one Turret, no need to call for or see Tool# for 2nd Turret.
Deleted ToolOver20? stuff, added conventional OpToolID stuff.
Changed FORMATs to 4-place non-decimal trailing Zero's.
Added spaces between Codes.
JR}

{9/29/88
Modified: Okuma OSP 3000-LB20 L067.51
Worked on Canned Cycles.
BG,JR}

{5/9/89
Copied & modified: Okuma OSP 3000-LB20 L067.56
For: Petes Workshop
Machine: Okuma
Control: OSP 5000 LB15
New 1st line of program with End of Record code.
Changed FORMATs to decimal.
Modified Canned Cycles.
JR}

{9/27/89, updated & added PostScript to Okuma OSP 5000 LB15 L103.55, JR}
{3/15/90, Updated: Okuma OSP 5000 LB15 L103.61 to .69.3 format, JR}
{7/24/90, Added InitProg globally to posts with this remark, DWB}
{9/5/91, Updated Okuma OSP 5000 LB15 L103.70 to .82 format, JR}


{5/14/93
Modified: Okuma OSP 5000 LB15 L103.82
For: Gibbs & Associates
Updated to Version 4.1 per Fanuc 10T MS [-] L001.82.1 Format.
DWB}

{6/2/93
Modified: Okuma OSP 5000 LB15 L103.82.1
For: Gibbs & Associates/Cigraph PTY
Changes made per E-Mail from Maurizio at Cigraph PTY.
Change CutDepth to XCutDepth#/ZCutDepth# at CannedCycle RoughContour.
DWB}

{10/6/94
Updated: Okuma OSP 5000 LB15 L103.82.2
For: Gibbs & Associates/Cigraph PTY/MD Research
Versions: ncCad 4.33/ncCAM 4.33/ncPost 4.33.03/Compost 4.21.22
Updated to Version 4.1 per Fanuc 10T MS [-] L001.82.1a Format.
Added SetAbs at setup and initializations.
Added StandardXZArcs at setup and initializations.
Changed MoveType$ to literal 'ABSOLUTE' at FirstOperation.
Added AND NOT Threading? condition at AutoFinish.
Moved Post command in front of EOR EOL at end of Prog.
DWB}

{2/7/95
Copied & modified: Okuma OSP 5000 LB15 L103.82.3
For: Rick Meide / Cheetah Precision
Control: Okuma OSP 5500
Machine: Okuma Cadet
Added move to Home is FirstOperation.
Go directly to, and stay in, G96 in CSS operations.
Moved tool and spindle calls to Approch sub.
Added Rapid on 1st Approach move and NewHome.
Removed spaces between codes
Modified the program ID line:
removed the '.MIN', the customer will enter it with the program name.
added a liter letter 'O' preceding the program name.
Jim Radcliffe}

{9/10/95, Updated Okuma OSP 5500 Cadet L331.82.3 to .85 foramt per Fanuc 10T MS [-] L001.85.01.01, JR}

{2/21/97,
Initial: Okuma OSP 5500 Cadet L331.85
Created: Okuma 700L Lxxx.85
For: Sonntag
Changed name of post, MPK
}

{10/27/97,
Initial Post: Okuma 700L L565.85
Created: Okuma 700L L656.85
Customer: Gear Technology

Changes to "Form":

1. Changed Lead of Thread (F) Format to 2.5.
2. Changes to Arcs:
a. Checked Allow R-Format Arcs
b. Added 'L' as R-Format Arc Lable
c. Under I-J-K Arc Discrimination, checked By Max Angle
d. Checked Negative angle > 180 j
e. Set I-J Max Arc Radius to 0 and R-Format Max Arc Angle to 180
3. Added Default Format to L, ####.####;0
4. Under Program Stops, changed End Program to M2 & Optional End Program to M30.

Changes to "Prog":

1. Moved block number from G50 block to TC block.
2. Removed "OpToolID LatheOffset LatheOffset Speed SpinOn CoolOn 'M42'" from AppMove.
3. Made some changes to Approach routine.
4. Added "SeqLab OpToolID LatheOffset LatheOffset G97orG96 Speed SpinOn CoolOn 'M42' EOL"
line before calling the Approach routine.
5. Removed G33 from ToolPath routine.
6. Added ThreadCycle routine.
7. Added IF Threading? and goto ThreadCycle instead of ToolPath.
8. Added FORMAT to FirstMoveEPX#.
9. Changed CheckRapid Routine (not to output 2 Rapid code in a row).
10. Changed CheckOffset Routine (not to output 2 Speed code in a row).
JHE}


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

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

FORMAT(FileFeet#,1)
FORMAT(FileMeters#,1)
FORMAT(MUL#,2) { Non-Canned Threading AutoFinish }
FORMAT(XCutDepth#,2)
FORMAT(ZCutDepth#,2)
FORMAT(Program#,3) {.72}
FORMAT(Operation#,3) {.72}
FORMAT(Tool#,3) {.72}
FORMAT(Dwell#,4) {.72}
FORMAT(Peck#,5)
FORMAT(CalcEPRPM#,6)
FORMAT(RapidF#,7)
FORMAT(InFeedAngle#,8)
FORMAT(FirstMoveEPX#,5) {Added - JHE}

{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}
RETURN

PSStuff:
RETURN

DoPostScript:
PSInit
EachPS
SeqLabC PostScript EOL {literals}
PSStuff {commands}
NextPS
RETURN

DoEndOpPS:
PSInit
EachEOPS
SeqLabC EndOpPS EOL {literals}
PSStuff {commands}
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 }
SeqLabC StockOnNoCan ZSPC EOL
SeqLabC StockOff XOpCDC EOL
StockOnNoCan
IF NotEqual? CycleStartX# XOpCD#
SeqLabC FeedNoCan XSPC FeedRateNoCan EOL
END
END
RETURN

AppMove: {Removed "OpToolID LatheOffset LatheOffset Speed SpinOn CoolOn 'M42'"}
StockOff ThisOpEntryZCP {from this line - JHE}
RETURN

G97orG96:
IF ConstantSurfaceFeed?
CSSOn 'G96'
ELSE
CSSOff 'G97'
END
RETURN

Approach: { NOT FOR TAILSTOCK, .82 }
RapidF# {RapidF# Forces FeedRate} {Removed Rapid & G97orG96 from this line - JHE}
IF ApproachOD?
SeqLabC Rapid ThisOpEntryXCP AppMove EOL {Added Rapid - JHE}
ELSE
IF ApproachID?
SeqLabC Rapid XOpCD AppMove EOL {Added Rapid - JHE}
ELSE {ApproachFace}
SeqLabC Rapid StockOnNoCan XSP AppMove EOL {Added Rapid - JHE}
END
END
ApproachSP
RETURN

CheckOffset:
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 ConstantSurfaceFeed?
IF LAST ConstantSurfaceFeed?
IF NotEqual? MaxRPM# LAST MaxRPM#
SeqLabC Preset MaxRPM EOL
END
IF NotEqual? SpeedRPM# LAST SpeedRPM#
SeqLabC Speed
END
ELSE
SeqLabC Preset MaxRPM EOL
SeqLabC CSSOn 'G96' Speed
END
ELSE
IF LAST ConstantSurfaceFeed?
SeqLabC CSSOff 'G97' Speed
ELSE
IF NotEqual? SpeedRPM# LAST SpeedRPM#
SeqLabC Speed
END
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: { 4.2 }
IF XMove? OR ZMove? { Approach Length Feature and Multiple Pockets }
IF NOT LastFeat?
CRCOnC
END
END
IF LastFeat? AND EmptyLine? { Exit Length Feature }
CRCOffC
END
RETURN

ThreadCycle: {Added this routine - JHE}
IF Taper?
SeqLabC 'G33' 'X' FirstMoveEPX# FinZ XTapAtZ ThrdLead EOL
SeqLabC SimpleRough EOL
ELSE
SeqLabC 'G33' 'X' FirstMoveEPX# FinZ ThrdLead EOL
SeqLabC SimpleRough EOL
END
RETURN

ToolPath:
EACHFeat
GetToolTip
IF LastFeat?
IF Drilling?
IF Tap?
SeqLabC SpinOff EOL
SeqLabC 'G4P2000' 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 LineFeat?
SeqLabC CkCRC FeedC MoveXC MoveZC FeedRateC EOL
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 'G33' MoveXC MoveZC ThrdLead EOL}
{Rapid} {Removed G33 from ToolPath - JHE}
END
END
END
END
END
NEXTFeat
RETURN

CheckRapid:
IF LAST Threading? {Added this check - JHE}
CRCOffC Rapid
ELSE
CRCOffC RapidC {Changed Rapid to RapidC - JHE}
END
RETURN

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

{setup and initializations}
InitProg
SetAbs
PosSideLathe
StandardXZArcs
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
END
EachOp {Start of post processing *********************}
GetLCycle
IF FirstOperation?
'$O' ProgramName$ EOR EOL
IF UseComments?
IF ProgramNameComment?
'( PROGRAM: ' ProgramName$ ' )' EOL
END
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 {.71.2}
SetHome
Plane
DoOpComments
DoPostScript
{SeqLab {drop unconditional for 1st line}} {Removed this line - JHE}
IF ConstantSurfaceFeed?
SeqLabC Preset MaxRPM EOL
END
SeqLabC Rapid Home EOL
SeqLab OpToolID LatheOffset LatheOffset G97orG96 Speed SpinOn
CoolOn 'M42' EOL {Added this line - JHE}
Approach
ELSE
IF NewTool?

{Finish off last Operation}

StockOff {.62}
CheckRapid
IF LAST ApproachOD?
SeqLabC LAST OpExitXCPC EOL
ELSE
IF LAST ApproachID?
SeqLabC LAST XOpECDC EOL
END
END
SeqLabC LAST OpExitZCPC EOL
DoEndOpPS
SeqLabC Rapid NewHome CoolOff EOL {Added CoolOff and EOL - JHE}
IF LAST ProgStop?
'M0' EOL
ELSE
ProgStop EOL
END

{Start new Operation}

DoOpComments
DoPostScript
{SeqLab {drop unconditional for 1st line}} {Removed this line - JHE}
IF ConstantSurfaceFeed?
SeqLabC Preset MaxRPM EOL
END
SeqLab OpToolID LatheOffset LatheOffset G97orG96 Speed SpinOn
CoolOn 'M42' EOL {Added this line - JHE}
Approach
ELSE
IF SameTool? {.62}

{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 NOT RoughSimple?
TagInc
SetPass2
IF RoughContour?
SeqLabC 'G85Nł' Tag#
IF ApproachFace?
'D' ZCutDepth#
ELSE
'D' XCutDepth#
END
FeedRate XStkLeft ZStkLeft EOL
'>' Tag# EOL
IF ApproachFace?
SeqLab 'G82' EOL
ELSE
SeqLab 'G81' EOL
END
ELSE
IF RoughPatternShift?
SeqLabC 'G86Nł' Tag#
IF ApproachFace?
'D' ZCutDepth#
ELSE
'D' XCutDepth#
END
FeedRate XStkLeft ZStkLeft EOL
'>' Tag# EOL
IF ApproachFace?
SeqLab 'G82' EOL
ELSE
SeqLab 'G81' EOL
END
END
END
SeqLabC StepMove StrtPos EOL
IF Threading? {Added this check - JHE}
ThreadCycle
ELSE
ToolPath
END
SeqLabC 'G80' EOL
IF AutoFinish?
SeqLabC 'G87Nł' Tag# EOL
END
SetPass1
TrackXNO# CycleStartX#
TrackZNO# CycleStartZ#
END
ELSE
IF Threading?

{ G72 Face Threads modification would require changes to XTapAtZ command with W Address }

SeqLabC 'G71' XatFinZ FinZ XTapAtZ
IF SingleEdgeCut?
'B' InFeedAngle#
ELSE
'B0'
END
CutDepth ThrdHeight ThrdLead 'M32'
IF ConstantVolumeCut?
'M75'
ELSE
'M74'
END
IF Chamfer?
'M23'
ELSE
'M22'
END
EOL
IF AutoFinish?
SeqLabC 'G33' XatFinZ FinZ XTapAtZ ThrdLead EOL
SeqLabC Rapid XCSP EOL
SeqLabC ZCSP EOL
END
ELSE
IF Drilling?
SeqLabC
IF Tap? AND NOT CWSpindle?
'G78'
ELSE
LCycle
END
XCSP ZDepth Peck Retract
IF PeckFullRetract?
'L' Peck#
END
FeedRate Dwell EOL
END
END
END
ELSE
StockOn
SetPass1
IF Threading? {Added this check - JHE}
ThreadCycle
ELSE
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 'G33'
IF Taper?
XatFinZ
END
FinZ ThrdLead EOL
SeqLabC Rapid XSP EOL
SeqLabC ZSP EOL
END
END
END
END
IF Drilling? AND Tap?
SeqLabC SpinOff EOL
SeqLabC 'G4P2000' EOL
SeqLabC Speed SpinOn EOL
END
END
NextOp {loops back to EachOP until last Operation}

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

{finish last operation}
StockOff
IF Threading? OR Tap? {Added this check - JHE}
CRCOffC Rapid
ELSE
CRCOffC RapidC {Changed Rapid to RapidC - JHE}
END
IF ApproachOD?
SeqLabC OpExitXCPC EOL
ELSE
IF ApproachID?
SeqLabC XOpECDC EOL
END
END
SeqLabC OpExitZCPC EOL
DoEndOpPS
SeqLabC Rapid FirstHome CoolOff EOL
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:
Okuma 700L [SMH] L717 85
Okuma 700L L565 85
Okuma OSP 500L G L237 85 2
Okuma 5020L [KC] L815 85
Cin AT 900TC [GT] L737 85 2
Yasnac 2000GII MS [GT] L658 85
Okuma OSP5020L [SMP] L451 85 2m
Siemens Tos 5 [GT] L636 85 1
Okuma OSP5020L [SMP] L451 85 3
Fanuc 6T Shoun [GT] L319 85 1
Siemens Tos 4 [GT] L635 85 1
Yasnac 2000GII MS [GT] L657 85
Okuma OSP5020L Cadet L373 85
GE 2000 WhiteGray GT L660 85 3
GE 550 HNC [GT] L346 85 1
Cin Acr 850 SX [GT] L738 85 1
Okuma OSP 5020L [PB] L604 85 1

więcej podobnych podstron