Welcome, Guest

TOPIC: Running code on power-up

Running code on power-up 8 years 10 months ago #11

  • Animaticsv15
  • Animaticsv15's Avatar
  • OFFLINE
  • Administrator
  • Posts: 44
  • Thank you received: 1
  • Karma: 0
On power-up, all SmartMotors and ServoSteps start running
their program. They run code from the top down in order as the code is written. You can issue the command “RUN?” to prevent this.

The code will stop on the line “RUN?” until the motor
specifically receives “RUN” via serial communications. This can be via the primary or secondary port.

Note: the RUN? Command can be placed ANYWHERE in code and
have the same effect. It is basically a “pause here until RUN is received” command. But when “RUN” is received, the code WILL begin from the top down again and then jump beyond the “RUN?”.
The administrator has disabled public write access.
Time to create page: 0.222 seconds
Powered by Kunena Forum