Mill atc configuration

More
3 years 2 months ago - 3 years 2 months ago #279577 by Aciera
Replied by Aciera on topic Mill atc configuration
Ah ok, thanks for the edit, because that had me really confused
 
Last edit: 3 years 2 months ago by Aciera.

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

More
3 years 2 months ago #279578 by Aciera
Replied by Aciera on topic Mill atc configuration
I'm sorry there seems to have been a misunderstanding at some time because
if your hm2_5i25.0.encoder.04.position already counts from 0..1 we don't want the
'scale.orient' component.

So in your hal file change this:

# Encoder position into orient component and orient pid
setp scale.orient.gain 0.004347826
net spindle-revs scale.orient.in
net spindle-revs-scaled <= scale.orient.out orient.position orient-pid.feedback


to this:

# Encoder position into orient component and orient pid
net spindle-revs orient.position orient-pid.feedback

You can also remove the 'loadrt' and 'addf' for scale.orient.

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

More
3 years 2 months ago #279583 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
I make the changes.
Today I try this before:)
But still orient want to go to index.
orient-pid.command and orient command is still 0 
Screen with orient on
 
 

File Attachment:

File Name: Frezarka_z...9-01.hal
File Size:17.19 KB

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

More
3 years 2 months ago #279586 by Aciera
Replied by Aciera on topic Mill atc configuration
Hm, not sure, could you add 'orient.poserr' to the halshow?

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

More
3 years 2 months ago #279587 by Aciera
Replied by Aciera on topic Mill atc configuration
Ok, it's taken me a long time but I think I found the problem:

Try and add this to all the 'addf' lines in your ini:

addf orient servo-thread

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

More
3 years 2 months ago #279588 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
With orient on or off is still 0 
 

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

Time to create page: 0.218 seconds
Powered by Kunena Forum