Component: ST3215 Servo Motor (Mechatronics): Difference between revisions
Appearance
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 2.0 |- | width="20%" style="color:gray..." |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 84: | Line 84: | ||
===ChangeBaudrate=== | ===ChangeBaudrate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ChangeBaudrate''' | ||
|- | |- | ||
| colspan="2" | Change the servo baud rate. Baud rate values: 0=9600, 1=57600, 2=115200, 3=1000000. EEPROM must be unlocked. | | colspan="2" | Change the servo baud rate. Baud rate values: 0=9600, 1=57600, 2=115200, 3=1000000. EEPROM must be unlocked. | ||
| Line 108: | Line 108: | ||
===ChangeID=== | ===ChangeID=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ChangeID''' | ||
|- | |- | ||
| colspan="2" | Change the servo ID. New ID must be 0-253. EEPROM must be unlocked. Note: New ID takes effect after power cycle. | | colspan="2" | Change the servo ID. New ID must be 0-253. EEPROM must be unlocked. Note: New ID takes effect after power cycle. | ||
| Line 132: | Line 132: | ||
===DefineMiddle=== | ===DefineMiddle=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''DefineMiddle''' | ||
|- | |- | ||
| colspan="2" | Define the 2048 position by setting torque to 128. | | colspan="2" | Define the 2048 position by setting torque to 128. | ||
| Line 151: | Line 151: | ||
===Initialise=== | ===Initialise=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
| Line 165: | Line 165: | ||
===IsMoving=== | ===IsMoving=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''IsMoving''' | ||
|- | |- | ||
| colspan="2" | Check if the servo is currently moving. Returns True if moving, False otherwise. | | colspan="2" | Check if the servo is currently moving. Returns True if moving, False otherwise. | ||
| Line 184: | Line 184: | ||
===ListServos=== | ===ListServos=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ListServos''' | ||
|- | |- | ||
| colspan="2" | Scan and return a list of all responsive servos. Returns number of servos found. | | colspan="2" | Scan and return a list of all responsive servos. Returns number of servos found. | ||
| Line 208: | Line 208: | ||
===LockEEPROM=== | ===LockEEPROM=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''LockEEPROM''' | ||
|- | |- | ||
| colspan="2" | Lock EEPROM to prevent writes from being saved after power loss. IMPORTANT: Use the NEW servo ID after ChangeID. | | colspan="2" | Lock EEPROM to prevent writes from being saved after power loss. IMPORTANT: Use the NEW servo ID after ChangeID. | ||
| Line 227: | Line 227: | ||
===PingServo=== | ===PingServo=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''PingServo''' | ||
|- | |- | ||
| colspan="2" | Check if a servo is responding. Returns True if successful, False otherwise. | | colspan="2" | Check if a servo is responding. Returns True if successful, False otherwise. | ||
| Line 246: | Line 246: | ||
===ReadAcceleration=== | ===ReadAcceleration=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadAcceleration''' | ||
|- | |- | ||
| colspan="2" | Read current acceleration value in steps per second squared. | | colspan="2" | Read current acceleration value in steps per second squared. | ||
| Line 265: | Line 265: | ||
===ReadAngle=== | ===ReadAngle=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadAngle''' | ||
|- | |- | ||
| colspan="2" | Read current position of servo. Returns position in steps (0-4095). | | colspan="2" | Read current position of servo. Returns position in steps (0-4095). | ||
| Line 284: | Line 284: | ||
===ReadCorrection=== | ===ReadCorrection=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadCorrection''' | ||
|- | |- | ||
| colspan="2" | Read position correction value in steps. | | colspan="2" | Read position correction value in steps. | ||
| Line 303: | Line 303: | ||
===ReadCurrent=== | ===ReadCurrent=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadCurrent''' | ||
|- | |- | ||
| colspan="2" | Read current in milliamps (6.5mA resolution). Returns current / 6.5. | | colspan="2" | Read current in milliamps (6.5mA resolution). Returns current / 6.5. | ||
| Line 322: | Line 322: | ||
===ReadID=== | ===ReadID=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadID''' | ||
|- | |- | ||
| colspan="2" | Read the servo ID from EEPROM. Returns the stored ID value. | | colspan="2" | Read the servo ID from EEPROM. Returns the stored ID value. | ||
| Line 341: | Line 341: | ||
===ReadLoad=== | ===ReadLoad=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadLoad''' | ||
|- | |- | ||
| colspan="2" | Read motor load in percentage. Returns load percentage. | | colspan="2" | Read motor load in percentage. Returns load percentage. | ||
| Line 360: | Line 360: | ||
===ReadMode=== | ===ReadMode=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadMode''' | ||
|- | |- | ||
| colspan="2" | Read current operational mode. Returns: 0=position, 1=speed, 2=PWM, 3=step | | colspan="2" | Read current operational mode. Returns: 0=position, 1=speed, 2=PWM, 3=step | ||
| Line 379: | Line 379: | ||
===ReadPosition=== | ===ReadPosition=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadPosition''' | ||
|- | |- | ||
| colspan="2" | Read current position of servo. Returns position in steps (0-4095). | | colspan="2" | Read current position of servo. Returns position in steps (0-4095). | ||
| Line 398: | Line 398: | ||
===ReadSpeed=== | ===ReadSpeed=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadSpeed''' | ||
|- | |- | ||
| colspan="2" | Read current speed of servo. Returns speed in steps per second. | | colspan="2" | Read current speed of servo. Returns speed in steps per second. | ||
| Line 417: | Line 417: | ||
===ReadStatus=== | ===ReadStatus=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadStatus''' | ||
|- | |- | ||
| colspan="2" | Read servo status flags. Returns status byte with bits: Voltage, Sensor, Temperature, Current, Angle, Overload | | colspan="2" | Read servo status flags. Returns status byte with bits: Voltage, Sensor, Temperature, Current, Angle, Overload | ||
| Line 436: | Line 436: | ||
===ReadTemperature=== | ===ReadTemperature=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadTemperature''' | ||
|- | |- | ||
| colspan="2" | Read temperature in degrees Celsius. | | colspan="2" | Read temperature in degrees Celsius. | ||
| Line 455: | Line 455: | ||
===ReadTorqueLimit=== | ===ReadTorqueLimit=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadTorqueLimit''' | ||
|- | |- | ||
| colspan="2" | Read torque limit value (0-1000). | | colspan="2" | Read torque limit value (0-1000). | ||
| Line 474: | Line 474: | ||
===ReadVoltage=== | ===ReadVoltage=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ReadVoltage''' | ||
|- | |- | ||
| colspan="2" | Read voltage in volts (0.1V resolution). Returns voltage * 10. | | colspan="2" | Read voltage in volts (0.1V resolution). Returns voltage * 10. | ||
| Line 493: | Line 493: | ||
===Rotate=== | ===Rotate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Rotate''' | ||
|- | |- | ||
| colspan="2" | Rotate servo continuously in specified direction. Speed range: 50-1000. Direction: 0=forward, 1=reverse. | | colspan="2" | Rotate servo continuously in specified direction. Speed range: 50-1000. Direction: 0=forward, 1=reverse. | ||
| Line 522: | Line 522: | ||
===SetAcceleration=== | ===SetAcceleration=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetAcceleration''' | ||
|- | |- | ||
| colspan="2" | Set servo acceleration in steps per second squared. | | colspan="2" | Set servo acceleration in steps per second squared. | ||
| Line 546: | Line 546: | ||
===SetAngle=== | ===SetAngle=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetAngle''' | ||
|- | |- | ||
| colspan="2" | Move servo to a target angle. Angle range: -180 to 180 degrees. | | colspan="2" | Move servo to a target angle. Angle range: -180 to 180 degrees. | ||
| Line 570: | Line 570: | ||
===SetCorrection=== | ===SetCorrection=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetCorrection''' | ||
|- | |- | ||
| colspan="2" | Set position correction value in steps. Adds correction to position. | | colspan="2" | Set position correction value in steps. Adds correction to position. | ||
| Line 594: | Line 594: | ||
===SetMode=== | ===SetMode=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetMode''' | ||
|- | |- | ||
| colspan="2" | Set operational mode. Mode: 0=position, 1=speed, 2=PWM, 3=step | | colspan="2" | Set operational mode. Mode: 0=position, 1=speed, 2=PWM, 3=step | ||
| Line 618: | Line 618: | ||
===SetPosition=== | ===SetPosition=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetPosition''' | ||
|- | |- | ||
| colspan="2" | Move servo to a target position. Position range: -30719 to 30719 steps. | | colspan="2" | Move servo to a target position. Position range: -30719 to 30719 steps. | ||
| Line 642: | Line 642: | ||
===SetSpeed=== | ===SetSpeed=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetSpeed''' | ||
|- | |- | ||
| colspan="2" | Set servo speed in steps per second. | | colspan="2" | Set servo speed in steps per second. | ||
| Line 666: | Line 666: | ||
===SetTorqueLimit=== | ===SetTorqueLimit=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetTorqueLimit''' | ||
|- | |- | ||
| colspan="2" | Set torque limit value (0-1000). Controls maximum torque output. | | colspan="2" | Set torque limit value (0-1000). Controls maximum torque output. | ||
| Line 690: | Line 690: | ||
===StartServo=== | ===StartServo=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''StartServo''' | ||
|- | |- | ||
| colspan="2" | Enable torque (start servo). | | colspan="2" | Enable torque (start servo). | ||
| Line 709: | Line 709: | ||
===StopServo=== | ===StopServo=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''StopServo''' | ||
|- | |- | ||
| colspan="2" | Disable torque (stop servo). | | colspan="2" | Disable torque (stop servo). | ||
| Line 728: | Line 728: | ||
===UnlockEEPROM=== | ===UnlockEEPROM=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''UnlockEEPROM''' | ||
|- | |- | ||
| colspan="2" | Unlock EEPROM to allow writes to be saved after power loss. | | colspan="2" | Unlock EEPROM to allow writes to be saved after power loss. | ||
| Line 748: | Line 748: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
|- | |- | ||
| Line 788: | Line 788: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix TSL |
| Version | 2.0 |
| Category | Mechatronics |
ST3215 Servo Motor component
Control ST3215 servo motors via serial UART communication using the STS protocol.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ChangeBaudrate
ChangeID
DefineMiddle
| DefineMiddle | |
| Define the 2048 position by setting torque to 128. | |
| ServoID | |
| Servo ID | |
| Return | |
Initialise
| Initialise | |
| Return | |
IsMoving
| IsMoving | |
| Check if the servo is currently moving. Returns True if moving, False otherwise. | |
| ServoID | |
| Servo ID | |
| Return | |
ListServos
LockEEPROM
| LockEEPROM | |
| Lock EEPROM to prevent writes from being saved after power loss. IMPORTANT: Use the NEW servo ID after ChangeID. | |
| ServoID | |
| Servo ID (use NEW ID after ChangeID) | |
| Return | |
PingServo
| PingServo | |
| Check if a servo is responding. Returns True if successful, False otherwise. | |
| ServoID | |
| Servo ID to ping (0-253) | |
| Return | |
ReadAcceleration
| ReadAcceleration | |
| Read current acceleration value in steps per second squared. | |
| ServoID | |
| Servo ID | |
| Return | |
ReadAngle
| ReadAngle | |
| Read current position of servo. Returns position in steps (0-4095). | |
| ServoID | |
| Servo ID | |
| Return | |
ReadCorrection
| ReadCorrection | |
| Read position correction value in steps. | |
| ServoID | |
| Servo ID | |
| Return | |
ReadCurrent
| ReadCurrent | |
| Read current in milliamps (6.5mA resolution). Returns current / 6.5. | |
| ServoID | |
| Servo ID | |
| Return | |
ReadID
| ReadID | |
| Read the servo ID from EEPROM. Returns the stored ID value. | |
| ServoID | |
| Servo ID to query | |
| Return | |
ReadLoad
| ReadLoad | |
| Read motor load in percentage. Returns load percentage. | |
| ServoID | |
| Servo ID | |
| Return | |
ReadMode
| ReadMode | |
| Read current operational mode. Returns: 0=position, 1=speed, 2=PWM, 3=step | |
| ServoID | |
| Servo ID | |
| Return | |
ReadPosition
| ReadPosition | |
| Read current position of servo. Returns position in steps (0-4095). | |
| ServoID | |
| Servo ID | |
| Return | |
ReadSpeed
| ReadSpeed | |
| Read current speed of servo. Returns speed in steps per second. | |
| ServoID | |
| Servo ID | |
| Return | |
ReadStatus
| ReadStatus | |
| Read servo status flags. Returns status byte with bits: Voltage, Sensor, Temperature, Current, Angle, Overload | |
| ServoID | |
| Servo ID | |
| Return | |
ReadTemperature
| ReadTemperature | |
| Read temperature in degrees Celsius. | |
| ServoID | |
| Servo ID | |
| Return | |
ReadTorqueLimit
| ReadTorqueLimit | |
| Read torque limit value (0-1000). | |
| ServoID | |
| Servo ID | |
| Return | |
ReadVoltage
| ReadVoltage | |
| Read voltage in volts (0.1V resolution). Returns voltage * 10. | |
| ServoID | |
| Servo ID | |
| Return | |
Rotate
SetAcceleration
| SetAcceleration | |
| Set servo acceleration in steps per second squared. | |
| ServoID | |
| Servo ID | |
| Acceleration | |
| Acceleration value (0-254) | |
| Return | |
SetAngle
| SetAngle | |
| Move servo to a target angle. Angle range: -180 to 180 degrees. | |
| ServoID | |
| Servo ID | |
| Angle | |
| Angle range: -180 to 180 degrees. | |
| Return | |
SetCorrection
| SetCorrection | |
| Set position correction value in steps. Adds correction to position. | |
| ServoID | |
| Servo ID | |
| Correction | |
| Correction value in steps | |
| Return | |
SetMode
| SetMode | |
| Set operational mode. Mode: 0=position, 1=speed, 2=PWM, 3=step | |
| ServoID | |
| Servo ID | |
| Mode | |
| Mode: 0=position, 1=speed, 2=PWM, 3=step | |
| Return | |
SetPosition
| SetPosition | |
| Move servo to a target position. Position range: -30719 to 30719 steps. | |
| ServoID | |
| Servo ID | |
| Position | |
| Target position in steps (0 to 4095) | |
| Return | |
SetSpeed
| SetSpeed | |
| Set servo speed in steps per second. | |
| ServoID | |
| Servo ID | |
| Speed | |
| Speed in steps per second (0-3400) | |
| Return | |
SetTorqueLimit
| SetTorqueLimit | |
| Set torque limit value (0-1000). Controls maximum torque output. | |
| ServoID | |
| Servo ID | |
| TorqueLimit | |
| Torque limit value (0-1000) | |
| Return | |
StartServo
| StartServo | |
| Enable torque (start servo). | |
| ServoID | |
| Servo ID | |
| Return | |
StopServo
| StopServo | |
| Disable torque (stop servo). | |
| ServoID | |
| Servo ID | |
| Return | |
UnlockEEPROM
| UnlockEEPROM | |
| Unlock EEPROM to allow writes to be saved after power loss. | |
| ServoID | |
| Servo ID | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ST3215.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ST3215.fcfx