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 01-24-2012, 04:39 AM
 
Join Date: Oct 2011
Location: Netherlands
Age: 30
Posts: 7
Tommie is on a distinguished road
Running encrypted pgm's

Dear people!

I am looking for a solution. We deliver NC codes for 5-axis simultaneous milling. To protect the content of the NC-file we encrypt it so it can not be read by an operator, but only by the machine itself.
We have this working for Heidenhain and Siemens. Now the market is expanding to Fanuc. Is there a good workable solution?
Working procedure:
Genarate several NC-files!
1=jobs: readable for the operator. so settings can be made (toolcall, S, F, and so on).
2=main: not readable for the operator. in this NC the milling strategy is written.
3-25=sub: not readable for the operator. in this NC the milling passes are written.

Is there a possibility to set up a solution like that?
Note that the NC-files 3-25 are quit big. 15000 lines each and about 1 MB each, so a extcall (M198) will be needed!!
Note also that it is possible to a new set of PGM's on the machine daily!!

Thanks in advance.
Tom
Reply With Quote

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

The technique is fairly advanced but you could write the program to additional flash memory like MTB usually does.
On Fanuc it's called OMM (Order Made Macro). On boot-up it usually shows OMM [version].
It's probably possibly to install flash memory module/PCB or EPROM/flashROM into the machine to hold your custom data.
You would probably need Fanuc developer tools to complete the task. If you want to go this way you will probably need to make an appointment to talk to Fanuc tech support in person and the solution will probably not be cheap

You can also enable a parameter password that disallows reading/editing the program unless the password is entered for programs numbered from 9000 to 9999.
See parameters 3202/3210/3211

Both of these are one-off long term solutions. If you need to modify the code daily it will become tiring very quickly.

Protecting a program that is used for one job is pointless in my opinion.
Bear in mind that if you can write the program there is someone out there who is smarter and can also write it, probably better and more efficiently and at a cheaper rate. You would be better to spend your time keeping the customer happy rather than preventing them access to something they have paid money for.

Also bear in mind that protection is only as good as the person that designed it. Nothing is uncrackable given time and motivation and money. It wouldn't be difficult to get access to anything stored in the memory with the right hardware tools (I've been doing similar things for ~10 years in another unrelated field)

Last edited by fordav11; 01-24-2012 at 08:09 AM.
Reply With Quote

  #3   Ban this user!
Old 01-24-2012, 09:59 AM
 
Join Date: Oct 2011
Location: Netherlands
Age: 30
Posts: 7
Tommie is on a distinguished road

Originally Posted by fordav11 View Post
You can also enable a parameter password that disallows reading/editing the program unless the password is entered for programs numbered from 9000 to 9999.
See parameters 3202/3210/3211
Can these parameters been set by the program itself? Sort of a pgm-controlled, pgm-specific password??

The reason of encrypting is that we don't do CADCAM, but we do mathematical NC-writing. So no CAD and CAM efford is needed to generate within 5 minutes a 100% bug free NC-program that can will run till 25H on the CNC machine!!!!
We are till now unique and it seem that we are focusing us on a good procedure by encrypting, this is a financial decision!
(whats the price of 1 NC-pgm if there's only made 1 product with, and whats the price of the same NC-pgm if there's made 10.000 products with?)

We are only aiming on high end 5-axis machines, so the latest fanuc controls will be used. A start-up cost from €5.000,- will not be a problem for our customers!

Where can I find more info on the OMM solution?
Do you have a specific person in mind in Fanuc DE, because fanuc is BIGGGG en ist hard to get through the core experts finding somebody that realy knows the details...

Thanks in advance!

Greetz Tom
Reply With Quote

  #4   Ban this user!
Old 01-24-2012, 10:08 AM
 
Join Date: May 2004
Location: United States
Age: 48
Posts: 2,214
txcncman is on a distinguished road

Seems like a lot of wasted time, money and effort to me. I have found if you shoot the first operator that changes anything and the rest of them quickly get the message, "Don't do that!" Maybe it is just a Texas thing.
__________________
http://www.kirkcon.com/
Reply With Quote

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

The password could possibly be set from a program using G10 but then the password would be plain text so not a good idea.
I don't have any specific details or Fanuc contacts. I was just generalizing about the possibilities. It's not so simple to do what you want because on Fanuc it is usually not widely done.
If what you are doing is unique patent it then if someone copies it you sue them and retire a rich man.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-26-2012, 08:59 PM
MysticMonkey's Avatar  
Join Date: Mar 2009
Location: Australia
Posts: 366
MysticMonkey is on a distinguished road

I think this is more like what you are trying to develop.
MTB's like Hartford use this to create their HARTROL software.

I suggest you invest in a few Fanuc 30i series manuals

Programming
Macro Compiler / Macro Executor PROGRAMMING MANUAL B-63943EN-2
Macro Compiler OPERATOR’S MANUAL B-66264EN
C Language Executor OPERATOR’S MANUAL B-63944EN-3

you may be able to develop a NC side decryption program to allow you to upload encrypted files.
Attached Thumbnails
Click image for larger version

Name:	custom applications.JPG‎
Views:	34
Size:	98.9 KB
ID:	151204  
__________________
***********************************************************
*~~Darwinian Man, though well-behaved, At best is only a monkey shaved!~~*
***********************************************************
*__________If you feel inclined to pay for the support you receive__________*
*_______Please give to charity http://www.oxfam.org/en/getinvolved_______*
***********************************************************
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!- running emc as a simulator, running out of ideas CaptainVee LinuxCNC (formerly EMC2) 48 02-16-2012 12:30 AM
up and running clammy23 JGRO Router Table Design 1 11-13-2008 05:07 PM
5AX 500 anyone running one? BJ-DEKA Bridgeport and Hardinge Mills 0 12-27-2007 10:10 AM
Up and running! maxxgraphix DIY-CNC Router Table Machines 5 03-16-2005 07:10 AM
Encrypted cutting code in this picture ( Amazing) ynneb CNCzone Club House 4 06-18-2004 04:26 AM




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