Jump to content

Component: DC Motor (Half Bridge) ()

From Flowcode Help
Revision as of 14:42, 16 January 2023 by Wiki bot (talk | contribs)
Author Matrix Ltd.
Version 1.1
Category


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 for the component source code: 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

Downloadable macro reference

Stop
Turn off power to the motor by turning off its pin. 
- VOID Return


Start
Set the motor running by turning on its pin. 
- VOID Return



Property reference

Properties
Connections
Pin
 
Active State
 
Motor Settings
Direction
 
Speed
Speed of the motor when turned on.  
Acceleration
Speed change per second when the motor us powered. Set to zero for instantaneous speed changes.  
Deceleration
Speed change per second when the motor is coasting with no power. Set to zero for instantaneous speed changes. 
Show Actuator
When activated, an actuator will appear so that the animation can be seen more easily. 
Linkage
Target Object
An object or group to link the motor to - the object will move along with the motor.