Welcome, Guest

TOPIC: Programmatically Reset Smart Motor

Programmatically Reset Smart Motor 4 years 9 months ago #2192

  • diglesia
  • diglesia's Avatar
  • Fresh Boarder
  • Duncan
  • Posts: 2
  • Karma: 0
I currently have seven SMI motors daisy chained, all of which are communicating on RS232 and am looking for help on how to automate the initialization task programmatically. Functionally everything works as intended, however, on power up the motors all display the red LED. So far the only way to resolve this to green is to open the SmartMotor PlayGround and manually perform the following steps:
  • Connect Motor
  • Clear Flags
  • Disable Hardware Limits
  • Disable Hardware Limits (Left/Right)
  • Disconnect Motor
  • Connect Motor

At this point the LED is green and the motors function fine. I have tried globally addressing the motors and resetting the errors and disabling the software limits using several permutations/combinations of
which works only if the motors seize (LED = red) during an operation. It does not work on initial power up. I would like to emulate what the SmartMotor Playground is sending to the motors without having to manually repeat this process each time. I am masters student and am passing my work on to the next generation of students, so I need to make it robust.

This post is similar to that posted by bknittel titled "RS232 Communication Lockup" three weeks ago. Using a 'serial sniffer' to catch the commands being sent to the motors. However, this doesn't seem like the right approach.

Any help would be much appreciated.

The administrator has disabled public write access.
Time to create page: 0.131 seconds
Powered by Kunena Forum