Hello Guest it is November 26, 2022, 11:27:10 AM

Author Topic: Made a G-Code with SolidCam Mach3 is giving errors for it.  (Read 9532 times)

0 Members and 1 Guest are viewing this topic.

Made a G-Code with SolidCam Mach3 is giving errors for it.
« on: July 24, 2009, 11:55:11 AM »
%
:11 (FINALDESIGN.TAP)
/G28 U0. W0.
M01
N01  ( T01 )
G28 U0.
T0101
G0 X150. Z200.
G97 S1000 M3
G0 X4.157 Z1.079 M8
(---------------------)
(TR-CONTOUR-T1A - TURN)
(---------------------)
G99 G97
G0 X4.158 Z1.078
   X4.078
G1 X3.92 F0.01
   Z-2.643
   X3.998 Z-2.808
   X4. Z-2.811
   X4.158
G0 X4.172
   Z1.078
   X3.84
G1 Z-2.498
   X3.92 Z-2.643
   X3.936 Z-2.635
G0 Z1.078
   X3.76
G1 Z-2.369
   X3.84 Z-2.498
   X3.856 Z-2.49
G0 Z1.078
   X3.68
G1 Z-2.253
   X3.76 Z-2.369
   X3.776 Z-2.362
G0 Z1.078
   X3.6
G1 Z-2.146
   X3.68 Z-2.253
   X3.696 Z-2.245
G0 Z1.078
   X3.52
G1 Z-2.046
   X3.6 Z-2.145
   X3.616 Z-2.138
G0 Z1.078
   X3.44
G1 Z-1.953
   X3.52 Z-2.046
   X3.536 Z-2.039
G0 Z1.078
   X3.36
G1 Z-1.866
   X3.44 Z-1.954
   X3.456 Z-1.946
G0 Z1.078
   X3.28
G1 Z-1.783
   X3.36 Z-1.866
   X3.376 Z-1.858
G0 Z1.078
   X3.2
G1 Z-1.704
   X3.28 Z-1.783
   X3.296 Z-1.775
G0 Z1.078
   X3.12
G1 Z-1.629
   X3.2 Z-1.704
   X3.216 Z-1.696
G0 Z1.078
   X3.04
G1 Z-1.557
   X3.12 Z-1.629
   X3.136 Z-1.621
G0 Z1.078
   X2.96
G1 Z-1.488
   X3.04 Z-1.557
   X3.056 Z-1.549
G0 Z1.078
   X2.88
G1 Z-1.422
   X2.96 Z-1.488
   X2.976 Z-1.48
G0 Z1.078
   X2.8
G1 Z-1.358
   X2.88 Z-1.422
   X2.896 Z-1.414
G0 Z1.078
   X2.72
G1 Z-1.297
   X2.8 Z-1.358
   X2.816 Z-1.351
G0 Z1.078
   X2.64
G1 Z-1.238
   X2.72 Z-1.297
   X2.736 Z-1.289
G0 Z1.078
   X2.56
G1 Z-1.181
   X2.64 Z-1.238
   X2.656 Z-1.23
G0 Z1.078
   X2.48
G1 Z-1.125
   X2.56 Z-1.18
   X2.576 Z-1.173
G0 Z1.078
   X2.4
G1 Z-1.072
   X2.48 Z-1.126
   X2.496 Z-1.118
G0 Z1.078
   X2.32
G1 Z-1.02
   X2.4 Z-1.072
   X2.416 Z-1.064
G0 Z1.078
   X2.24
G1 Z-0.969
   X2.32 Z-1.019
   X2.336 Z-1.012
G0 Z1.078
   X2.16
G1 Z-0.92
   X2.24 Z-0.969
   X2.256 Z-0.962
G0 Z1.078
   X2.08
G1 Z-0.873
   X2.16 Z-0.921
   X2.176 Z-0.913
G0 Z1.078
   X2.
G1 Z-0.827
   X2.08 Z-0.873
   X2.096 Z-0.865
G0 Z1.078
   X1.92
G1 Z-0.781
   X2. Z-0.826
   X2.016 Z-0.819
G0 Z1.078
   X1.84
G1 Z-0.738
   X1.92 Z-0.782
   X1.936 Z-0.774
G0 Z1.078
   X1.76
G1 Z-0.695
   X1.84 Z-0.738
   X1.856 Z-0.73
G0 Z1.078
   X1.68
G1 Z-0.653
   X1.76 Z-0.695
   X1.776 Z-0.687
G0 Z1.078
   X1.6
G1 Z-0.613
   X1.68 Z-0.653
   X1.696 Z-0.646
G0 Z1.078
   X1.52
G1 Z-0.574
   X1.6 Z-0.613
   X1.616 Z-0.605
G0 Z1.078
   X1.44
G1 Z-0.535
   X1.52 Z-0.573
   X1.536 Z-0.566
G0 Z1.078
   X1.36
G1 Z-0.497
   X1.44 Z-0.535
   X1.456 Z-0.527
G0 Z1.078
   X1.28
G1 Z-0.461
   X1.36 Z-0.498
   X1.376 Z-0.49
G0 Z1.078
   X1.2
