FORWARD

From Smart Box
Jump to navigation Jump to search

Syntax[edit]

FORWARD A/B/C/D POWER/SPEED/PULSE

Description[edit]

Turn a motor forward. If the motor turns in the wrong direction when you use the FORWARD command reverse the plugs at the motor outputs. The FORWARD command also resets the appropriate COUNT value.

Examples[edit]

Switch on motor ‘A’

FORWARD A

Switch on motors ‘A’, ‘B’, and ‘C’

FORWARD A,B,C

Switch on motor ‘A’ at speed 6 (See the SPEED command for more details of controlling speed)

FORWARD A SPEED 6

Continuously pulse motor ‘A’ on for 2.5 seconds and off for 2.5 seconds (see the PULSE command for details of pulsing outputs)

FORWARD A PULSE 250,250

Associated keywords[edit]