Welcome, Guest

TOPIC: Continuious speed

Continuious speed 3 years 1 month ago #2141

  • Darryl
  • Darryl's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
New to the Animatic Smart Motor world. Looking to run a SM3430D at a constant speed. Asking for guidance on how to program the motor. Any help would be very much appreciated. Thank you.
The administrator has disabled public write access.

Re: Continuious speed 3 years 1 month ago #2143

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
You just need to put it in Mode Velocity... give it an Accel Decel Target... and a Velocity.
If it's firmware 5.00 or above... the code below would work.

ADDR=1 'Give the motor an address
EIGN(W,0) 'Make all I/O General Purpose Inputs
ZS 'Clear errors
ADT=100 'Set an Accel/Decel Target
VT=65535 'Set a slow Velocity Target
MV 'Set Mode to Velocity
G 'Start motion
WAIT=3000 'Wait 3 seconds
X 'Stop motion
END
The administrator has disabled public write access.
The following user(s) said Thank You: Darryl
Time to create page: 0.230 seconds
Powered by Kunena Forum