DC Motor
Set power, direction, and stopping action of a DC motor
Add-On Required: This feature requires the Simulink Coder Support Package for Beaglebone Blue Hardware add-on.
Libraries:
Simulink Coder Support Package for BeagleBone Blue Hardware /
Actuators
Description
The DC Motor block controls the power, direction, and stopping action of rotation of a DC motor connected to BeagleBone® Blue. Use this block with the Encoder block to measure the incremental position of the motor.
The input signal determines the power supplied to the motor and the direction of rotation of the motor. The stopping action specified in the Stop action parameter of the Block Parameters dialog box determines the stopping behavior of the motor.
During simulations without hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation.
Ports
Input
Parameters
Version History
Introduced in R2017b