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 > Machine Problems, Solutions , Wireless DNC, serial port


Machine Problems, Solutions , Wireless DNC, serial port Need help with your Machine or need a Machining solutions for , Serial Port, Cable problems between PC and all others DNC problems disucss them here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-05-2003, 12:59 PM
Wjman's Avatar  
Join Date: Apr 2003
Location: England
Posts: 60
Wjman is on a distinguished road
Fanuc 18i-M controller

Hi there,
I did not know where to post this question so I thought here was as good a place as any. My problem is that sometimes I need to time a job thats cutting, I can note the start time but sometimes I can't note the end time. Is there any way that I can set the controller to time the job? I have read something about how to do this but can't get to grips with it.
(Fanuc 18i-M controller)
Mark...
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 05-11-2003, 04:12 PM
 
Join Date: May 2003
Location: Canada
Posts: 4
HSM Joe is on a distinguished road

The parameter might not be on for this option on the controler. What year is the controller, and make of machine is it? I might be able to get the right numbers for you.

Joe
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 05-16-2003, 12:20 PM
 
Join Date: May 2003
Location: Romeo, MI - USA
Posts: 75
psevin is on a distinguished road
Log Timing of program

IF the machine has custom macro B, a simple macro can be written to store the system variable for time (#3012) at the start of the program (i.e. #500=#3012), store it at the end of the program (i.e. #501=#3012), then take the difference (i.e. #502=#501-#500). I think that might get what you're looking for.

HTH
__________________
Paul Sevin - Ovation Engineering, Inc.
http://www.ovationengineering.com
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 05-18-2003, 01:59 AM
 
Join Date: May 2003
Location: India, Mumbai
Posts: 41
smabhyan is on a distinguished road

Dear Wjman,

psevin has given the exact reply.

When you write #500 = #3012, it will record the Clock Time at that moment in the macro #500. If the Right Hand corner of you screen shows 9:23:40, the macro #500 will store a value of 92340. Similarly it will store the clock time in #501.
(You can use anyother macro like #100 or #1 etc. However, #500 serie Macros do not wipe out after Power Off, whereas others do.

Now you can do manual calculation to find out the cutting Time. Or you can write another complex Macro Program to do Cycle time calculation and give you Cycle Time readily. However, note that, we need to use these Macro feature, only where it is really necessary. Because these Macro Programs consume valuable time of the CNC Processor.

smabhyan
__________________
smabhyan
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 05-18-2003, 11:24 AM
Wjman's Avatar  
Join Date: Apr 2003
Location: England
Posts: 60
Wjman is on a distinguished road
Fanuc 18iM controller

Thanks guys,
I'll give it a go.
Mark...
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-19-2003, 03:20 PM
Wjman's Avatar  
Join Date: Apr 2003
Location: England
Posts: 60
Wjman is on a distinguished road

Guys,
I tried your suggestion today, It worked great. I had to use #510 - #512 as #500-#506 are used in every program I use, but the end result was the same. I understand smabhyan's explanation regarding the complex macro . So without getting too complicated I will use the method suggested by you guys. Thanks for your answers. Much appreciated.
Mark...

P.S. That's what forums like these are about.
__________________
If in doubt ask!
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-23-2007, 04:24 PM
 
Join Date: Jul 2007
Location: Canada
Posts: 2
yiwu is on a distinguished road
To calculate a timer in Macro


Hi, I created a timer to calculate a working time in macro O1000 (sub-pro)

In the main program:
you can add on one line in the begining to set starting time in #500 and call #1000 in end before M30.
After run this program, you can check #505 - for hours, #506 - for minutes, #507 - for seconds
Any questions, you can e-mail to me "yihong.wu99@gmail.com" or "jwu@optimamfg.com"

for Example:

O1 (Main program)
#500=#3012 (set staring time in #500)
---------
---------
---------
M98 P1000 ( to calcute working time)
M30

O1000 (MACRO FOR A TIMER BY Yi-Hong WU 07/23/2007)
#501=#3012(TO GET ENDING TIME)
#2=0
IF[#500GT#501]GOTO500
N1#1=#500
N100#100=FIX[#1/10000]
#101=FIX[[#1-#100*10000]/100]
#102=#1-#100*10000-#101*100
IF[#2EQ1]GOTO2
#103=#100
#104=#101
#105=#102
#1=#501
#2=1
GOTO100
N2#106=#100
#107=#101
#108=#102
N3IF[#108GE#105]GOTO200
#108=60+#108
#107=#107-1
N200#507=#108-#105
IF[#107GE#104]GOTO300
#107=60+#107
#106=#106-1
N300#506=#107-#104
#505=#106-#103
GOTO600
N500#3000=141(OVERSIZE VALUE)
N600
(#500 - FOR STARTING TIME)
(#501 - FOR ENDING TIME)
(#505 - FOR HOUR)
(#506 - FOR MINUTE)
(#507 - FOR SECOND)
M99
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-24-2007, 10:14 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

deleted

Last edited by gar; 07-24-2007 at 01:36 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-24-2007, 01:25 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070724-0909 EST USA

On a HAAS machine there is a millisec timer at #3001. This is quantized to 20 milliseconds. Maximum count is equivalent to 497 days per the manual. This is resettable to zero at any time, increments only in 20 millisecond increments. The 497 days appears to come from the use of a 32 bit counter of 1/100 second increments.

Thus, if Fanuc has this capability you can zero the timer at the start of the cycle and simply read its value at the end of the cycle, or save values at different points in the cycle.

An example output from a HAAS machine is at my web site www.beta-a2.com about 2/3 down on a very long E232 web site page. This shows output formatted results from times at various points in a machine cycle. Also measures part to part time.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-01-2010, 01:02 PM
 
Join Date: Feb 2010
Location: Canada
Posts: 2
joferrenram is on a distinguished road

Hi. I don`t know almost nothing about forums. I need a FANUC 18i-M operation panel document for my class. If you may help me, please send me the information.

Excuse my english grammar.

Thanks, JOHN
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNC Feeding your Fanuc Controller Gerry Newe Fanuc 5 07-06-2010 10:15 PM
Parameters No. for file transfer on a Fanuc O-mate controller Niall Fanuc 8 06-03-2009 09:14 AM
CRC programing with an old Fanuc 11M controller Moparmatty G-Code Programing 4 02-08-2005 10:10 AM
GMF Fanuc L-100 Robot R-F controller whiteriver Fanuc 5 01-28-2005 11:16 AM
Anyone here ever used a Fanuc Position Mate controller? Tarak Fanuc 1 10-18-2003 09:34 PM




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