Help modifying Okuma OSP-300 lathe post

Help modifying Okuma OSP-300 lathe post

Anonymous
Not applicable
2,142 Views
5 Replies
Message 1 of 6

Help modifying Okuma OSP-300 lathe post

Anonymous
Not applicable

Hello - I've got a new Okuma Genos L250IIe lathe and I'm working to fine tune a post processor for it.  The lathe has the latest OSP-300 control, so I started with the  "Okuma LB3000 with OSP-300 control" post file.  Mine is only a 2-axis lathe so I went through and disabled many of the user parameters to reflect my setup.

 

I've got it working with two exceptions:

  1. The post outputs G18 commands, which freaks out my control
  2. If I use a canned treading or drilling cycle, the post will follow it with a G180 command, which also errors out on the control

I think the core of my problem is I need to disable any of the LB3000 features that my machine doesn't have, specifically anything related to additional axis.

 

Attached is my version of the post file, with my initials "KBM" in the comments of any line I've modified.  Any help pointing me in the right direction would be appreciated.

 

Thanks,

Kent

0 Likes
Accepted solutions (1)
2,143 Views
5 Replies
Replies (5)
Message 2 of 6

fredsi
Collaborator
Collaborator

With respect to item #2 - search with your text editor to find the function 'onCycleEnd'. Comment out the line that begins 'writeBlock.....(180));'  See if that doesn't eliminate the G180 codes.

 

I deal with an OSP-7000, but in a different cam system (for now). There are several sources of the G18 code in the code output, so I'm not sure what is the culprit. What surprises me is that G18 is a problem given that it refers to the XZ plane of motion. Does your programming manual say anything about G18? Should it not be used? or should it only be used when cutter comp is on? IOW, does your control always freak out when it sees G18 or just in certain circumstances?

 

Fred

0 Likes
Message 3 of 6

Anonymous
Not applicable

The G180 trick seams to work - thanks!

 

I need to remove all references to G18 since my machine does not have cutter radius compensation.  Here is a link to the error code:  http://www.helmancnc.com/okuma-alarm-b-2366-tool-radius-comp-no-spec/

 

Okuma Alarm-B 2366 TOOL RADIUS COMP. No spec.
The cutter radius compensation ON command* is designated for the control not equipped with the cutter radius compensation function.
* Compensation ON command (G41 or G42) following the designation of compensation plane (G17 XY plane).

Probable Faulty Locations
Program error

Measures to Take
Correct the program (Delete the G17, G41 and/or G42 command for the program).

 

 

Kent

0 Likes
Message 4 of 6

fredsi
Collaborator
Collaborator
Accepted solution

I don't have any lathe parts set up at the moment, so could not test....could fail without posting.  Otherwise, see if it eliminates G18 and G180 code in the program. Post attached.

 

Fred

 

Message 5 of 6

Anonymous
Not applicable

This appears to have worked based on posting a few parts.  I'll know in the morning when I can load them to the lathe to see if the control is happy.  I'll follow up.

 

Thank you!

Kent

0 Likes
Message 6 of 6

Anonymous
Not applicable

My test programs loaded fine on the lathe - it looks like this does it for now.

 

Thanks again for your help!

 

Kent

0 Likes