Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.

TOPIC: Smartmotor Cyclic Displacement in Labview

Smartmotor Cyclic Displacement in Labview 3 years 1 month ago #2069

  • kremley
  • kremley's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
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.
Last Edit: 3 years 1 month ago by kremley.
The administrator has disabled public write access.

Re: Smartmotor Cyclic Displacement in Labview 3 years 1 month ago #2076

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
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
Last Edit: 3 years 1 month ago by csearcy.
The administrator has disabled public write access.
Moderators: hsummer, csearcy, swalters, mmeyers
Time to create page: 0.221 seconds
Powered by Kunena Forum