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.
Are you using the TWAIT command after the G?
No, but I just tried using it and it did not seem to make a difference.
No, but I tried using it and it did not seem to make a difference.
No, but I just tried using it and it did not seem to make a difference.
No, but I just tried and it did not seem to make a difference.
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