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

TOPIC: Running code on power-up

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

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?”.
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 1.62 seconds