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 06-10-2009, 01:16 PM
 
Join Date: Jun 2004
Location: United States
Posts: 3
machzero is on a distinguished road
Dry-run system variable?

Recently had a machine crash due to the dry-run function being left active. Is there a way to verify that the dry-run function is active/disabled in a program using system variables or perhaps interrogating a parameter value?
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 06-10-2009, 08:54 PM
Oti Oti is offline
 
Join Date: Sep 2006
Location: USA
Posts: 24
Oti is on a distinguished road

What type of machine and control?
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 06-11-2009, 08:27 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,504
Superman is on a distinguished road
Buy me a Beer?

Obviously, dry run was used to prove-out a program
Single step used as well ??

As newer controls usually have only 1 knob, and it only controls feedrate and rapid rate seperately while in single step.
If single block is OFF then the override only controls feedrates NOT rapids.

Get the operators into a habit of using single step and turning the feedrate override to ZERO after each block of code

1. knob to ZERO
2. single block ON
3, Dry run ON
4....prove the program #1. at each block
5. Dry run OFF
6. ..#1.

Leaving the machine-- #1. again
Turning OFF at the end of day --- guess what ---#1.

As for interrogating the parameter, not sure of the actual address
but the code should be written something like this ( in red = a guess )

Code:
...( Header info )
...( Safety code )
IF [VNDRYR = 0] GOTO NEND  (if dry run is OFF- jump over the warning)
  VNCOM[1]=1 (turns message screen on )
  MSG (          <<<< WARNING >>>>                        DRY RUN IS *** ON ***)
  M00 ( cycle start to continue WITH dry run )
NEND
....(Your Prog )
M30
%
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 06-12-2009, 10:08 AM
 
Join Date: Apr 2009
Location: USA
Posts: 389
OkumaWiz is on a distinguished road
Buy me a Beer?

There are all kinds of system variables available for your use. With a little creativity, you can make an LT machine safer than a cadet. Here's a program for an LT200-MY with a P200 control. It checks all of your switches and knobs to make sure you aren't forgetting anything. Being human, it's easy to do. This program also checks to make sure the feed rate is at 0 and single block is on when doing a restart. You can put parentheses around areas you don't need on your machine. It takes about 1/2 a second for the machine to check everything, so it's well worth it.

If you need something else, let me know. I have programs for the other controls too. They are different on these controls since Okuma uses different I/O methods and addressing on them.

Code:

G13 (WRITTEN FOR LT200MY WITH P200 CONTROL)
G140
(TURN FEED TO 0 AND SINGLE BLOCK ON FOR RESTART.)
( SWITCHES CAN BE ADJUSTED AFTER CHECK HAS OCCURED.
INDIVIDUAL MODE CAN ONLY BE USED DURING RESTART.)
G50S500
/CALL OCHKA (OR OCHK1 FOR NO BARFEED)
G14
G141
G50S500
/CALL OCHKB
M2


