Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Step Motor in LabVIEW via Step Motor Driver

No. What are you talking about?
0 Kudos
Message 21 of 30
(3,690 Views)
I don't know the details of that model, but RS-485 is used for multidropping devices, and hence any commands sent need to have an address associated with them so that a particular device knows that it should act on those commands. 
0 Kudos
Message 22 of 30
(3,689 Views)
Ah. Gotcha. Well through the manufacturer's included software, i have assigned this motor an address of "1."  However, no where in my program do I specify a particular address. How would I go about doing this? Why does the motor still follow the programs commands even though i'm not calling it by name?
0 Kudos
Message 23 of 30
(3,686 Views)
Are you saying that you can send commands and it responds, and that you can request information and it responds, but it just won't give you the encoder position?  What command are you using?
0 Kudos
Message 24 of 30
(3,677 Views)
Has there been a resolution to this? I also have a STM-23S-3RE and I have set the drive to SCL mode, but can not send/recieve basic commands.
Doug Ferguson
0 Kudos
Message 25 of 30
(3,322 Views)

Brian,

 

Hello, I realize this conversation was from 2006, but if you are still following this forum, I'd love to ask you a few questions about the VI you designed to control the Applied Motion stepper motors.  I'm inexperienced with LabVIEW and I'd like to explore some of your reasoning in making the VI.  I've got a similar setup and am stuck.  If we could talk over the phone even, that would be great.  Let me know, otherwise thanks for your time and consideration.

 

-Ryan

0 Kudos
Message 26 of 30
(2,990 Views)

Ryan-

 

I may not have any good reasoning for doing things the way I did.  I haven't used the Applied stuff for a couple of years.  I could give you a call sometime in the evening.  Send me your phone number to bbeal66(at)yahoo.com.

0 Kudos
Message 27 of 30
(2,986 Views)

Hi Brian,

 

It looks like this discussion keeps getting resurrected...  Probably because it's so useful. 

 

I get the following error code: -1073807246 when I run the .vi file.  This is not quite the NI VISA error code that you or Irene mentioned earlier in this thread, but I will start by checking my NI VISA installation.  Any ideas on what else could be going on?   Using Applied Motion software, I am able to command the hardware just fine, I am currently trying to command it from Labview though.

 

Thanks in advance!

Frank

0 Kudos
Message 28 of 30
(2,383 Views)

Frank-

 

That usually means that the com port is being used by some other program.  Are you closing out the Applied Motion software before you try it in LabVIEW?

 

Brian

0 Kudos
Message 29 of 30
(2,380 Views)

Right on!  Thank you very much. 

 

-Frank

0 Kudos
Message 30 of 30
(2,378 Views)