Difference between revisions of "Component: Stepper Motor Template (Mechatronics)"
From Flowcode Help
Jump to navigationJump to search| Line 60: | Line 60: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
Latest revision as of 11:57, 3 November 2023
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Mechatronics |
Contents
Stepper Motor Template component
Enables the creation of a stepper motor component by specifying objects for its appearance. 'Attach to...' property should be exposed in any components buit from this - this sets a target object to be joined to the motor shaft. The target can then be rotated around the axis with a custom gear ration, or moved linearly according to the pitch of a given lead screw.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Stepper_Motor_Base.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Stepper_Motor_Base.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 | |
IncrementStep
| IncrementStep | |
| Move the motor forward by one step. | |
| Return | |
SetTarget