OCHKA
IF[VORD[0016]EQ 1]NRTS (IF MACHINE LOCK ON)
(IF[VTOFZ[2]EQ 0]NCK0
VUACM[1]='T-A2 NOT AT Z0.0'
VDOUT[992]=1)
NCK0 IF[VORD[0015]EQ 0]NCK1
VUACM[1]='DRY RUN ON'
VDOUT[992]=1
NCK1(IF[VORD[0014]EQ 0]NCK2
VUACM[1]='BLOCK DELETE ON'
VDOUT[992]=1)
NCK2 IF[VORD[0022]EQ 1]NCK4
VUACM[1]='SPINDLE OVERIDE'
VDOUT[992]=1
NCK4 IF[VORD[0031]EQ 1]NCK5
VUACM[1]='COOLANT OFF'
VDOUT[992]=1
NCK5 IF[VORD[011A]EQ 1]NCK6
VUACM[1]='R-SPNDL OVERRIDE'
VDOUT[992]=1
NCK6 IF[VRSTT NE 0]NCK7 (IF RESTART)
NCK IF[VORD[0011]EQ 0]NCK7
VUACM[1]='A INDIVIDUAL ON'
VDOUT[992]=1
NCK7 IF[VORD[001C]EQ 1]NCK8
VUACM[1]='LOAD MONITOR OFF'
VDOUT[992]=1
NCK8 IF[VORD[0110]EQ 1]NCK9
VUACM[1]='MA OVERRIDE'
VDOUT[992]=1
NCK9 IF[VORD[0106]EQ 1]NCK10
VUACM[1]='MB OVERRIDE'
VDOUT[992]=1
NCK10 IF[VORD[0143]EQ 0]NCK11
VUACM[1]='SYSTEM LINK ON'
VDOUT[992]=1
NCK11 IF[VRSTT NE 0]NCK12 (IF RESTART JUMP)
IF[VORD[0013]EQ 1]NCK12 (SINGLE BLOCK)
IF[VORD[0023]EQ 1]NCK12
VUACM[1]='FEEDRATE NOT 100'
VDOUT[992]=1
NCK12 IF[VRSTT EQ 0]NRTS (IF NOT RESTART JUMP)
NCKR1 IF[[VIRD[0030]+VIRD[0031]+VIRD[0032]]EQ 0]NCKR2
VUACM[1]='FEEDRATE TOO HI'
VDOUT[992]=1
NCKR2 IF[VORD[0013]EQ 1]NRTS
VUACM[1]='SINGLE BLK OFF'
VDOUT[992]=1
NRTS RTS
OCHKB
IF[VORD[0016]EQ 1]NRTS
(IF[VTOFZ[2]EQ 0]NCK1
VUACM[1]='T-B2 NOT AT Z0.0'
VDOUT[992]=1)
NCK1 IF[VRSTT NE 0]NRTS (IF RESTART)
NCK13 IF[VORD[0012]EQ 0]NRTS
VUACM[1]='B INDIVIDUAL ON'
VDOUT[992]=1
NRTS RTS
OCHK1 (WITHOUT BARFEEDER)
IF[VORD[0016]EQ 1]NRTS (IF MACHINE LOCK ON)
IF[VORD[0015]EQ 0]NCK0
VUACM[1]='DRY RUN ON'
VDOUT[992]=1
NCK0(IF[VORD[0014]EQ 0]NCK2
VUACM[1]='BLOCK DELETE ON'
VDOUT[992]=1)
NCK2 IF[VRSTT NE 0]NCK3 (IF RESTART)
NCK00 IF[[VIRD[0030]+VIRD[0031]+VIRD[0032]]EQ 0]NCK3
NCK IF[VORD[0023]EQ 1]NCK3
VUACM[1]='FEEDRATE NOT 100'
VDOUT[992]=1
NCK3 IF[VORD[0022]EQ 1]NCK4
VUACM[1]='SPINDLE OVERIDE'
VDOUT[992]=1
NCK4 IF[VORD[0031]EQ 1]NCK5
VUACM[1]='COOLANT OFF'
VDOUT[992]=1
NCK5 IF[VORD[011A]EQ 1]NCK6
VUACM[1]='R-SPNDL OVERRIDE'
VDOUT[992]=1
NCK6 IF[VRSTT NE 0]NCK7 (IF RESTART)
NCK IF[VORD[0011]EQ 0]NCK7
VUACM[1]='A INDIVIDUAL ON'
VDOUT[992]=1
NCK7 IF[VORD[001C]EQ 1]NCK8
VUACM[1]='LOAD MONITOR OFF'
VDOUT[992]=1
NCK8 IF[VORD[0110]EQ 1]NCK9
VUACM[1]='MA OVERRIDE'
VDOUT[992]=1
NCK9 IF[VORD[0106]EQ 1]NCK11
VUACM[1]='MB OVERRIDE'
VDOUT[992]=1
NCK10 IF[VORD[0143]EQ 0]NCK11
VUACM[1]='SYSTEM LINK ON'
VDOUT[992]=1
NCK11 IF[VRSTT EQ 0]NRTS (IF RESTART)
NCKR1 IF[[VIRD[0030]+VIRD[0031]+VIRD[0032]]EQ 0]NCKR2
VUACM[1]='FEEDRATE TOO HI'
VDOUT[992]=1
NCKR2 IF[VORD[0013]EQ 1]NRTS
VUACM[1]='SINGLE BLK OFF'
VDOUT[992]=1
NRTS RTS

Save this program in memory as something like LT200MY-P200.SSB, that way it will load on control boot and be available to all programs. Then all you need to do is write the CALL OCHKA into the A-side program and CALL OCHKB into the B-side.

Good luck!
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
EMC2 variable pitch / variable diameter threading. samco General Metalwork Discussion 0 03-09-2008 02:40 PM
Anyone have a complete list of system variable for a 18-I tb lathe?? theemudracer Fanuc 6 11-18-2007 02:05 AM
System Variable for Pallet location Jason812 Fanuc 7 11-05-2007 08:23 AM
System variable for tool in ready position Dana099 Mazak, Mitsubishi, Mazatrol 5 07-20-2007 04:30 PM
System variable for spindle tool Fanuc 15m pieface Fanuc 8 06-01-2006 07:37 AM




All times are GMT -5. The time now is 02:41 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