What's new
What's new

Def. Workpiece in program p300la

Reyarp

Plastic
Joined
Nov 12, 2014
Hi.

I have an okuma with p300la control.
Is it possible to define the workpiece inside a program?
An example would be appriciated [emoji56]

Sendt fra min ANE-LX1 med Tapatalk
 
I've got to say it's been about 15 years since I did this but I do have an example. this is from a macturn with a sub spindle. the control shouldn't matter that much because defining the stock should be the virtually the same. Hope this helps a little.

DEF WORK[M]
PT LF,LC,[-5,0],[51,51],[3,0]
PT LF,LC,[-2,0],[39,39],[2,0]
PT LF,LC,[0,0],[39,38],[1,0]
PT LF,LC,[-7,0],[38,38],[2,0]
PT LF,LC,[-9,0],[35,35],[2,0]
PT LF,RC,[1,0],[34,34],[1,0],0
PT LF,RC,[0,0],[34,34],[4,0],0
PT LF,RC,[-4,0],[29,29],[5,0],0
END
DEF WORKF
PF 0,[0,0],51,D
PF 0,[0,0],29,D,0
PO [0,14]
CI[0,0],[0,-14],R,0
END
DEF WORKP
PT LF,LC,[-5,0],[51,51],[3,0]
PT LF,LC,[-2,0],[39,39],[2,0]
PT LF,LC,[0,0],[39,38],[1,0]
PT LF,LC,[-7,0],[38,38],[2,0]
PT LF,LC,[-9,0],[35,35],[2,0]
END
CLEAR
DRAW
DEF WORK
PT LF,LC,[-6,0],[50,50],[2,0]
PT SD,LC,[-7,0],[38,39],[1,0]
PT LF,LC,[-4,0],[38,38],[2,0]
PT LF,LC,[-9,0],[38,38],[2,0]
PT LF,RC,[-6,0],[36,36],[1,0],0
PT LF,RC,[-7,0],[36,36],[2,0],0
PT SD,LC,[-2,0],[36,35],[1,0]
PT LF,RC,[-4,0],[35,35],[2,0],0
PT LF,LC,[-1,0],[35,35],[1,0]
PT LF,LC,[0,0],[35,35],[1,0]
PT SS,RC,[-3,0],[31,31],[1,0],0
PT LF,RC,[1,0],[30,30],[4,0],0
END
DEF WORKF
PF 0,[0,0],50,D
PF 0,[0,0],30,D,0
PO [0,15]
CI[0,0],[0,-15],R,0
END
DEF WORKP
PT LF,LC,[-6,0],[50,50],[2,0]
PT SD,LC,[-7,0],[38,39],[1,0]
PT LF,LC,[-4,0],[38,38],[2,0]
PT LF,LC,[-9,0],[38,38],[2,0]
PT SD,LC,[-2,0],[36,35],[1,0]
PT LF,LC,[-1,0],[35,35],[1,0]
PT LF,LC,[0,0],[35,35],[1,0]
END
CLEAR
DRAW
 








 
Back
Top