Component: Actuators (BL0127) (E-blocks 2): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 71: | Line 71: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Break''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Break''' | ||
|- | |- | ||
| Line 85: | Line 85: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Coast''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Coast''' | ||
|- | |- | ||
| Line 99: | Line 99: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_DC_Feedback''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_DC_Feedback''' | ||
|- | |- | ||
| Line 113: | Line 113: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_DC_FeedbackSim''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_DC_FeedbackSim''' | ||
|- | |- | ||
| Line 127: | Line 127: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Disable''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Disable''' | ||
|- | |- | ||
| Line 141: | Line 141: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Enable''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Enable''' | ||
|- | |- | ||
| Line 155: | Line 155: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Forwards''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Forwards''' | ||
|- | |- | ||
| Line 174: | Line 174: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Reverse''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DCMotor_Reverse''' | ||
|- | |- | ||
| Line 193: | Line 193: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_AutoMoveToPosition''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_AutoMoveToPosition''' | ||
|- | |- | ||
| Line 217: | Line 217: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_AutoMoveToPositionInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_AutoMoveToPositionInt''' | ||
|- | |- | ||
| Line 241: | Line 241: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_DisableServo''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_DisableServo''' | ||
|- | |- | ||
| Line 260: | Line 260: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_EnableServo''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_EnableServo''' | ||
|- | |- | ||
| Line 279: | Line 279: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_Initialise''' | ||
|- | |- | ||
| Line 293: | Line 293: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_IsAutoMoving''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_IsAutoMoving''' | ||
|- | |- | ||
| Line 307: | Line 307: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_IsServoAutoMoving''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_IsServoAutoMoving''' | ||
|- | |- | ||
| Line 326: | Line 326: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_MoveToPosition''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_MoveToPosition''' | ||
|- | |- | ||
| Line 350: | Line 350: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_MoveToPositionInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_MoveToPositionInt''' | ||
|- | |- | ||
| Line 374: | Line 374: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetAutoMoveSpeed''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetAutoMoveSpeed''' | ||
|- | |- | ||
| Line 393: | Line 393: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetAutoMoveSpeedInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetAutoMoveSpeedInt''' | ||
|- | |- | ||
| Line 412: | Line 412: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetPosition''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetPosition''' | ||
|- | |- | ||
| Line 436: | Line 436: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetPositionInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetPositionInt''' | ||
|- | |- | ||
| Line 460: | Line 460: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetTrim''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Servo_SetTrim''' | ||
|- | |- | ||
| Line 484: | Line 484: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_DecrementStep''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_DecrementStep''' | ||
|- | |- | ||
| Line 498: | Line 498: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_DisableMotor''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_DisableMotor''' | ||
|- | |- | ||
| Line 512: | Line 512: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_EnableMotor''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_EnableMotor''' | ||
|- | |- | ||
| Line 526: | Line 526: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_IncrementStep''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Stepper_IncrementStep''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | E-blocks 2 |
Actuators component
The Actuators board allows for investigation into several different motor types. Included on the board is a DC motor with both analogue and digital feedback, a servo motor and a stepper motor plus the circuitry to drive the motors.
Version information
Library Version, Component Version, Date, Author, Info 4, 1.0, 08-05-25, BR, Added autodetect port on Ev_PostInitialise
Detailed description
No detailed description exists yet for this component
Examples
Demo program using the Eblocks 2 Actuators Board BL0127 connected to BL0011 PIC programmer
BL0127 Actuators Demo for PIC
Macro reference
DCMotor_Break
| DCMotor_Break | |
| Actively drives both ends of the motor by setting the pins according to the 'Brake Pattern' property. | |
| Return | |
DCMotor_Coast
| DCMotor_Coast | |
| Turn off power to the motor by setting the pins according to the 'Coast Pattern' property. | |
| Return | |
DCMotor_DC_Feedback
| DCMotor_DC_Feedback | |
| Return | |
DCMotor_DC_FeedbackSim
| DCMotor_DC_FeedbackSim | |
| Return | |
DCMotor_Disable
| DCMotor_Disable | |
| Disable the motor output | |
| Return | |
DCMotor_Enable
| DCMotor_Enable | |
| Enables the motor output | |
| Return | |
DCMotor_Forwards
DCMotor_Reverse
Servo_AutoMoveToPosition
Servo_AutoMoveToPositionInt
Servo_DisableServo
| Servo_DisableServo | |
| Disables a servo channel effectivly disabling the motor. | |
| Channel | |
| The channel to set the position for. First channel is zero. | |
| Return | |
Servo_EnableServo
Servo_Initialise
| Servo_Initialise | |
| Sets up the servo motor interrupts | |
| Return | |
Servo_IsAutoMoving
| Servo_IsAutoMoving | |
| Is the AutoMoveToPosition movement complete. Returns 1 if the servos are still moving. Returns 0 if all servo movement is complete. | |
| Return | |
Servo_IsServoAutoMoving
Servo_MoveToPosition
Servo_MoveToPositionInt
Servo_SetAutoMoveSpeed
Servo_SetAutoMoveSpeedInt
Servo_SetPosition
Servo_SetPositionInt
Servo_SetTrim
Stepper_DecrementStep
| Stepper_DecrementStep | |
| Move the motor backwards by one step. | |
| Return | |
Stepper_DisableMotor
| Stepper_DisableMotor | |
| Turn off the motor. It will no longer respond to any other macros. | |
| Return | |
Stepper_EnableMotor
| Stepper_EnableMotor | |
| Turn on the motor. This must be done before it will respond to any other macros. | |
| Return | |
Stepper_IncrementStep
| Stepper_IncrementStep | |
| Move the motor forward by one step. | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EB_Actuators_BL0127.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EB_Actuators_BL0127.fcfx