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 > General Metal Working Machines


General Metal Working Machines General discussions of all metal working machines from drill presses to band-saws.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-21-2010, 03:13 AM
 
Join Date: Mar 2010
Location: India
Posts: 8
fahed is on a distinguished road
Need help on Part Counter

I am using a CNC Lathe with a bar feeder attachment and the cycle time for a part is 1minute 33 seconds, My problem is its a mass production and when I place M30 at the end of the program I have to press "CYCLE START" after a component falls off, I loose some time there since time is very important,

If I replace M30 with M99, the program runs over and over again after parting, but the problem here is when I press the "POS" button on the controller, Part Count = 0, Cycle time = How much time the machine has run after I hit the "CYCLE START",

I need the program to run without hitting the cycle start button over and over again and see how many parts have fallen and also the cycle time for each part not the whole session.
Reply With Quote

  #2   Ban this user!
Old 03-21-2010, 04:56 AM
Ashish B's Avatar  
Join Date: May 2009
Location: Alegria
Posts: 368
Ashish B is on a distinguished road

I doubt that you cannot get individual cycle time, because cycle time counter is restarted only when u command M30 & as in your case u command M99...So can't get the individual cycle time.

For the Part Count, follow the instructions -



Before pressing cycle start, turn the Part Counter to 0


In your program command,


#xxxx = #xxxx+1;
M99;

(Where xxxx is the Parameter number which traces the Part Count...)

(Consult your Machine Dealer to know about the parameter which stores PART COUNT).
Reply With Quote

  #3   Ban this user!
Old 03-21-2010, 05:21 AM
 
Join Date: Mar 2010
Location: India
Posts: 8
fahed is on a distinguished road

I use a Galaxy Midas 0 machine, In the Parameters I could see in Help of the mahcine its shows 6700~, But when I used 6700, I get a error, illegal parameter used.
Reply With Quote

  #4   Ban this user!
Old 03-21-2010, 05:34 AM
Ashish B's Avatar  
Join Date: May 2009
Location: Alegria
Posts: 368
Ashish B is on a distinguished road

U have to ask to machine dealer...Or do post a new thread asking about parameter number which traces part count in forum of


"Paramteric programming".


But i suggest to ask to machine dealer...

Ash

According to my knowledge, the program mentioned is right...

Ash
Reply With Quote

  #5   Ban this user!
Old 03-21-2010, 06:22 AM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

I use macro variables as a part counter. How you would use it depends upon what control you are using. Mine is a Fanuc 10TF. At the end of the program, just before the M99, I have a "#549=#549+1. I can adjust that number while in MDI mode if necessary, like when first setting up a job,I can adjust to zero, or subtract bad cycles. Do you know which control you have, and whether you have Macro B installed?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-21-2010, 08:22 AM
 
Join Date: Mar 2010
Location: India
Posts: 8
fahed is on a distinguished road

I use a "FANUC 0i mate-TC", Could you help me in detail how do you set that parameter in MDI mode. I have never used the MDI mode.
Reply With Quote

  #7   Ban this user!
Old 03-21-2010, 10:29 PM
Ashish B's Avatar  
Join Date: May 2009
Location: Alegria
Posts: 368
Ashish B is on a distinguished road

Simply Program the following code in MDI.


#xxxx = 0,

(where xxxx is Parameter which traces the Part count
Reply With Quote

  #8  
Old 03-21-2010, 11:06 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,667
dertsap is on a distinguished road
Buy me a Beer?

Originally Posted by fahed View Post
If I replace M30 with M99, the program runs over and over again after parting, but the problem here is when I press the "POS" button on the controller, Part Count = 0, Cycle time = How much time the machine has run after I hit the "CYCLE START",

.
setup so that your main program is a sub routine then loop it to the number of parts/bar
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Reply With Quote

  #9   Ban this user!
Old 03-22-2010, 04:58 AM
 
Join Date: Mar 2010
Location: India
Posts: 8
fahed is on a distinguished road

I called up the dealer, He gave me this code "M90" before m99, & this worked, Thanks all for your help.
Reply With Quote

  #10   Ban this user!
Old 03-22-2010, 07:59 AM
Ashish B's Avatar  
Join Date: May 2009
Location: Alegria
Posts: 368
Ashish B is on a distinguished road
Lightbulb

Hey what's M90 ??
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-22-2010, 09:10 AM
 
Join Date: Mar 2010
Location: India
Posts: 8
fahed is on a distinguished road

My Machine dealer says its a code to add 1 to the part counter, so if I put M90 10 times in my program, I would a part count of 10, Can you tell me what is Macro B and what is the advantage of it.

Thanks in Advance.
Reply With Quote

  #12   Ban this user!
Old 03-22-2010, 09:30 AM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

M90 is a machine-builder added in feature not available on most makes of machines unless they too want to build in that M code. They would add it to the PLC side of the control. Don't expect to be able to use it on other makes of tools.

Macro B is a programming tool that allows you to have changeable parameters within your program. If you have a family of parts, for example, with different bore sizes, one program could be written that would suffice for all, with a simple change in the macro variable table that would modify what the program would do. There are conditional branch commands, calculating functions, I/O testing (if you know the address for that I/O). Counting is one of the simpler things you can do with Macro B. You could also set up the macro to stop the machine (M30) when a certain number of parts is reached. Powerful tool.
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
using a counter gravy Parametric Programing 10 05-26-2012 06:05 AM
Part Counter Reset Outlaw6700 Milltronics 3 02-26-2010 05:00 PM
turn on part counter in eia on MAZAK nexus vertical mill Denis13 Mazak, Mitsubishi, Mazatrol 0 01-30-2008 08:49 PM
Changing Fanuc part counter increment? gearsoup Fanuc 4 06-23-2007 07:50 AM
Part Counter ParadiseIsle FlashCut CNC 1 06-13-2007 08:04 PM




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