Results 1 to 4 of 4
-
12-25-2011, 02:54 PM #1
Stepper Motor won't move even after being assigned angles...
Hi everyone,
I'm having trouble moving my Stepper Motor.
NOTE: The motor works with a basic test script. Ie, I press a switch, which starts a timer, and the needle attached to the stepper motor moves according to the timer. It works great.
However, it won't work with the following script:
Code:Var 0, Link USB_STEPPER, name Chrono, Output 3, PosL 200, PosC 0, PosR 4, Type T Var 978, name Capt_Chrono, static { CALL &Clock_Calc } Var 8575, name Clock_Calc, Link SUBRUTINE { L0 = &Capt_Chrono { L1 = L0 * 6 &Chrono = L1 } } }
This is definitely a software issue; the motor works with other scripts and will turn perfectly always.
Cheers,
Jack
PS: IOStepper.ini, Sioc.ini, etc, etc, have all been set up correctly; it works with all my other scripts just not this one!
-
12-26-2011, 11:33 AM #2
Re: Stepper Motor won't move even after being assigned angles...
Any Ideas?
-
12-26-2011, 10:22 PM #3
- Join Date
- Oct 2009
- Location
- Juneau, AK
- Posts
- 553
Re: Stepper Motor won't move even after being assigned angles...
Love to help, Jack but I can barely spell SIOC.
Happy New year though.
Reidhttp://juneaucessnasim.blogspot.com
N58243 (virtual)- Low and Slow...
-
12-27-2011, 07:53 AM #4
Re: Stepper Motor won't move even after being assigned angles...
Thanks anyway Reid!
Nico has solved the problem for me. I had forgotten a single space between the "=" and "120".
Looking for fun companions for travels and adventures? Authentic Ladies Premier Сasual Dating
Top-notch Сasual Dating -...