Mill atc configuration

More
01 Sep 2023 16:17 #279589 by Aciera
Replied by Aciera on topic Mill atc configuration
See my last post ^. The orient component is not running.

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

More
02 Sep 2023 09:43 - 02 Sep 2023 09:55 #279654 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Orient start working but...
I ask R180 with M19 and this is 114 encoder count from index.
Spindle turn to this position and hit orient.is-oriented but is still on orient.enable should off?
If spindle turn last time in orient mode cw the output is still active and is imposible turn spindle cww try to press esc button orient.enable go off but cw output is still high 
1screen orient.is.oriented High
2screen after press esc button
 
 
 
Attachments:
Last edit: 02 Sep 2023 09:55 by Artur_1617.

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

More
02 Sep 2023 10:48 #279655 by Aciera
Replied by Aciera on topic Mill atc configuration
You have a very convoluted logic linking 'spindle.0.locked', 'orient.is-oriented' and 'spindle.0.is-oriented'. Since that is clearly not working I suggest to try with directly connecting 'oreint.is-oriented' to 'spindle.0.is-oriented'.
So change this:# Orient component return that orient is complete
net orient-complete <= orient.is-oriented
net orient-complete => and2.0.in1
net spindle-is-oriented <= and2.0.out
net spindle-is-oriented => spindle.0.is-orientedTo this:# Orient component return that orient is complete
net orient-complete <= orient.is-oriented => spindle.0.is-oriented

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

More
02 Sep 2023 14:30 #279662 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Still after orient dont off and spindle relay is on. After esc orient is off but relay is on.
Another cuestion is after orient high spindle still looking exact point of orient. If oscilating betwen 113 and 115 encoder count hit orient.is-oriented but still working and try to stop on 114 encoder position.
 
 
Attachments:

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

More
03 Sep 2023 06:58 #279697 by Aciera
Replied by Aciera on topic Mill atc configuration
For problem 1:
We need to see if 'spindle.0.is-oriented' goes HIGH. Then check if 'spindle.0.orient' goes LOW.

For problem 2:
The wcomp component will output 'wcomp.0.under' = True for wcomp.0.in = 0.
So I would suggest to add a 'and2' component after 'wcomp.0.under'
Change this:

net o_rev wcomp.0.under
net o_fwd wcomp.0.over

To this (don't forget to add 'loadrt' and 'addf' for 'and2.1'):

net o_fwd wcomp.0.over
net wcomp-under <= wcomp.0.under => and2.1.in0
net orient-enable => and2.1.in1
net o_rev >= and2.1.out
The following user(s) said Thank You: Artur_1617

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

More
03 Sep 2023 08:55 #279702 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
Problem 2 is gone.
After hit orient spindle.0.is-oriented is HIGH and spindle.0.orient is LOW

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

More
03 Sep 2023 09:28 #279703 by Aciera
Replied by Aciera on topic Mill atc configuration
That seems to be ok.
Is there still a problem?
The following user(s) said Thank You: Artur_1617

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

More
03 Sep 2023 10:08 #279705 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
The problem still exist.
orient.enable is still high if try to turn spinlde with hand spinlde back to orient position. 

Attachments:

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

More
03 Sep 2023 10:15 #279706 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
The problem still exist.
orient.enable is still high if try to turn spinlde with hand spinlde back to orient position. 

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

More
03 Sep 2023 10:21 #279708 by Artur_1617
Replied by Artur_1617 on topic Mill atc configuration
The problem still exist.
orient.enable is still high if try to turn spinlde with hand spinlde back to orient position. 

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

Time to create page: 0.322 seconds
Powered by Kunena Forum