Component: DC Motor ()
From Flowcode Help
(Redirected from Component: ID 3becc5a1 4034 45ca b84f d995c6cacdb2)
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 1.2 |
Category |
Contents
DC Motor component
DC Motor that can be driven in one or both directions using digital output pins, PWM or HBRIDGE peripherals.
Component Pack
MECHATRONICS
Detailed description
No detailed description exists yet for this component
Examples
Simple example showing how to drive the motor components and how to create sub assemblies attached to the motor output shafts in the simulation panels.
Motors
Downloadable macro reference
![]() |
Coast |
Turn off power to the motor by setting the pins according to the 'Coast Pattern' property. | |
![]() |
Return |
![]() |
Break |
Actively drives both ends of the motor by setting the pins according to the 'Brake Pattern' property. | |
![]() |
Return |
![]() |
Disable |
Disable the motor output | |
![]() |
Return |
![]() |
Forwards |
Set the motor turning in the forwards direction by setting the pins according to the 'Reverse Pattern' property. | |
![]() |
Duty |
Sets the motor power for PWM or H-Bridge outputs | |
![]() |
Return |
![]() |
Enable |
Enables the motor output | |
![]() |
Return |
![]() |
Reverse |
Set the motor turning in the reverse direction by setting the pins according to the 'Reverse Pattern' property. | |
![]() |
Duty |
Sets the motor power for PWM or H-Bridge outputs | |
![]() |
Return |