View Full Version : Need Help! OKUMA Mill Poste Edit for " NCYL " subprogram call


QAZEWQ
03-23-2009, 09:58 AM
Hello.
Does anybody run a "NCYL" in OKUMA drill cycle?
is there a way to POST this with any drill cycle using Subprogams only?


**************************************************

G17 G40 G80 G90 G94
G15 H15
G00 Z20
IF [VATOL EQ 2 ] N2
T2
M06
M01
N2 (.250 DIA )
G00 X-3.0 Y0.0 M3 S1000
G56 H2 Z3.0
M08 T3
G95
G71 Z2.0
G00 Z.11
NCYL G81 Z-.2 R.11 F.0033 M53 ( Sub )
CALL OS1
G80 G00 Z2.0
G94
M09
Z20
M01
M06
Y20 Z20 X-12
M30
OS1
X-1.5
X0.0
X1.5
X3.0
RTS

**************************************************

G17 G40 G80 G90 G94
G15 H15
G00 Z20
IF [VATOL EQ 2 ] N2
T2
M06
M01
N2 (.250 DIA )
G00 X-3.0 Y0.0 M3 S1000
G56 H2 Z3.0
M08 T2
G95
G71 Z2.0
G00 Z.11
G81 Z-.2 R.11 F.0033 M53 (No Sub )
X-1.5
X0.0
X1.5
X3.0
G80 G00 Z2.0
G94
M09
Z20
M01
M06
Y20 Z20 X-12
M30

**************************************************
Mastercam Mill Post : Mpmaster for Mastercam X3

pdrill$ # G81 Canned Drill Cycle
pdrlcommonb
pcan1, pbld,?????(NCYL), n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl,
prdrlout, *dwell$, *feed, strcantext, e$
pcom_movea

Thank you for any suggestions.

Steve Arteman
03-23-2009, 10:51 AM
Try this.

"NCYL"

Steve
www.cad2cam.net

QAZEWQ
03-23-2009, 10:56 AM
if i force "NCYL" it will post it always.

i need it oly when im using Subprogam.

Steve Arteman
03-25-2009, 04:50 AM
You can set it up as a misc int. to put it in when you want to use it.
I will do this for you if you send me your post,
I will send you an email as to how long and what the cost may be include what version you are running too.
Steve@cad2cam.net
www.cad2cam.net (http://www.cad2cam.net)

QAZEWQ
03-25-2009, 10:09 AM
i was hoping to do it without any extra mouse clicks.. thinking if it read call for sub or anything whatever forcing post sub it will do it automatically .may be something like that or what is the parameter to call sub

pcan1, pbld,[if ********** = * ,"NCYL",ELSE,], n$, *sgdrlref,.....


Mastercam Mill Post : Mpmaster for Mastercam X3

inkydo69
03-26-2009, 12:23 PM
yes there is and if i am right it would be in the "peck drill custom parameters" I think that you can set it up in your post it is close to the bottom. I am just not 100% sure but If i am right you would still force it, but could click it on and off. (Think second idea is better>>> )Or you could create a custom cycle for it I think it would work just never tried it.

dttoan201185
06-14-2009, 08:29 AM
I have a OKUMA machine but I havent got any document,can you give me some document about operation and programing.thank

QAZEWQ
06-14-2009, 08:56 AM
What control?