What's new
What's new

EC 400 programming question????

Joined
Apr 30, 2007
Location
Central California
The set-up is on a chick 4 sided multilok system. There are 4 parts per side and there is a
pallet change at the end of the main program. I want to loop it back to the beginning of the program
so it is a continuos program. Any ideas? There is a little youtube video of the set
-up.



https://www.youtube.com/watch?v=EOjgVxT49tw


%
O00112 ( ZEPPRODUCTIONvwithout ream cycle)
( SPOTALL-T10)
N10 T10 G43 H10 M06
G54 X0 G0. Y0
G00 A0. G90
M97 P1000 L4
G90 A0. G00
( 188drillall)
N10 G43 T9 H09 M06
G54 X0 G0. Y0
G00 A0. G90
M97 P1002 L4
G90 A0. G00
( 360 drill all)
N10 G43 T8 H08 M06
G54 X0 G0. Y0
G00 A0. G90
M97 P1003 L4
G90 A0. G00
( 250drillall)
N10 G43 T11 H11 M06
G54 X0 G0. Y0
G00 A0. G90
M97 P1001 L4
G90 A0. G00
M50
M30
N1000
N20 G54 G00 G90 X0. Y0. Z1. M08
N40 S1600 M03
N50 G81 G98 X-6.2787 Y-3.0116 R-1.5238 Z-1.73 F3.
N60 Y-2.5033
N70 X-6.2786 Y2.5034
N80 Y3.0116
N90 X6.2786
N100 Y2.5034
N110 Y-2.5034
N120 X6.2787 Y-3.0117
N501 G81 G98 X-4.203 Y-2.7575 R0.1 Z-0.09 F3.
N601 Y2.7575
N701 X4.203
N801 Y-2.7575
N130 G80
N140 X0. Y0. Z10.
A90. G91 G00
M99
N1002
N20 G54 G00 G90 X0. Y0. Z1. M08
N40 S2000 M03
N50 G81 G98 X-4.203 Y2.7575 R0.1 Z-0.588 F5.
N60 X4.2
N70 Y-2.7575
N80 X-4.203
N90 G80
N140 X0. Y0. Z10.
A90. G91 G00
M99
N1003
N20 G54 G00 G90 X0. Y0. Z1. M08
N40 S800 M03
N50 G81 G98 X-4.461 Y2.7575 R0.1 Z-1.2 F5.
N60 X4.461
N70 Y-2.7575
N80 X-4.461
N90 G80
N100 X0. Y0. Z10.
A90. G91 G00
M99
N1001
N20 G54 G00 G90 X-6.2786 Y3.0116 Z1. M08
N40 S2000 M03
N50 G83 G98 X-6.2786 Y3.0116 R-1.524 Z-3.374 Q0.3 F15.
N60 Y2.5034
N70 X-6.2787 Y-2.5033
N80 Y-3.0116
N90 X6.2787 Y-3.0117
N100 X6.2786 Y-2.5034
N110 Y2.5034
N120 Y3.0116
N130 G80
N140 X0. Y0. Z10.
A90. G91 G00
M99
%
 
If I understand your question correctly, you are running two pallets and want to use the same program to do both?
(Can't view the you tube video presently)

If so, just put an M50 right before the M99 and you are good to go. The machine will poll the pallet ready switch prior to executing the M50 to make sure the next setup is ready to be run.
 
If you just want to run the same program on both pallets, just schedule the same program for both. I don't know Haas. It may be through a subprogram call or through a built in utility.
 
Sorry, I wasn't looking at your program close enough.

Yes, replace the M30 with M99.

You can use the built in pallet scheduler to do the same thing, but this is just a hair easier.

Good luck!
 
Thanks for your input, much appreciated, were going to set this job back up tomorrow morning so I am trying to get it figured out before the customer gets here to check out the set-up. I was wondering if you think it was a good idea to put a M01 optional stop before the M99.?
 
I normally put a /M00 at the beginning of the program so I can stop the machine if needed, it also makes it a lot easier to restart if you have to kill the program execution.

HTH
 
I normally put a /M00 at the beginning of the program so I can stop the machine if needed, it also makes it a lot easier to restart if you have to kill the program execution.

HTH

Another option would be to end like this:

M50
/M99
M30

As long as you do not have any other block deletes in the program, then just turn on block delete and the machine will stop after the run is finished.
 








 
Back
Top