G33.1 taping

More
13 years 9 months ago #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
13 years 9 months ago #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
13 years 9 months ago #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
13 years 9 months ago - 13 years 9 months ago #29187 by andypugh
Replied by andypugh on topic G33.1 taping

tld70 wrote: 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: 13 years 9 months ago by andypugh.
The following user(s) said Thank You: tld70

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

More
13 years 9 months ago #29188 by tld70
Replied by tld70 on topic G33.1 taping
Hi andypugh
when I saw the motion.spindle-revs you wrote i looked in the forum
i found somethind, and add follow to my hal:

net spindle-deg <= hm2_5i20.1.encoder.00.position
setp scale.0.gain 0.01667
net spindle-deg => scale.0.in
net spindle-revs scale.0.out motion.spindle-revs

I didnt know I have to convert something
Hope this is ok.
Now the tapping works ( without tool )

Thank you

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

More
13 years 9 months ago #29189 by andypugh
Replied by andypugh on topic G33.1 taping

tld70 wrote: net spindle-deg <= hm2_5i20.1.encoder.00.position
setp scale.0.gain 0.01667
net spindle-deg => scale.0.in
net spindle-revs scale.0.out motion.spindle-revs
I didnt know I have to convert something

That shouldn't be necessary.

hm2_5i20.1.encoder.00.position should count spindle revolutions. One turn of the spindle should increase it by exactly 1.
The place to set that scaling is the hm2_5i20.1.encoder.00.scale parameter, not with an external scale component.

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

Time to create page: 0.107 seconds
Powered by Kunena Forum