Difference between revisions of "Component: DC Motor (Half Bridge) ()"
From Flowcode Help
Jump to navigationJump to searchLine 58: | Line 58: | ||
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. | 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. | ||
{{Fcfile|Motors.fcfx|Motors}} | {{Fcfile|Motors.fcfx|Motors}} | ||
+ | |||
+ | |||
Line 63: | Line 65: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===Stop=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 76: | Line 79: | ||
+ | ===Start=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:51, 3 February 2023
Author | Matrix Ltd. |
Version | 1.1 |
Category |
Contents
DC Motor (Half Bridge) component
DC Motor that can be driven in a single direction using digital output pin.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Motor_simple.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Motor_simple.fcfx
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
Macro reference
Stop
![]() |
Stop |
Turn off power to the motor by turning off its pin. | |
![]() |
Return |
Start
![]() |
Start |
Set the motor running by turning on its pin. | |
![]() |
Return |