G1 Z-0.425
   X1.28 Z-0.461
   X1.296 Z-0.453
G0 Z1.078
   X1.12
G1 Z-0.39
   X1.2 Z-0.425
   X1.216 Z-0.417
G0 Z1.078
   X1.04
G1 Z-0.356
   X1.12 Z-0.39
   X1.136 Z-0.382
G0 Z1.078
   X0.96
G1 Z-0.323
   X1.04 Z-0.356
   X1.056 Z-0.348
G0 Z1.078
   X0.88
G1 Z-0.29
   X0.96 Z-0.322
   X0.976 Z-0.315
G0 Z1.078
   X0.8
G1 Z-0.259
   X0.88 Z-0.291
   X0.896 Z-0.283
G0 Z1.078
   X0.72
G1 Z-0.228
   X0.8 Z-0.259
   X0.816 Z-0.251
G0 Z1.078
   X0.64
G1 Z-0.197
   X0.72 Z-0.227
   X0.736 Z-0.22
G0 Z1.078
   X0.56
G1 Z-0.168
   X0.64 Z-0.198
   X0.656 Z-0.19
G0 Z1.078
   X0.48
G1 Z-0.139
   X0.56 Z-0.168
   X0.576 Z-0.16
G0 Z1.078
   X0.4
G1 Z-0.111
   X0.48 Z-0.139
   X0.496 Z-0.131
G0 Z1.078
   X0.32
G1 Z-0.083
   X0.4 Z-0.111
   X0.416 Z-0.103
G0 Z1.078
   X0.24
G1 Z-0.056
   X0.32 Z-0.083
   X0.336 Z-0.075
G0 Z1.078
   X0.16
G1 Z-0.03
   X0.24 Z-0.056
   X0.256 Z-0.049
G0 Z1.078
   X0.08
G1 Z-0.004
   X0.16 Z-0.03
   X0.176 Z-0.022
G0 Z1.078
   X0.
G1 Z0.021
   X0.05 Z0.005
   X0.08 Z-0.004
   X0.096 Z0.003
G0 Z0.968
G1 X-0.064
   Z0.042
   X0. Z0.021
   X0.016 Z0.029
G99 G97
G1 X0.09 Z0.086 F0.05
   Z0.113
   X-0.028
   Z-0.005
G3 X3.999 Z-3.026 R4.439
G1 Z-3.732
   X4.222
G0 Z0.079
G0 X190. Z200.
M30
%


thats the G-Code generated, i get the error "Bad Character usedLine 1" i've tried to change several things any help is appreciated.

Lathe- CJ9526
Hookup- SyiL

Fairly new to this trying to make a nose cone for a submarine we designed in SolidCam.
Re: Made a G-Code with SolidCam Mach3 is giving errors for it.
« Reply #1 on: July 24, 2009, 12:32:41 PM »
anyone??...
Re: Made a G-Code with SolidCam Mach3 is giving errors for it.
« Reply #2 on: July 24, 2009, 12:47:54 PM »
Mach will see a few errors in this file - I suggest you comment them out.

For exmple change

:11 (FINALDESIGN.TAP)

to

(:11 FINALDESIGN.TAP)


Others Gcode lines Mach doesn't like are

G99 G97 which occurs twice in the code - change them to (G99 G97) . That is comment them out by putting brackets either side of the Gcode.

I also see from the code that the tool starts and ends a long way away from the cutting area - G0 X150 Z200 - I suggest you change them to G0 X5 Z5 - you'll need to do this twice.


You have also probably used the Fanuc post processor in SolidCam as there isn't one that I'm aware of for Mach3 so you'll have to manually edit the Gcode everytime.

Hope this helps.

Jim

I have also noticed that your feed rate at F0.01 is very slow I suggest you change this to someting like F150 - assuming you are woking in mm rather than inches

I have
« Last Edit: July 24, 2009, 12:58:22 PM by birdfalcon »

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Made a G-Code with SolidCam Mach3 is giving errors for it.
« Reply #3 on: July 24, 2009, 01:03:33 PM »
Hi, Maxwell

There are some Issues in the post your using, Post the dxf if you can.

Chip

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Made a G-Code with SolidCam Mach3 is giving errors for it.
« Reply #4 on: July 24, 2009, 03:21:08 PM »
Hi, Maxwell

Was able to resolve it a bit more, You need to check if they have a post for Mach3.

Hears another pic and a G code for this.

Chip
Re: Made a G-Code with SolidCam Mach3 is giving errors for it.
« Reply #5 on: October 04, 2010, 02:35:31 AM »
Hello All,

I ran into the same fault codes yesterday.

I managed to generate a G-code with Solidcam after many, many tries.
First I had to find a solution for two fault messages from Solidcam itself. Thanks to CNCzone.com.

As a first solution I deleted the offending lines and Mach3 produced my simple design on my Emco Compact5 CNC lathe.

That worked.
I also encountered the long distance that the tools is set . G0 x150 z200.
Why Sc does this I do not know.
Also the Feed is set at F0.3 , way too slow and I changed that to F100. Exactly fine for my little lathe.

So, there is some more fiddling to be done with Solidcam.

Thanks for all the info.

Jos
Holland
mraven.com