10-21-2010 02:34 PM
Hello,
I'm trying to use labview to control my Automation Direct, stepper motor (stp-mtrh-23079) with the stp-drv-4850 controller. Everything works fine in SureStep but when I try to send the same commands with Labview, I have problems. The motor does turn but the setup commands (eg AC5, DE5, VE2, FL20000) don't seem to have any effect. No matter what series of commands I send it, it always turns the same direction, the same number of times and at the same speed.
Please refer to the attached diagram.
Thanks in advance for your help,
Chad
10-24-2010 08:52 PM
Hi Chad,
Do you getthe same behavior if you use hyperterminal or putty?
10-25-2010 10:28 AM
I am using a terminal program and the commands that I send through it work just fine.
Thanks for the suggestion,
Chad
10-27-2010 08:59 AM
Hi Chad,
Check the you are using\ codes in your string. You can do this by right clicking on the string constant
11-04-2011 09:57 AM
I stumbled across this old thread when I was trying to solve the same problem with a STP-DRV-4850. I finally ran Sure Step with a USB bus monitor running and discovered that when you open the SCL terminal, it sends the command "HR" to the driver, and when you close the terminal it sends a "QT". I cannot find this documented anywhere, but it solved my problems. Open a session with "HR" and all of the commands seem to work as documented.
02-25-2013 01:26 PM
Hi,
Did you ever figure out how to use the drive through the VISA test panel?
I have been trying by writing the serial commands to it (DI200, FL), but nothing happens on the drive's side although it says it is correctly reading/writing to it.
-Ron
02-26-2013 06:34 PM
RonV,
This forum post is from 2011 so it would be a good idea to post another thread so you would get more traffic.
-KP
01-06-2021 02:37 PM
I am trying to control a STP-MTDR-23065 using the USB485-4W adapter from AuotmationDirect using the Simple Serial VI, but all I get is with any command I try is that the motor will step with the velocity and direction of the last command I use in the SureMotion Pro software in SCL mode.
There seems to be a solution to this, https://endigit.com/2017/6/secret-combination-unlocking-automationdirect-stepper-motors-labview#comm...
but I don't have the full VI.