Mill atc configuration

More
3 years 3 months ago #276290 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
?

Please Log in to join the conversation.

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

 
Code:
loadrt wcomp loadrt sum2 count=2 setp sum2.0.in1 0.01 setp sum2.1.in1 -0.01 net o_angle orient.0.position sum2.0.in0 sum2.1.in0 net o_max sum2.0.out wcomp.0.max net o_min sum2.1.out wcomp.0.min net o_fwd wcomp.0.under => Use this pin to move the spindle FWD net o_rev wcomp.0.over ==> and this onw for REV This will need massaging to fit your system, and is untested.
 
Today try 
net spindle-cw       => or2.2.in0
net o_fwd              => or2.2.in1
net spindlecwall    <= or2.2.out
net spindlecwall    => hm2_5i25.0.7i77.0.0.output-01

net spindle-ccw     => or2.3.in0
net o_rev               => or2.3.in1
net spindleccwall   <= or2.3.out
net spindleccwall   => hm2_5i25.0.7i77.0.0.output-02
Linuxcnc start.
I can still using spindle cw/ccw buttons.
But when start orient spindle dont wont turn. Whatching hal pins and starting orient  only see orient.on without spindle.on or spindle cw/ccw.

Please Log in to join the conversation.

More
3 years 2 months ago #277027 by andypugh
Replied by andypugh on topic Mill atc configuration
Did you figure this out?

Please Log in to join the conversation.

More
3 years 2 months ago #277470 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Try many setups but dont working.
 
  

Please Log in to join the conversation.

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

Did you figure this out?
 
When start linux start to both relays cw/ccw
Must unlink ;
#net o_fwd wcomp.0.under =>
#net o_rev wcomp.0.over =>
 

Attachment not found


Attachment not found

Please Log in to join the conversation.

More
3 years 2 months ago #278044 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Some progress
Add;
adff sum2.0
adff sum2.1
Now linuxcnc start without on relays cw/cww
But try  M19 R50 Q10 P5 spindle dont turn any relays  cw/ccw on with orient
screenshot when start M19...
 

Attachment not found


Last hal
 

Attachment not found


How to look what missing for start the spindle with orient?
 

Please Log in to join the conversation.

More
3 years 2 months ago #278045 by Aciera
Replied by Aciera on topic Mill atc configuration
Seems that you have not connected 'wcomp.0.in' to anything.
Maybe that needs to be connected to 'orient-pid-output' so you actually get a signal from the wcomp to run the spindle forward or reverse.

Please Log in to join the conversation.

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

Seems that you have not connected 'wcomp.0.in' to anything.
Maybe that needs to be connected to 'orient-pid-output' so you actually get a signal from the wcomp to run the spindle forward or reverse.
net orient-pid-output  => wcomp.0.in    dont change anything...

Please Log in to join the conversation.

More
3 years 2 months ago #278049 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
When make M19.. and watch orient-pid.output in hall config Value dont change is still 0

Please Log in to join the conversation.

More
3 years 2 months ago #278050 by Aciera
Replied by Aciera on topic Mill atc configuration
so you will need to go and look further upstream.

Look at 'orient-pid.enable', 'orient-pid.feedback' and 'orient-pid.command'


Which brings me to the next issue as it looks like you are missing a link from 'orient.command' to 'orient-pid.command'. This would explain why 'orient-pid.output' remains zero.

Please Log in to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum