Setting up the Stepperonline A6 battery encoder cable

  • andrax
  • andrax's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
06 Mar 2026 17:29 - 06 Mar 2026 17:32 #343947 by andrax
Hello everyone,

As most of you know, Stepperonline A6 servos have 17-bit multiturn encoders. 
Encoder cables with battery boxes are also available for these servos. The cables are supplied with batteries.
When these cables are used, the servos become multi-turn absolute value encoders and the reference run is no longer necessary.

Here is a step-by-step guide on how to set up the servos after installing the cables.

1. Switch on the servo.
2. Set parameter C00.07 > 2 (linear mode, absolute position).
3. The servo displays error ER20.8.
4. Set parameter F31.10 > 4.
5. Switch the servo off and on again.
6. Perform a reference run.
7. The .hal and .ini files must be adjusted.

I recommend commenting out the relevant sections.

HAL:
remove or  recommend commenting from all joints: 
 => cia-statusword
and remove or  recommend commenting section #CIA Custom Homing

INI:
remove or  recommend commenting
[EMCMOT]
# HOMEMOD=cia402_homecomp

[JOINT]
HOME_ABSOLUTE_ENCODER     = 2
HOME             = 0
HOME_OFFSET         = 0 
HOME_SEQUENCE         = 0
HOME_SEARCH_VEL     = 0 
HOME_LATCH_VEL         = 0
HOME_IGNORE_LIMITS    = YES

# only for homing
#HOME                 = 0
#HOME_OFFSET             = 0.0
#HOME_SEQUENCE             = 2                 
#HOME_SEARCH_VEL        = 1
#HOME_LATCH_VEL            = 1
#HOME_IGNORE_LIMITS        = YES
#CIA402_HOMING_ENABLED         = 1
#CIA402_HOMING_METHOD        = 4
#CIA402_HOMING_SEARCH_VELOCITY    = 300000
#CIA402_HOMING_LATCH_VELOCITY    = 30000
#CIA402_HOMING_ACCELERATION    = 131072

Now, all you have to do is press the home button after switching on the machine, and all axes are immediately referenced.

That's it.

 
Attachments:
Last edit: 06 Mar 2026 17:32 by andrax.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum