Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Reverse direction of stepper motor via SCL

So I am trying to use SCL commands to control my stepper motor (ST5-Si-NN) and can do so only in one direction. We have tried to use negative signs in the FL and DI commands with no luck. Also, the commands will only run after the AC command is executed, this includes the VI we created in LabView. If anyone has any suggestions on anything else that would work please let me know. 

 

Using both Labview and SCL utility to control the stepper motor. We have full control over the device, as expected, when using Si Programmer. The driver is connected via com-port. 

 

Thank You, 

 

Felipe

0 Kudos
Message 1 of 5
(6,379 Views)

Hey Felipe,

 

You should try using some serial port monitoring software like portmon (http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx) to compare the serial calls between applications. It won't solve your problem, but it might help you troubleshoot. 

 

Regards,

Ian K.
Software Developer
Data Ahead AG
0 Kudos
Message 2 of 5
(6,358 Views)

Thank you for the suggestion. I will give it a shot to see what it shows is going on. Update coming soon. 

0 Kudos
Message 3 of 5
(6,331 Views)

Are you using the Applied Motion LabVIEW drivers?  They are available for download from their site.  If you are doing a positional move, send the speed(VE), the distance(DI), the the feed to position(FP) command.  To go the other direction, use a lower distance(if in absolut mode) or a negative distance(if in relative mode).  This assumes the accel/decel is set and the motor is enabled.

0 Kudos
Message 4 of 5
(6,325 Views)

To Reverse if using FL.

lets say you have FL30000 as one direction then the reverse would be FL-30000.

0 Kudos
Message 5 of 5
(6,198 Views)