..might help ya
Okuma Lathe G and M Codes - Helman CNC
hi there i am writing this simple program to get the machine to do a simple program lol
it's basically
G50 S800
( i don't know how to home with okuma)
G0T0202
G96 S100 M41 M3
X3. Z.1
Z0.
G1 X0. F.005
G0 Z.1
X3.
(then how do you send home ? ?)
(M30 or M2) ?
it's for a 2.5" diameter piece and i am facing it off.
anyway i write all of that and NOTHING!!!!!!. EDIT QUIT; call the program and then --->>> NOTHING. can someone correct this program please or tell me what i should do in the parameters to make the machine run? ?am i not homing? am i not using proper Gees?
the machine has neither IGF nor flash drive for loading programs.
thanks a lot.
Similar Threads:
- USB EMULATOR OKUMA OSP7000
- Need Help!- Okuma OSP7000 MC-60VA
- Need Help!- Okuma lb15 II-m OSP7000 IGF
- Problem- Language on OSP7000
- OSP7000 manuals
..might help ya
Okuma Lathe G and M Codes - Helman CNC
one thing with okuma is the excessive amount of writing !!! i have seen programs with "GOTO "
"DRAW"
"END"
"M03""M41" ?? do you have to write another M code for gear?
This is for an lb15 with a osp5020l control it has absolute encoders no referencing
x axis has to be at the limit (x+) to index z can be anywhere. In this example the index is at the furthest position in both x and z
z0. is the face of the part
G50S1000
N2
(ROUGH FACE)
(DNMG332)
(you could put a safe index here if wanted)
G0G95G96M3S200T0202M41M8( g95 =ipr,g96=csfm,m41=low gear range)
G0X2.35Z.1
G1X2.300Z.01F.03
G1X-.08F.005
G0Z1.0
M9
G0X15.Z15 ( on this control there is no g28u0.w0. this is the safe index position for the index the x15 is actually beyond the limit)
M01
Based on your picture your program has invalid codes. Your program should be showing up in auto as you typed it. Is there a G14 or G13 in it? There should not be. Either M2or M30 can end the program and rcs60 is right about “ home”. There is no home procedure. Just X20 Z20 should take you to the positive limits which is required to index. It will only go as far as it can ( variable limits) and stop with no alarms.
G0X20Z20
G50 S800
( i don't know how to home with okuma)
G0T0202
G96 S100 M41 M3
X3. Z.1
Z0.
G1 X0. F.005
G0 Z.1
X3.
G0X20Z20
M2
Btw STM’s come first before axis movement so things will go faster if you combine more on one line:
G0T0202 G96 S100 M41 M3 X3. Z.1 M8 is acceptable although I prefer to switch to G96 after positioning to the part.
Another thought, make sure there’s no O123 or anything at the top or it will consider it a sub program.
Best regards,
Experience is what you get just after you needed it.
Your picture only shows the m30 so something is preventing it from showing the rest of the code when it reads it into the run buffer. I’ve seen it if you use the G13 on a single turret machine or if you have O1234 or something at the beginning of the program.
Please take a picture of your code when displayed in the editor so we can see what you are typing that could affect the program when it reads in.
Best regards,
Experience is what you get just after you needed it.
no i get that. trust me i don't have either of those. the problem is i can't even manually move up to the beginning of the program like you would normally be able to do if you had to RESTART OR NUMBER SEARCH in PART PROGRAM right?
could there be something in the parameters? something is disabled? that should be enabled?
..show us the PART PROGRAM screen use the soft key. or is your keyboard having problems? How old is this machine?
This is Auto Mode
Last edited by machinehop5; 08-04-2020 at 03:36 AM. Reason: keys
The only thing that I’ve seen that will cause that is erroneous code. Like I said go to edit mode and take a picture of your code so we can see it. It is not related to parameters or settings in my experience.
Since you say neither of the things I suggest are the issue, check for open parentheses. If it sees a left without a right one, all the code is ignored until it does.
Best regards,
Experience is what you get just after you needed it.
...is your machine chucking CycleStart Interlock set for clamping on OD or ID? or maybe the two M codes on the same line needs changed M3M41 maybe a problem
Last edited by machinehop5; 08-10-2020 at 02:32 AM. Reason: M3M41
Last edited by okuma1984; 08-10-2020 at 11:04 AM.