LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Animatics Smartmotor, Novice Needs Help!

Solved!
Go to solution

This is basic COMM setup,  so in the second serial write, this is where you can put in specific velocity commands.

 

 

You can do a 3rd write by wiring another serial write box after some time delay, just write "X " via the ASCII string box to the device and the motor will stop.

 

 

Basic program that should get it spinning!   Puts it in velocity mode, with the associated acceleration parameter.  All the first commands I write it are in the manual.  Any questions let me know.  I use the smartmotor to run a torque driver, so I drive a load cell with the device.   Lil sucker has helped me solve lots of engineering-$$$ problems for my company!

 

 

Message 11 of 15
(1,603 Views)

Thank you. I'm very new to this and am still unable to get it "spinning." Is there any sort of set up needed prior to running the program? 

 

I've opened the program, went to the block diagram to change the COM location to COM5 (where it is located if I use the SmartMotor interface). No matter what commands I use in the second serial write, I don't get any errors, but nothing seems to happen. Is there any settings I need to change or something else that I'm missing? 

 

I've tried even very simplistic code:

MV A=80 V=32212*5 G

 

But no luck.

Please help!

0 Kudos
Message 12 of 15
(1,588 Views)

When you power up the motor, is the light red?

 

 

Then after you try to send it commands, does it go green?

 

 

Those eign() commands clear the locks, after that runs the lights go green, then it should be ready to take commands.  Remember to put SPACES in-between commands and especially after the "G " command, remember that space!

 

Let me know, I was in your shoes a while back so I know how frustrating it is to do such a simple task with no results.

Message 13 of 15
(1,582 Views)

Thank you so much. It was the space following the final G. I greatly appreciate your help. 

0 Kudos
Message 14 of 15
(1,575 Views)

This worked for me, Thanks!!

0 Kudos
Message 15 of 15
(276 Views)