Hello Guest it is April 19, 2024, 08:59:03 PM

Author Topic: Whats missing  (Read 4054 times)

0 Members and 1 Guest are viewing this topic.

Offline TT350

*
  •  113 113
    • View Profile
Whats missing
« on: February 28, 2008, 06:42:45 PM »
Hi guys
I need a little help with this code.
I can set axes A to 0.000 and it starts
running the part from that postion.
The next postion is A-135 and it will
go to that postion and everything is
on track after that but it completely
skips A-90.
There is a fixture in the tailstock that
has to be indexed.
Now I can set the fixture to the A-90
postion and start the job and all is well
but this is a pain.
The fixture has a indexing mark to set it at
A-0.000 for seting up the part.
Why dosen't the A axes move to A-90
from A-0.0 then start running the job?


G00 G43 G40.1 G17 G80 G50 G90
G20
(Rotate Table)
A-90. F1.
(Standard Drill 90)
M6 T1
G43 H1
M03 S4500
G00 Z0.2500
X3.0469 Y-0.0001
G81 X3.0469 Y-0.0001 Z-0.2512 R0.0988
G80
G00 Z0.2500
G81 X5.0156 Y-0.0002 Z-0.2698 R0.0802
G80
G00 Z0.2500
G81 X6.9844 Y-0.0001 Z-0.261 R0.089
G80
G00 Z0.2500
G81 X8.9531 Y-0.0001 Z-0.261 R0.089
G80
G00 Z0.2500
(Rotate Table)
A-135. F1.
(Standard Drill 135)
X2.0625
G81 X2.0625 Y-0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X4.0312 Y-0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X6.0000 Y-0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X7.9687 Y-0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X9.9375 Y-0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
(Clearance Plane)
A-180. F1.
(Standard Drill 180)
X3.0469 Y0.0000
G81 X3.0469 Y0.0000 Z-0.2513 R0.0987
G80
G00 Z0.2500
G81 X5.0156 Y0.0000 Z-0.2513 R0.0987
G80
G00 Z0.2500
G81 X6.9844 Y0.0000 Z-0.2501 R0.0999
G80
G00 Z0.2500
G81 X8.9531 Y0.0000 Z-0.2611 R0.0889
G80
G00 Z0.2500
(Rotate Table)
A-225. F1.
(Standard Drill 225)
X2.0625 Y0.0001
G81 X2.0625 Y0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X4.0312 Y0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X6.0000 Y0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X7.9687 Y0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
G81 X9.9375 Y0.0001 Z-0.2643 R0.0857
G80
G00 Z0.2500
(Rotate Table)
A-270. F1.
(Standard Drill 270)
X3.0469
G81 X3.0469 Y0.0001 Z-0.25 R0.1
G80
G00 Z0.2500
G81 X5.0156 Y0.0002 Z-0.2698 R0.0802
G80
G00 Z0.2500
G81 X6.9844 Y0.0001 Z-0.261 R0.089
G80
G00 Z0.2500
G81 X8.9531 Y0.0001 Z-0.261 R0.089
G80
G00 Z0.2500
(Rotate Table)
A-0. F1.
(2 1/2 Axis Profiling)
M5 M6 T2
G43 H2
M03 S4500
X12.1000 Y0.4394
G01 Z-0.3750  F20.0
X12.0500  F25.0
X12.0000  F30.0
X2.0138  F10.0
Y-0.4394
X12.0000
X12.0500  F30.0
X12.1000
G00 Z0.0750
Y0.4894
G01 Z-0.3750  F20.0
X12.0500  F25.0
X12.0000  F30.0
X1.9638  F10.0
Y-0.4894
X12.0000
X12.0500  F30.0
X12.1000
G00 Z1
M5 M9
M30

vmax549

*
Re: Whats missing
« Reply #1 on: February 28, 2008, 08:05:40 PM »
THere is NO G0 or G1 to tell it to move. THe move command only become modal after it is called once.

(;-) TP

Offline TT350

*
  •  113 113
    • View Profile
Re: Whats missing
« Reply #2 on: February 28, 2008, 09:51:32 PM »
Thanks !
Could you edit the code for an example if you don't mind.

It looks like I'll have to edit my post processer file to correct this.

vmax549

*
Re: Whats missing
« Reply #3 on: February 28, 2008, 10:21:02 PM »
G00 G43 G40.1 G17 G80 G50 G90
G20
(Rotate Table)
G0   A-90. F1.      ( add a G0 at this point)         
(Standard Drill 90)
M6 T1
G43 H1
M03 S4500
G00 Z0.2500
X3.0469 Y-0.0001
G81 X3.0469 Y-0.0001 Z-0.2512 R0.0988
G80
G00 Z0.2500
G81 X5.0156 Y-0.0002 Z-0.2698 R0.0802
G80
G00 Z0.2500
G81 X6.9844 Y-0.0001 Z-0.261 R0.089
G80
G00 Z0.2500
G81 X8.9531 Y-0.0001 Z-0.261 R0.089
G80
G00 Z0.2500
(Rotate Table)
A-135. F1.

Offline TT350

*
  •  113 113
    • View Profile
Re: Whats missing
« Reply #4 on: February 28, 2008, 10:29:33 PM »
Thank you so much!!!

Offline TT350

*
  •  113 113
    • View Profile
Re: Whats missing
« Reply #5 on: February 29, 2008, 06:35:38 PM »
Run the job today with that code change
and all is well !!!