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 08-01-2007, 10:28 PM
 
Join Date: Jun 2006
Location: Australia
Posts: 23
karlis_m is on a distinguished road
How to end code on an LC-10 ? Okuma

I go to a TAFE in Australia and we use an old LC-10 of 1982 vintage.
I wrote a program and it worked correctly then I wrote another and I inadvertently added an % at the end of the code - it seemed to give the controller all sorts of difficulty - END of Program error 2 was displayed.

We start our programs with $A.MIN% but have no end of file marker.
Would the extra % drive the controller crazy ?

Our machine used to have a tape unit but now uses a computer to transfer
code to the controller.

What is strange our post processor for the LC-10 outputs $A.MIN% at the beginning and an % at the end.

Are there universal characters for transmission or do manufactures have their own way of doing things ?

The control unit seems to be a bit obscure it that dropped half my program
once when I typed a z instead of Z.

Regards

Karlis

Melbourne Australia

Any views / input would be appreciated !!!!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-03-2007, 12:59 AM
 
Join Date: Jan 2007
Location: Hamilton,Oh
Posts: 325
bborb is on a distinguished road
You'll find, as your experience grows, that CNC controls are very picky about the format and order of code thats input into them. Controls built by different manufacturers seem to have different disciplines although they all try to adhere to a "ball park" industry standard of g-code. You must be VERY CAREFUL about every aspect of the code. A control doesn't have spell-check and will error out at the slightest deviance from its own format. Exact placement of decimal points (the values) and use of addresses (the letters) are critical.
Now when you want to upload the code to the control, there are special characters required at the beginning and end of the code that are simply communication codes and have nothing to do with the motion of the machine when the code is executed in the machine (cycle start). But these simple codes are very specific and necessary to successfully transfer your program into the machine (RS232).
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-03-2007, 06:45 PM
 
Join Date: Feb 2007
Location: USA
Posts: 529
skullworks is on a distinguished road
Arrow end code

Okuma uses M2 as the end code.

Only add a % on line after the M2 when editing offline. The machine strips that off while downloading but it waits for it to know download was completed. When editing at the machine do not use one at the end, only an M2.

The way to Name your files (so they don't get named A.MIN) is like so:

$GOOD-TEST.MIN%

This should be the first line of an offline program.

$ indicates a name, then the % indicates the next line is the first line of the program.

Remember you do not use % when editing at the control - only offline. Also use caps lock as some versions do not recognise lowercase at all.

Last edited by skullworks; 08-03-2007 at 06:47 PM. Reason: typo
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 08-14-2007, 01:38 PM
 
Join Date: Jan 2004
Location: Illinois
Posts: 32
RODMAN is on a distinguished road
1982 Lc10

Your 1982 Okuma should have an OSP 3000 control. If it does then you can use the following format.
%
N1G13G0X80000Z200000T10101M8
N2G50S2000
N3G96M43S650M3
N4G0X89500Z7500
N5G1Z2500F120
N6G0X89600Z5000
N7G1G75Z6000L-600F100
N8X34000F160
N9G0X80000Z200000M0
N10G96M43S650M3M8
N11G0X89500Z7500
N12G1Z2500F120
N13G0X89600Z4650
N14G75G1Z5500L-600F100
N141G1X70000F160
N15X34000F100
N16G0X80000Z200000S350
N17X38000Z6000T50505
N18G83
N19G82
N20D500
N21G1Z100F40
N22G80
N23G0X40000Z6000
N24G1Z5520F50
N25G76G1X38730L-350
N26G1Z5100
N27G0X38500Z6000
N28X80000Z200000M5M9
N29M2
%

Don't use(comments) Don't put any names in the first block, just the block number to start the program.

I find that ISO coding works more consistently then EIA coding. Set parameter #19 to 1 for ISO input and output.

Use the % on it's own line at the start and finish only when you are programing at the computer. This is recognised at the control as the start and finish of input. Use only CAPS.

Regards,

Rodman
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 08-19-2007, 05:42 AM
 
Join Date: Jun 2006
Location: Australia
Posts: 23
karlis_m is on a distinguished road
Thank You for Info

Gentlemen thank you for your input .


Regards

Karlis
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
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
error code on an okuma mill delbert General CNC (Mill and Lathe) Control Software (NC) 2 08-16-2010 06:26 AM
Okuma igf brtlatjgt Machine Problems, Solutions , Wireless DNC, serial port 1 02-25-2007 07:34 PM
looking for g code 3d from bobcadcam or simmilar for indexer lpt v5 with g code soft troyswood Ability Systems - LPT Indexer and G-Code 2 12-24-2006 10:21 PM
OSP 3000 okuma code. Tonenc G-Code Programing 0 04-24-2006 03:28 AM
Okuma D-Code W75 OR VACII Alarm 35 Rocksalt Machine Problems, Solutions , Wireless DNC, serial port 1 12-15-2005 04:55 PM




All times are GMT -5. The time now is 12:04 PM.





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