Mill atc configuration

More
3 years 2 months ago - 3 years 2 months ago #278479 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
When start M19.. spindle dont turn, relays dont on.
See in halshow start orient-pid.enable etc.
orient-pid.output change to 80  is max value from maxoutput
Before start spindle.0.orient-angle and orient.angle is set to 0  after M19 is set to 50 and dont change. Must close linuxcnc and value is set to 0 again
In ini Set P6000, I300, D90
Screenshots from halshow before orient and with orient ON and connection from orient-pid.command
 
 
 
 

File Attachment:

File Name: Frezarka_z...8-19.hal
File Size:17.14 KB

 

File Attachment:

File Name: Frezarka_z...8-19.ini
File Size:6.2 KB


What more I can do?
 
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 #278520 by Aciera
Replied by Aciera on topic Mill atc configuration
Looks like the orient-pid is suddenly working now so following the pid-output downstream it seems you have commented out the connection to the wcomp input:

#net orient-pid-output orient-pid.output => wcomp.0.in


That would explain why nothing is happening at the spindle.
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 #278523 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Must unlink    #net spindle-orient-output    orient-pid.output  =>  mux2.0.in1   
After link          net orient-pid-output orient-pid.output => wcomp.0.in
With M19.. start on relays cw/cww   dependend of orient-pid.error positive/negative  
How to connect  #net spindle-orient-output    orient-pid.output  =>  mux2.0.in1  and  net orient-pid-output orient-pid.output => wcomp.0.in without error?
 

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

More
3 years 2 months ago #278528 by Aciera
Replied by Aciera on topic Mill atc configuration
Ah yes. Since you have already connected 'orient-pid.output' to the signal 'spindle-orient-output' with this line:

net spindle-orient-output orient-pid.output => mux2.0.in1

you need to remove the 'orient-pid.output' pin name from the line that reuses the signal name
So change this:

#net orient-pid-output orient-pid.output => wcomp.0.in

To this:

net orient-pid-output => wcomp.0.in
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 #278530 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
After change this.
Relays stop working.

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

More
3 years 2 months ago #278531 by Aciera
Replied by Aciera on topic Mill atc configuration
Maybe add all the pins of 'wcomp.0.' to the halshow so you can actually see what is going on.

If you attach your current hal file I can have a look at what you did.
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.477 seconds
Powered by Kunena Forum