Component: Linear Actuator (Mechatronics)

From Flowcode Help
Revision as of 09:04, 12 October 2020 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Mechatronics


Image Linear Actuator component

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

Examples

No additional examples


Downloadable macro reference

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.

Parameters

This macro has no parameters


Return value

BYTE


Simulation macro reference

Rotate

Simulation Rotate function to allow accurate rotation during simulation.

Automatically called by any attached coupling or gearbox component.

Parameters

FLOAT Angle
Amount to rotate the shaft input in degrees


Return value

This call does not return a value



Property reference

Translation Per Rev

This property is of type Floating point and can be referenced with the variable name Ratio.

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

Travel

This property is of type Floating point and can be referenced with the variable name Length.

Amount of travel in the linear actuator before hitting the end stops

Revolutions

This property is of type Floating point and can be referenced with the variable name NumRevs.

Number of revolutions the actuator can travel

Colour

This property is of type Color picker and can be referenced with the variable name Colour.

Sets the colour of the actuator and end stops

Output

This property is of type Panel object and can be referenced with the variable name Output.

Output connection for example an end tool or another linear slide and motor group.

Output Offset X

This property is of type Floating point and can be referenced with the variable name OutputOffsetX.

Distance along the X axis from the center of the coupling to the center of the output object.

Output Offset Y

This property is of type Floating point and can be referenced with the variable name OutputOffsetY.

Distance along the X axis from the center of the coupling to the center of the output object.

Output Offset Z

This property is of type Floating point and can be referenced with the variable name OutputOffsetZ.

Distance along the shaft from the center of the coupling to the center of the output object.

Limit Type

This property is of type Fixed list of ints and can be referenced with the variable name LimitType.

Controls if limit switches are available on the linear actuator.

Switch Polarity

This property is of type Fixed list of ints and can be referenced with the variable name SwitchPolarity.

Sets the active polarity of the input switches.

Active low are often used to help reduce noise on the switch inputs.

Min Switch Pin

This property is of type Single digital pin and can be referenced with the variable name MinPin.

Pin connection used for the minimum limit switch

Max Switch Pin

This property is of type Single digital pin and can be referenced with the variable name MaxPin.

Pin connection used for the maximum limit switch