Replied in Doosan forum.
To all,
The company I work for is getting a used Lynx 200L with a LNS Eco Loader barfeed and I'm suppose to program it. Does anyone know how to program the barfeeder for this machine? I'd like a subprogram for part-off and bar feed, along with a subprogram for loading a new bar. Am I missing anything?
It is equipped with a Fanuc 21t control.
Thanks in advance!
Wganders
Similar Threads:
- Need Help!- Hitachi HT23SII with LNS barfeed programming question
- Need Help!- smw barfeed
- Need Help!- barfeed 300
- Need Help!- Programming SMW barfeed on sqt-250
- LNS Barfeed
This is the program that I use for my machine
BAR FEED MACRO
G65P9002A.3B1.S.03
(B=BAR DIA#2)
(S=STOCK TO REMOVE FROM END#19)
(A=AMOUNT OFF CENTER#1)
%
O9002
T0200
G0X[#2+#1]Z#19T0202
M69
G4U.5
M10
G4U.5
M68
G28U0W0T0200
M99
The problem is i have not figured out how to load a new bar with in the program. We always stop put a new bar in and start at the top of the program again
If this helps great if you figure out how to load a bar in the program please let me know
Kyle
The problem is you don't have a subprogram for when the barfeeder sees the end of the bar. This is what our LNS QUICK LOAD barfeed on a Nakamura TW-20 uses.
/M98 P8000
Here is how I program ours. (M191 is a subroutine.)
T #20= FACING TOOL
X #24= X-AXIS
M #13= MAX. RPM
S #19= SFM
F #9= FEEDRATE
T0101 BARSTOP
T0202 80 DEG. PROFILE TOOL CNMG-432
*
:9018 (BARSTOP)
N100M191
/M98P8000
T0101M5
X0Z.5M9
Z.2
M11
M17
G1G98Z.025F50.
G4U3.
M10
G4U1.
G0G28W0
M99
:8000 (NEW BAR)
G0G28W0M9 (BARSTOP)
T0101M5
X0
M11
M58 this is the code used by the barfeed
Z-.07
M58
G4U2.
M10
G4U1.
G0G28W0S1000M3
M1
T#20M8 (FACE)
S[3.82*#19/#24]M3
G99X#24Z.5
G50S#13
G96S#19
Z-.1
G1X.3F#9
X-.065F.004
G28G97W0S1000
M99
%
And it is called by
G65P9018X1.05F.01S900M4000T202
for 1.000 material, although I am considering adding the .05 in the subprogram, and using the stock size only in the G65 call. Problem is I'd have a ton of programs to modify.
These are my programs for the SMW SPACE SAVER 2003 on our LYNX lathes. M91 and M92 are subroutines.
T #20= FACING TOOL
X #24= X-AXIS
M #13= MAX. RPM
S #19= SFM
F #9= FEEDRATE
T0101 BARSTOP
T0202 80 DEG. PROFILE TOOL
*
:9018 (BARSTOP PROGRAM)
M91 (BARSTOP OLD BAR)
/2M98P8000
T0101M9
X0Z.03M5
M69
M51 this is the code used by the barfeed
M68
G4U.1
M92
M99
:8000 (END OF BAR)
IF[#20LT101]GOTO70
M91 (BARSTOP NEW BAR)
T0101M5
M69
M51
X0Z-.07M9
G4U4.
M51
M68
W.5S1000M3
M91
M1
M91 (FACE OFF BAR END)
T#20S[3.82*#19/#24]M63
X#24Z-.1
G50S#13
G96S#19
G1X.2F#9
X-.065F.004
G0G97W.5S1500
M91
GOTO71
N70#3000=7 (NO T-CODE)
N71M99
%
I dress the new bar in hopes of not losing the first part. Then the new bar gets re-stopped. It is called in the same manner as for the Nakamura. I try to keep everything the same for all the lathes as much as I can.
I don't quite understand exactly how the 2 works in /2M98P8000, but it is how the manufacturer sets up the barfeed.
IIRC,
/ is block delete
It's really /1, but the 1 is a default parameter for "/". If a machine tool builders want to, they can have up to 9 block delete switches:
/2
/3
/4 etc.
Each /# signifies a different switch that the operator turns on/off
Thanks Beege. I didn't know that about block skips. Sounds like the MB has to build the /2 into the control in advance. Guess they would have to know what barfeeder was going on the machine? Or do they build a couple /#'s in just to cover these situations?
I've never seen more than 1 block delete switch on a machine. I've only seen references to it in my manuals. I believe it has to be built into the PLC and hard wired to be of any use. I'd love to see how anyone has modified their machine to include multiple block delete switches.
So to answer...
Don't know the answer to the first or second questions
Brian
Thanks anyway. I still know more today than I did yesterday.
Get Lucky. You don't mention the brand and model of your barfeed. Do you have a manual for it? Have you tried calling the manufacturer? The manual should have a sample program. If you don't have a manual, the manufacturer should be able to fax you a sample barfeed subprogram.
If you happen to have the same make and model as we have, then I can help you. Otherwise I would have to call the manufacturer myself to get the needed information.
I agree. You need to get it working properly.
I'll help if I can, but I need a lot more information than I have at the moment.
LNS eco loader yes I do have a manual but not a great deal a detail in it
SORRY, Kia turn 21 with a fanuc oi-tb
BAR FEED MACRO
G65P9002A.3B1.S.03
(B=BAR DIA#2)
(S=STOCK TO REMOVE FROM END#19)
(A=AMOUNT OFF CENTER#1)
%
O9002
T0200
G0X[#2+#1]Z#19T0202
M69
G4U.5
M10
G4U.5
M68
G28U0W0T0200
M99
I don’t know what your barstop is like and so don’t understand the need for the X-variables. Nor do I understand why the amount to face off a new bar varies unless the saw is cutting some really bad angles, and you need to vary this dimension based on bigger diameters needing more faced off. That I can understand.
I called LNS without getting much satisfaction. Pretty much told me to do it the way dcoupar is running his barstop. So I will attempt to combine his with yours to see if we can’t come up with one that will work for you.
O9002
T0200
G0X[#2+#1]Z#19T0202
M31 (CHUCK INTERLOCK) Or whatever code yours is to allow the turret to move with the chuck open
M69
/M98P8000
Z#19
G4U.5
M10
G4U.5
M68
G28U0W0T0200
M99
O8000 (NEW BAR SUB)
G0Z3. Or whatever value you need for the remnant to clear
(Can add Part Catcher up here if you want it)
M10
G4U4. Dwell to give the pusher time to eject the remnant
(Retract the Part Catcher if using it)
Z.3
M99
I hope that Z.3 is in front of Z#19 or else you may need to modify it.
Sorry It took so long to get back to this topic been really busy with programing I was looking in the the manufacture's book to find the M codes for chuck interlock and what I found was
M10 bar feeder on
M11 bar feeder off
M31 end of bar count up check
M32 bar empty check
M85 new bar feeder loading
All of the M codes listed were options I went ran them in MDI and none of them alarmed out so I think that they would all work but maybe not with this bar feeder not sure. Maybe I'm so far off I need somebody to smack me.
When I just tried to run as you sampled it would run the /M98P8000 every time (not at the end of the bar) and just stop would not run an more untill I put block skip on
Kyle
Last edited by Get lucky; 06-23-2009 at 02:34 PM.
Figured it out
O9002
T0200
G0X[#2+#1]Z#19T0202
M31 (CHUCK INTERLOCK) Or whatever code yours is to allow the turret to move with the chuck open
M69
/M98P8000 (/2M98P8000)
Z#19
G4U.5
M10
G4U.5
M68
G28U0W0T0200
M99
O8000 (NEW BAR SUB)
G0Z3. Or whatever value you need for the remnant to clear
(Can add Part Catcher up here if you want it)
M10
G4U4. Dwell to give the pusher time to eject the remnant
(Retract the Part Catcher if using it)
Z.3
M99
Thank you for all you help g-codeguy
Kyle
Hi i have a similar setup and use the m69 and m68 to open/Close chuck but i dont use the m10 or m11, and i have a problem that the barfeeder push motor is getting very hot, (i believe it stays on all the time).
When the program have been running 1 or more times and i stop with optional stop and the barfeeder is still in auto and i open the chuck the barfeeder pushes the bar all the way until it hits something.
i have tried to use M10 and M11 together with M69 and M68, but all it did then was stop at M10 without any alarm. and i also tried to put M11 at the end of the program and it reads it but the motor still gets hotter even hours after the machine has stoped,
only way to cool it down again is by switching bar feeder to manual and then it cools after that i can switch it back to auto and still cool, only after running program it gets hot and stays hot.
We have replaced the motor and driver 2 times now.
The lathe is a KIA 15LMS and barfeeder is IEMCA MASTER 880/MP TYPE 33L
hy i recently started a gang Citizen L12 with Mitsubushi cnc & IEMCA Elite 112 bar feeder
the problem was that the dealer did not sell often such equipments, and we hit a wall when tring to start the production
we received some macros, that did not work, without explanations, and i had invested time & trials trying to figure them out, because i did not had experience with such equipment
we have the machine from 2 months, and i can say that only last week i finally managed to solve allmost all issues
i am still a bit ' lost in the dark '
so, this is my wild guess : the intermediate sleeve ( the guiding sleeve ) may be too tight, and this requires increased torque from the feeder
truth is that the guiding sleeve may become loose after a while, and it's adjustment is not finess, but more rough, so is hard to say ' i have setup up the guiding sleeve so to use a feeder torque of x% '
... initial feeder torque value ( from factory ) was 30%
... when the sleeve was not tight, the feeder was smashing too hard into the insert, so we reduced the torque to 5%, and it worked
... after a while, the sleeve got too loose, we tightened it, and we had to setup the feeder torque at 50%
it is a gamble after reading your post, i put my hand on the feeder servo : mine is not hot maybe i am lucky ? who knows
also, the feeder is losing it's origin, so it is a good practice to 'zero it' each day : sometimes, because of an unexpected error, etc, it may shift 1-2 mm, etc
when it shifts, some parts do not align well, and this may lead to an increase effort from the servo ( thus the missalignment, or the lost origin, causes increased diff )
sometimes the feeder blocks because of this origin lost
after seeing your codes, i can tell that my code is not compatible for your machine, but if you wish i will share it + explanations, so to have a clue ...
only way to cool it down again is by switching bar feeder to manual
this is normal; in auto mode, the feeder is always pushing, thus is not ok to idle the cnc without putting also the feeder in manual
i hope you find this usefull kindly
we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...
i have a bar super 80 feeder with a Mitsubishi fx2n 48mr plc, and the plc battery has fail and lost the program, could you provide me the download to get the machince up and running, we are happy to pay for the code if it works