'direcrion' pins state when machine in idle state

More
04 Aug 2013 01:37 #37379 by jpka
Hi!
Is there any possibility exist to define 'direction' pins state when 'Toggle Machine power (F2)' not active?
Currently these pins remains in last state according to last direction movement for each axis.
I need to set all 'direction' pins logical '0' when machine is stopped (more precisely, exactly when 'enable' pins are '0').
I use LPT port.
(BTW, this is need to connect manual control module to cheap 4-axis TB6560 blue board via its dedicated connector; this board uses wired-OR between LPT wires and external control wires, so when LPT's 'direction' pin stays '1', it is not work).
Thanks!

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

More
04 Aug 2013 07:14 #37386 by PCW
You could add a AND2 component for each direction pin
with one input of all AND2 components from the machine_on signal

That is currently, you have the stepgen components
direction outputs pin wired directly to the parallel port
output pins (in HAL)

adding the AND2 component in series with the stepgen
direction outputs allows you to force them to the desired (0)
state
The following user(s) said Thank You: jpka

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

More
04 Aug 2013 17:04 #37389 by jpka
Thank you! It works exactly as i need!

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

Time to create page: 0.072 seconds
Powered by Kunena Forum