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 12-16-2008, 11:16 AM
 
Join Date: Dec 2008
Location: Sweden
Posts: 3
Magnus Sweden is on a distinguished road
OKUMA MA40 HA variables

Hello, all =o)
I'm new to this forum and this is my first posting.

We've reicently bought an OKUMA MA40 HA horisontal with 2 pallets and are shooting in the dark on this one.

It seems that there should be a main program in the machine with variables that connects "palett 1" to "program 1.min" & "palett 2" to "program 2.min".

There is no such program in the machine, does anyone here know what it should look like?

Thanks
Magnus
Reply With Quote

  #2   Ban this user!
Old 12-18-2008, 12:44 PM
 
Join Date: Dec 2008
Location: Sweden
Posts: 3
Magnus Sweden is on a distinguished road

Problem solved =o)
Reply With Quote

  #3   Ban this user!
Old 12-18-2008, 05:06 PM
littlerob's Avatar  
Join Date: Jan 2008
Location: usa
Age: 35
Posts: 570
littlerob is on a distinguished road

Originally Posted by Magnus Sweden View Post
Problem solved =o)
Could you post the core of the problem, and the solution?

It would help me.

Robert
Reply With Quote

  #4   Ban this user!
Old 12-18-2008, 05:24 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

Originally Posted by littlerob View Post
Could you post the core of the problem, and the solution?

It would help me.

Robert
littlerob

these programs are not really necessary if you utilise a library file and register a user M-code to shuttle in or check if a certain pallet in in the machining area
These pallet1.min and pallet2.min would best be used when scheduling programs

reply if you want more info
we have MX40-HA with 2 pallets and use M201 for palete #1 and M202 for #2
Reply With Quote

  #5   Ban this user!
Old 12-20-2008, 11:16 AM
 
Join Date: Nov 2006
Location: UK
Posts: 121
ChattaMan is on a distinguished road
Thumbs up M code subs.

Originally Posted by Superman View Post
we have MX40-HA with 2 pallets and use M201 for palete #1 and M202 for #2
Ahhh, nice idea.
I use an IF/GOTO type statement for a pallet check/change at the start of my programs which requires a few edits if it's the opposite pallet needed.

I'll be using M201/M202 as from Monday. Thanks Superman.

ChattaMan.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-21-2008, 03:28 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?
Talking pallet machines-Library file

Merry Xmas for all

attachment for all OKUMA's with pallets
G-codes and M-codes extras for many OKUMA machines
G111= tool measure
G112= tool re-measure
G113= tool breakage detection
G114= tool measure

M201= call in pallet#1,continue if pallet#1 is current
M202= call in pallet#2,continue if pallet#2 is current
M203= empty tool from spindle
M204= call WARMUP cycle for machine
M205= empty thru tool coolant line with air blow

all these codes should be set in "parameter set" page of control
G111 = OTOOL
G112 = OTOL1
G113 = OBREK
G114 = OTOL2
M201 = OPAL1
M202 = OPAL2
M203 = ONOT
M204 = OWARM
M205 = OM50O

they then operate like a "CALL" statement
ie M205 = CALL O5o0 ( air blow )
or M204 = same as loading the WARM.MIN file ( turn on m/c - MDI 'M204' will warm-up the spindle )
M201 = is PALLET1 in machine? NO. well bring it in, only if "W.LOAD FINISHED" button is pressed

To all the very best of this festive season
Attached Files
File Type: zip MX40-HA.zip‎ (1.3 KB, 141 views)
Reply With Quote

  #7   Ban this user!
Old 12-22-2008, 12:38 AM
 
Join Date: Dec 2008
Location: Sweden
Posts: 3
Magnus Sweden is on a distinguished road

Hello, again!
This is how we did:

We made a .SDF program called AUTO.SDF and typed the following into it:

( ** schemaprogram ** )


NA10 PSELECT PM60.MIN ( ** PALLETCHANGE)
NA20 IF[VPLTK NE 1]NCK ( ** IF NOT PALETT 1 GO TO NCK)
NA30 PSELECT PROGRAM1.MIN ( ** PROGRAM 1)
NA40 PSELECT PM60.MIN ( ** PALLETCHANGE)
NCK IF[VPLTK NE 2]NEND ( ** IF NOT PALETT 2 GO TO NEND)
NA50 PSELECT PROGRAM2.MIN ( ** PROGRAM 2)
GOTO NA10 ( ** LOOP)
NEND END ( ** END)


There must be a palletchanging program.
Make a file called PM60.MIN and write the following:


%
( ** PALLETCHANGE ** )
M60
M2
%


Transfer these programs to the machine:


AUTO.SDF
PROGRAM1.MIN
PROGRAM2.MIN
PM60.MIN


The main program to run in the machine is now AUTO.SDF. One can change programs for the pallets in this program. It solved our problem for now, time will tell if we need any changing ;-)

Merry X-mas all!
Reply With Quote

  #8   Ban this user!
Old 12-22-2008, 03:29 PM
 
Join Date: Nov 2006
Location: UK
Posts: 121
ChattaMan is on a distinguished road
Superman Hero

Superman..you are a Superman.

Sorry Magnus for hijacking your thread but I need to hang on to Supermans attention!!

Tried the M201/M202. Worked a treat

This is our first HMC and our first Okuma. This was the first library file I have registered on the control. I needed to enter a "buffer size" to be able to store the .LIB file. I understood from the manual it had to be sufficient for the number of Bytes the programs used. I found the manual to be rather like the Fanuc manuals....they tell you how to do it but not why you need to do it. I don't like doing something without really knowing why.

So...what is the purpose of the "buffer size"?

