Hiya all,
I am trying to set the OC USBSteppers Card up. I have two Bi-Polar motors connected to the card.
This is the script I'm using:
It's just a simple script that changes the speed of the motor based upon a switch press.Code:Var 0011, Link USB_STEPPER, Output 2, PosL 6, PosC 0, PosR 4, Type T
Var 0002, name Step3, Link USB_STEPPER, Output 3, PosL 6, PosC 0, PosR 4
Var 0001, name Step1, Link USB_STEPPER, Output 1, PosL 6, PosC 0, PosR 4
Var 0112, name Switch7, Link IOCARD_SW, Input 222 // EVAC Toggle Switch
{
IF &Switch7 = 1
{
&Step1 = 180
&Step3 = 180
}
ELSE
{
&Step1 = 255
&Step3 = 255
}
}
However, whilst an output is definitely provided to the Stepper Motors, I just get a jerky, unstable movement from the Stepper Motor.
The manual suggests this could be the motor itself, but after inspecting it AND trying a different motor I get the same results.
Also, after testing with a multimeter, it is clear that pins 3 and 4 on "block 1" of the 5 pin connectors do not have any sort of output going to them; which is obviously useless if trying to get a BiPolar motor to work!
If anyone has any ideas at all, please tell me what I've done wrong.
Cheers,
Jack