G33.1 taping

More
22 Jan 2013 17:22 #28945 by tld70
G33.1 taping was created by tld70
Hi Guys

I have wrot a small testprogramm where I want to check some functions on my machine.
When the machine arrives at G33.1 the Z axis will go down and do tapping,
when the Z Axis is down and the spindle will revers then the Z- Axis will move up in rapid feet.
when the programm do the 2. cycle it will be OK
What is wron in this Program
Attached is the Programm

Thanks

Thomas

(Testprogramm )
g10 l2 p1 x0 y0 z0 ( G54 laden )
g10 l2 p2 x-200 y-50 z-100 ( G55 laden )
g10 l2 p3 x0 y0 z0 ( G56 laden )
g10 l2 p4 x0 y0 z0 ( G57 laden )
g10 l1 p1 z50 r5 ( WZK T1 laden 50 radius 5)
g10 l1 p2 z50 r1 ( WZK T2 laden 50 radius 1)
g10 l1 p3 z50 r5 ( WZK T3 laden 50 radius 5)
g10 l1 p4 z50 r5 ( WZK T4 laden 50 radius 5)
g10 l1 p5 z50 r5 ( WZK T5 laden 50 radius 5)
g10 l1 p6 z50 r5 ( WZK T6 laden 50 radius 5)
g10 l1 p7 z50 r5 ( WZK T7 laden 50 radius 5)
g10 l1 p8 z50 r5 ( WZK T8 laden 50 radius 5)
g10 l1 p9 z50 r5 ( WZK T9 laden 50 radius 5)
g10 l1 p10 z50 r5 ( WZK T10 laden 50 radius 5)
g10 l1 p11 z123 r5 ( WZK T11 laden 123 radius 5)
g10 l1 p12 z50 r0 ( WZK T12 laden 50 radius 0)


#1=0 ( Variable auf 0 setzen )

o100 do
G0 G17 G21 G40 G49 G54 G64 G80 G90 G94 X0 Y0 Z0
G0 G90 G55 x0 y0 z0
t2 m6 G43 h2


S500 m3
G0 G90 X-50 Y-100 Z-150 (Im Eilganz zur Startposition)
(Loch bohren)
G91 G98 F1000
G81 Y-5 R-1 Z-50 L7 ( beschreibung )
y-5
y-5
y-5
y-5
G80
g90
g0 Z0
T12 M6 G43 H12



S500m3
G0 G90 X-50 Y-105 Z-150 (Im Eilganz zur Startposition)
(Gewinde)
G91
G33.1 Z-20 K0.01 ( 20mm tiefen 0.01 mm steigung )

G0 G90

y0 z0

t7m6 G43 h7
z-200

t12m6 G43 h12
z0
x0
t2m6 G43 h2
y-100
(print,value of variable 123 is: #1)
#1 = [#1 + 1]
o100 while [#1 LT 99]

M30

Please Log in or Create an account to join the conversation.

More
23 Jan 2013 07:42 #28992 by andypugh
Replied by andypugh on topic G33.1 taping

when the Z Axis is down and the spindle will revers then the Z- Axis will move up in rapid feet.


Are you saying that the tool spirals down as expected, but then backs out at the rapid rate when the spindle reverses?

If so, then I don't think that is a G-code problem but a machine problem. Does the encoder count correctly in both directions?

Please Log in or Create an account to join the conversation.

More
23 Jan 2013 14:52 #29006 by tld70
Replied by tld70 on topic G33.1 taping
Hi andypugh

yes when the Spindle will revers, then the Z- Axis muve up in highspeed ( as fast as the Axis can )
And the encoder counts, I see the speed in the display in bouth directions.
When the Programm repead the 2. time the tapping will work.
Is the Program OK?

Please Log in or Create an account to join the conversation.

More
23 Jan 2013 19:03 #29015 by andypugh
Replied by andypugh on topic G33.1 taping

the encoder counts, I see the speed in the display in bouth directions.

Can you check that spindle-pos counts up in one direction and down in the other (probably just by turning the spindle by hand)

When the Programm repead the 2. time the tapping will work.
Is the Program OK?

It looks OK, though tapping in incremental (G91) mode seems a little unusual.

Can you run a test in air with the G33.1 running in G90 mode?

G91 ought to be OK, but perhaps you found a bug?

Please Log in or Create an account to join the conversation.

More
25 Jan 2013 23:18 #29140 by tld70
Replied by tld70 on topic G33.1 taping
Hello andypugh

I installed the 2.6 version to check if the problem is gone.
Now the machine moves to the position where I want to tap.
The Machine only stops.
I dont know why.
you see on the picture the Speed from Spindle and the Z-Acis want to go 130mm in plus? Why?
The tappinghole goes to minus direction.
Where can I look why the Program stopps?

Please Log in or Create an account to join the conversation.

More
26 Jan 2013 05:32 #29146 by andypugh
Replied by andypugh on topic G33.1 taping

I installed the 2.6 version to check if the problem is gone.
Now the machine moves to the position where I want to tap.
The Machine only stops.
I dont know why.

Is it possible that it is waiting for an index that isn't happening?

Please Log in or Create an account to join the conversation.

More
26 Jan 2013 23:42 #29162 by tld70
Replied by tld70 on topic G33.1 taping
the index is OK.
I Try setp hm2_5i20.1.encoder.00.index-enable 1
after 1 turn this signal switch 0
I try this some times and it work.

Please Log in or Create an account to join the conversation.

More
26 Jan 2013 23:55 #29163 by tld70
Replied by tld70 on topic G33.1 taping
i mean the signal works, not the tapping

Please Log in or Create an account to join the conversation.

More
27 Jan 2013 22:22 #29186 by tld70
Replied by tld70 on topic G33.1 taping
I did removed follow hal line after go ti version 2.6
net spindle-revs <= hm2_5i20.1.encoder.00.position motion.spindle-revs
now I did this line into my hal ant have now the same problem Z- Axis goes down, and when the spindle will revers the Z- Axis move wirt high speed up

Please Log in or Create an account to join the conversation.

More
27 Jan 2013 22:25 - 27 Jan 2013 22:26 #29187 by andypugh
Replied by andypugh on topic G33.1 taping

I did removed follow hal line after go ti version 2.6
net spindle-revs <= hm2_5i20.1.encoder.00.position motion.spindle-revs

It is hard to diagnose the problem when you make changes like that and don't mention them.

now I did this line into my hal ant have now the same problem Z- Axis goes down, and when the spindle will revers the Z- Axis move wirt high speed up

Is it possible to get a halscope plot of motion.spindle-revs and Z position during the cycle?
Last edit: 27 Jan 2013 22:26 by andypugh.
The following user(s) said Thank You: tld70

Please Log in or Create an account to join the conversation.

Time to create page: 0.141 seconds
Powered by Kunena Forum