Running code on pow...
 
Notifications
Clear all

Running code on power-up

1 Posts
1 Users
0 Reactions
19.3 K Views
(@Animatics)
Posts: 26
Eminent Member Guest
Topic starter
 

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?”.

 
Posted : 12/01/2010 11:59 pm
Share: