dennishusell
Plastic
- Joined
- Aug 5, 2021
Hi!
Im banging my head against a wall here and really need som help.
I recently acquired my first lathe, Preestech TH25F with GSK980TB3i controller and a Fedek DH65L S2 bar feeder(Ive only had mills until now).
Its worth mentioning that i bought it from China, so support is.. not exactly up to par (which i was already expecting).
The program for the part itself is finished, however im really struggling with the bar feeder since ive never tried anything like it before.
I have an M13 (open chuck) and M12 (close chuck), and inbetween there a move to use the toolpost as a stop.
The bar feeders parameters are all set up and once it sees the M13 it will push out a new part, and when it sees the M12 it will retract the pusher a bit.
The issue is that the lathe does not listen to the feeder at all, it will simply run through its code wether the feeder is done or not.
To temporarily fix this, ive put a 1sec time delay before the M12 to give the feeder time to finish, however this obviously screws up as soon as we get close to the end of the bar.
What i want (i think, im open to suggestions if im attacking it wrong) is to add something before M12 that tells the lathe "wait until you get the ok from the bar feeder", so for example if the feeder needs to pickup a new bar it can do its thing and then go "okay im done" and the lathe will close the chuck and continue the program.
I did get a sample program for bar feeding from the seller, however im afraid im not sure what im looking at, im assuming it has something to do with macros, which ive never dealt with before.
Heres my current program:
And heres the sample program from the seller:
Any advice is greatly appreciated, even it its a "you're in over your head, go read this first".
Im banging my head against a wall here and really need som help.
I recently acquired my first lathe, Preestech TH25F with GSK980TB3i controller and a Fedek DH65L S2 bar feeder(Ive only had mills until now).
Its worth mentioning that i bought it from China, so support is.. not exactly up to par (which i was already expecting).
The program for the part itself is finished, however im really struggling with the bar feeder since ive never tried anything like it before.
I have an M13 (open chuck) and M12 (close chuck), and inbetween there a move to use the toolpost as a stop.
The bar feeders parameters are all set up and once it sees the M13 it will push out a new part, and when it sees the M12 it will retract the pusher a bit.
The issue is that the lathe does not listen to the feeder at all, it will simply run through its code wether the feeder is done or not.
To temporarily fix this, ive put a 1sec time delay before the M12 to give the feeder time to finish, however this obviously screws up as soon as we get close to the end of the bar.
What i want (i think, im open to suggestions if im attacking it wrong) is to add something before M12 that tells the lathe "wait until you get the ok from the bar feeder", so for example if the feeder needs to pickup a new bar it can do its thing and then go "okay im done" and the lathe will close the chuck and continue the program.
I did get a sample program for bar feeding from the seller, however im afraid im not sure what im looking at, im assuming it has something to do with macros, which ive never dealt with before.
Heres my current program:
Code:
O01004
O1004(223R52G)
N10 G98 G18
N11 G21
N12 G50 S4000
(Face1)
N15 T0101
N16 G99
N17 G97 S4000 M3
N18 G54
N20G0X10.Z0.207
N21 G0 X8.
N22 X8.014
N23 G1 X6.6 Z-0.5 F0.085
N24 X-0.8
(Profile Finishing1)
N32 Z-0.429
N33 X-0.133 Z-0.5
N34 G18 G3 X1.068 Z-0.902 R0.65
N35 X5.698 Z-10.874 R31.4
N36 G1 X5.7 Z-10.887
N37 Z-11.288
N38 G3 X5.485 Z-11.774 R1.15
N39 G1 X5.405 Z-11.859
N40 X5.4 Z-11.882
N41 Z-11.918
N42 X5.406 Z-11.942
N43 X5.424 Z-11.965
N44 G3 X5.7 Z-12.512 R1.15
N45 G1 Z-12.788
N46 G3 X5.485 Z-13.274 R1.15
N47 G1 X5.405 Z-13.359
N48 X5.4 Z-13.382
N49 Z-13.418
N50 X5.406 Z-13.442
N51 X5.424 Z-13.465
N52 G3 X5.7 Z-14.012 R1.15
N53 G1 Z-14.288
N54 G3 X5.485 Z-14.774 R1.15
N55 G1 X5.405 Z-14.859
N56 X5.4 Z-14.882
N57 Z-14.918
N58 X5.406 Z-14.942
N59 X5.424 Z-14.965
N60 G3 X5.7 Z-15.512 R1.15
N61 G1 Z-15.788
N62 G3 X5.485 Z-16.274 R1.15
N63 G1 X5.405 Z-16.359
N64 X5.4 Z-16.382
N65 Z-16.418
N66 X5.406 Z-16.442
N67 X5.424 Z-16.465
N68 G3 X5.7 Z-17.012 R1.15
N69 G1 Z-17.927
N70 G3 X5.539 Z-19.217 R10.4
N71 G1 X4.903 Z-21.762
N72 G3 X4.749 Z-22.03 R0.9
N73 G1 X3.634 Z-23.225
G0X5
G0Z-22.322X13.2
G1F0.02Z-22.522X13.8
F0.1 X17
F0.01X18
F0.1X18.5
G0Z-21.272
M05
G0 X100.0
M13 (chuck release)
G4X1P1
G0Z-1.6
M12 (chuck clamp)
G0 Z1.0
G0 X10.0
N770M1
N79M99
%
And heres the sample program from the seller:
Code:
O01111
G65H81P111Q#1000R1
T0101
G0Z0
X0
M13
M00
M12
G04X1
G00Z50
T102
M3S800
G0X13
Z0
G1X-1F100
G0X20
Z50
M5
M99
N111G00Z150
M13
M00
M12
T0101
G00X0Z0
M13
M00
M12
M99
%
Any advice is greatly appreciated, even it its a "you're in over your head, go read this first".