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

From Flowcode Help
Jump to navigationJump to search
Line 52: Line 52:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
  
  
Line 73: Line 75:
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Revision as of 12:21, 3 February 2023

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.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_temp/Servo_Motor_2d.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_temp/Servo_Motor_2d.fcfx

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-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.