Motors
Motor blocks are used to start, stop, position, and tune motors connected to hub ports.
Core motor command blocks
Start motor (Beginner)
Starts selected motor.
- Direction options: clockwise / counterclockwise
Stop motor (Beginner)
Stops selected motor.
Run for (Advanced)
Runs selected motor for specified time/angle/rotation based on block settings.
- Direction options: clockwise / counterclockwise
- Unit options:
rotations,degrees,seconds - Note: this feature requires a motor on the selected port that supports encoder-based control.
Start motor at speed (Beginner)
Starts motor with explicit speed value.
Run for at speed (Advanced)
Runs motor for a target duration/amount with explicit speed.
- Unit options:
rotations,degrees,seconds - Note: this feature requires a motor on the selected port that supports encoder-based control.
Set motor speed (Advanced)
Sets speed used by related motor run blocks.
Position and movement blocks
Go to position (Advanced)
Moves motor to target absolute position.
- Path options:
shortest path,clockwise,counterclockwise - Note: this feature requires a motor on the selected port that supports encoder-based control.
Go to relative position (Beginner)
Moves motor by a relative offset.
- Note: this feature requires a motor on the selected port that supports encoder-based control.
BuWizz 3 go to relative position (Beginner)
BuWizz 3 variant of relative positioning block.
- Note: this feature requires a motor on the selected port that supports encoder-based control.
Set relative position (Beginner)
Sets motor relative-position reference.
- Note: this feature requires a motor on the selected port that supports encoder-based control.
Calibrate steering rack (Beginner)
Calibrates steering rack neutral/reference position.
- Requirement: the motor connected to the selected port must support absolute/relative angle tracking (internal encoder).
- Mechanical requirement: steering axis movement must be physically limited to a valid range (for example with steering rack/gearing end limits).
- How it works: the block sweeps and measures the available steering rotation range, then computes calibration data used for steering configuration.
- Output behavior: block arguments write results into variables passed to the block (function-like pass-by-reference behavior). Those variables are mutated by the block and should be used to read calibration results.
Motor tuning and safety blocks
Set motor behavior at stop (Guru)
Sets motor stop mode (for example brake/hold/float based on available options).
- Stop mode options:
brake,hold position,coast - Note: this feature requires a motor on the selected port that supports encoder-based control.
Set stall detection (Guru)
Enables or disables stall detection.
- Note: available only for the MINDSTORMS Robot Inventor hub.
Set acceleration (Guru)
Sets motor acceleration profile/rate.
- Profile options:
default,fast,balanced,smooth,slow,very slow - Note: this feature requires a motor on the selected port that supports encoder-based control.
Set deceleration (Guru)
Sets motor deceleration profile/rate.
- Profile options:
default,fast,balanced,smooth,slow,very slow - Note: this feature requires a motor on the selected port that supports encoder-based control.
Motor reporter blocks
Position (Beginner)
Returns current motor position.
Relative position (Beginner)
Returns current relative position value.
Speed (Beginner)
Returns current motor speed.
Power (Advanced)
Returns current motor power value.
- Note: available only for the MINDSTORMS Robot Inventor hub.
Technic Move motor blocks
Start motors at speed (Beginner)
Starts Technic Move drive motors at selected speed.
Power pulse (Beginner)
Sends a power pulse command to the selected Technic Move Hub.
- Available only for Technic Move Hub.
- Typical use: briefly boost or wake the Technic Move drive system before continuing with the next blocks.
Stop motors (Beginner)
Stops Technic Move drive motors.
Brake (Beginner)
Applies brake behavior to Technic Move motors.
- Brake options:
off,on
Set steering rack to (Beginner)
Sets steering rack target position/value.
Calibrate steering rack (Beginner)
Calibrates the Technic Move steering rack using the hub's internal calibration algorithm and automatic steering range detection.
- Note: the motor axis must be mechanically limited (for example, by a steering rack mechanism).