Multi-turn Feetech/Waveshare servo axis with homing, raw-step control, and Auto Position frame capture in ARCx
How to add the Feetech Multi-Turn Servo robot skill
- Load the most recent release of ARCx on a compatible operating system (Get ARCx).
- Press the + Skills menu from the top menu bar in ARCx.
- Choose the Servo category tab.
- Press the Feetech Multi-Turn Servo icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Feetech Multi-Turn Servo robot skill.
How to use the Feetech Multi-Turn Servo robot skill
Overview
Position a compatible Feetech or Waveshare serial servo across up to seven turns of the servo shaft with a repeatable home reference in ARCx. Use native Auto Position to move between saved frames and teach a frame by hand on a supported setup. Scripts can command the axis in full-resolution motor steps. Set the travel span for the mechanism, up to 28,665 raw steps, and allow room for the home-switch approach and backoff.
Torque, speed, and travel
A 4:1 reduction gives one quarter of the input speed and ideally four times the input torque. Actual torque is input torque × reduction ratio × transmission efficiency, within the transmission's load limits. Seven servo turns through a 14:1 reduction give 180 of theoretical output travel.
| Mechanism | Output effect |
|---|---|
| Spur-gear reduction | A 15-tooth pinion driving a 60-tooth gear gives a 4:1 reduction for a rotary joint. |
| Timing-belt reduction | A 20-tooth pulley driving an 80-tooth pulley gives a 4:1 reduction. |
| Timing-belt slide | A smaller drive pulley gives more linear force and less carriage speed and travel per turn at the same pulley torque and speed. |
| Lead-screw drive or linear servo actuator | A 2 mm screw lead gives half the linear speed of a 4 mm lead at the same screw speed and twice the axial force at the same torque and efficiency. Each turn moves the carriage 2 mm, so seven turns give 14 mm before allowing for end clearances and homing. |
Motor sizing and gearing Lead screw terminology
Servo selection
Tested with both Feetech and Waveshare servos. Start with the ST3215 / STS3215 as an entry-level option if its speed and torque suit the mechanism. ST3025 and STS3095 are the other tested options. Check the ratings of the exact variant. The walkthrough below uses Windows ARCx. Verify that your servo and firmware supply Mode 3 position feedback with torque off if you plan to teach positions by hand. Waveshare ST3215 specifications
Functional diagram
The large pulley has four times the pitch diameter of the small pulley. Its cam opens the normally closed home switch. The diagram uses the same ARCx signal and port names as the belt-slide walkthrough. Open full-size diagram
| Interface | Inputs | Outputs |
|---|---|---|
| Operation | Start Homing, Stop, Release | Raw Position, Normalized Position, Selected Travel Range, Homing, Drive, Home Reference, Home Switch, Signal |
| ARCx scripts | PrepareDriveMode, StartHome, Stop, Release, MoveToSteps, SetPositionNormalized | GetPositionSteps and GetPositionNormalized report requested targets. GetStatus provides live estimates in LiveRaw and LiveNormalized. |
| Auto Position | Frame targets and Release through the Virtual servo port | Live virtual position for Capture |
| Feetech Rs485 servo Driver | Servo position and drive feedback via Physical driver port | Relative Mode 3 commands, speed and acceleration, Stop and torque control |
| Home switch reader | Global home switch variable with Closed and UpdatedAtUtc |
Contact state and sample freshness in Operation |
Set up a belt-driven slide
This slide moves between Load and Inspect. A normally closed home switch is mounted near the load end. Adapt the limits, directions, speeds and timeouts to your mechanism.
| Setting | Example |
|---|---|
| Axis name | Belt Slide |
| Servo model and bus ID | ST3025, ID 12 |
| Physical mapping in Feetech Rs485 servo Driver | Board 0 / V20 |
| Virtual mapping in the skill and Auto Position | Board 1 / V12 |
| Home Switch / Global home switch variable | Normally closed (NC) / SlideHomeSwitch |
| Minimum / maximum position from Home | 200 / 8,400 raw steps |
| Initial position from Home | 1,200 raw steps |
| Auto Position window / Start frame | Blank with one Auto Position window / None |
- In Feetech Rs485 servo Driver, choose a serial interface that can read servo feedback and map ID 12 to Board 0 / V20. Use one driver instance per physical bus. In the skill's settings, select the servo model and enter the driver's exact window title and its mapped Physical driver port (V20). The physical board comes from the driver. Feetech driver manual
- Choose any free V-port on a disconnected ARCx board and reserve that board/port pair for this axis alone. The pair must be free of physical mappings and other virtual axes. The skill detects conflicts with other instances of this skill and enabled Feetech driver mappings. Check other providers separately.
- In native Auto Position Servos, add the same virtual pair. Set the project maximum to 4095 and the servo entry's limits to 1 and 4095. The optional Auto Position window field selects the window the skill uses for Start frame and Capture Position as Frame. Enter the exact window title, or leave it blank to use the sole Auto Position window or the one named Auto Position. Auto Position manual
Open full-size setup screenshot
Home the slide
- Have the switch reader publish a JSON string in the ARCx global variable
SlideHomeSwitch, for example{"Closed":true,"UpdatedAtUtc":"2026-12-02T10:15:30.125Z"}. Use the actual UTC sample timestamp and continue publishing fresh samples even when the circuit state is unchanged. For the default normally closed switch, released meansClosed: trueand actuated or open circuit meansClosed: false. Verify the live state and freshness while stationary. Normally open can be selected when required, but a broken wire may then look like an inactive switch. - With the mechanism stationary and torque off, initialize the configured driver and call PrepareDriveMode. Check for
Mode3Ready. If the servo requires a mode change, the skill requires the existing servo angle limits to be zero and the EEPROM to be locked. Confirm Mode 3 after driver reinitialization. An ARCx Python example isprint(controlCommand("Feetech Multi-Turn Servo", "PrepareDriveMode")). Use the actual skill window title. - Set Home search direction toward the switch. Set Search distance and Search timeout for the intended starting region. Set a slower Backoff speed, a Maximum switch backoff that lets the switch release and a separate backoff timeout. Set Switch release debounce and Homing settling time for the switch and mechanism. In this example positive operating motion leads away from the switch. Maximum switch backoff limits the release move. Minimum position from Home sets the operating clearance after Home and is independent of that backoff distance.
- Press Start Homing. The axis finds the switch, stops and settles, then reverses slowly. Stable release and standstill establish raw Home = 0. The axis then moves to 1,200 steps. If the switch is already active, the skill starts with the bounded backoff. A stale signal or a switch that fails to release within the limits aborts homing.
- Confirm Home Reference: Valid, Raw Position near 1,200 and Selected Travel Range of 200-8,400. The normalized readout maps the selected span to 0-4095. Auto Position uses 1-4095 because 0 means Release. An 8,200-step span maps raw 4,300 to 2,048 at the midpoint. Keep the range fixed after teaching or verify the stored frames again if the range changes. Scripts can use MoveToSteps for exact raw targets.
Open full-size homing screenshot
Home again after power-off. Power loss clears the multi-turn position. The servo can report its angle within a single turn after power returns. It cannot recover the accumulated turns, so an earlier position beyond 4,095 steps, such as 4,300 on this slide, cannot be reconstructed from that angle. Home again before using saved frames. The frames stay in the ARCx project. Like many stepper-driven 3D printers, the mechanism homes to re-establish its coordinates. Marlin homing reference
Native Auto Position Capture
Capture works like it does for other ARCx servos. With a valid home reference, native Capture reads the actual axis position through the Virtual servo port. In the example, Inspect stores virtual position 2,048 at 4,300 raw steps.
To hand-teach after Release, keep the servo powered and use a servo and firmware combination that reports position in Mode 3 with torque off. Before homing, enable TrackReleasedPosition through ARCx MCP using set_skill_config, the exact skill windowTitle, and patchJson set to {"TrackReleasedPosition":true}. Save the project. This setting defaults to false. Auto Position Capture ARCx MCP guide
Open full-size Capture screenshot
Operation and troubleshooting
| What you see | What to check |
|---|---|
| Signal invalid or stale | Check the global variable name, live UTC timestamps and update interval. |
| Wrong homing direction or switch fails to clear | Check the search direction, live switch state and search and backoff limits. |
| PortConflict | Check for another axis or physical driver on the same virtual board/port pair. |
| Home Reference invalid | Restore valid position feedback and home again. Power cycling or reloading requires homing. Stop cancels the move and clears the reference. |
| Capture shows the previous position | Check the virtual pair, released-position tracking and whether the live position follows the hand-set pose. If the reference or position feedback is lost, home again before teaching. |
Control Commands for the Feetech Multi-Turn Servo robot skill
There are Control Commands available for this robot skill which allows the skill to be controlled programmatically from scripts or other robot skills. These commands enable you to automate actions, respond to sensor inputs, and integrate the robot skill with other systems or custom interfaces. If you're new to the concept of Control Commands, we have a comprehensive manual available here that explains how to use them, provides examples to get you started and make the most of this powerful feature.
Control Command ManualThis robot skill has 25 control commands, listed below. Send them from a JavaScript or Python script, from Blockly, or from another robot skill.
The first value is always the window title, which is the name in the title bar of the robot skill on your workspace. It starts out as Feetech Multi-Turn Servo, which is what every example below uses. If you rename the robot skill, or add a second copy of it to the project, use the title as it appears on that window instead.
ControlCommand() can be shortened to CC(), and both spellings work in JavaScript and in Python. The examples are JavaScript; Python is the same call, except that true and false are written True and False.
ApplyServoModel
Select ST3025, ST3215 or STS3095 while stationary.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "ApplyServoModel", (String)model)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | model | Text | Your text, in quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "ApplyServoModel", "model");
ApplyTeachProposal
Apply the confirmed proposal to the corresponding boundary.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "ApplyTeachProposal")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "ApplyTeachProposal");
ApplyTravelRange
Apply the operating range while stationary.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "ApplyTravelRange", (Number)minSteps, (Number)maxSteps)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | minSteps | Number | A number, without quotes |
| 2 | maxSteps | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "ApplyTravelRange", 0, 0);
CaptureTargetFrame
Capture the referenced axis position as an Auto Position frame.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "CaptureTargetFrame", (String)action, (Number)delay, (Number)steps)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | action | Text | Your text, in quotes |
| 2 | delay | Number | A number, without quotes |
| 3 | steps | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "CaptureTargetFrame", "action", 0, 0);
GetAutoPositionStartFrameStatus
Read the result of automatic start-frame adoption after Init.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetAutoPositionStartFrameStatus")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetAutoPositionStartFrameStatus");
GetDriveStatus
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetDriveStatus")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetDriveStatus");
GetHomePhase
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetHomePhase")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetHomePhase");
GetPositionNormalized
Read the logical target on the normalized 0-4095 scale.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetPositionNormalized")
Returns: Integer [-2,147,483,648 to 2,147,483,647]
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetPositionNormalized");
GetPositionSteps
Read the exact logical step target, or null without a reference.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetPositionSteps")
Returns: Integer [-2,147,483,648 to 2,147,483,647]
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetPositionSteps");
GetRangeTeachState
Read teach state and last confirmed step.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetRangeTeachState")
Returns: Array of String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetRangeTeachState");
GetStatus
Read reference, live position estimates, travel range, switch and drive status as JSON.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "GetStatus")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "GetStatus");
Home
Start homing and Init.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "Home")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "Home");
HomeWait
Start homing and wait for completion or a torque-off timeout.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "HomeWait", (Number)timeoutMs)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | timeoutMs | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "HomeWait", 0);
IsMovePending
Syntax
ControlCommand("Feetech Multi-Turn Servo", "IsMovePending")
Returns: Boolean [true or false]
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "IsMovePending");
MoveToSteps
Send an absolute whole step target to the axis.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "MoveToSteps", (Number)steps)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | steps | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "MoveToSteps", 0);
MoveToStepsWithProfile
Send one raw target from an expected current target using a specified speed and acceleration.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "MoveToStepsWithProfile", (Number)expectedSteps, (Number)steps, (Number)speed, (Number)acceleration)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | expectedSteps | Number | A number, without quotes |
| 2 | steps | Number | A number, without quotes |
| 3 | speed | Number | A number, without quotes |
| 4 | acceleration | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "MoveToStepsWithProfile", 0, 0, 0, 0);
PrepareDriveMode
Confirm or set relative Mode 3 while stationary and torque off.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "PrepareDriveMode")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "PrepareDriveMode");
Release
Release the axis. A valid reference is retained while position feedback is available.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "Release")
Returns: Boolean [true or false]
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "Release");
SetPositionNormalized
Set a whole-number target on the normalized 0-4095 scale.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "SetPositionNormalized", (Number)position)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | position | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "SetPositionNormalized", 0);
StartHome
Start homing and Init on the configured drive.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "StartHome")
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "StartHome");
StartManualRangeTeach
Home to zero, then wait for individual teach steps.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "StartManualRangeTeach", (Number)signedLimit, (Number)segmentSteps, (Number)speedStepsPerSecond, (Number)timeoutMs)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | signedLimit | Number | A number, without quotes |
| 2 | segmentSteps | Number | A number, without quotes |
| 3 | speedStepsPerSecond | Number | A number, without quotes |
| 4 | timeoutMs | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "StartManualRangeTeach", 0, 0, 0, 0);
StartRangeTeach
Home to zero, then start a bounded teach move.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "StartRangeTeach", (Number)signedLimit, (Number)segmentSteps, (Number)speedStepsPerSecond, (Number)timeoutMs)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | signedLimit | Number | A number, without quotes |
| 2 | segmentSteps | Number | A number, without quotes |
| 3 | speedStepsPerSecond | Number | A number, without quotes |
| 4 | timeoutMs | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "StartRangeTeach", 0, 0, 0, 0);
StepRangeTeach
Move one manual teach step in direction -1 or +1.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "StepRangeTeach", (Number)direction)
Parameters
| # | Name | Type | What to pass |
|---|---|---|---|
| 1 | direction | Number | A number, without quotes |
Returns: String
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "StepRangeTeach", 0);
Stop
Stop the axis and cancel any active homing or Init move.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "Stop")
Returns: Boolean [true or false]
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "Stop");
StopRangeTeach
Stop teach and keep the last confirmed step as a proposal.
Syntax
ControlCommand("Feetech Multi-Turn Servo", "StopRangeTeach")
Returns: Boolean [true or false]
Example
var result = ControlCommand("Feetech Multi-Turn Servo", "StopRangeTeach");
This list is read out of the robot skill itself each time its package is uploaded, so it matches the published version (v2).

This robot skill has been updated to v1.
What has changed
V1 - Initial release. Adds referenced multi-turn position control for supported Feetech serial servos, configurable homing and travel limits, native Auto Position integration, and scripting in raw steps and normalized positions. On qualified setups, torque-off tracking supplies the hand-set position to native Auto Position Capture.
This robot skill has been updated to v2.
What has changed
Corrected the publisher name to Robo-Chess. Skill functionality is unchanged.