Component: Stepper Motor (Mechatronics): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| Line 93: | Line 93: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''DecrementStep''' | ||
|- | |- | ||
| colspan="2" | Move the motor backwards by one step. | | colspan="2" | Move the motor backwards by one step. | ||
| Line 107: | Line 107: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''DisableMotor''' | ||
|- | |- | ||
| colspan="2" | Turn off the motor. It will no longer respond to any other macros. | | colspan="2" | Turn off the motor. It will no longer respond to any other macros. | ||
| Line 121: | Line 121: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''EnableMotor''' | ||
|- | |- | ||
| colspan="2" | Turn on the motor. This must be done before it will respond to any other macros. | | colspan="2" | Turn on the motor. This must be done before it will respond to any other macros. | ||
| Line 135: | Line 135: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetSimAngle''' | ||
|- | |- | ||
| colspan="2" | Gets the angle of the simulated motor shaft in degrees. | | colspan="2" | Gets the angle of the simulated motor shaft in degrees. | ||
| Line 149: | Line 149: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''IncrementStep''' | ||
|- | |- | ||
| colspan="2" | Move the motor forward by one step. | | colspan="2" | Move the motor forward by one step. | ||
| Line 164: | Line 164: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:23, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Mechatronics |
Stepper Motor component
A component to drive stepper motor either using direct transistors or using an external stepper driver IC. Complete with 2D based panel simulation of the motor including coils and waveforms.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_StepperMotor_2d.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_StepperMotor_2d.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
DecrementStep
| DecrementStep | |
| Move the motor backwards by one step. | |
| Return | |
DisableMotor
| DisableMotor | |
| Turn off the motor. It will no longer respond to any other macros. | |
| Return | |
EnableMotor
| EnableMotor | |
| Turn on the motor. This must be done before it will respond to any other macros. | |
| Return | |
GetSimAngle
| GetSimAngle | |
| Gets the angle of the simulated motor shaft in degrees. | |
| Return | |
IncrementStep
| IncrementStep | |
| Move the motor forward by one step. | |
| Return | |