Component: Actuators (BL0127) (E-blocks 2)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | E-blocks 2 |
Contents
- 1 Actuators component
- 2 Version information
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 DCMotor_Break
- 5.2 DCMotor_Coast
- 5.3 DCMotor_DC_Feedback
- 5.4 DCMotor_DC_FeedbackSim
- 5.5 DCMotor_Disable
- 5.6 DCMotor_Enable
- 5.7 DCMotor_Forwards
- 5.8 DCMotor_Reverse
- 5.9 Servo_AutoMoveToPosition
- 5.10 Servo_AutoMoveToPositionInt
- 5.11 Servo_DisableServo
- 5.12 Servo_EnableServo
- 5.13 Servo_Initialise
- 5.14 Servo_IsAutoMoving
- 5.15 Servo_IsServoAutoMoving
- 5.16 Servo_MoveToPosition
- 5.17 Servo_MoveToPositionInt
- 5.18 Servo_SetAutoMoveSpeed
- 5.19 Servo_SetAutoMoveSpeedInt
- 5.20 Servo_SetPosition
- 5.21 Servo_SetPositionInt
- 5.22 Servo_SetTrim
- 5.23 Stepper_DecrementStep
- 5.24 Stepper_DisableMotor
- 5.25 Stepper_EnableMotor
- 5.26 Stepper_IncrementStep
- 6 Property reference
- 7 Component Source Code
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
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_EBlocks2_Actuators_BL0127.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBlocks2_Actuators_BL0127.fcfx