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! > Machine Controllers Software and Solutions > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-28-2011, 07:51 PM
 
Join Date: Dec 2009
Location: USA
Posts: 17
super-duty is on a distinguished road
6T M01 or M0 Help

I am trying to figure out how to use a tool for a stop in the program.

I can zero the machine out and do it manually the zero return but that is taking a lot of time.

Hear is what I have so far I can send the tool out for the stop with no problems but I cant get it to return home without doing a zero return.

Sample

G50 X0.0 Z0.0
T0505
G0 X-9.25 X-10.0
M01

I am lost from there..... I have used M0 and M01 both and had the same results.

When the tool goes to the position the temporary stop light comes on and I cant open the jaws to slide the material out unless I hit the reset button. When I do a reset it will not restart again unless I zero return.

This has worked without opening the jaws but I am not able to adjust the material

G50 X0.0 Z0.0;
T0505;
G0 X-9.25 Z-10.0; (TOOL MOVES TO THIS POSITION)
M01; (TEMPORARY STOP LIGHT COMES ON )
; (HIT CYCLE START)
G28 U0.0 W0.0 (TOOL RETURNS HOME)
;
;
G50 XXXXX (PROGRAM RUNS)

I am sure I am missing something or just over looking it.

Any help would be greatly appreciated.
Reply With Quote

  #2   Ban this user!
Old 06-29-2011, 12:22 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Could you do it at the end of the program and use an M30 instead?
Reply With Quote

  #3   Ban this user!
Old 06-29-2011, 04:07 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by super-duty View Post
I am trying to figure out how to use a tool for a stop in the program.

I can zero the machine out and do it manually the zero return but that is taking a lot of time.

Hear is what I have so far I can send the tool out for the stop with no problems but I cant get it to return home without doing a zero return.

Sample

G50 X0.0 Z0.0
T0505
G0 X-9.25 X-10.0
M01

I am lost from there..... I have used M0 and M01 both and had the same results.

When the tool goes to the position the temporary stop light comes on and I cant open the jaws to slide the material out unless I hit the reset button. When I do a reset it will not restart again unless I zero return.

This has worked without opening the jaws but I am not able to adjust the material

G50 X0.0 Z0.0;
T0505;
G0 X-9.25 Z-10.0; (TOOL MOVES TO THIS POSITION)
M01; (TEMPORARY STOP LIGHT COMES ON )
; (HIT CYCLE START)
G28 U0.0 W0.0 (TOOL RETURNS HOME)
;
;
G50 XXXXX (PROGRAM RUNS)

I am sure I am missing something or just over looking it.

Any help would be greatly appreciated.
Normally you can open the chuck when in the M01 or M00 condition. There may be a parameter that is stopping that from happening. However, you should have an M function for opening the chuck in cycle. You could try something like the following:

G50 X0.0 Z0.0;
T0500; its not a good idea to call the tool with the offset. If G00 is modal from a previous part of the program, the slides will move when the tool is indexing. On some machines, if G00 is NOT modal the program will be held up because the slides can't move to apply the offset. Its better to apply the offset on a move line as shown in the following line.

G0 X-9.25 Z-10.0 T0505; (TOOL MOVES TO THIS POSITION)
M??; (CHUCK OPEN M CODE)
M00;
(PULL WORK PIECE TO LENGTH)
(TRY CLOSING CHUCK MANUALLY)
(IF NOT, USE M CODE TO CLOSE CHUCK AND HIT CYCLE START TO EXECUTE)
G0 X0.0 Z0.0 T0500;
;
;
G50 XXXXX (PROGRAM RUNS)

Regards,

Bill
Reply With Quote

  #4   Ban this user!
Old 06-29-2011, 06:35 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Sounds like the machine's interface is designed so you can't open the clamps when the machine is "in cycle". An M00 or M01 just temporarilly stops the machine, but it's still in cycle. An M30 would reset the control (as does the RESET button), but that would drop you out of cycle and force you to start the program over.

Can you open the clamps to adjust the workpiece if you were in "Feed hold"? When you press the Feed Hold button, the control stops in a slightly different mode, and you should be able to resume by pressing Cycle Start again.

I can understand having a safety interlock so the machine won't cycle with open clamps, and you can't open the clamps while you're in cycle, But that would be coded into the Ladder logic by the machine tool builder.
Reply With Quote

  #5   Ban this user!
Old 06-29-2011, 09:05 AM
 
Join Date: Dec 2009
Location: USA
Posts: 17
super-duty is on a distinguished road

Got it figured out....

G50 X0.0 Z0.0
T0505
G0 X-9.25 X-10.0
M11 (CHUCK OPENS)
M01 (CYCLE START)
M10 (CHUCK CLOSES)
;
;
;
G50XXXX (REST OF PROGRAM RUNS)

Thanks for all the help.

Dan I got with John and got the BTR for my mill..... Needles to say I am very happy with it.

Bill once again thanks you were a great help to me in getting the bugs worked out of the mill.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-29-2011, 12:54 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by super-duty View Post
Got it figured out....

G50 X0.0 Z0.0
T0505
G0 X-9.25 X-10.0
M11 (CHUCK OPENS)
M01 (CYCLE START)
M10 (CHUCK CLOSES)
;
;
;
G50XXXX (REST OF PROGRAM RUNS)

Thanks for all the help.

Dan I got with John and got the BTR for my mill..... Needles to say I am very happy with it.

Bill once again thanks you were a great help to me in getting the bugs worked out of the mill.
Glad I could help.

One other note on the current M01/M00 issue, as Dan pointed out, the actuation of the chuck whilst in cycle may be blocked by the machine builders logic. This can't be looked at as can be done on later controls, however, if you have the MTB's wiring manual there should be a hard copy of the ladder and you will be able to see how manual functions such as openeing and closing the chuck are handled with the control in Auto mode, in active cycle and stopped by either M01/M00.

Most controls tolerate manual intervention, that is,
1. when in active cycle, the control can be placed in manual mode
2. a manual operation performed
3. the control put back into Auto mode and the automatic operation resumed

Accordingly, you could
1. have the machine stop via M01 or M00
2. select manual mode
3. open the chuck manually and pull the work piece to the stop
4. manually close chuck
5. select Auto mode and press cycle start to resume auto operation.

I would be wary of using M01 and chuck open command together, as the chuck will open whether Optional Stop is selected or not. As in your program example you are closing the chuck immediately after the M01, so there may not be an issue but M00 would be a safer choice in a bar pull to length situation.

Regards,

Bill
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





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