Difference between revisions of "Component: Servo Motor (Mechatronics)"

From Flowcode Help
Jump to navigationJump to search
 
Line 15: Line 15:
 
Base component for creating custom servo motor simulations. Recieves messages  from the the 'Servo Controller' component.  Macro 'SetTarget' allows external objects to be moved by the servo for mechanical simulations.
 
Base component for creating custom servo motor simulations. Recieves messages  from the the 'Servo Controller' component.  Macro 'SetTarget' allows external objects to be moved by the servo for mechanical simulations.
  
==Component Source Code==
+
==Version information==
 
 
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Servo_Motor_2d.fcfx FC_Comp_Source_Servo_Motor_2d.fcfx]
 
  
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Servo_Motor_2d.fcfx FC_Comp_Source_Servo_Motor_2d.fcfx]
+
Library Version, Component Version, Date, Author, Info
 +
2, 1.1, 13-11-24, BR, Resized component to better fit in with other 2d motor components
  
 
==Detailed description==
 
==Detailed description==
Line 85: Line 84:
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
 +
|-
 +
|-
 +
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
 
|-
 
|-
 
|-
 
|-
Line 102: Line 105:
 
| colspan="2" | Angle that the servo turns when the PWM signal is at its maximum. Measured from the actuator object's 'rest' position, chosen at the time of connecting the object. 
 
| colspan="2" | Angle that the servo turns when the PWM signal is at its maximum. Measured from the actuator object's 'rest' position, chosen at the time of connecting the object. 
 
|}
 
|}
 +
 +
==Component Source Code==
 +
 +
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Servo_Motor_2d.fcfx FC_Comp_Source_Servo_Motor_2d.fcfx]
 +
 +
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Servo_Motor_2d.fcfx FC_Comp_Source_Servo_Motor_2d.fcfx]

Latest revision as of 11:42, 26 November 2024

Author Matrix Ltd
Version 1.1
Category Mechatronics


Servo Motor component

Base component for creating custom servo motor simulations. Recieves messages from the the 'Servo Controller' component. Macro 'SetTarget' allows external objects to be moved by the servo for mechanical simulations.

Version information

Library Version, Component Version, Date, Author, Info
2, 1.1, 13-11-24, BR, Resized component to better fit in with other 2d motor components

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

GetSimAngle

Fc9-comp-macro.png GetSimAngle
Gets the angle of the simulated motor shaft in degrees. 
Fc9-f32-icon.png - FLOAT Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Simulation
Fc9-type-16-icon.png Movement Type
 
Fc9-type-15-icon.png Minimum (degrees)
Angle that the servo turns when the PWM signal is at its minimum. Measured from the actuator object's 'rest' position, chosen at the time of connecting the object. 
Fc9-type-15-icon.png Maximum (degrees)
Angle that the servo turns when the PWM signal is at its maximum. Measured from the actuator object's 'rest' position, chosen at the time of connecting the object. 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Servo_Motor_2d.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Servo_Motor_2d.fcfx