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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-01-2012, 11:13 PM
 
Join Date: May 2008
Location: India
Posts: 85
yaji63 is on a distinguished road
Question Unique identifier / Serial number parameter for Fanuc controller machine

Does anyone know in what parameter the Serial number of a Fanuc controller reside ?

I have 2 machines with Fanuc OiMD controller and i have programs which have to be run only on a specific machine. I do not want a program meant for one machine to be accidentally run on the other machine. I intend to use macro variable statements and identify the machine with its control serial number (which i presume is the only unique identifier) to permit the usage of a particular NC program on the machine.

Thanks in advance for the help
Reply With Quote

  #2   Ban this user!
Old 01-02-2012, 01:51 AM
fordav11's Avatar  
Join Date: Aug 2011
Location: Fordaville
Posts: 939
fordav11 is on a distinguished road

there is no macro variable for the serial number. it doesn't exist
Reply With Quote

  #3   Ban this user!
Old 01-02-2012, 01:59 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

I've never seen the serial number or any other unique identifier stored in a parameter.

You could set a unique value in one of the common variables (#500-#999) for each machine and protect those variables from being changed or cleared with parameters 6031 & 6032 (range of variables to be protected), then check that variable at the start of each program.
Reply With Quote

  #4   Ban this user!
Old 01-02-2012, 10:45 AM
 
Join Date: May 2008
Location: India
Posts: 85
yaji63 is on a distinguished road

Originally Posted by dcoupar View Post
I've never seen the serial number or any other unique identifier stored in a parameter.

You could set a unique value in one of the common variables (#500-#999) for each machine and protect those variables from being changed or cleared with parameters 6031 & 6032 (range of variables to be protected), then check that variable at the start of each program.
Thanks for the info. I did have an idea about the #500 and above but i did not know that they can be protected from clearing.
Reply With Quote

  #5   Ban this user!
Old 01-02-2012, 04:11 PM
 
Join Date: Sep 2011
Location: USA
Posts: 56
texaspyro is on a distinguished road

I don't think the Oi series supports params 6031/6032. They are not in my Oi parameter manual.

I have seen people key a program to a particular machine by putting some uniquely identifying info in an unused entry in the tool (or offset) table and testing for that.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-02-2012, 09:49 PM
fordav11's Avatar  
Join Date: Aug 2011
Location: Fordaville
Posts: 939
fordav11 is on a distinguished road

we just keep separate directories for each machine on our file server and call up those programs automatically via the software. if an operator wants a program from another machine directory he must manually copy it to a temp directory then send it to the machine.
he knows he must convert whatever is required to get it to run. in most cases it will run with minor changes like tool and offset numbers.
if an operator tries to run a program from a different machine without checking it first then it's a sign that it's time to hire a smarter operator
Reply With Quote

  #7   Ban this user!
Old 01-02-2012, 11:43 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by texaspyro View Post
I don't think the Oi series supports params 6031/6032. They are not in my Oi parameter manual.

I have seen people key a program to a particular machine by putting some uniquely identifying info in an unused entry in the tool (or offset) table and testing for that.
They're in the 0i-D parameter manual, which is what he said he was using.
Reply With Quote

  #8   Ban this user!
Old 01-04-2012, 01:37 AM
 
Join Date: May 2008
Location: India
Posts: 85
yaji63 is on a distinguished road

Originally Posted by fordav11 View Post
we just keep separate directories for each machine on our file server and call up those programs automatically via the software. if an operator wants a program from another machine directory he must manually copy it to a temp directory then send it to the machine.
he knows he must convert whatever is required to get it to run. in most cases it will run with minor changes like tool and offset numbers.
if an operator tries to run a program from a different machine without checking it first then it's a sign that it's time to hire a smarter operator
I do agree with your statement about hiring a smart operator but unfortunately finding one today is pretty tough which is why I' am trying to make things idiot proof
Reply With Quote

  #9   Ban this user!
Old 01-04-2012, 09:23 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

The only sure way I see this being done to make it error proof is to do it via macro variables but then you will have to add that variable to the machine and lock it as Dave has already stated. You could also do this via custom M or G code in the machines.

If you did it like Dave stated you would do something like this. Machine #1 can run program O0500 but Machine #2 cannot. In machine #2 you can set parameter 999=1 and then lock that variable from being changed via parameter. Then write your program O0500 to the following code at the beginning and end of your program.
O0500(main program)
IF[#999EQ1]GOTO1000


M30
N1000#3000=1(FORMATTED FOR MACHINE #1)

I suppose you could say that you need to set #999=0 in machine #1 and lock that as well so that does not get changed and not allow you to run the program intended for machine #1 in machine #1.

>>>>>>>

Now if this is going to be a regular occurrence of programming that is only allowed in machine #1 or machine #2 then I would look at doing a custom G or M code so that all you have to add at the beginning of the program is add the custom code.

The following G-codes and custom programs are only examples and you would have to make sure that your machine is not using the G-code I specify or the program number being called.

G201 is the custom code to allow programs only to run in machine #1
G202 is the custom code to allow programs only to run in machine #2

Set parameter 6050=201(this will call program 9010 when G201 is programmed)
Set parameter 6051=202(this will call program 9011 when G202 is programmed)

Now write and store programs 9010 and 9011 in the machine #1 as follows:
O9010
M99

O9011
#3001=1(PROGRAM NOT ALLOWED)
M30


Now write and store programs 9010 and 9011 in machine #2 as follows:
O9010
#3001=1(PROGRAM NOT ALLOWED)

O9011
M99

Now that the programs are all set all you have to do when you create a program that you want to only run in machine #1 is program a G201 as the very first line of code. If you want it to only run in machine #2 then program G202 as the very first line of code. Now if it does not matter which machine it runs in then do not use either G201 or G202.

The above seems complicated but once you set the custom codes and program in place you only have to use G201 or G202 in the programs that you write.

Stevo
Reply With Quote

  #10   Ban this user!
Old 01-04-2012, 09:35 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Originally Posted by yaji63 View Post
I do agree with your statement about hiring a smart operator but unfortunately finding one today is pretty tough which is why I' am trying to make things idiot proof
I think what you are trying to do is the right thing regardless of the caliber machinist that you have. You are error proofing a process due to unique circumstances of machine capability. I would do the same thing to avoid myself from accidentally running one of my own programs in the wrong machine if I was randomly proving something out on a Sunday with no one around.

I have many journeyman machinists working for me making $25hr+ with 30+yrs experience. However most of the forgings we put on the table are worth 50k+ before we even put a tool to them. Hiring smarter machinists…???...not an option……. I wouldn’t trust Einstein before I added a few error proof checks similar to what you are asking for.

Stevo
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-04-2012, 11:49 PM
fordav11's Avatar  
Join Date: Aug 2011
Location: Fordaville
Posts: 939
fordav11 is on a distinguished road

while I like your advanced approach you're over complicating a simple problem.

our 'program for each machine in the same directory' system works very well. our transfer software simply does not allow any other programs from other directories to be accessed from that machine.
the machine number/make/model is at the very top of each program. it's impossible not to see it.
A quick meeting with all machinists can ensure everyone knows what to do.

if you want a program for a specific machine just write it and put it in the required directory. if there is no program for that part in that directory the operator can not make that part. period. the operator then goes to see the programmer who writes the program for that machine and saves it in the required directory. problem solved. forever.

you could make things idiot proof but an idiot will still screw it up. that's why Windows is at version 7 now and version 8 is not far away. it does not matter what you do, it will never be idiot proof. for example your alarm #3000 occurs sure. But the G201/G202 can simply be deleted and the program will continue. .... sorry, not idiot proof.

the solution is to create less idiots with the appropriate training and education. Ultimately it is the company that will benefit from it.

Last edited by fordav11; 01-05-2012 at 12:04 AM.
Reply With Quote

  #12   Ban this user!
Old 01-05-2012, 09:17 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by fordav11 View Post
if you want a program for a specific machine just write it and put it in the required directory. if there is no program for that part in that directory the operator can not make that part. period. the operator then goes to see the programmer who writes the program for that machine and saves it in the required directory. problem solved. forever.
So how do you idiot proof putting the program in the correct directory? I've known several programmers who could be classified as idiots.
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
Need Help!- Serial number fergieman Haas Mills 1 03-21-2011 09:16 AM
Fanuc Serial Number Macro TomL21 G-Code Programing 4 05-08-2009 08:36 AM
Newbie- Fanuc controller number and letter explanations? polarbeer Fanuc 1 07-15-2008 12:06 PM
I need a certain Parameter number (Fanuc OT) M@T Fanuc 1 08-22-2007 12:39 PM
How to setting fanuc serial spindle parameter? ning Fanuc 1 10-30-2005 02:38 PM




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