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 > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-20-2009, 05:41 PM
 
Join Date: Apr 2009
Location: USA
Posts: 9
DBM1 is on a distinguished road
Camsoft Lite G02/G03 Error

I get an error every time I try to run a G02 or G03 code.

With the parameters set to absolute when I run.

G90 T1M6
G05
G17
G01 Z-.1 F75.
G02 X1. Y1. I1.
G01 Y2.
G02 X2. Y3. I2. J2
G01 Y4.
G01 X1.
G03 X0. Y3. I1 J3
G01 Y0.
M30

I get the error "Start Radius of Arc Differs from end Radius"



With the parameter set to incremental and I run the code:

G91 T1M6
G06
G17
G01 Z-.1 F75.
G02 X1. Y1. I1.
G01 Y1.
G02 X1. Y1. I1.
G01 Y1.
G01 X-1.
G03 X-1. Y-1. J-1
G01 Y-3.
M30
%
M 30

I get the same error.

If I set the parameters to Radius and run the code:

G90 T1M6
G17
G01 Z-.1 F75.
G02 X1. Y1. R1.
G01 Y2.
G02 X2. Y3. R1.
G01 Y4.
G01 X1.
G03 X0. Y3. R1.
G01 Y0.
M30

I get the error "Radius is zero, Illegal Command"

When I run these through my tool path plotter program they run fine. I am lost here, and suggestions would be appreciated. It is hard to have a milling program without a G02 or G03 anywhere for the type work we do.

Please let me know if any more information would be helpful.

Dan
Reply With Quote

  #2   Ban this user!
Old 04-20-2009, 06:01 PM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

Dan,

All 3 versions of the G code run through without error producing the same shape as long as you have the FANUCARC check box set correctly before loading each G code file version on the TOOL PARAMETER screen or else on the SETUP screen under General Settings.



Tech Support
CamSoft Corp.
support@camsoftcorp.com
PH 951-674-8100
Fax 951-674-3110
www.cnccontrols.com
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 04-20-2009, 06:08 PM
 
Join Date: Apr 2009
Location: USA
Posts: 9
DBM1 is on a distinguished road

Card is set to GALIL. All other G Code programs run without error as long as there is no G02 or G03.

Dan
Reply With Quote

  #4   Ban this user!
Old 04-20-2009, 06:26 PM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

We have ours set to Galil mode as well.

All 3 run through fine, no errors in Galil mode.

It's not the Galil mode setting that matters. It's the FANUCARC setting for Absolute, Incremental or R code for radius choice that makes the difference when using G2's or G3's.

Also if you have CNC Pro there's the R value in the G code file. It you use CNC Lite or Plus or either CNC Pro in Absolute or Incremental mode the R value won't matter.


Tech Support
CamSoft Corp.
support@camsoftcorp.com
PH 951-674-8100
Fax 951-674-3110
www.cnccontrols.com
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 04-20-2009, 06:31 PM
 
Join Date: Apr 2009
Location: USA
Posts: 9
DBM1 is on a distinguished road

Perhaps I should go over the steps I take again:

Step 1 Boot PC
Step 2 Start CamsoftLite
Step 3 Click on the little tool box and set FANUC ARC Centers to absolute (0), click the little check mark to close screen.
Step 4 Load absolute program
Step 5 open MDI screen to see current program
Step 6 Verify I have opened the absolute program
Step 7 close MDI window
Step 8 click Cycle Start
Step 9 Get Error message

I then exit the program and start new, this time Step 3 is set arc centers to incremental Step 5 load incremental program

Same routine for Radius

I have spent hours trying everything I can think of and am still getting errors.

Thanks again

Dan
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-20-2009, 06:50 PM
 
Join Date: Apr 2003
Location: United States
Posts: 279
camsoft is on a distinguished road

Dan,

That's good. We used the same steps and it works okay.

Are you sure you have the Machine type set to MILL3D? And not Lathe or some other machine type?

If not under General Setting enter MILL3D in the MACHINE TYPE box.

If so using SETUP , RESTORE the CNCLITE.CBK file and run your "Incremental G code" program through.

If it works then you'll need to contact us to give us your latest CBK file so we can investigate the settings in your CBK.

If CNCLITE.CBK doesn't work then we need to talk to you on the phone "live" to figure this out, get your company name , serial number and version ect...
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7   Ban this user!
Old 04-20-2009, 07:31 PM
 
Join Date: Apr 2009
Location: USA
Posts: 9
DBM1 is on a distinguished road

I am sure we are set to Mill3d.

I will try your suggestion tomorrow with the CBK file and get back to you.

thank you

Dan
Reply With Quote

  #8   Ban this user!
Old 04-20-2009, 09:23 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by DBM1 View Post
I get an error every time I try to run a G02 or G03 code.

With the parameters set to absolute when I run.

