Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Continuious speed

Continuious speed 11 months, 3 weeks ago #2141

  • Darryl
  • OFFLINE
  • Posts: 2
  • 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.

Re: Continuious speed 11 months, 3 weeks ago #2143

  • csearcy
  • OFFLINE
  • Posts: 480
  • 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 following user(s) said Thank You: Darryl
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.38 seconds