Difference between revisions of "Component: Stepper Motor Template (Mechatronics)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.2 |- | width="20%" style="color:gray...") |
|||
| Line 14: | Line 14: | ||
==Stepper Motor Template component== | ==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. | 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 Pack== | ||
| + | |||
| + | MECHATRONICS | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| Line 46: | Line 54: | ||
|- | |- | ||
|- | |- | ||
| − | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE |
| width="90%" | target | | width="90%" | target | ||
|- | |- | ||
Revision as of 16:29, 7 January 2022
| 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 Pack
MECHATRONICS
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| IncrementStep | |
| Move the motor forward by one step. | |
| Return | |
| DecrementStep | |
| Move the motor backwards by one step. | |
| Return | |
| EnableMotor | |
| Turn on the motor. This must be done before it will respond to any other macros. | |
| Return | |
| DisableMotor | |
| Turn off the motor. It will no longer respond to any other macros. | |
| Return | |