{Change Comments ***********************************************************}
{12/7/88
Copied and massivly changed Cincinnati-225W M027.53
for Grand Valley's Cincinnati 10H with Acramatic 338-D control
Jim Radcliffe}
{5/31/90
Copied & modified: Cincinnati Acr 338-D 55
For: Grand Valley
Machine: Cincinnati
Control: Acramatic 338-D
Added G80 to safe startup block in each operation.
Modified Speed Table to output low gear S00 to S39 when RPM = 0 to 630.
Modified Speed Table to output high gear S64 to S79 when RPM = 631 to 4000.
Before, low gear stopped at S27 when RPM = 160.
Modified ToolOffset from safe startup block in each operation to be 'W00' and moved ToolOffset
to line following.
Replaced all occurances of M26 with R0W00.
Replaced all occurances of G01 with G79 by modifying Feed in the form.
Modified SegLabC to be 'H?' if 'No Home' is not checked in same tool operation.
Added 'W00' to be output if 'No Home' is not checked in same tool operation for moving tool
to tool change plane.
DWB}
{7/3/90
Copied & modified: Cincinnati Acr 338-D M160.72.1
For: Grand Valley
Machine: Cincinnati
Control: Acramatic 338-D
Updated to Version 3.2 per Fanuc 6M M001.72 Format.
Added Z0 to safe startup block in milling or peck drilling operation.
Modified G00R0R0 to G00R0Z0 at end of all operations.
Replaced ToolOffset in safe startup block of Drilling operation and deleted ToolOffset
in line following.
Added Psuedo Tool Change handling 'M26' when RetractToCP1 = true in drilling cycles.
DWB}
{11/14/91
Copied & modified: Cincinnati Acr 338-D M160.73.1
For: Grand Valley
Updated to .80 format
Modified SameTool to go home if ToolChangeAtHome.
Added a blank line between tools in NewTool and in SameTool if LAST ProgStop or ToolChangeAtHome.
Modified FormatArc for unconditional IJKR.
Modified FormatArc to force a line move if there is not motion in both of the arc planes axis.
Repalced PackManual with DoPeck and DoLastPeck.
Jim Radcliffe}
{1/13/92
Modified: Cinicinnati Acr 338-D M160.80
For: Grand Valley
Doubled the number of DoPeck calls to 100.
Discriminated so that the 'W00' at beginning of operations is ouput on 'H' blocks only.
Jim Radcliffe}
{11/15/94
Updated: Cincinnati Acr 338-D M160.80.1
For: Winegar
Versions: ncCad 4.33/ncCAM 4.33/ncPost 4.33.04/Compost 4.21.23
Versions: Catalyst v2.14.14C/Compost 4.21.23
Changes made per Pete Jackson
Updated to Version 4.2 per LongHand M001.81.3e Format.
This supports MultipleParts.
Using Var(1), Var(2) and Var(3) for logical control of MultiplePart Operations.
Using Var(4), Var(5), Var(6) and Var(7) for correct Positioning of AutoCycles that Repeat in
X and/or Y, and when AbsoluteMoves = FALSE.
Corrected FORMAT5 from '########;0' to '#######0'.
Added Recall# to FORMAT5.
Added RestoreScale Sub per 4-Axis Post Processor.
Supports FIFO? Milling Operations.
Supports Variable Drill Depths.
Supports logic of MPLoop sub to handle IF NewTool? and LastOp? situations.
Commented out DoEndOpPS at MPLoop for OneToolAllParts, it does not work correctly.
Does not support WorkFixtureOffsets.
Does not support CutterRadiusCompensation.
Supports Move to ZInC for Non-AutoCycle FeedConnect Repeats with ZMoves at ExitMove sub.
Contains BadMPWFOReport sub.
Reports when MultipleParts AND WorkFixtureOffsets = TRUE AND EquallySpacedOffset values exist.
Added FORMAT7, 'Ä…#bbbb.bbbb#', for PartShiftX#, PartShiftY# and PartShiftZ# commands.
Supports Rapid between Features of FeedConnect Operations at ZonlyRepAutoCycle sub.
FeedConnect only applies to Each Repeat, not Each Feature.
DWB}
{
Format: Cincinnati Acr 338-D M160.80.3
For: Winegar
Changed format for X,Y,Z,I,J,K from Ä…###^###0 to Ä…###^0000
TH}
{2/9/96, Updated .81 number to .84, no changes necessary, MPK}
{3/22/96, Tested ZOnlyRepAutCycle, Incremented number to .87, MPK}
{Prog Numeric Format Definitions *******************************************}
#1 = '#.00'
#2 = 'Ä…###^##0'
#3 = '*Ä…###^##0'
#4 = '####.####;0.'
#5 = '#######0'
#6 = 'Ä…###^###0'
#7 = 'Ä…#bbbb.bbbb#'
FORMAT(FileFeet#,1)
FORMAT(FileMeters#,1)
FORMAT(ToolDiameter#,4) {.72}
FORMAT(Tag#,5)
FORMAT(Recall#,5)
FORMAT(Program#,5) {.72}
FORMAT(Operation#,5) {.72}
FORMAT(Tool#,5) {.72}
FORMAT(Parts#,5) {.72}
FORMAT(TrackZ#,6)
FORMAT(SPZ#,6)
FORMAT(PartShiftX#,7)
FORMAT(PartShiftY#,7)
FORMAT(PartShiftZ#,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
DoPartCycleComment:
IF MultipleParts? AND UseComments? AND SubComment?
'( PART NO. ' Tag# ' )' EOL
END
RETURN
DoCycleComment:
IF UseComments? AND SubComment?
'( CYCLE START )' EOL
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# ': ' ToolDiameter# ' ' ToolType$ ' )' EOL
END
IF ToolComment?
'( ' ToolComment$ ' )' EOL
END
RestoreScale
END
RETURN
BadMPWFOReport:
SetStatusOff
' ' EOL
'Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„' EOL
'Ä„ NOTE: Even though you have elected to Ä„' EOL
'Ä„ process this file using Multiple Ä„' EOL
'Ä„ Parts with Work Fixtures, there exist Ä„' EOL
'Ä„ non-zero values in the invisible, Ä„' EOL
'Ä„ Equally SpacedÉ fields, as follows: Ä„' EOL
'Ä„ Ä„' EOL
'*****************************************' EOL
IF NotEqual? PartShiftX# Num#('0')
' X axis shift = ' PartShiftX# EOL
END
IF NotEqual? PartShiftY# Num#('0')
' Y axis shift = ' PartShiftY# EOL
END
IF NotEqual? PartShiftZ# Num#('0')
' Z axis shift = ' PartShiftZ# EOL
END
'*****************************************' EOL
'Ä„ Ä„' EOL
'Ä„ Please reset these values to zero as Ä„' EOL
'Ä„ they affect the coordinate values Ä„' EOL
'Ä„ output, starting with Part# 2. Ä„' EOL
'Ä„ Thank You. Ä„' EOL
'Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„Ä„' EOL
' ' EOL
SetStatusOn
RETURN
PSInit: {reset flags}
RotateF
RETURN
PSStuff: {revised.72}
IF FourthCW?
FORMAT(FourthDegree#,2)
SeqLabC 'A' FourthDegree# EOL
FourthCWF {reset flag}
END
IF FourthCCW?
FORMAT(FourthDegree#,3)
SeqLabC 'A' FourthDegree# EOL
FourthCCWF {reset flag}
END
IF FifthCW?
FORMAT(FifthDegree#,2)
SeqLabC 'B' FifthDegree# EOL
FifthCWF {reset flag}
END
IF FifthCCW?
FORMAT(FifthDegree#,3)
SeqLabC 'B' FifthDegree# EOL
FifthCCWF {reset flag}
END
RETURN
DoPostScript:
PSInit
EachPS
SeqLabC PostScript EOL {literals}
PSStuff {commands}
NextPS
RETURN
DoEndOpPS:
PSInit
EachEOPS
SeqLabC EndOpPS EOL {literals}
PSStuff {commands}
NextPS
RETURN
EntryMove:
IF FeedEntry?
SeqLabC FeedC ZInC FeedEntC EOL
ELSE
SeqLabC RapidC ZInC EOL
END
RETURN
GetConnect:
IF FeedConnect?
FeedC
ELSE
RapidC
END
RETURN
ExitMove:
SeqLabC
IF FeedConnect?
IF NOT AutoCycle?
IF NOT NoZMoves?
FeedC ZInC FeedEntC
END
END
ELSE
IF FIFO? { .81 }
FeedC
ELSE
Rapid
END
PRIME ZCP2C
IF FIFO? { .81 }
FeedEntC
ELSE
'Z0'
END
END
EOL
RETURN
ExitMove2:
IF FIFO?
FeedC ZCP3C FeedEntC
END
RETURN
CycleWarning:
{ NOTE: This Post Processor takes care of Z Clearance. }
RETURN
FormatArc2:
IF ArcCW?
CWArcC
ELSE
CCWArcC
END
MoveXYZC
IF ArcIJFormat?
ArcIJ
ELSE
ArcR
END
RETURN
FormatArc:
IF XYPlane? AND XMove? AND YMove?
FormatArc2
ELSE
IF XZPlane? AND XMove? AND ZMove?
FormatArc2
ELSE
IF YZPlane? AND YMove? AND ZMove?
FormatArc2
ELSE
FeedC MoveXYZC
END
END
END
RETURN
StdLine:
IF Decelerate?
IF RoomToDecel?
DecelMove1
SeqLabC FeedC MoveXYZC FeedRateC EOL
DecelMove2
END
SeqLabC FeedC MoveXYZC DecelFeed EOL
ELSE
IF XMove? OR YMove? OR ZMove?
SeqLabC FeedC MoveXYZC FeedRateC EOL
END
END
RETURN
DoLastPeck: {OldZ - Peck# ² Depth}
SetInc
SeqLabC Feed 'Z' TrackZ# SPZ# FeedEntC EOL {move to Depth}
SetAbsOrInc
IF RetractToCP1?
SeqLabC Rapid 'Z0' ZCP1 EOL {move to CP1}
ELSE
SeqLabC Rapid 'Z0' ZCP2 EOL {move to CP2}
END
RETURN
DoPeck:
IF GreaterThan? SUB# Recall# Num#('1') Peck# SPZ# {IF OldZ - Peck# > Depth}
Save# Num#('1') SUB# Recall# Num#('1') Peck# {Save#1 = OldZ - Peck# = NewZ}
SetInc
SeqLabC Feed 'Z' TrackZ# Recall# Num#('1') FeedEntC EOL {move to NewZ}
SetAbsOrInc
IF PeckFullRetract?
SeqLabC Rapid 'Z0' ZCP2 EOL {move to CP2}
END
SeqLabC RapidC 'R' TrackZ# ADD# Recall# Num#('1') Retract# EOL {move to RetractZ}
END
RETURN
ToolPath:
EACHFeat
IF PointFeat? { Drilling Only }
IF Peck?
SeqLabC MoveSXYC EOL {.80.01}
SeqLabC RapidC ZCP2C EOL
Save# Num#('1') ClearancePlane2#
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck DoPeck
DoLastPeck
ELSE
IF NOT FirstFeat?
IF RetractToCP1?
SeqLabC 'G80M26' EOL
Cycle
END
SeqLabC MoveSXYC
IF SPZMove?
IF RetractToCP1? {.81}
TrackZNO# ClearancePlane1#
ELSE
TrackZNO# ClearancePlane2#
END
SetInc 'Z' SPZ# {.80.01}
END
IF RetractToCP1?
'M26'
END
EOL
END
SetAbs TrackZNO# SPZ# SetAbsOrInc
END
ELSE
IF RapidFeat?
SeqLabC RapidC MoveXYZC EOL
ELSE
IF LineFeat?
StdLine
ELSE
IF ArcFeat?
EACHQuadrant { Do not use NOT, FIRST, LAST or NEXT modifiers in this loop }
IF LastQuadrant? AND Decelerate?
IF RoomToDecel?
DecelMove1
SeqLabC FormatArc ArcFeedC EOL
DecelMove2
END
SeqLabC FormatArc DecelFeed EOL
ELSE
SeqLabC FormatArc ArcFeedC EOL
END
NEXTQuadrant
END
END
END
IF AutoCycle?
SetAbs
Save# Num#('6') SUB# EPX# CurOriginPosX#
Save# Num#('7') SUB# EPY# CurOriginPosY#
SetInc
END
END
NEXTFeat
RETURN
WFOStuff:
{ NOTE: This processor does not support WorkFixtureOffsets }
RETURN
AutoCycCutSub1: {part 1}
CalcACSRXY {calc tool position, CalcAutoCycleStatusRecordXY}
SaveSubStatus {save tool position}
SetPass1 {element cut moves}
SetSRXYtoSP
SeqLabC IncValue EOL
RETURN
AutoCycCutSub2: {part 2}
SeqLabC AbsOrInc
IF FIFO? {.81}
FeedC ZCP2 FeedEntC {.71.2 removed CRCOffC, gets turned off in ToolPath}
ELSE
Rapid ZCP2 'Z0'
END
EOL
SetSRSubXY {restore SR to 1st position value}
ReSetPass2 {restore for positioning moves}
RETURN
Milling:
EntryMove
ToolPath
RETURN
XYZRep:
CycleWarning
FindAnyZMoves
EachRep
IF FirstCycle?
DoCycleComment
EntryMove
ELSE
EOL
DoCycleComment
SeqLabC GetConnect StrtPosC EOL
IF FeedConnect?
IF ZShiftOnly?
EntryMove
END
ELSE
IF FeedEntry?
SeqLabC ZCP2C EOL
END
EntryMove
END
END
ToolPath
ExitMove
NextRep
RETURN
NoRepAutoCycle:
EACHFeat
DoCycleComment
IF SPXMove? OR SPYMove?
SeqLabC RapidC MoveSXYC EOL
END
AutoCycCutSub1
Milling
AutoCycCutSub2
NEXTFeat
RETURN
XYZRepAutoCycle:
CycleWarning
EachRep
EACHFeat
DoCycleComment
IF SPXMove? OR SPYMove?
SeqLabC RapidC MoveSXYC EOL
END
SetAbs
Save# Num#('4') SPX#
Save# Num#('5') SPY#
SetInc
AutoCycCutSub1
Milling
AutoCycCutSub2
SetAbs
TrackXNO# ADD# Recall# Num#('4') Recall# Num#('6')
TrackYNO# ADD# Recall# Num#('5') Recall# Num#('7')
SetAbsOrInc
NEXTFeat
NextRep
RETURN
ZonlyRepAutoCycle:
EACHFeat
DoCycleComment
IF SPXMove? OR SPYMove?
SeqLabC RapidC MoveSXYC EOL
END
AutoCycCutSub1
EachRep
IF FirstCycle?
EntryMove
ELSE
IF NOT FeedConnect?
ExitMove
END
DoCycleComment
IF SPXMove? OR SPYMove?
SeqLabC GetConnect MoveSXYC EOL
END
IF NOT FeedConnect?
EntryMove
END
END
ToolPath
NextRep
AutoCycCutSub2
NEXTFeat
RETURN
DrillStuff:
IF NOT Peck?
TrackZNO# FIRST SPZ# {.81.2}
END
RETURN
CheckPass:
IF AutoCycle? {use the correct StrtPos}
SetPass2
ELSE
SetPass1
END
RETURN
GetStartOfSameTool:
DoPartCycleComment
DoOpComments
DoPostScript
CheckPass
RETURN
GetW00:
IF ToolChangeAtHome?
'W00'
END
RETURN
MasterSub:
IF FirstOperation?
IF MultipleParts? AND OneToolAllParts? AND NOT FirstPart?
ELSE
IF ToolChangeAtHome?
SetHome
END
DoPartCycleComment
DoOpComments
DoPostScript
IF ToolChangeAtHome?
'H?'
ELSE
SeqLabC
END
AbsOrInc Plane 'G80'
IF Drilling? AND NOT Peck?
GetCycle Cycle 'V00' StrtPos ZDepth FeedEnt RLevel
TABLE(1,Speed,1) ToolOfst OpToolID SpinOn EOL
ELSE
Rapid
IF CutterRadiusCompensation?
CRCOfst
ELSE
'V00'
END
StrtPos FeedEnt 'Z0' ZCP1 TABLE(1,Speed,1) GetW00 OpToolID SpinOn EOL
SeqLabC ToolOfst EOL
END
END
ELSE
IF NewTool?
IF MultipleParts? AND OneToolAllParts? AND NOT FirstPart?
ELSE
{Finish off last Operation}
GetW00 EOL
DoEndOpPS
IF ToolChangeAtHome?
SetAbs
LoadFeat
SUB# HomeX# CurOriginPosX#
SUB# HomeY# CurOriginPosY#
Num#('0') { Dummy Z }
SetAbsOrInc
SeqLabC MoveXY ToolChng EOL
ELSE
SeqLabC ToolChng EOL
END
IF LAST ProgStop?
SeqLabC 'M00' EOL
ELSE
SeqLabC ProgStop EOL
END
{Start new Operation}
' ' EOL
DoPartCycleComment
DoOpComments
DoPostScript
IF ToolChangeAtHome?
'H?'
ELSE
SeqLabC
END
IF Drilling? AND NOT Peck?
AbsOrInc Plane 'G80' GetCycle Cycle 'V00'
StrtPos ZDepth FeedEnt RLevel TABLE(1,Speed,1) ToolOfst OpToolID SpinOn EOL
ELSE
AbsOrInc Plane 'G80' Rapid
IF CutterRadiusCompensation?
CRCOfst
ELSE
'V00'
END
StrtPos FeedEnt 'Z0' ZCP1 TABLE(1,Speed,1) GetW00 OpToolID SpinOn EOL
SeqLabC ToolOfst EOL
END
END
ELSE
IF SameTool?
GetW00 EOL
DoEndOpPS
IF ToolChangeAtHome?
SetAbs
LoadFeat
SUB# HomeX# CurOriginPosX#
SUB# HomeY# CurOriginPosY#
Num#('0') { Dummy Z }
SetAbsOrInc
SeqLabC MoveXY EOL
END
IF LAST ProgStop?
SeqLabC 'M00' EOL
ELSE
SeqLabC ProgStop EOL
END
' ' EOL
{Start new Operation}
GetStartOfSameTool
IF ToolChangeAtHome?
'H?'
ELSE
SeqLabC
END
IF Drilling? AND NOT Peck?
AbsOrInc Plane 'G80' GetCycle Cycle 'V00'
StrtPos ZDepth FeedEnt RLevel TABLE(1,Speed,1) ToolOfst OpToolID SpinOn EOL
ELSE
AbsOrInc Plane 'G80' Rapid
IF CutterRadiusCompensation?
CRCOfst
ELSE
'V00'
END
StrtPos FeedEnt 'Z0' ZCP1 TABLE(1,Speed,1) GetW00 OpToolID SpinOn EOL
SeqLabC ToolOfst EOL
END
END
END
END {common point for all operations}
IF Milling?
SeqLabC ZCP2C EOL
IF AutoCycle?
IF Repeats?
IF ZShiftOnly?
ZonlyRepAutoCycle
ELSE
XYZRepAutoCycle
END
IF NOT FeedConnect?
SeqLabC ExitMove2 EOL
END
ELSE
NoRepAutoCycle
SeqLabC ExitMove2 EOL
END
ELSE { NOT AutoCycle }
IF Repeats?
XYZRep
ELSE
Milling
END
SeqLabC ExitMove2 EOL
END
SeqLabC Rapid ZCP3 'Z0' {Don't put EOL here}
ELSE
IF Drilling?
IF Repeats?
EachRep
DoCycleComment
IF FirstCycle?
DrillStuff
ELSE
IF RetractToCP1?
SeqLabC 'G80M26' EOL
SeqLabC Cycle StrtPos 'M26' EOL
ELSE
SeqLabC StrtPos EOL
END
END
ToolPath
NextRep
ELSE
DrillStuff
ToolPath
END
SeqLabC DrillOff ZCP3 'Z0' {Don't put EOL here}
END
END
RETURN
EndPartSub:
{End of program ************************************************************}
{finish last operation}
GetW00 EOL
DoEndOpPS
IF FIRST ToolChangeAtHome? {.71.2 added FIRST modifier}
SetAbs
LoadFeat
SUB# FIRST HomeX# CurOriginPosX#
SUB# FIRST HomeY# CurOriginPosY#
Num#('0') { Dummy Z }
SetAbsOrInc
SeqLabC MoveXY ToolChng EOL
ELSE
SeqLabC ToolChng EOL
END
IF ProgStop?
SeqLabC 'M00' EOL
ELSE
IF MultipleParts? AND AllToolsOnePart? AND NOT LastPart?
SeqLabC ProgStop EOL
END
END
RETURN
MPLoop:
TagInit
IF AllToolsOnePart?
EachPart
TagInc
EachOp
MasterSub
NextOp
EndPartSub
NextPart
ELSE { OneToolAllParts }
Save# Num#('2') Recall# Num#('1')
IF LTEqual? Recall# Num#('1') Recall# Num#('3')
EachOp
IF Equal? Operation# Recall# Num#('2')
Save# Num#('2') ADD# Operation# Num#('1')
IF NewTool?
IF Equal? Recall# Num#('1') Recall# Num#('3')
Save# Num#('2') Operation#
ELSE
IF NotEqual? Recall# Num#('1') SUB# Recall# Num#('2') Num#('1')
Save# Num#('2') SUB# Operation# Num#('1')
END
END
END
END
NextOp
EachPart
TagInc
EachOp
IF GTEqual? Operation# Recall# Num#('1')
IF LTEqual? Operation# Recall# Num#('2')
IF Equal? Operation# Recall# Num#('1')
IF NOT FirstPart?
{Finish off last Operation}
GetW00 EOL
{DoEndOpPS}
IF ToolChangeAtHome?
SetAbs
LoadFeat
SUB# HomeX# CurOriginPosX#
SUB# HomeY# CurOriginPosY#
Num#('0') { Dummy Z }
SetAbsOrInc
SeqLabC MoveXY EOL
END
{Start new Operation}
GetStartOfSameTool
IF ToolChangeAtHome?
'H?'
ELSE
SeqLabC
END
IF Drilling? AND NOT Peck?
AbsOrInc Plane 'G80' GetCycle Cycle 'V00'
StrtPos ZDepth FeedEnt RLevel TABLE(1,Speed,1) ToolOfst OpToolID SpinOn EOL
ELSE
AbsOrInc Plane 'G80' Rapid
IF CutterRadiusCompensation?
CRCOfst
ELSE
'V00'
END
StrtPos FeedEnt 'Z0' ZCP1 TABLE(1,Speed,1) GetW00 OpToolID SpinOn EOL
SeqLabC ToolOfst EOL
END
END
END
MasterSub
END
END
NextOp
NextPart
Save# Num#('1') ADD# Recall# Num#('2') Num#('1')
END
END
RETURN
{Start of executable Prog **************************************************}
{setup and initializations}
InitProg
ReverseXZArcs
SetFlood
SetMaxRPM('10000') { Not a Real Limit}
SetMaxFeed('500') { Not a Real Limit}
Save# Num#('1') Num#('0') { This Tool FirstOp# }
Save# Num#('2') Num#('0') { This Tool LastOp# }
Save# Num#('3') Num#('0') { LastOp# }
Save# Num#('4') Num#('0') { XPos Status Register Updated Position for Repeated AutoCycles }
Save# Num#('5') Num#('0') { YPos Status Register Updated Position for Repeated AutoCycles }
Save# Num#('6') Num#('0') { LastFeat EPX# AbsPosValue for Repeated AutoCycles }
Save# Num#('7') Num#('0') { LastFeat EPY# AbsPosValue for Repeated AutoCycles }
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
' 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
' 4thAxisCW(12.5), 4ACW(12.5) -' EOL
' generates a + A move of the value you specify' EOL
' 4thAxisCCW(22.5), 4ACCW(22.5) -' EOL
' generates a - A move of the value you specify' EOL
' 5thAxisCW(30), 5ACW(30) -' EOL
' generates a + B move of the value you specify' EOL
' 5thAxisCCW(22.5), 5ACCW(22.5) -' EOL
' generates a - B move of the value you specify' EOL
END
EOR EOL
IF UseComments?
IF ProgramNameComment?
'( ' 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 ' MoveType$ ' INCHES )' EOL
END
IF PartsComment?
'( PARTS PROGRAMMED: ' Parts# ' )' EOL
END
IF StartToolComment?
'( FIRST TOOL IN SPINDLE )' EOL
END
END
OpenSub
RestoreScale
IF MultipleParts?
Save# Num#('1') Num#('1')
IF WorkFixtureOffsets?
IF NotEqual? PartShiftX# Num#('0')
BadMPWFOReport
ELSE
IF NotEqual? PartShiftY# Num#('0')
BadMPWFOReport
ELSE
IF NotEqual? PartShiftZ# Num#('0')
BadMPWFOReport
END
END
END
END
EachOp
IF LastOp?
Save# Num#('3') Operation#
END
NextOp
MPLoop
IF OneToolAllParts?
MPLoop MPLoop MPLoop MPLoop MPLoop
MPLoop MPLoop MPLoop MPLoop MPLoop
MPLoop MPLoop MPLoop MPLoop MPLoop
MPLoop MPLoop MPLoop MPLoop MPLoop
MPLoop MPLoop MPLoop MPLoop MPLoop
EndPartSub
END
ELSE
EachOp
MasterSub
NextOp
EndPartSub
END
SeqLabC EOP EOL
EOR EOL
Post
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:
Cin Acr 225WA M911 87 2Cin Acr A2100 M703 87 1Cin 720 Acr 5 [PAMA] M492 87Cin Acr 850MC [RI] M664 87Cin Acr 850SX [WI] M700 87Cin Acr 850 [FMI] M814 87Cin Acr 850MC [SJ] M494 87Cin Acr 850SX [LBS] MU11 87Cin Acr 5 Heald [CI] MY92 87 1Cin Acr 900V2 [KM] MT25 89Cin Acr 850SX Sabre PM689 17 3Cin Acr CNC TC [12] L273 85 1Cin Acr 850 SX [WF] L592 85Cin Acr 950HMC [T40] CW32 15Cin Acr 850MC M196 89Cin Acr 850 SX L315 85więcej podobnych podstron