Jump to content

Component: DC Motor (Half Bridge) (): Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gra..."
 
No edit summary
Line 15: Line 15:
DC Motor that can be driven in a single direction using digital output pin.
DC Motor that can be driven in a single direction using digital output pin.


==Component Pack==
==Component Source Code==


MECHATRONICS
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_Motor_simple.fcfx FC_Comp_Source_Motor_simple.fcfx]


==Detailed description==
==Detailed description==


''No detailed description exists yet for this component''
''No detailed description exists yet for this component''


==Examples==
==Examples==




Line 65: Line 69:
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
|-
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Pin
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | Active State
|-
| colspan="2" |  
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Motor Settings
|-
|-
|-
|-
Line 91: Line 113:
|-
|-
| colspan="2" | When activated, an actuator will appear so that the animation can be seen more easily. 
| colspan="2" | When activated, an actuator will appear so that the animation can be seen more easily. 
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Linkage
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
Line 96: Line 122:
|-
|-
| colspan="2" | An object or group to link the motor to - the object will move along with the motor. 
| colspan="2" | An object or group to link the motor to - the object will move along with the motor. 
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
|-
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Pin
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | Active State
|-
| colspan="2" |  
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
|-
|}
|}

Revision as of 17:49, 9 November 2022

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.