Manta M8P - Sample printer.cfg Strange Stepper 4 Comments

Basic Information:

Printer Model: Custom CoreXY
MCU / Printerboard: Manta M8P/rPi CM4
klippy.log - N/A

As I’m setting up a Manta M8P board and I’m ready to put in a printer.cfg, I looked at the generic sample and it has the following:

[stepper_z]
step_pin: PD7
dir_pin: !PD6
enable_pin: !PF10
microsteps: 16
rotation_distance: 8
endstop_pin: ^PF5
position_endstop: 0
position_max: 270

# Motor4
# The M8P only has 4 heater outputs which leaves an extra stepper
# This can be used for a second Z stepper, dual_carriage, extruder costepper,
# or other accessory such as an MMU
#[stepper_]
#step_pin: PD3
#dir_pin: PD2
#enable_pin: !PD5
#endstop_pin: PC0
#...

I put in the [stepper_z] information to show what’s expected and put in for a stepper.

When I look at the comment for motor4, it doesn’t match any of the documentation and, when I look at the schematics, it is wired identically to the other seven stepper drivers. The pin definitions are correct.

Can anybody explain this?

Does this help: Manta-M8P/Firmware/Klipper at master · bigtreetech/Manta-M8P · GitHub

Nope. The same commented out code is there in the generic cases (ie basic boards) but generic-bigtreetech-manta-m8p-v1_0-voron2.cfg uses motor4 (as [stepper-z1]) as expected.

It’s not a big deal, just strange as I have no idea where the comment comes from for the stepper. Could the sample/generic config have been copied from elsewhere and the motor comment was left in without it being checked?

Actually I’m not really sure what kind of secret Motor 4 conspiracy you are following, Myke :wink:

For me it looks like common practice that a lot boards are following, to enumerate:
X Axis – Y Axis – Z Axis – 2nd Z Axis – Extruder – Whatever 1 – Whatever 2 …

Motor 6, 7 and 8 are equally commented out and as such just for reference.

Did I miss something?

Yes.

# Motor4
# The M8P only has 4 heater outputs which leaves an extra stepper
# This can be used for a second Z stepper, dual_carriage, extruder costepper,
# or other accessory such as an MMU
#[stepper_]

What does this comment mean? I don’t see any “extra stepper” in the schematics or in any of the documentation.

Maybe I have a daft day today.
These are generic boards and you can connect any stepper-function to any port as long as you correctly reflect it in the config.
The unwritten standard is the sequence X, Y, Z1, (Z2), E. For me this is just a hint at this fact. Anyway, I agree it seems a little displaced.

1 Like

It’s simple math. XYZ is 3 steppers. You have 5 more steppers available, but only 4 heater outputs for 4 hotends/extruders. This means you have 1 more stepper than you have heater outputs.

It maybe simple math but it’s wrapped in a unique, convoluted comment that really isn’t required and makes the reader wonder why it’s there.

When I say “unique”, it’s not in the Octopus, FYSETC Spier and MKS Monster 8 example printer.cfg files.

It’s what the contributor chose to add as a comment and it makes sense to me.

1 Like