ChattaMan
Reply With Quote

  #9   Ban this user!
Old 12-22-2008, 04:12 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?
Cool

Hi Magnus,

The file "MX40HA.LIB" is registered, and resides permanently in the control with all these codes registered in "parameter set" page of control
( check your manuals "OSP7000M operation manual, pub#3754-E, section 12-23 Library Program Registration, page 347)
G111 = OTOOL
G112 = OTOL1
G113 = OBREK
G114 = OTOL2
M201 = OPAL1
M202 = OPAL2
M203 = ONOT
M204 = OWARM
M205 = OM50O

In your running program, "M201" will check if pallet#1 is in m/cing area and will only continue when it is
When finished m/cing then "M202" to call in the other pallet

an example with a few other macros included

$TEST.MIN%
(...)
(...)
()
N1 G21
N2 G0 G17 G40 G90
N3 G15 H0
N4 G30 P1
()
N5 T3
N6 M201 ( pallet #1 )
( 3.0BALL CBD 2FLUTE 4FLUTELENGTH 6SHANK 18OUT )
( TOOL - 3 ; D3 ; H3 ; TOOL DIA. - 3. )
N7 T3 M6
N8 G15 H1
N9 B0. M15
N10 G0 X366.4 Y22.775
N11 S8500 M3
N12 M50 ( thru tool coolant )
N13 G56 H3 Z80.
...
...
...
N107 G0 Z80.
N108 M9
N109 M5
N109 M205 (clear coolant lines )
N110 G17
N111 G15 H0
N112 G30 P1
N113 M202 ( pallet #2 )
N114 M203 ( empty spindle )
N115 / GOTO N1 ( continuous cycle )
N116 M30
%

Note!!
SDF schedule files not required for day to day work,
but are useful when laying out jobs on different pallets

( SCHEDULE.SDF )
N1 PSELECT PROGRAM1.MIN
N2 PSELECT PROGRAM2.MIN
N3 PSELECT PROGRAM3.MIN
( PROGRAM1.MIN = OP.1 = PALLET 1)
( PROGRAM2.MIN = OP.2 = PALLET 1)
( PROGRAM3.MIN = OP.3 = PALLET 2)
GOTO N1
END


ChattaMan, g'day

got 1/2 way through writing this post when yours popped up,
figured that this post was very interesting to you
so I put it up for all to see

This would be of interest to all OKUMA pallet machines

"buffer size" refers to a small section of control memory reserved for your .lib files, sub-routines, macros and the like.
I am not sure what value to input, but a starting point would be the size in bytes plus a bit of the .lib file ( say 5000 bytes or a bit more )

We got our m/c with some of this in place and now full on programming, some things are better forgotten
Reply With Quote

  #10   Ban this user!
Old 12-22-2008, 04:49 PM
 
Join Date: Nov 2006
Location: UK
Posts: 121
ChattaMan is on a distinguished road
Buffer size

Superman, ayup.

Ok I'll just except it, that...it just, is!

Looked at schedule files but left it alone. We have all the gubbins for an FMS but it's not set up yet, so are just running two pallets. Got full simultanious B axis and Turncut function. Didn't realise how useful turncut would be but seem to use it on every new job!

This is the first job I used it on......

http://video.google.co.uk/videoplay?docid=5641232019650543372&ei=vxVQSaHqOIvKiQL7is3KCw&q=turncut&hl=en-GB
Turn bore with tapers and rads, scroll face, turn O/D with corner rad.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-22-2008, 05:17 PM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,556
Superman is on a distinguished road
Buy me a Beer?

ChattaMan, neato

swap? your code ( a look see ) for mine, you've already got mine
always wanted to know how to sync the spindle to XYZ


also have a good look at my .lib file
M205 , thru coolant line air blowout
M204 , spindle warm-up cycle ( no need to select WARM.MIN just <MDI> M204 )
G113 = tool breakage detection, if tool length alters by "PLE1=value" it alarms
good for production if ckecking a drill before tapping, also after tapping
Reply With Quote

  #12   Ban this user!
Old 12-23-2008, 10:33 AM
 
Join Date: Nov 2006
Location: UK
Posts: 121
ChattaMan is on a distinguished road
Swapsies

Yeah no problem sharing code. Don't know if you can sync the spindle without turncut function! Once you've initialised the turncut you just program as on a lathe, with X & Z. Have a look at the attached prog. I used turncut for the flanges, as on the vid, also a 4.7mm face groove with 0.2mm and 0.5mm corner rads and a back bore.

Also attached are(normally .SSB files but changed to .TXT to upload on here)......
...macro for helixing holes/counterbores with a flat bottom (also useful for chamfer/deburr)
...macro for parallel internal threadmill
...macro for NPT/BSPT internal threadmill

There's lots more to learn with this control. There's just not enough hours in a day!
Attached Files
File Type: txt OG111.txt‎ (1.1 KB, 169 views)
File Type: txt OG112.txt‎ (826 Bytes, 134 views)
File Type: txt OG113.txt‎ (941 Bytes, 124 views)
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
Anyone have a manual for a 250psi Okuma TSC pump for Okuma Mill? Edster Okuma 1 08-28-2008 08:09 AM
Difference between a Okuma & Okuma Howa 69owb Okuma 7 06-04-2008 11:51 AM
System variables in a O-MD AZDEN Fanuc 1 10-23-2007 10:50 AM
Variables 500 to 531 viorel26 Fanuc 0 09-30-2007 02:30 AM
System variables jorgehrr G-Code Programing 8 02-18-2007 07:26 PM




All times are GMT -5. The time now is 04:54 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 354 355 356 357 358 359 360 361