Page 1 of 1

stepper output

Posted: Tue Sep 01, 2009 8:06 pm
by moxy
Hi All, When using the stepper component do you have to tell flowcode to output to the specified pins? When stepping through the code the icon shows the correct movement but the pins on the pic icon do nothing, I also am getting no output on these pins.(portB pins 0,1,2 and 3)
many thanks
Les

Re: stepper output

Posted: Wed Sep 02, 2009 8:15 am
by Benj
Hello Les

Have you enabled the motor? You must do this before the output pins will be activated.

You do not have to tell Flowcode to perform the output.

Which type of stepper motor are you using?

Is your hardware doing anything could it be a configuration problem?

Re: stepper output

Posted: Thu Sep 03, 2009 12:29 pm
by moxy
Hi Benj, Sorry about all the missing info! :oops: My stepper is a bipolar 3 amp model. I have an enable at the beginning of the code and have configured the oscillator as HS (external crystal of 8meg with PLL) The code runs perfectly in forward and reverse and responsds to the step input pin (I have configured a switch for this function) and the icon shows the stepper movement but the pic pins remain blue. Should they be flashing red ad blue?
Many thanks
Les

Re: stepper output

Posted: Fri Sep 04, 2009 8:18 am
by Benj
Hello Les

Ah ok I see yes the pins do not currently simulate on the stepper component. I have added it as a request on the system.