makerbase-mks / MKS-Robin

MKS Robin is a powerful 32-bit 3D printer control board with STM32F103ZET6 . Support Marlin2.0. Support MKS Robin TFT24/28/32... Screens. The motherboard integrates 5 AXIS interface, hot bed, 2 heating heads, 3 NTC100K, 2 MAX31855.Support MKS Robin WIFI for cloud printing.Supports firmware update by SD card…
https://es.aliexpress.com/item/32757129463.html?spm=a219c.12010612.8148356.9.5fc165f4oDUfFM
129 stars 129 forks source link

Robin nano - Dual Z with Dual Endstop #163

Open PowerEditon opened 4 years ago

PowerEditon commented 4 years ago

Hi, i try to got a second z axis to run under MKS Firmware 1.04. The second motor is working on E1 after change this:

>Z2_STEPPER_DRIVERS 1 #1:enable z_dual; 0:disable

now the second motor is running, when Z homed or moving manually.

BUT: I couldn't get the Z-Max Endstop work as Endstop for the second Motor.

It is possible ??? to combine E1 Stepper Port with Z-max Endstop

PowerEditon commented 4 years ago

Found something on an italian site and in the log for firmware update 1.03 or .4. This brought me the solution and after some tests it works now.

For Robin nano 1.2

Extract from the robin_nano35_cfg.txt

#enable z2.
Z2_STEPPER_DRIVERS 1 # 1:enable z_dual; 0:disable
Z2_ENDSTOPS 1 #enable z2_endstop; 0:disable z_dual_endstop; 1:enable z_dual_endstop;
Z2_USE_ENDSTOP 1 #use Z_MIN or Z_MAX; 0:unused;1:Z_MAX; 2:Z_MIN
# Note to last entry I changed the description from X to Z in the explanation of the value
# Why this was so in The Source...

Extract from the update log:

  1. When the z-axis returns to the maximum value of zero (the first z-axis limit is connected with Zmax), and dual z-limit is enabled, the Z2 limit is connected with zmax interface. # --- Also here changed from xmax to zmax --- When Z returns to zero and Z1 limit is triggered, the two z axes will stop at the same time.**