Subscribe to Blog
Email Address
 
Search for GOTO returned 2 results.
Pages:(1) [1]

Okuma Lathe G and M codes

January 8, 2011, 12:30 am by Eldar Gerfanov (Admin)

Here is a list of Okuma G and M codes i got from the manual

Note Some codes may not be supported by your machine, all information is given as is and i dont give a ... if you break something.

Information given here is correct to the best of my knowlege

Read More 

Repeating OKUMA CNC Lathe program number of times

January 6, 2011, 1:00 pm by Eldar Gerfanov (Admin)

If you want OKUMA Lathe to repeat program several times you can use a subprogram or a conditional GOTO statement.

On Many Okumas subprograms is an option you have to buy, so we have to use GOTO statement.

Code
O1 
CN=7 (NUMBER OF CYCLES TO REPEAT) 
CC=0 (CURRENT CYCLE)
N0
......
(part program)
......
CC=CC+1 
IF [ CC LT CN ] N0 
M2

Thats it 

This little code helps alot when using bar feeder and stuff like that.

 

Pages:(1) [1]
Sing In

© 2009-2022 Eldar Gerfanov. All Rights Reserved.
© 2009 Eldar Gerfanov. Materials on this site are presented as is and are mostly for educational use.

You may freely reproduce information presented herein without any consent from me, provided you include link to this site.
In case when i am not the copyright holder, you may want to contact proper owner of material. Anyway, they are freely available on the Internet.
If you hold the copyright right for any of the materials on this site and want them removed, please contact me here