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 04-14-2010, 11:43 PM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road
18i-mb parameter to restart spindle after M1 (opt stop)

anyone know how to set an 18i-mb to restart the spindle after stopping via opt-stop (m1)... i can't find a parameter (or mtb parameter) for it but all my other machines do it...

thanks
- gwarble
Reply With Quote

  #2   Ban this user!
Old 04-17-2010, 12:24 AM
 
Join Date: Mar 2005
Location: United States
Age: 34
Posts: 657
gbowne1 is on a distinguished road

I've been wondering about this too.

Greg
Reply With Quote

  #3   Ban this user!
Old 04-17-2010, 02:46 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Insert M03/M04 after M01. Even if optional stop is not being used, M03/M04 would do no harm.
Reply With Quote

  #4   Ban this user!
Old 04-17-2010, 11:25 AM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road

this is a fine solution in some circumstances, but not always

for programs coming from our cam system, the post can easily insert an extra M3/M4 after the M1, but besides being extra code in storage and to send via rs232 every time, its not ideal

but more important than that, if the operator wants to add an M1 somewhere in the program to check the part/tool, there is a great possibility of error if that m3/m4 is forgot... and since all other machines in my shop will restart the spindle and coolant after an m1, i'd rather address the issue on the machine itself

PMC keep relays that are relevant but not the solution (this is a mori seiki nh5000, msg-501 control (fanuc 18i-mb):

K5.5: 1:M01 command does not stop the spindle/coolant
K24.3: 1:When given an M01 command, door is unlocked

thanks for the suggestion
- gwarble
Reply With Quote

  #5   Ban this user!
Old 04-18-2010, 10:48 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road

Having a Spindle restart without an M3/M4 is a major safety violation.

Enough that OSHA might own your company, or get your insurance canceled.

If anyone can Insert a M01 they can also add the M03.

Don't be stupid, if an accident happens and they find you modified the machine function its going to come out of someones pocket, and it won't be the insurance company.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-18-2010, 10:54 PM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road

well i agree, after a reset or emergency stop, but an m1 is not really the same thing... cycle start is being pressed for pete's sake (same as starting a program from the top, user doesnt have to press an extra spindle button)

not to mention most mtb's would agree with me, as can be seen by the factory behavior of all other machine tool builder's our shop has...

so the Mori Seiki is the one that does not restart the spindle after a cycle start after M1

i also have:
Fanuc (MTB and control, robodrills) 2 models 3 machines
hardinge/bridgeport, 1 model 2 machines
kitamura, 1 machine
chevalier, 1 machine
hwacheon, 1 machine
miyano, 1 machine (lathe)

all of these act the opposite, which is to restart the spindle after a "cycle start" is received while at an opt-stop M1 or any M0

feedback?

- gwarble
Reply With Quote

  #7   Ban this user!
Old 04-18-2010, 10:59 PM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road

Originally Posted by skullworks View Post
If anyone can Insert a M01 they can also add the M03.
its not about ability, its about efficiency... without sacrificing safety, ever

what if the tool was M4/CCW and the operator didn't know the difference or check the status... there's also m5 and m19 to think about if the operator has to actaully hand code this stuff...

or imagine you want a non-hand edited program, but has an m1 after every hole for tap chip clearing or part measuring... the door interlock takes care of all the safety concerns
Reply With Quote

  #8   Ban this user!
Old 04-18-2010, 11:49 PM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road

Originally Posted by gwarble View Post
well i agree, after a reset or emergency stop, but an m1 is not really the same thing... cycle start is being pressed for pete's sake (same as starting a program from the top, user doesnt have to press an extra spindle button)

- gwarble
M1 is the same as starting from the TOP? - If that were true then yes it would be safe, except it isn't.

The program header sets all sorts of condition variables that are often only set once. Usually a shortened sub set of these commands are used for each tool change.

Any time an Autocycle is allowed to be interrupted a potential danger has been created. How much of a danger varies somewhat with the age of the control. A FANUC 0mB behaves differently than a FANUC 0i. After a M01 the machine will continue with the commands on the next line of code, does that line contain enough data to be a safe start point, like after one or more axis was homed.

I believe our Mori Seiki SV50B with MSC 518 (FANUC 18) will resume after a stop if the door switch and mode switches are not disturbed. I honestly am not sure since all programs have all the needed code after any optional stop or conditional alarm stop.

Code is cheap - fill it up. Hardware, material, tools and operators are expensive.
Reply With Quote

  #9   Ban this user!
Old 04-19-2010, 12:08 AM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road

i tend to disagree, the less code the better in most circumstances... especially when it comes to operator's proving out and prototyping parts... in a shop where rarely do parts run in a machine for more than a day or two... so a handful of parts/setups may be done in a day on each machine... the more that can be configured on each machine to make operation identical throughout the shop is proving to be more and more beneficial... standardization

putting the safety code into macros and establishing general safe practices is the only way i can get trained but inexperienced operators to use machines safely and still be dynamic enough to and edit programs or repost as necessary from the cam system...

on most of my fanuc controls (all prior to the 31i) there is no limitation to prevent a program from being started at any point in the program... they did finally add this warning to the 31i i've seen, which is a good error prevention measure... but otherwise transmission errors and operator errors are always a possibility... proper training and procedure definition, and simplifying code and procedures, is working for me better than anything else i've tried...

in most cases what it boils down to in our shop is "safe" toolchange macros on all machines, which establish certain safety code necessary for each machine... followed by an m1... so the only places which programs are allowed to be started are at a tool change...

ie (from memory):
N3 M6 T3 (TOOL CHANGE MACRO M6 INCLUDES ALL SAFETY CODE)
M1 (T3 - 0.500 ENDMILL)
(MINIMUM Z=-1.0)
M3 S12000 (SPINDLE)
G54 Xi Yi (STARTING POSITION AT WORK OFFSET)
G8 P1 and/or G5.1 Q1 R# (LOOKAHEAD and AI/HSM)
G43 Zi H3 (RAPID/SAFE PLANE with TOOL OFFSET)
/M8 (COOLANT ON)


of course i'm always looking for improvements but its working for me now...

again the real problem is standardization throughout the shop... so the more similarly the machines act, the better, however it is... surprises are the worst for operators...

thanks for your feedback

- gwarble
Reply With Quote

  #10   Ban this user!
Old 04-19-2010, 12:13 AM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road

Originally Posted by skullworks View Post
M1 is the same as starting from the TOP? - If that were true then yes it would be safe, except it isn't.

The program header sets all sorts of condition variables that are often only set once. Usually a shortened sub set of these commands are used for each tool change.
well yes and no... its not like the TOP from the machine's perspective, but from an osha perspective it is, you have to press cycle start

a better comparison would be to single block... unless you press reset, however the program stops certain things shouldn't be changed or codes canceled...
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-19-2010, 01:23 AM
 
Join Date: Feb 2007
Location: USA
Posts: 531
skullworks is on a distinguished road

I'd say your on the right track with the use of safe tool change macros to make the differences between machines more operator transparent.

You can try to make things idiot proof, then someone will come along and do something even beyond what you would consider possible.
Reply With Quote

  #12   Ban this user!
Old 04-19-2010, 01:54 AM
 
Join Date: Jan 2010
Location: usa
Posts: 89
gwarble is on a distinguished road

thats for sure...

tool change macros were the key...

the standard in our shop is the m6 t# [x0 y0] will:

turn off coolant and AI/HSM
reference z(1or2) (whether or not the tool is actually going to change)
turn off tool length comp (g49)
reference 2 x-axis on certain machines which need an x location for tool change ONLY if the tool is actually going to change (using *** when necessary)
set absolute mode g90
set sequence number N(tool#) for easy reference in the top right corner
set spindle tool number to macro #148 for reference***
unlock spindle orient if necessary

optional x0 and y0 will optionally home those axis after homing z and turning off coolant, bringing the part to the door (ref2 g30 location) for the final toolchange of a program to toolchange to the first tool (for faster next cycle)
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
e stop and spindle (on/off) Zygoat LinuxCNC (formerly EMC2) 3 03-09-2010 09:43 PM
Problem- spindle won't stop HBFixedGear Fadal 4 07-07-2009 04:30 PM
How can I stop the spindle ? tmead Mach Wizards, Macros, & Addons 6 03-31-2009 10:50 PM
Interact 412 - CYCLE BUTTON RESTART SPINDLE Zhales Bridgeport and Hardinge Mills 1 07-20-2007 07:46 AM
VMC-15: Spindle Would Not Stop ! StormWerkz Fadal 8 04-25-2007 11:30 AM




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