Component: Linear Actuator (Mechatronics)

From Flowcode Help
Revision as of 21:05, 16 November 2021 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Mechatronics


Linear Actuator component

Creates a linear actuator that can be used with the various motor components via a coupling or gearbox.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png Rotate
Simulation Rotate function to allow accurate rotation during simulation. Automatically called by any attached coupling or gearbox component. 
[[File:]] - Angle
Amount to rotate the shaft input in degrees 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png CheckLimits
Checks to see if either limit switch is active. Returns 1 if min switch is active, 2 if max switch is active, 3 if both switches are active else returns 0. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png ReadMic
Reads the current audio signal level from the on-board microphone. 
[[File:]] - Return


Fc9-comp-macro.png ReadSwitch
Reads the value of one of the switches from the front of the Formula Flowcode. 
Fc9-u8-icon.png - BYTE Switch
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png SpinLeft
Spins the formula flowcode on the spot in an anticlockwise direction as seen from above. 
Fc9-u8-icon.png - BYTE Power
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Forward
Drives both motors of the formula flowcode forwards with the power specified. 
Fc9-u8-icon.png - BYTE Power
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadLineSensor
Returns the digital value from the line sensor specified. 
Fc9-u8-icon.png - BYTE Sensor
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png SpinRight
Spins the formula flowcode on the spot in a clockwise direction as seen from above. 
Fc9-u8-icon.png - BYTE Power
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png CheckIR
Checks to see if a IR sensor is within the master threshold distance. 
Fc9-u8-icon.png - BYTE Sensor
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png ReadIRSensor
Reads the analogue value from the specified IR distance sensor. 
Fc9-u8-icon.png - BYTE Sensor
 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png SetMotors
Sets the speed and direction of the Formula Flowcode motors. 
[[File:]] - Left_Power
Valid Range = -255 to 255 
[[File:]] - Right_Power
Valid Range = -255 to 255 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Reverse
Drives both motors of the formula flowcode backwards with the power specified. 
Fc9-u8-icon.png - BYTE Power
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png WaitForSwitch
Waits for the specified switch to be pressed. 
Fc9-u8-icon.png - BYTE Switch
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadLDR
Reads the current audio signal level from the on-board light sensor. 
[[File:]] - Return


Fc9-comp-macro.png WriteLEDs
Allows control of all 8-LEDs on the front of the Formula Flowcode. 
Fc9-u8-icon.png - BYTE LED_Byte
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Initialise
Starts up the formula flowcode PWM for motor control and performs the wait for button press 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-15-icon.png Translation Per Rev
Sets the amount of translation for each revolution of the input shaft. M4 = 0.7mm M5 = 0.8mm M6 = 1.0mm M8 = 1.25mm M10 = 1.5mm 
Fc9-type-15-icon.png Travel
Amount of travel in the linear actuator before hitting the end stops 
Fc9-type-15-icon.png Revolutions
Number of revolutions the actuator can travel 
Fc9-type-1-icon.png Colour
Sets the colour of the actuator and end stops 
Fc9-type-16-icon.png Limit Type
Controls if limit switches are available on the linear actuator. 
Fc9-type-16-icon.png Switch Polarity
Sets the active polarity of the input switches. Active low are often used to help reduce noise on the switch inputs. 
Fc9-type-5-icon.png Min Switch Pin
Pin connection used for the minimum limit switch 
Fc9-type-5-icon.png Max Switch Pin
Pin connection used for the maximum limit switch 
Fc9-conn-icon.png Connections
Fc9-type-17-icon.png Output
Output connection for example an end tool or another linear slide and motor group. 
Fc9-type-15-icon.png Output Offset X
Distance along the X axis from the center of the coupling to the center of the output object. 
Fc9-type-15-icon.png Output Offset Y
Distance along the X axis from the center of the coupling to the center of the output object. 
Fc9-type-15-icon.png Output Offset Z
Distance along the shaft from the center of the coupling to the center of the output object. 
Fc9-conn-icon.png Simulations