Marlin 2.09.. 5 linear axis

Hey Hive mind,

Im looking at adding a 4th axis to my lowrider, and using fusion 360, to create the gcode, I have a startup account so that I have access to the multi axis cam.

I not to keen on the whole idea of unpluging a stepper and it would be nice to have the rotary axis mounted at the end of my table,… that I can have a fix position for it… Im using end stops so that I can use the g53-54 etc… its nice that I never lose my 0 point anymore… my plan is stop using dual end stops and use one of the Extruder drivers as a for the rotor axis…

I have seen that in the new marlin you can have up the 6 linear axis.
anyone had anyluck getting it to work?

**

  • Define the number of coordinated linear axes.

  • See Home · DerAndere1/Marlin Wiki · GitHub

  • Each linear axis gets its own stepper control and endstop:

  • Steppers: *_STEP_PIN, *_ENABLE_PIN, *_DIR_PIN, *_ENABLE_ON

  • Endstops: *STOP_PIN, USE*MIN_PLUG, USE_*MAX_PLUG

  •   Axes: *_MIN_POS, *_MAX_POS, INVERT_*_DIR
    
  • Planner: DEFAULT_AXIS_STEPS_PER_UNIT, DEFAULT_MAX_FEEDRATE

  •         DEFAULT_MAX_ACCELERATION, AXIS_RELATIVE_MODES,
    
  •         MICROSTEP_MODES, MANUAL_FEEDRATE
    
  • :[3, 4, 5, 6]

*/

//#define LINEAR_AXES 3

/**

  • Axis codes for additional axes:

  • This defines the axis code that is used in G-code commands to

  • reference a specific axis.

  • ‘A’ for rotational axis parallel to X

  • ‘B’ for rotational axis parallel to Y

  • ‘C’ for rotational axis parallel to Z

  • ‘U’ for secondary linear axis parallel to X

  • ‘V’ for secondary linear axis parallel to Y

  • ‘W’ for secondary linear axis parallel to Z

  • Regardless of the settings, firmware-internal axis IDs are

  • I (AXIS4), J (AXIS5), K (AXIS6).

*/

#if LINEAR_AXES >= 4

#define AXIS4_NAME ‘A’ // :[‘A’, ‘B’, ‘C’, ‘U’, ‘V’, ‘W’]

#endif

#if LINEAR_AXES >= 5

#define AXIS5_NAME ‘B’ // :[‘A’, ‘B’, ‘C’, ‘U’, ‘V’, ‘W’]

#endif

#if LINEAR_AXES >= 6

#define AXIS6_NAME ‘C’ // :[‘A’, ‘B’, ‘C’, ‘U’, ‘V’, ‘W’]

#endif

The last statement in the comments throws me off a bit. I did play with u and v on accident a while back when setting up marlin for autosquare, but haven’t dug into multiaxis much yet. Maybe something else in there to setup a rotational axis?

Adding a rotational 4th to my mpcnc is a longer term goal of mine though, and I figured understanding the cam part would be the hardest. Curious to follow along and see what is involved here.