CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Okuma


Okuma Discuss Okuma machines here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-01-2008, 08:30 AM
craven12's Avatar  
Join Date: Feb 2008
Location: Canada
Posts: 10
craven12 is on a distinguished road
Okuma Newbie Needs Help

2003 Okuma Captain L370M OSPE100L, IEMCA VIP 80 Barfeeder.

Hi folks, new to this site. For the last 10 years I have run Fanuc controls. We now have a used Okuma, which I have no
experience with. This is a SSB file that was with the machine when we got it. I am trying to understand it. It's for
the barfeeder. Can someone explain what some of the commands mean? G and M codes (except for the M436, I can't seem to find what that is) I do know, but VDIN, NRTS, RTS, I don't know.
Any help would be appreciated.

Craven12

-------------------------------------------------------------------------------------------------------------------
OBAR2
N1 G50 S3000
G0 X22 Z22 M5
T010101
X.200 Z.02 T010101
M84
G4 F8 (pusher does full retract, so it doesn't whip in the sleeve. Slow to advance, hence the 8 second dwell)
M83
G4 F2
G0 Z1
IF [VDIN[24] EQ 1] N100 (what does this line mean?)
GOTO NRTS
N100 M77
M84
G0 X22 Z22
G4 F8
M436 (what the heck is this?)
M83
M76
G4 F2
G0 X.100 Z.02 T010101
M84
G4 F8
M83
G4 F2
G0 Z1
NRTS RTS

Last edited by craven12; 02-01-2008 at 10:47 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 02-01-2008, 01:00 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 62
Posts: 2,185
neilw20 is on a distinguished road
Question

Originally Posted by craven12 View Post
2003 Okuma Captain L370M OSPE100L, IEMCA VIP 80 Barfeeder.

Hi folks, new to this site. For the last 10 years I have run Fanuc controls. We now have a used Okuma, which I have no
experience with. This is a SSB file that was with the machine when we got it. I am trying to understand it. It's for
the barfeeder. Can someone explain what some of the commands mean? G and M codes (except for the M436, I can't seem to find what that is) I do know, but VDIN, NRTS, RTS, I don't know.
Any help would be appreciated.

Craven12

-------------------------------------------------------------------------------------------------------------------
OBAR2 (LABEL. Thats an uppercase 'O')
N1 G50 S3000 (SETS MAX RPM May default to zero and spindle won't start)
G0 X22 Z22 M5 (move away from end of job assuming X0Z0 at end. STOP spindle)
T010101 (Tool change)
X.200 Z.02 T010101 (Rapid move relative to tool 1 table settings IMHO)
M84 (unclamp?)
G4 F8 (pusher does full retract, so it doesn't whip in the sleeve. Slow to advance, hence the 8 second dwell)
M83 (Clamp?)
G4 F2 (Pause for clamping. Is this needed?)
G0 Z1 (1 unit inch/metric? from end of job)
IF [VDIN[24] EQ 1] N100 (what does this line mean?) (CLAMPED?)
GOTO NRTS (ABORT PROGRAM I think is check for correct clamping)
N100 M77 (??)
M84 (some canned machining cycle. Not much good if no material removed)
G0 X22 Z22 (RAPID Away from the job. The rest is a mystery)
G4 F8
M436 (what the heck is this?)
M83
M76
G4 F2
G0 X.100 Z.02 T010101
M84
G4 F8
M83
G4 F2
G0 Z1
NRTS RTS
I have had an different model Okuma and are making a few assumptions.
__________________
Super X3. 3600rpm. Two possible way to fix things: The right way or the other way.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 02-02-2008, 03:31 AM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 575
broby is on a distinguished road
[quote=craven12;403215]2003 Okuma Captain L370M OSPE100L, IEMCA VIP 80 Barfeeder.

Hi folks, new to this site. For the last 10 years I have run Fanuc controls. We now have a used Okuma, which I have no
experience with. This is a SSB file that was with the machine when we got it. I am trying to understand it. It's for
the barfeeder. Can someone explain what some of the commands mean? G and M codes (except for the M436, I can't seem to find what that is) I do know, but VDIN, NRTS, RTS, I don't know.
Any help would be appreciated.

Craven12

-------------------------------------------------------------------------------------------------------------------
(Making the assumption this program is Imperial)
OBAR2 (sub program name, ie what is called from the main program)
N1 G50 S3000 (max spindle speed)
G0 X22 Z22 M5 (Rapid to Home posn and stop the spindle)
T010101 (select tool 1, Tool Nose Rad comp for 1 and Offset 1)
X.200 Z.02 T010101 (move to posn making sure tool 1 is selected first)
M84 (open the chuck)
G4 F8 (pusher does full retract, so it doesn't whip in the sleeve. Slow to advance, hence the 8 second dwell) (well you know the answer here already)
M83 (Close the chuck)
G4 F2 (wait another 2 seconds)
G0 Z1 (rapid to Z posn)
IF [VDIN[24] EQ 1] N100 (this is checking an input to see if it is on or not)
(to find out which one you need to have the maintenance manual)
(if the input is ON then it will jump to line N100)
GOTO NRTS (unconditional jump to line NRTS)
N100 M77 (what does M77 do when input via MDI?)
M84 (open the chuck?)
G0 X22 Z22 (rapid to home position, but if M84 is Chuck open then lookout!)
G4 F8 (wait 8 seconds)
M436 (what the heck is this? Have you tried via MDI to see what happens? With hand near E-Stop!)
M83 (close chuck)
M76 (Try via MDI to work out this M Code)
G4 F2 (wait 2 seconds)
G0 X.100 Z.02 T010101 (rapid to XZ position with tool 1)
M84 (chuck open)
G4 F8 (wait 8 seconds)
M83 (chuck Close)
G4 F2 (Wait 1 second)
G0 Z1 (rapid to Z1)
NRTS RTS (RTS means ReTurn from Sub, Equivalent of Fanuc's M99)

I would suggest that you try in MDI mode some of the M codes to see what they do, then the process of decoding the program will be much easier!
If this program is to be used for barfeeding it seems to contain some rather strange coding and movement values.

The SSB file I created for barfeeding is much easier to follow...
Program is written for a maetric system!
The call to the program contained several variables allowing the user to select the barfeed tool number, length to feed out, Diameter at which the tool is to be positioned at and the position at which the "cut" face is located at.
the G94 allows the machine to move in feed mode without the spindle rotating! (feed per minute rate rather than G95 feed per rev)



$B-FEED.SSB%
SUBPROGRAM OBARF USED FOR BAR FEEDING IN LCS15 ONLY
LAST UPDATED 29/08/97 BJR
TO USE, COPY FOLLOWING LINE INTO MAIN PROGRAM
CALL OBARF LEN=84.5 CUTP=-2.5 TOOL=505 DIAM=05
OBARF
N1 G0 X600 Z600
NBARF T=TOOL
N3 X=DIAM Z=LEN+5
N4 Z=CUTP
N5 M84
N6 G1 G94 Z=LEN+0.5 F3000
N7 G4 F1
N8 M83
N9 G0 G95 X600 Z600
N10 RTS

Hope some of this makes sense!
If not... oh well, one but can try eh!?!
Cheers
Brian.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-02-2008, 11:00 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,189
dcoupar is on a distinguished road
My M-Code Chart only goes to M362
M76 is Parts Catcher Retract
M77 is Parts Catcher Advance
Could VDIN[24] be the End of Bar signal? I don't have a maintenance manual.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 02-02-2008, 11:44 AM
craven12's Avatar  
Join Date: Feb 2008
Location: Canada
Posts: 10
craven12 is on a distinguished road
I'm getting to understand some things now I think.
Yes, M77 and M76 are parts catcher adv and ret.
I do a search on the control for M436 and it's blank. Weird!

I think "VDIN[24]EQ 1]" is how many parts till end of bar, and when it sees EQ 1, (last part) it will then go to N100 and perform bar change.

OBAR2
N1 G50 S3000
G0 X22 Z22 M5
T010101
X.200 Z.02 T010101
M84
G4 F8 (pusher does full retract, so it doesn't whip in the sleeve. Slow to advance, hence the 8 second dwell)
M83
G4 F2
G0 Z1
IF [VDIN[24] EQ 1] N100
GOTO NRTS
N100 M77 (parts catcher adv)
M84 (chuck open)
G0 X22 Z22 (turret moves away from chuck)
G4 F8 (pusher pushes new bar 1/2" out of face of chuck pushing remnant from old bar into parts catcher, set by barfeeder settings)

M436 (still don't know)
M83 (chuck close)
M76 (parts catcher ret)
G4 F2 (dwell, prolly not needed, but was there when we got machine)
G0 X.100 Z.02 T010101 (rapids to position)
M84 (chuck opens)
G4 F8 (sigh! wait for pusher to come back and push bar to stop T0101)
M83 (chuck closes)
G4 F2 (dwell)
G0 Z1 (rapids 1" away from part)
NRTS RTS (returns to main proggy)

Thanks for the help guys, this site is awesome.
I still have to figure the barfeeder settings to match this OBAR2 sub program.
The barfeeder manual is converted Italian to english, so it doesn't make alot of sense. Gonna have to call IEMCA monday and talk to support.
Thanks again guys

Craven12
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-03-2008, 04:20 PM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 575
broby is on a distinguished road
Have you tried entering M436 via MDI to see what happens?
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 02-03-2008, 08:13 PM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 575
broby is on a distinguished road
Just had a look in my handbook, even tho it is quite old and is for OSP5000L-G controllers, it lists the inputs for 23~24 as being for External Inputs (EC), so my guess would be that the statement "IF [VDIN[24] EQ 1] N100" is def looking at the End of bar condition.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 02-03-2008, 11:11 PM
craven12's Avatar  
Join Date: Feb 2008
Location: Canada
Posts: 10
craven12 is on a distinguished road
Originally Posted by broby View Post
Have you tried entering M436 via MDI to see what happens?
Yes sir I did, and it didn't seem to do anything. Still puzzled. Gonna call the rep on Monday and see what he has to say.

Craven12
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 02-03-2008, 11:38 PM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 575
broby is on a distinguished road
Originally Posted by craven12 View Post
Yes sir I did, and it didn't seem to do anything. Still puzzled. Gonna call the rep on Monday and see what he has to say.

Craven12
Bummer!
Was really hoping that you would see something happen!
But oh well, like you say... time to call for help from Okuma!
Cheers
Brian. (no "Sir" please!)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 02-04-2008, 06:13 AM
craven12's Avatar  
Join Date: Feb 2008
Location: Canada
Posts: 10
craven12 is on a distinguished road
Originally Posted by broby View Post
Bummer!
Was really hoping that you would see something happen!
But oh well, like you say... time to call for help from Okuma!
Cheers
Brian. (no "Sir" please!)

LOL! ok, thanks Brian.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-04-2008, 09:56 AM
craven12's Avatar  
Join Date: Feb 2008
Location: Canada
Posts: 10
craven12 is on a distinguished road
Originally Posted by broby View Post
Bummer!
Was really hoping that you would see something happen!
But oh well, like you say... time to call for help from Okuma!
Cheers
Brian. (no "Sir" please!)
Got it!

From Okuma: M436 automatic M Code to do a complete bar change and have the part sticking out to the top cut position. (sometimes M336)

Machine has to be in system link mode for this to work.

Finally! lol
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 02-04-2008, 10:10 PM
broby's Avatar  
Join Date: Apr 2006
Location: Australia
Age: 48
Posts: 575
broby is on a distinguished road
Hi Craven12,
Well OK then, now we know a bit more about the various codes, your program is basically doing this:

Set Maximum Spindle Speed.
Start from Home posn, Spindle off
Select tool 1
Move to posn 0.02 from machined face
Open the Chuck
Wait for bar feeder to advance
Close the chuck
Wait another 2 seconds
Rapid to Z1
Check to see if Bar Feeder is empty, Jump to reload routine if it is
Jump to end of Sub Program if not empty.
N100 Advance the Part Catcher
Open the Chuck
Move at Rapid to Home Posn
Wait 8 Seconds
Change the Bar
Close the Chuck
Retract the Parts Catcher
Wait 2 seconds
Rapid to end of bar posn?
Open the Chuck
Wait 8 Seconds
Close the Chuck
Wait 2 seconds
Move to Z1
Return from Subprog.


I do have some questions however...
Where is Z0 on the job? Is it at the back face?
What is the length of Bar Feed each run?
Does the part move out of the chuck as the tool moves away, or does the tool move and then the chuck opens allowing the material to move out?
There appears to be no ability in your program to allow for varying the barfeed amount.
Hope you can answer these questions as I am curious to know how it is going.
Regards
Brian.
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Okuma RS-232 dmealer Okuma 18 09-06-2009 04:52 AM
Okuma OSP700M marty kincaid Okuma 7 01-04-2008 07:16 PM
okuma vs yci pp-TG General Metal Working Machines 0 10-02-2007 02:58 PM
Okuma igf brtlatjgt Machine Problems, Solutions , Wireless DNC, serial port 1 02-25-2007 07:34 PM
Okuma and pro cam NCcustom Suggestions for the CNCzone.com site. 1 12-29-2004 10:27 AM




All times are GMT -5. The time now is 06:03 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353