Results 41 to 46 of 46
Thread: USBSteppers Card!
-
10-06-2011, 02:46 PM #41
Re: USBSteppers Card!
Hi Les,
I doubt I'd be able to do that. The motor just sits there vibrating; never mind getting it interfaced to a compass!
Still no luck. I shall try output 2, perhaps output 1 is blown.
Cheers,
Jack
-
10-06-2011, 04:47 PM #42
Re: USBSteppers Card!
Alright. I connected it to motor output 2 and everything seems ok. Output 1 must be faulty.
I do, however, have another issue. When running the chronograph script, the motor will "skip" at random times, ie will move back a few steps then continue forward.
When testing using IOStepper.exe however, the motor moves freely without any jerks.
Cheers,
Jack
-
10-07-2011, 06:17 PM #43
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: USBSteppers Card!
Jack,
I thought you said you were using iostepper along side Sioc. If you are trying to use ONLY sioc i was not happy with what i tried. However skipping maybe due to incorrect speed. Try altering this. Also try the compass code i gave you. In case there is somenthing screwy with yours. It works perfectly on my motor.
Les
-
10-07-2011, 08:43 PM #44
Re: USBSteppers Card!
Hi Les,
I AM using BOTH SIOC and IOStepper.exe, not JUST SIOC.
Good idea about the speed, perhaps I shall alter it. Can the speed value be "too slow", or is only only too high-a-value that causes skipping?
I will try your Compass script to see if I still get the issue.
Cheers,
Jack
-
10-07-2011, 09:18 PM #45
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: USBSteppers Card!
I think you have to find the sweet spot. Differs depending on your motor.
Les
-
10-09-2011, 07:07 AM #46
Re: USBSteppers Card!
Hi Les,
I am now using a Unipolar motor and it works absolutely perfectly. Very, very smooth.
Further good news: I have implemented the Chronograph script and it also works absolutely perfectly.
This is the script:
Var 0112, name Switch7, Link IOCARD_SW, Input 222 // EVAC Toggle Switch
{
IF &Switch7 = 1
{
&BlinkLed = 60 // begin value of timer
&BlinkLed = TIMER 0 -1 100
}
}
Var 0000, Link USB_STEPPER, name Chrono, Output 3, PosL 240, PosC 0, PosR 4, Type T
Var 6, name BlinkLed
{
L0 = &BlinkLed
L1 = 60 - L0
&Final_Value = L1
}
Var 7, name Final_Value
{
L0 = &Final_Value * 6.00
&Chrono = L0
}
For now, there aren't any more problems.
Thanks so very much for your help Les, and also to David!
Cheers,
Jack