Mill atc configuration

More
3 years 2 months ago - 3 years 2 months ago #278532 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Screens 2,3 with net orient-pid-output orient-pid.output => wcopm.0.in  and  #net  spindle-orient-output orient-pid.output => mux2.0.in
Screens 4,5 with net orient-pid-output => wcopm.0.in                                and    net  spindle-orient-output orient-pid.output => mux2.0.in




File Attachment:

File Name: Frezarka_z...8-20.hal
File Size:17.13 KB
Last edit: 3 years 2 months ago by Artur_1617.

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

More
3 years 2 months ago #278533 by Aciera
Replied by Aciera on topic Mill atc configuration
Could you add the wcomp pins to the halshow watchlist you had in this post?
forum.linuxcnc.org/10-advanced-configura...tion?start=50#278523
Otherwise we are just going around in circles.

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

More
3 years 2 months ago #278536 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
 

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

More
3 years 2 months ago #278537 by Aciera
Replied by Aciera on topic Mill atc configuration
I'm sorry, I got confused:

1. In your hal file delete this line:
net orient-pid-output => wcomp.0.in

2. then change this line:
net spindle-orient-output orient-pid.output => mux2.0.in1

To this:
net orient-pid-output orient-pid.output => wcomp.0.in => mux2.0.in1
The following user(s) said Thank You: Artur_1617

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

More
3 years 2 months ago #278539 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Aciera You are the Boss:)
Orient start working only must add next or2 for spinena.
Now one things more for now.
I think orient dont get index becouse if I turn 100time spindle in dir cw orient go 100time in dir cww for orient.

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

More
3 years 2 months ago - 3 years 2 months ago #278540 by Aciera
Replied by Aciera on topic Mill atc configuration
I think you may need to scale your spindle encoder position so you get a value from 0 .. 1 per spindle revolution:

Multiply 'hm2_5i25.0.encoder.04.position' by 1/360 and feed that into 'orient-pid.feedback' and 'orint.position'

[edit]

You can use a 'scale' component for this and set the .gain to 1/360
Last edit: 3 years 2 months ago by Aciera.
The following user(s) said Thank You: Artur_1617

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

Time to create page: 0.489 seconds
Powered by Kunena Forum