Hello Guest it is April 25, 2024, 04:51:45 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - psl31416

Pages: 1
1
General Mach Discussion / Re: return called with no sub in effect...
« on: December 13, 2012, 10:54:54 AM »
Thanks, that worked.

pat

2
General Mach Discussion / return called with no sub in effect...
« on: December 12, 2012, 04:24:20 PM »
Hi,

Can someone take a look at the following code and tell me what I'm doing wrong? I get the error "return called with no sub in effect...". It simulates just fine in NCPlot. Thank you very much.

Pat

G17 G21 G40 G80 G90
G00 Z1.0
G00 X10.125 y-0.5 (start point)
G41 P0.0889 (0.007" end mill)
g01 z0 f150
m98 p100 L19
g90
g40 (end tool radius compensation)
m0 (end of program)

o100
g91 g01 z-0.01316 f50
g90
X10.125 Y4.0 F150
G02 X11.99858 Y5.87358 I1.87358 J0
G01 X22.72216 Y5.87358
G03 X24.84858 Y8.0 I0 J2.12642
G01 X24.84858 Y22.0
G03 X22.72216 Y24.12642 I-2.12642 J0
G01 X11.99858 Y24.12642
G02 X10.125 Y26.0 I0 J1.87358
G01 X10.125 Y30.0
X9.875 Y30.0
X9.875 Y26.0
G03 X11.99858 Y23.87642 I2.12358 J0
G01 X22.72216 Y23.87642
G02 X24.59858 Y22.0 I0 J-1.87642
G01 X24.59858 Y8.0
G02 X22.72216 Y6.12358 I-1.87642 J0
G01 X11.99858 Y6.12358
G03 X9.875 Y4.0 I0 J-2.12358
G01 X9.875 Y0
X10.125 Y0
m99

Pages: 1