crosslakeguy
Member
so there are 3 switches and driver, (drive 1-0, rotation 1-0. home switch, limit switch, start button)
I have a mountain of data manuals please help, using stepper drive. have pulse signal covered.
looking for a very simple circuit (ic prefered but ok with transistors and such)so here is the logic
have a home and limit switch, and a start button. the forward and reverse is controlled by a 0-1 logic as well as run and stop. for the sake of simplicity I will not include inverted signals, but have no problem inverting the signal as I have cd4066 on board (bilateral switch) so here goes.... home switch will start out 1 because it is home. the cw/ccw rotation is set to 0. push start button to set output signal to switch drive to 1 needs to stay running while leaving home position( run until returns back to home)....... wil leave home, hit limit switch setting the cw/ccw state to 1. wil then return to home and reset cw/ccw and drive to 0.
so home limit active(1), push start button momentarily(1), activate drive (1) [cw/ccw still (0)], result drive off homeswitch, now(0)[drive needs to remain (1)], run to limit swtch, setting cw/ccw to (1), then return to home switch (1) stopping cycle until start button pushed.
was looking at a j-k flip flop but started getting confused? maybe clock edge triggered start button. I dunno It is a simple deal I am sure, but I am asking for help so not that simple. someone told me to use toggle switches on both ends but the drive system is to complex for an 1800's switch
as I said I have no problems changing the state of the circuit if that would simplify things, just a mater of changing the resistors on my board I am planning on putting this circuit on the same board anyways.
so there are 3 switches, drive, and direction. start activates drive, limit reverses direction. home stops drive and resets direction.
I have a mountain of data manuals please help, using stepper drive. have pulse signal covered.
looking for a very simple circuit (ic prefered but ok with transistors and such)so here is the logic
have a home and limit switch, and a start button. the forward and reverse is controlled by a 0-1 logic as well as run and stop. for the sake of simplicity I will not include inverted signals, but have no problem inverting the signal as I have cd4066 on board (bilateral switch) so here goes.... home switch will start out 1 because it is home. the cw/ccw rotation is set to 0. push start button to set output signal to switch drive to 1 needs to stay running while leaving home position( run until returns back to home)....... wil leave home, hit limit switch setting the cw/ccw state to 1. wil then return to home and reset cw/ccw and drive to 0.
so home limit active(1), push start button momentarily(1), activate drive (1) [cw/ccw still (0)], result drive off homeswitch, now(0)[drive needs to remain (1)], run to limit swtch, setting cw/ccw to (1), then return to home switch (1) stopping cycle until start button pushed.
was looking at a j-k flip flop but started getting confused? maybe clock edge triggered start button. I dunno It is a simple deal I am sure, but I am asking for help so not that simple. someone told me to use toggle switches on both ends but the drive system is to complex for an 1800's switch
as I said I have no problems changing the state of the circuit if that would simplify things, just a mater of changing the resistors on my board I am planning on putting this circuit on the same board anyways.
so there are 3 switches, drive, and direction. start activates drive, limit reverses direction. home stops drive and resets direction.