Smartmotor Cyclic D...
 
Notifications
Clear all

Smartmotor Cyclic Displacement in Labview

7 Posts
1 Users
0 Likes
5,303 Views
(@kremley)
Posts: 0
New Member Guest
 

Hi,

I'm trying to create a cyclic displacement program in Labview using my SM1720M version 4.15b. I currently have a program that mostly works. I send the command using D,A,V and G. The only difference in between the up and down command, is I negate the displacement command. The problem is the motor moves 2-3 counts shorter down than up even though it's sending the exact same command both ways. Any help would be greatly appreciated!

I'm not using the TWAIT command. I tried using it and it did not seem to make a difference.

 
Posted : 24/07/2015 10:55 am
(@csearcy)
Posts: 66
Trusted Member Guest
 

Are you using the TWAIT command after the G?

 
Posted : 24/07/2015 10:58 am
(@kremley)
Posts: 9
Active Member Guest
 

No, but I just tried using it and it did not seem to make a difference.

 
Posted : 24/07/2015 11:06 am
(@kremley)
Posts: 9
Active Member Guest
 

No, but I tried using it and it did not seem to make a difference.

 
Posted : 24/07/2015 11:10 am
(@kremley)
Posts: 9
Active Member Guest
 

No, but I just tried using it and it did not seem to make a difference.

 
Posted : 24/07/2015 11:12 am
(@kremley)
Posts: 9
Active Member Guest
 

No, but I just tried and it did not seem to make a difference.

 
Posted : 24/07/2015 11:17 am
(@csearcy)
Posts: 0
New Member Guest
 

Try adding the TWAIT and a WAIT... just to see if it's really settling into position. You may have to tighten up the tuning a little.

'To elaborate a bit more
SADDR1
A=1000
V=100000
MP
O=0
a=0
WHILE a<10
D=2000 'YOU MAY WANT TO USE P=2000
G
TWAIT
WAIT=4069 'Wait one second
D=-2000 'YOU MAY WANT TO USE P=0
G
TWAIT
WAIT=4069 'Wait one second
LOOP
END

 
Posted : 24/07/2015 11:47 am
Share: