Fanuc Pro3 Mak LH [AE] CV70 15


{5/24/93
created initial NoSubs Processor to .81 format
FIFO stuff not supported
variables: 1 = tools 1st op; 2 = tools last op; 3 = ncCAMs last op
Jim Radcliffe}

{7/29/93, v.81.1, added FIFO handling, JR}
{8/3/93, v.81.2, SameTool WFO, RapidF#, additional FIFO handling, JR}
{9/12/95, v.81.3, FIFO? queries changed to ExitType & ExitFeed calls, WFO MultipleParts, JR}
{5/8/96, v.89, Return to the StrtPos before next iteration of CutAutoCycle Repeats ZshiftOnly, JR}
{6/4/96, v.89.1, minor corrections SeqC, CRCOff & SameTool, JR}

{3/14/97
Initial: Fanuc 6M NoSubs M877.89.1
Created: Fanuc 6M NoSubs D877.15
Develop: ComPost2 68K 1.0b11, Virtual Gibbs 3.31 PPC
Comment: Created Advanced Mill version of this popular NoSubs processor!
Maintained the .89 prog format to simplify creating.
Do not know if we can use the .15 prog format with NoSubs output!
Cannot use Toggling WFO Multiple Parts!
Jim Radcliffe}

{4/17/97
Initial: Fanuc 6M NoSubs D877.15
Created: Fanuc 6M NoSubs C877.15
Develop: ComPost2 68K 1.0b11, CatalystPPC v3.33C
Comment: Creted C style Advanced Mill Processor.
Jim Radcliffe}

{4/25/97
Initial: Fanuc 6M NoSubs C877.15
Created: Fanuc 6M NoSubs C877.15.1
Develop: ComPost2 68K 1.0b11. CatalystPPC v3.33C
Comment: Added format for Tag#. Deleted CallMasterNum# format.
Jim Radcliffe}

{1/21/98
Initial: Fanuc 6M NoSubs C877.15.1
Created: Fanuc 6M NoSubs C877.15.2
Develop: ComPost2 1.1b3, Virtual 4.21.21
Comment: Updated per Fanuc 6M NoSubs M877.89.4
Rewrote AutoCycle positioning in ToolPath to overcome bug with FirstFeat?
Conditional absolute and incremental commands.
Jim Radcliffe}

{4/30/98,
Initial : Fanuc 6M NoSubs C877.15.2
Created: Fanuc Pro3 Makino LH [AE] CV70.15
Customer: Applied Engineering, Bryan Derby 605/665-4425

Changes to "Form":

1. Under Default Formats, changed F format to ###.0#;0.0 changed G & M format
to #00 changed IJK R XYZ to ####.0###;0.0 and Q to ####^###0;0
2. Under Spindle & Coolant, changed Max Spindle RPM to 20000.

Changes to "Prog":

1. Changed fixture offset from G54 thru G59 to G54.1P1 thru G54.1P48 and added
CalcWFONum sub. Also changed the max number of WFO from 6 to 48.
2. Changed #2 and #3 format.
3. Added SetMaxRPM('20000').
4. Changed to Seq for all tool change (M06) and spindle on (M03) blocks.
5. Before tool change and End, removed Z-axis motion (customer wants ZCP3),
coolant & spindle off, and tool offset off.
6. Under SameTool, moved the Z-axis 8.0 inches up before Stop, Offset change
and rotary motion.
7. Changed all motions before FullUp? to Z8.0
8. Added Speed (S___) to tapping cycles (G84).
9. Added Tools and Fixture Offset lists at tape start.
JHE}


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

#1 = '#.00'
#2 = '#####.###;0.'
#3 = '*#####.0##;0.0' {Changed from *#####.###;0. - JHE}
#4 = '####.0###;0.0' {Changed from ####.####;0. - JHE}
#5 = '#######0'
#6 = '####^##0'
#7 = '#;'

FORMAT(FileFeet#,1)
FORMAT(FileMeters#,1)
FORMAT(CSOffsetA#,3)
FORMAT(CSOffsetB#,3)
FORMAT(ToolDiameter#,4)
FORMAT(CSOffsetX#,4)
FORMAT(CSOffsetY#,4)
FORMAT(CSOffsetZ#,4)
FORMAT(TrackZNO#,4)
FORMAT(ADD#,5)
FORMAT(CS#,5)
FORMAT(Tag#,5)
FORMAT(Program#,5)
FORMAT(Operation#,5)
FORMAT(Tool#,5)
FORMAT(NewWFO#,5)
FORMAT(Parts#,5)
FORMAT(Dwell#,6)
FORMAT(RapidF#,7)

{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

CalcWFONum: {Added this sub - JHE}
{ CalcWFONum = CS# + (NumOfCS# x (PartNum# - 1)) }
ADD# CS# MUL# NumOfCS# SUB# PartNum# Num#('1')
RETURN

CSWFO: {Changed G to G54.1P and call sub CalcWFONum - JHE}
'G54.1P' CalcWFONum {ADD# ADD# CS# MUL# NumOfCS# SUB# PartNum# Num#('1') Num#('53')}
RETURN

WFOStuff:
IF WFOCS?
IF FirstOperation? OR NewTool? OR ChangeCS?
CSWFO
END
ELSE
IF NOT SameTool?
IF MultipleParts?
IF WorkFixtureOffsets?
'G54.1P' ADD# PartNum# Num#('0') {Changed G to G54.1P and 53 to 0 - JHE}
ELSE
IF FirstPart?
'G54.1P1' {Changed G54 to G54.1P1 - JHE}
END
END
ELSE
'G54.1P1' {Changed G54 to G54.1P1 - JHE}
END
END
END
RETURN

CSG52:
IF FirstOperation? OR NewTool? OR ChangeCS?
SeqC 'G52X' CSOffsetX# 'Y' CSOffsetY# 'Z' CSOffsetZ# EOL
END
RETURN

G52Stuff:
IF AAxisAvail? OR BAxisAvail?
IF NOT WFOCS?
IF MultipleParts?
IF WorkFixtureOffsets?
CSG52
END
ELSE
CSG52
END
END
END
RETURN

DoSubComment:
IF UseComments? AND SubComment?
'( CYCLE START )' EOL
END
RETURN

DoCSComment:
IF AAxisAvail? OR BAxisAvail?
'( CS#' CS# ' - ' CSComment$ ' )' EOL
END
RETURN

DoCSWFOComment:
IF AAxisAvail? OR BAxisAvail?
'( ' CSWFO ' = X' CSOffsetX# ' Y' CSOffsetY# ' Z' CSOffsetZ# ' )' EOL
END
RETURN

CSComments:
IF FirstOperation? OR NewTool? OR ChangeCS?
DoCSComment
IF WFOCS?
DoCSWFOComment
END
END
RETURN

DoOpComments:
IF UseComments?
SetScale('1')
IF MultipleParts? AND SubComment?
'( PART ' Tag# ' )' EOL
END
IF OperationIDComment?
'( OPERATION ' Operation# ': ' OperationType$ ' )' EOL
END
IF OperationComment?
'( ' OperationComment$ ' )' EOL
END
IF WorkGroupComment?
'( ' WorkGroupComment$ ' )' EOL
END
IF ToolTypeComment?
'( TOOL ' Tool# ': ' ToolDiameter# ' ' ToolType$ ' )' EOL
END
IF ToolComment?
'( ' ToolComment$ ' )' EOL
END
RestoreScale
END
CSComments
RETURN

CSAngleA:
IF AAxisAvail?
'A' CSOffsetA#
END
RETURN

CSAngleAC:
IF AChange?
CSAngleA
END
RETURN

CSAngleB:
IF BAxisAvail?
'B' CSOffsetB#
END
RETURN

CSAngleBC:
IF BChange?
CSAngleB
END
RETURN

AbsValueC:
IF NOT AbsValue?
AbsValue
END
RETURN

IncValueC:
IF AbsValue?
IncValue
END
RETURN

AbsOrIncC:
IF AbsoluteMoves?
AbsValueC
ELSE
IncValueC
END
RETURN

PSInit:
NewWFOF
FourthCWF
FourthCCWF
FifthCWF
FifthCCWF
RotateF
OptCyc1F
MasterOpF
CallMasterOpF
RETURN

PSStuff:
RETURN

DoPostScript:
PSInit
EachPS
SeqC PostScript EOL
PSStuff
NextPS
RETURN

DoEndOpPS:
PSInit
EachEOPS
SeqC EndOpPS EOL
PSStuff
NextPS
RETURN

ExitType:
IF FIFO?
FeedC
ELSE
RapidC
END
RETURN

ExitFeed:
IF FIFO?
FeedEntC
END
RETURN

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

ckCRC:
IF LastFeat?
CRCOffC
ELSE
IF NOT ZMove?
CRCOnC
END
END
RETURN

ckCRCNum:
IF NOT LastFeat? AND Equal? SPZ# EPZ#
CRCOffsetC
END
RETURN

StdRapid:
IF XMove? OR YMove? OR ZMove?
SeqC ckCRC RapidC MoveXYZC ckCRCNum EOL
END
RETURN

StdLine: {enables CRC on first call, .70}
IF XMove? OR YMove? OR ZMove?
IF Decelerate?
IF RoomToDecel?
DecelMove1
SeqC ckCRC FeedC MoveXYZC FeedRateC ckCRCNum EOL
DecelMove2
END
SeqC ckCRC FeedC MoveXYZC DecelFeed ckCRCNum EOL
ELSE
SeqC ckCRC FeedC MoveXYZC FeedRateC ckCRCNum EOL
END
END
RETURN

StdArc:
EACHQuadrant
IF LastQuadrant? AND Decelerate?
IF RoomToDecel?
DecelMove1
SeqC FormatArc ArcFeedC EOL
DecelMove2
END
SeqC FormatArc DecelFeed EOL
ELSE
SeqC FormatArc ArcFeedC EOL
END
NEXTQuadrant
RETURN

ToolPath2: {for AutoCycle element moves}
EACHFeat
IF RapidFeat?
StdRapid
ELSE
IF LineFeat?
StdLine
ELSE
IF ArcFeat?
StdArc
END
END
END
NEXTFeat
RETURN

EntryMove:
IF FeedEntry?
SeqC FeedC ZInC FeedEntC EOL
ELSE
SeqC RapidC ZInC EOL
END
RETURN

CutAutoCycle:
SaveSubStatus {save tool position}
SetPass1 {element cut moves}
SetSRXYtoSP
SeqC IncValue EOL
IF Repeats? AND ZshiftOnly?
EachRep
IF NOT FirstCycle?
IF SPXMove? OR SPYMove?
IF FeedConnect?
SeqC FeedC StrtPosC EOL
ELSE
SeqC RapidC StrtPosC EOL
END
END
END
EntryMove
ToolPath2
IF NOT FeedConnect?
SeqC ExitType PRIME ZCP2 ExitFeed EOL
END
NextRep
ELSE
EntryMove
ToolPath2
END
SeqC AbsOrInc ExitType ZCP2 ExitFeed EOL
SetSRSubXY {restore tool position}
SetSRSubMove
ReSetPass2 {restore for positioning moves}
RETURN

ToolPath:
EACHFeat
IF PointFeat?
IF AutoCycle?
SeqC
IF FIFO? AND NOT FirstFeat?
Rapid
END
MoveSXYC EOL
CalcACSRXY {calc tool position after sub call, CalcAutoCycleStatusRecordXY}
CutAutoCycle
ELSE
SeqC MoveSXYZC EOL {.80.01}
END
ELSE
IF RapidFeat?
StdRapid
ELSE
IF LineFeat?
StdLine
ELSE
IF ArcFeat?
StdArc
END
END
END
END
NEXTFeat
RETURN

CheckPass:
IF AutoCycle? {use the correct StrtPos}
SetPass2
ELSE
SetPass1
END
RETURN

ProgStart:
InitProg
TagInit
ReverseXZArcs
InitWFONum
SetFlood
SetMaxRPM('20000') {Added - JHE}
SetFlagF('1') {done flag}
Save# Num#('1') Num#('0') {tools 1st op}
Save# Num#('2') Num#('0') {tools last op}
Save# Num#('3') Num#('0') {ncCAMs last op}
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: may be capital and/or lower case letters. Separate commands with a space.' EOL
END
IF MultipleParts?
IF WorkFixtureOffsets?
IF LTEqual? MUL# Parts# NumOfCS# Num#('48') {Changed 6 to 48 - JHE}
SetWFOCS { use WFO for CS changes }
ELSE
IF UseComments?
'( Not enough Work Fixture Offsets to handle this part. )' EOL
'( Number of parts [ ' Parts# ' ] times CSs [ ' NumOfCS# ' ] )' EOL
'( exceeds the machine limit. Switching to G52 style output. )' EOL
END
END
END
ELSE
IF LTEqual? NumOfCS# Num#('48') {Changed 6 to 48 - JHE}
SetWFOCS { use WFO for CS changes }
ELSE
IF UseComments?
'( Not enough Work Fixture Offsets to handle this part. )' EOL
'( Number of CSs [ ' NumOfCS# ' ] exceeds the machine limit. )' EOL
'( Switching to G52 style output. )' EOL
END
END
END
EachOp
IF FirstOperation?
EOR EOL
ProgID1
IF UseComments? AND ProgramNameComment?
'( PROGRAM: ' ProgramName$ ' )'
END
EOL
IF ToolChangeAtHome?
SetHome
END
IF UseComments?
IF ProgramComment?
'( ' ProgramComment$ ' )' EOL
END
IF FormatNameComment?
'( FORMAT: ' FormatName$ ' )' EOL
END
IF TimeComment?
'( ' Date$ ' AT ' Time$ ' )' EOL
END
IF MovesComment?
'( OUTPUT IN ' MoveType$ ' INCHES )' EOL
END
IF PartsComment?
'( PARTS PROGRAMMED: ' Parts# ' )' EOL
END
IF StartToolComment?
'( FIRST TOOL NOT IN SPINDLE )' EOL
END
END
OpenSub
RestoreScale
END
NextOp
SeqC Rapid Plane CRCOff 'G49' DrillOff AbsValue EOL {Added 'G49' - JHE}
SeqC 'M36' EOL {Check tool breakage ON - JHE}
EachOp
IF FirstOperation? OR NewTool?
SeqC OpToolID EOL {output tool list - JHE}
END
NextOp
SeqC 'M37' EOL {Check tool breakage OFF - JHE}
EachOp
IF ChangeCS?
SeqC 'G10L20P' CalcWFONum ' X' CSOffsetX# 'Y' CSOffsetY# 'Z' CSOffsetZ#
END
IF ChangeCS? AND AAxisAvail? {output fixture offset list - JHE}
'A0.0'
END
IF ChangeCS? AND BAxisAvail?
'B0.0'
END
EOL
NextOp
RETURN

DoOp:
IF FirstOperation?
IF MultipleParts? AND OneToolAllParts? AND NOT FirstPart?
IF FullUp?
SeqC CoolOff EOL
{SeqC IncValueC OfstOff EOL} {Removed - JHE}
SeqC RapidC 'Z8.0' EOL {Added - JHE}
END
DoOpComments
SeqC WFOStuff EOL
G52Stuff
ClearCSOffset
ELSE
{Seq Plane CRCOff 'G80' EOL} {Moved up - JHE}
Seq OpToolID ToolChng EOL
{SeqC ToolChng EOL} {Moved up - JHE}
SeqC 'M741' EOL {Added, Chip Conveyer On - JHE}
Seq Speed PreTool SpinOn EOL {Added PreTool - JHE}
DoOpComments
DoPostScript
SeqC WFOStuff EOL
G52Stuff
ClearCSOffset
END
CheckPass
IF MultipleParts? AND OneToolAllParts? AND ExitClearancePlane? AND NOT FirstPart?
SeqC Rapid AbsOrInc StrtPos EOL {Moved CSAngleA CSAngleB - JHE}
IF AAxisAvail? OR BAxisAvail?
IF AChange? OR BChange?
SeqC 'M11' CSAngleA CSAngleB EOL {Unclamp rotary - JHE}
SeqC 'M10' EOL {Clamp rotary - JHE}
END
END
ELSE
SeqC Rapid AbsOrInc StrtPos EOL {Moved CSAngleA CSAngleB - JHE}
IF AAxisAvail? OR BAxisAvail?
SeqC 'M11' CSAngleA CSAngleB EOL {Unclamp rotary - JHE}
SeqC 'M10' EOL {Clamp rotary - JHE}
END
SeqC OfstOn CoolOn EOL
{SeqC CoolOn EOL} {Moved to Z-motion - JHE}
END
ELSE
IF NewTool?
IF MultipleParts? AND OneToolAllParts? AND NOT FirstPart?
{only need to set up for tool change on 1st part}
ELSE
{SeqC CoolOff EOL} {Removed - JHE}
{SeqC IncValueC OfstOff EOL} {Removed - JHE}
DoEndOpPS
IF ToolChangeAtHome?
SeqC AbsOrIncC Rapid Home EOL {Removed SpinOff - JHE}
{ELSE} {Removed - JHE}
{ SeqC SpinOff EOL} {Removed - JHE}
END
IF LAST ProgStop?
SeqC 'M00' EOL
ELSE
SeqC ProgStop EOL
END
END

{Start new Operation}

IF MultipleParts? AND OneToolAllParts? AND NOT FirstPart?
IF FullUp?
SeqC CoolOff EOL
{SeqC IncValueC OfstOff EOL} {Removed - JHE}
SeqC RapidC 'Z8.0' EOL {Added - JHE}
END
DoOpComments
SeqC WFOStuff EOL
G52Stuff
ClearCSOffset
ELSE
{SeqC Plane CRCOff 'G80' EOL} {Removed - JHE}
{SeqC OpToolID EOL} {Removed - JHE}
Seq ToolChng EOL
Seq Speed PreTool SpinOn EOL {Added PreTool - JHE}
DoOpComments
DoPostScript
SeqC WFOStuff EOL
G52Stuff
ClearCSOffset
END
CheckPass
IF MultipleParts? AND OneToolAllParts? AND ExitClearancePlane? AND NOT FirstPart?
SeqC Rapid PlaneC AbsOrInc StrtPos EOL {Added PlaneC - JHE}
IF AChange? OR BChange?
SeqC 'M11' CSAngleA CSAngleB EOL {Unclamp rotary - JHE}
SeqC 'M10' EOL {Clamp rotary - JHE}
END
ELSE
SeqC Rapid PlaneC AbsOrInc StrtPos EOL {Added PlaneC - JHE}
IF AChange? OR BChange?
SeqC 'M11' CSAngleA CSAngleB EOL {Unclamp rotary - JHE}
SeqC 'M10' EOL {Clamp rotary - JHE}
END
SeqC OfstOn CoolOn EOL
{SeqC CoolOn EOL} {Moved to Z-motion - JHE}
END
ELSE
IF SameTool?

{Finish off last Operation}

IF LAST ProgStop?
SeqC CoolOff EOL
ELSE
IF CoolOff? AND LAST NOT CoolOff?
SeqC CoolOff EOL
END
END
IF LAST ProgStop? OR NewToolOffset? OR ChangeCS?
{SeqC IncValueC OfstOff EOL} {Removed - JHE}
SeqC RapidC 'Z8.0' EOL {Added - JHE}
END
DoEndOpPS
IF LAST ProgStop?
{SeqC SpinOff EOL} {Removed - JHE}
SeqC 'M00' EOL
END

{Start new Operation}

DoOpComments
DoPostScript
SeqC WFOStuff EOL
G52Stuff
ClearCSOffset
CheckPass
SeqC Rapid PlaneC AbsOrInc StrtPos
IF LAST ProgStop?
Speed SpinOn EOL
ELSE
SpeedC EOL
END
IF AChange? OR BChange?
SeqC 'M11' CSAngleA CSAngleB EOL {Unclamp rotary - JHE}
SeqC 'M10' EOL {Clamp rotary - JHE}
END
IF LAST ProgStop? OR NewToolOffset? {Removed ChangeCS? - JHE}
SeqC OfstOn EOL
END
IF LAST ProgStop?
SeqC CoolOn EOL
ELSE
IF NOT CoolOff? AND LAST CoolOff?
SeqC CoolOn EOL
END
END
END
END
END

{ Common Point for All Operations }

ResetCRCNum {call here to reset for each new operation only, call in tool path to reset for each repeat in an operation}
RapidF# {forces the output of a conditional feedrate for each operation}

IF Milling?
SeqC ZCP2C EOL
IF Repeats?
IF ZshiftOnly? AND AutoCycle?
{done in CutAutoCycle called from ToolPath}
ELSE
EACHRep
DoSubComment
IF NOT FirstCycle?
SeqC Connect StrtPos EOL
IF NOT FeedConnect?
SeqC ZCP2C EOL
END
END
END
END
IF NOT AutoCycle?
EntryMove
END
ToolPath
IF Repeats?
IF ZshiftOnly? AND AutoCycle?
{done in CutAutoCycle called from ToolPath}
ELSE
SeqC CRCOffC
IF NOT FeedConnect?
ExitType PRIME ZCP3C
END
ExitFeed EOL
NEXTRep
END
END
IF AutoCycle?
SeqC ZCP3C EOL
ELSE
SeqC CRCOffC ExitType ZCP3C ExitFeed EOL
END
ELSE
IF Drilling?
IF Repeats?
EACHRep
DoSubComment
END
SeqC DrillCP EOL
GetCycle
SeqC Cycle FromCP StrtPos ZDepth RLevel Dwell Peck Retract FeedEnt
IF Tap? OR RigidTap? {Added this check and Speed - JHE}
Speed
END
EOL
TrackZNO# FIRST SPZ#
ToolPath
IF RetractToCP1? {.81}
TrackZNO# ClearancePlane1#
ELSE
TrackZNO# ClearancePlane2#
END
SeqC Rapid DrillOff ZCP3 EOL {Added Rapid - JHE}
IF Repeats?
NEXTRep
END
SeqC RapidC ZCP3C EOL
END
END
RETURN

FinishLastOp:
{SeqC CoolOff EOL} {Removed - JHE}
{SeqC IncValueC OfstOff EOL} {Removed - JHE}
DoEndOpPS
{IF FIRST ToolChangeAtHome?} {Removed - JHE}
{ SeqC AbsOrIncC Rapid FirstHome SpinOff EOL} {Removed - JHE}
{ELSE} {Removed - JHE}
{ SeqC SpinOff EOL} {Removed - JHE}
{END} {Removed - JHE}
IF MultipleParts? AND AllToolsOnePart? AND NOT LastPart? {no tool change after doing last part}
IF ProgStop?
SeqC 'M00' EOL
ELSE
SeqC ProgStop EOL
END
ELSE
SeqC 'M740' EOL {Added, Chip Conveyor Off - JHE}
SeqC 'M100' EOL {Added, take all axes Home - JHE}
SeqC EOP EOL
END
RETURN

DoToolsOps:
EachOp
IF GTEqual? Operation# Recall# Num#('1') AND LTEqual? Operation# Recall# Num#('2')
{Tools1stOp ² op ² ToolsLastOp}
DoOp
END
NextOp
RETURN

NextTools1stOp:
SetNextToolOp Operation#
RETURN

GetToolsOps:
EachOp
IF Equal? Operation# Recall# Num#('1') {if op = Tools1stOp}
IF GreaterThan? NextTools1stOp Recall# Num#('1') {if NextTools1stOp is greater Tools1stOp}
Save# Num#('2') SUB# NextTools1stOp Num#('1') {ToolsLastOp becomes NextTools1stOp less 1}
ELSE {else}
Save# Num#('2') Recall# Num#('3') {ToolsLastOp becomes ncCAMsLastOp}
END
END
NextOp
RETURN

DoTool:
IF NOT Flag?('1')
GetToolsOps
IF WorkFixtureOffsets?
NewWFO
EachWFO
TagInc
DoToolsOps
IncWFO
NextWFO
ELSE
EachPart
TagInc
DoToolsOps
NextPart
END
IF LessThan? Recall# Num#('2') Recall# Num#('3') {if ToolsLastOp < ncCAMsLastOp}
Save# Num#('1') ADD# Recall# Num#('2') Num#('1') {Tools1stOp becomes NextTools1stOp}
ELSE {else}
SetFlag('1') {set DoneFlag}
END
TagInit
END
RETURN

{Start of executable Prog, Top Level *********************************}

ProgStart {setup and initializations}

IF MultipleParts?
IF AllToolsOnePart?
IF WorkFixtureOffsets?
NewWFO
EachWFO
TagInc
EachOp
DoOp
NextOp
FinishLastOp
IncWFO
NextWFO
ELSE
EachPart
TagInc
EachOp
DoOp
NextOp
FinishLastOp
NextPart
END
ELSE
IF OneToolAllParts?
EachOp
IF FirstOperation?
Save# Num#('1') Operation# {ncCAMs1stOp becomes Tools1stOp}
END
IF LastOp?
Save# Num#('3') Operation# {save ncCAMsLastOp}
END
NextOp
DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool
DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool
DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool
DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool
DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool DoTool
FinishLastOp
END
END
ELSE
EachOp
DoOp
NextOp
FinishLastOp
END
EOR EOL
CloseSub
Post2
IF UseComments?
SetScale('1')
IF FileBytesComment?
'( FILE LENGTH: ' FileBytes# ' CHARACTERS )' EOL
END
IF FileFeetComment?
'( FILE LENGTH: ' FileFeet# ' FEET )' EOL
END
IF FileMetersComment?
'( FILE LENGTH: ' FileMeters# ' METERS )' EOL
END
END
Close


Wyszukiwarka

Podobne podstrony:
Fanuc 15M Mat LH [KP] CV71 15
Fanuc 11M LH [JBT] DW53 15
Fanuc 11M LH [JBT] DW53 15
Fanuc 10M LH [LAM] DW59 15
Fanuc 11M MTS LH M059 13 1
Fanuc 0M LW LH [RI] CU58 16
Centurion V LH [CT] MW13 15 2m
Fanuc 5M Mazak LH [JT] MU88 16m
Fanuc 6M HS HA 400 DX71 15 1
Fanuc 3000C Mat LH PM M495 89 3
Yasnac MX3 HS LH [NO] MV65 15
Fanuc 11M Mon [AT AT] MV44 15
BP EZ Trak LH [WD] MV22 15
Fanuc 11M Demo LH [TI] MU21 89
Fanuc 11M Mon [AT NC] MV43 15
Fanuc 16M MV40 LH [SM] M671 14
Fanuc 15M Mon LH [RI] MU56 89 1
Fanuc Pro3 Makino C960 12 1
Fanuc 20FA Mak [VP] MZ92 89 1

więcej podobnych podstron