10
« on: November 13, 2009, 05:32:43 PM »
Hello all,
Its Bryson again.
As you have seen on my previous smoothness topic I have fixed the smoothness problem. The CV rate was far too low and my program was acting like an exact stop program.
New Dilemma.
As you all know "I am a mechanical engineer working for a lighting company called LSGC. Although i am a design engineer, I have been give the great task of sealing glass onto a fixture via silicone.
We have a standard XY table. Attached to the XY table we have a syringe that dispenses silicone though means of a pneumatic air gun and we use a step peddle to activate the air gun.
I have written a program for the XY table to follow a simple rectangle with rounded edges to follow the profile of the fixture Using the G-code below and MACH3 software. The clue dispensed is at a fixed amount and at each step the glue piles up."
I have kind of jimmy rigged a connection from the computer to the XY table in place of the foot step peddle. I used the port for the spindle and have the commands M3 and M5 to start and stop the air gun in place of the spindle.
My problem is, at the end of the program when the M5 is called the dwell keeps the Air Gun(spindle) running for 1 sec or so and Glue piles up. I need to reduce the 1 second into 0 seconds. I want the M5 to stop on a dime.
Any suggestions?
Below is the code. I already put dwell in milliseconds and it still doesn't work.
O1111 (DOES 1 COMPLETE 1 FT FIXTURE)
( W .020 RTV THICKNESS)
(X0 CENTERED ON LEFT RAIL OF FIXT.1)
(Y0 AT EDGE OF PART)
(Z0 AT HIGHEST POINT OF FIXTURE)
(DC 732 AT 45PSI,GREEN PLASTIC TIP)
(5-15-09 REV.= )
G0 G90 G17 G40 G54
(DISPENSING)
G0 X-7.0 Y3.0 Z.5
M00 (VERIFY DISPENSE)
G0 X-.0858 Y-.5
G0 Z0
G01 Z-.26 F20.0 (SET NEEDLE HEIGHT FOR 1)
M00
M98 P17
G90 G0 Z.5
X-7.0 Y3.0
M00 (WIPE TIP OF DISPENSER)
Y24.0(INSTALL GLASS)
M30
%
O17
G0 G91 G17 G40 G54 G64
M3 (Glue ON)
G01 Y12.23 F160
X.155 Y.155 r .175 F300
G01 X1.48 F160
Y-.155 X.155 r .175 F300
G01 Y-11.48 F160
X-.155 Y-.155 r .175 F300
G01 X-1.48 F160
X-.155 Y.155 r .175 F300
G4P0
M5 (Glue OFF)
G01 Z -.02
G01 X.1
G01 X-.1
G01 X.1
M99
%
Thanks,
-Bryson