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! > CAM Software > SolidCam


SolidCam Discuss SolidCam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-12-2009, 03:40 PM
 
Join Date: Jul 2009
Location: UK
Posts: 15
mr chris is on a distinguished road
SolidCAM - g-code export fail

Error Message - Line 380, error 41828: System variable 'xc' can not be declared ....

any ideas what this means? Its my first attempt to export g-code. Its a super simple operation. Its a turning operation.

If I click OK, i then get this error message:

Line 713, error 41839: Cannot initialize GPPTool environment

I can't seem to get past this, has anyone got any ideas?

It only happens with FANUC0T output ... it exports ok in OKUMAL ??!


Cheers, C.

Last edited by mr chris; 07-12-2009 at 07:36 PM.
Reply With Quote

  #2   Ban this user!
Old 07-13-2009, 04:04 AM
 
Join Date: Dec 2007
Location: Turkey
Posts: 12
yasemintalay is on a distinguished road

Firstly , open FanucOT.gpp file in the notepad. Find XC variable, and change all xc variable name (for example : XC_new).

You can export g code now

example :
@turn_drill
local string for for1 for2 for3
for1 = '2/2.0(P)'
for2 = '2/2.0(P*10)'
for3 = '5.0(P*1000)'

local numeric save_feed xc_new
Reply With Quote

  #3   Ban this user!
Old 07-13-2009, 06:48 AM
 
Join Date: Jul 2009
Location: UK
Posts: 15
mr chris is on a distinguished road

hey yasemintalay, cheers for the info.

i've done what you suggested, and it's worked. I have no idea what the change means though..... could you explain? I'm a real newbie to all this. What's an xc variable, and why does changing its name in the gpp file help? And what is a gpp file?

Cheers,

C.
Reply With Quote

  #4   Ban this user!
Old 05-25-2010, 08:48 AM
 
Join Date: May 2010
Location: Brazil
Posts: 2
Uchoa is on a distinguished road
Unhappy HELPPPPPP

line 1195, error 41793: Variable 'xc_newenter' is not defined
Line 1518, error 41839: Cannot initialize GPPTool enviroment

What should I put instead of "xc" variable? The xc_new didn´t work properly here Thank you.
Reply With Quote

  #5   Ban this user!
Old 05-26-2010, 02:04 AM
 
Join Date: Oct 2007
Location: United Kingdom
Posts: 393
Brakeman Bob is on a distinguished road

Originally Posted by mr chris View Post
What's an xc variable, and why does changing its name in the gpp file help? And what is a gpp file?
It's easier to start from the end. A GPP file is a post-processor. In other words, it takes the CAM output and puts it into machine code. You can make the post as detailed or as vague as you like; when its vague the programmer has to put all the tool change code, etc in manually whereas when its detailed the code is ready to put straight into the machine with no manual editing.

The "xc" variable is simply a variable that is used in the post and I am not sure why renaming it helped as the error you had indicates that the variable was not declared with a line thus global numeric xc at the head of the GPP file. What the "xc " variable does can only be understood by studying the GPP file.

Open up you GPP file and then fire up the GPP help in the SolidWorks / SolidCAM interface so you can study how the GPP functions. Read back through this forum as there are some enthusiatic GPP tweakers here.

Have fun

Bob
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-30-2010, 12:14 PM
 
Join Date: May 2010
Location: Brazil
Posts: 2
Uchoa is on a distinguished road
generate g-code

I have solidworks 2010 and solidCAM2008 and I can't generate G-code coz there´s no option for it, i had solidCAM 2007 and it wasn´t any problem. The option "generate" is erased in a gray color, anyone can please help me??????????????
Reply With Quote

  #7   Ban this user!
Old 06-01-2010, 01:49 AM
 
Join Date: Oct 2007
Location: United Kingdom
Posts: 393
Brakeman Bob is on a distinguished road

Originally Posted by Uchoa View Post
I have solidworks 2010 and solidCAM2008 and I can't generate G-code coz there´s no option for it, i had solidCAM 2007 and it wasn´t any problem. The option "generate" is erased in a gray color, anyone can please help me??????????????
That sounds like a demo version of SC2010. Get your dongle codes updated from your your reseller and everything should work as it did.
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
Lathe g-code output from SolidCAM BSF SolidCam 2 07-06-2009 02:31 PM
Is there a way to generate CL code in Solidcam manussim SolidCam 1 11-23-2008 08:44 AM
Lube Fail CC714 Fanuc 2 01-24-2008 10:39 AM
How to export g-code tazboi Mastercam 3 07-06-2006 03:15 PM
CAM/CAD export to g-code Net-Man General CAM Discussion 1 07-05-2005 07:58 PM




All times are GMT -5. The time now is 09:48 AM.





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