Would anyone have any macro's, and sample program to test this combo out?
Thanks,
Gregg
Would anyone have any macro's, and sample program to test this combo out?
Thanks,
Gregg
What specifically are you looking to test?
This was a used lathe with out a barfeed but did have the interface, therefore there were no macros for a barfeed. The barfeed came with little documentation, but I was able to get manual and interface schematic from LNS. It's all wired in and seems to function in manual mode. All my current barfeeds are simple push to a stop till bar runs out, no loading or top-cut no real interaction other than end of bar. I've called our local Doosan dealer and he went on about every machine is different and what not. LNS wasn't much help either, but somehow I'm guessing if it was a new machine ordered with barfeed there would be sample program and macro's. I've set the jumper for the barfeed on the machine and set the keep relays for it also. So at this point I only know that m50/m51(can't remember which) calls the barfeed but no documentation on how to use it.
Here's a sample from a P240 with a bar feed (don't remember which one).
O0001(MAIN PROGRAM)
...
...
M98 P8000 (CALL BAR FEED SUB)
...
...
M55 (AUTO RESTART AT M30)
M30
O8000 (BAR FEED SUB)
G00G40G97G99 (SAFETY)
G28U0W0M09 (REF. RETURN)
M05P11 (STOP SPINDLE)
T0909 (INDEX TO STOCK STOP)
/2M98P8001 (CALL END OF BAR SUB)
G00 X0 Z0.015 (POSITION STOP)
M31 (INTERLOCK RELEASE)
M69 (OPEN CHUCK)
M51 (FEED BAR)
M68 (CLOSE CHUCK)
M99 (RETURN TO MAIN)
In your situation, you're not going to automatically load a new bar, but I would think you could use the following:
O8001 (END OF BAR SUB)
#3000=1 (END OF BAR)
M30
This would issue an alarm when the EOB signal was active. I think hitting RESET to clear the alarm would return you to the main program, but I've never tried it, so don't quote me.
Thanks dcoupar, I'll see if it gets me going Mon. a.m. but why wouldn't I be able to load a bar automatically
since the Sprint 565 is supposed to do just that?
Oops. Sorry, I misread your earlier post and thought you didn't want to auto load bars. Here's both the feed bar and load bar macros.
%
O8000(FEED BAR)
G00G40G97G99
G30U0W0M09
M05P11
T0909
/2M98P8001
M31
M69
M51
M68
M99
O8001(LOAD BAR)
(#501 = STOCK DIA)
(#502 = PART LENGTH)
(#503 = CUTOFF TOOL WIDTH)
M10
M19
M31
M69
M51
M68
M11
(TOP CUT)
G00G40G96G99
G30U0W0
T0909
G50S1500
G54X[#501+0.1]Z-#502S650M03P11
M08
G94X-0.062Z-[#502+#503/2]F0.012
Z-[#502+#503]
G00M09
M05P11
G00G30U0W0
M99
%