Stepper Manager

Stepper Manager Overview

A Stepper Manager is a software or hardware module designed to control and manage the operation of stepper motors efficiently. It provides an interface for configuring motor parameters, setting movement patterns, and ensuring accurate and synchronized control for a variety of motion control applications.

Usage

  1. The API functions have the first argument as the config structure.

  2. To drives the motor to the given count position

  3. To get the current position of the motor.

  4. To adjust speed, direction, or target position during operation.

Application Interface

Stepper Manager calls

Function

Description

rs_stepper_manager_open

Function to open the stepper manager

rs_stepper_manager_set_driver

Function to sets motor driver

rs_stepper_manager_set_count_limits

Function to set motor count limits

rs_stepper_manager_set_rate_limits

Function to set motor speed rate limits

rs_stepper_manager_get_current_count

Gets the current position of the stepper

rs_stepper_manager_detect_zero_pos

Function to Perform Zero Point Detection for the stepper

rs_stepper_manager_set_target_count

Function to set the motor to given position

rs_stepper_manager_process

Stepper Motor processsing function to be called continously

Error Code

  • Every API’s for the stepper manager returns some success or failure values. Please refer below section,

Stepper Manager Header Details

Documentation from the relevant header as follows:

Warning

doxygenfile: Cannot find file “rs_stepper_manager.h