Component: Stepper Motor (Mechatronics)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd |
Version | 1.2 |
Category | Mechatronics |
Contents
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 |