Page 1 of 1
working with engine
Posted: Fri Jul 19, 2013 2:48 am
by brunosilva
Hello
I wonder how do I work with motor.
I am using an engine, most can not make it rotate right.
The sequence it would appear that it would be
1000
0100
0010
0001
or
0001
0010
0100
1000
I am sending the code to help
thank you
Re: working with engine
Posted: Fri Jul 19, 2013 7:34 am
by medelec35
Hi brunosilva,
Not sure what your asking?
I have modified your flowchart so you can alter direction and speed.
Re: working with engine
Posted: Fri Jul 19, 2013 7:37 am
by dazz
Hi
I would create 2 macros called left and right, and add your code to call each macro in turn, i've wrote a simple flowchart for you, to give you an idea, simulate it then click the switches on/off in turn
Sorry martin posted as i was replying, you now have a couple of different ways of doing things
Regards
Dazz
Re: working with engine
Posted: Sat Jul 20, 2013 5:54 am
by brunosilva
Hi the code did not work with my engine he from one side to the other and does not spin.
when I'm configuring the engine appears
Phase Patterns
and a sequence
0001
0100
0010
1000
my engine and I need to rotate the
Phase Patterns
is
0001
0010
0100
1000
a red square appears in front I can configure to show me that kind of Phase Patterns
So it works as I do it utizando engine.
the model of my engine is 1.8 Stepper Motor SM-GP-B1N Torque: 70 oz
Re: working with engine
Posted: Sat Jul 20, 2013 6:00 am
by brunosilva
got it
thank you