G90 T1M6
G05
G17
G01 Z-.1 F75.
G02 X1. Y1. I1.
G01 Y2.
G02 X2. Y3. I2. J2
G01 Y4.
G01 X1.
G03 X0. Y3. I1 J3
G01 Y0.
M30

I get the error "Start Radius of Arc Differs from end Radius"

...
Dan
I only looked at the first part of this one. I can see it won't work, you got to command the machine to the correct start position with a G0 or G1 before the first G2. (The x and y values could be anything)

Try this, set FANUCARC=0 then run this

G01 X1 Y0 F10
G02 X1 Y0 I0 J0

Your should get a full circle.

Karl
Reply With Quote

  #9   Ban this user!
Old 04-20-2009, 10:16 PM
 
Join Date: Apr 2009
Location: USA
Posts: 9
DBM1 is on a distinguished road

Thanks,

I first park the mill at z-12 y-7 z0 before I cycle start. This put the table in the center of the travel. Will try your code tomorrow.

Dan
Reply With Quote

  #10   Ban this user!
Old 04-21-2009, 03:01 PM
 
Join Date: Apr 2009
Location: USA
Posts: 9
DBM1 is on a distinguished road

Originally Posted by Karl_T View Post
I only looked at the first part of this one. I can see it won't work, you got to command the machine to the correct start position with a G0 or G1 before the first G2. (The x and y values could be anything)

Try this, set FANUCARC=0 then run this

G01 X1 Y0 F10
G02 X1 Y0 I0 J0

Your should get a full circle.

Karl
I tried this today and it worked great. At least now I know the mill can do a circle. Karl, could you put together a few lines of code for a G02 X Y R test (FANUCARC=R) so I can check that one.

Thanks again

Dan
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-21-2009, 08:08 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by DBM1 View Post
I tried this today and it worked great. At least now I know the mill can do a circle. Karl, could you put together a few lines of code for a G02 X Y R test (FANUCARC=R) so I can check that one.

Thanks again

Dan
set FANUCARC=2.

Modify your G02 and G03:

QUESTION 131
How do I use the R Code for turning a radius instead of I, J & K?

The first thing to do is to use the CNCSETUP.EXE program to set the FANUCARC parameter to equal 2. The second thing is change the format of the CW and CCW commands in your GCODE.FIL file for G02 and G03 to the following format:

EXAMPLE: CW x;y;z;r
CCW x;y;z;r

(I don't have time tonight, but I could write you a G02 and G03 that does both i,j and r. Tell me what custom G code numbers your'd like to call to do the switch. kinda like G90 is abs and G91 is inc.)



Run this gcode

G01 X1 Y0 F10
G03 X0 Y1 R1

You'll get 90 degrees CCW starting at 1,0 and ending at 0,1
Reply With Quote

  #12   Ban this user!
Old 04-24-2009, 08:20 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Here's some untested code to switch among the three FANUCARC modes. I'll use G95 to set absolute arc centers, G96 for incrmental arc centers, G97 for radius arc designation.

In startup.fil, define your default. Add these lines

FANUCARC=0 'absolute arc centers
\75=0 'arc type, 0 is abs.

modify your gcode file


FANUCARC=0
\75=0
MESSAGE Absolute arcs
--G95
FANUCARC=1
\75=1
MESSAGE Incremental arcs
--G96
FANUCARC=2
\75=2
MESSAGE radius arcs
--G97


here's my existing G02, yours may be different

DISPLAY4 {f}
DISPLAY5 {s}
TIME CYCLE;\4
DISPLAY7 \4
RUNTIME \4
DISPLAY8 \4
CW x;y;z;i;j;k
-----G2

Let's make it like this:

DISPLAY4 {f}
DISPLAY5 {s}
TIME CYCLE;\4
DISPLAY7 \4
RUNTIME \4
DISPLAY8 \4
IF \75<2 THEN CW x;y;z;i;j;k
IF \75=2 THEN CW x;y;z;r
-----G2


Do the same for G3


NOTE: i write for Pro, your version has a ! in front of every line. And less commands, I don't know which ones you're missing.

Now just write the arc type in your Gcode:

G1 X1 Y0 F10
G95
G2 X1 Y0 I0 J0 'full circle
G96
G2 X1 Y0 I-1 J0 'ANOTHER FULL CIRCLE IN INCREMENTAL
G97
G2 X0 Y1 R1 '90 DEGREE ARC


karl

PS I probably left at least one error for you to find.
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
ncnet lite krustykrab Machine Problems, Solutions , Wireless DNC, serial port 5 02-10-2010 01:15 AM
looking for CAD 'lite' software mosesralph CNCzone Club House 5 03-23-2009 04:36 PM
Help me decipher Camsoft error message please bobbillbee CamSoft Products 2 03-16-2009 07:55 PM
Camsoft error KARD CamSoft Products 3 08-16-2007 09:18 PM
Galil 2xxx and Camsoft CNC Pro/Plus/Lite??? corbyvhall CamSoft Products 1 12-07-2005 10:56 AM




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