makerbase-mks / MKS-Robin-Nano-V2.X

MKS Robin Nano is a powerful 32-bit 3D printer control board with STM32F103VET6. Support Marlin2.0. Support MKS TS35 touch Screens. The motherboard integrates 5 AXIS interface, hot bed, 2 heating heads, 3 NTC100K, 1 MAX31855. Support TMC UART SPI mode. Support MKS Robin WIFI for cloud printing and supports firmware update by SD card…
GNU General Public License v3.0
57 stars 18 forks source link

MKS FES on ROBIN NANO V2 + TS35 = compilation error #21

Open Oranginam opened 3 years ago

Oranginam commented 3 years ago

-MKS Robin Nano V2 -MKS TMC2209 (x5) in uart mode -MKS TS35 (with encoder -MKS FES -Firmware Marlin-bugfix2.0.x-MKS-2.1.1

I have followed your wiki :

In configuration.h -Enable #define FILAMENT_RUNOUT_SENSOR -Enable #define NOZZLE_PARK_FEATURE

In pins_MKS_ROBIN_NANO_V2.h -Add #define FIL_RUNOUT_PIN PA4 //You can change to other pin

In confiuration_adv.h -Enable #define ADVANCED_PAUSE_FEATURE

And get compilation error: Marlin\src\HAL\STM32F1../../inc/SanityCheck.h:836:6: error: #error "ADVANCED_PAUSE_FEATURE requires a supported LCD controller (or EMERGENCY_PARSER)."

In confiuration_adv.h there is this commented line "Requires an LCD display".

Please fix this problem, thx

mks-viva commented 3 years ago

Hi! Thanks for your feedback, I will test it and fix it.

demeiji commented 3 years ago

-MKS Robin Nano V2 -MKS TMC2209 (x5) in uart mode -MKS TS35 (with encoder -MKS FES -Firmware Marlin-bugfix2.0.x-MKS-2.1.1

I have followed your wiki :

In configuration.h -Enable #define FILAMENT_RUNOUT_SENSOR -Enable #define NOZZLE_PARK_FEATURE

In pins_MKS_ROBIN_NANO_V2.h -Add #define FIL_RUNOUT_PIN PA4 //You can change to other pin

In confiuration_adv.h -Enable #define ADVANCED_PAUSE_FEATURE

And get compilation error: Marlin\src\HAL\STM32F1../../inc/SanityCheck.h:836:6: error: #error "ADVANCED_PAUSE_FEATURE requires a supported LCD controller (or EMERGENCY_PARSER)."

In confiuration_adv.h there is this commented line "Requires an LCD display".

Please fix this problem, thx

Hi this error is being commented in can't use filament detector with ts35 regards

Oranginam commented 3 years ago

Hi dont understand. In MKS WIKI :

MKS Robin Nano V2 Firmware setting

In configuration.h

Enable #define FILAMENT_RUNOUT_SENSOR

Enable #define NOZZLE_PARK_FEATURE

In pins_MKS_ROBIN_NANO_V2.h

Add #define FIL_RUNOUT_PIN PA4 //You can change to other pin

In confiuration_adv.h

Enable #define ADVANCED_PAUSE_FEATURE

How to use

Work with MKS TS35

Usage method

If the material is interrupted or out of material during printing, it will be triggered and enter the pause interface

You need reload supplies and resume printing

misiek271 commented 3 years ago

filament sensor with ts35 works bad MKS try to fix it but for now its still broke. And ts has own script for runout sensor so you must disablet // #define FILAMENT_RUNOUT_SENSOR. //#define ADVANCED_PAUSE_FEATURE //#define NOZZLE_PARK_FEATURE

and then try to compile. its work in my case but there is some bug and after reasume print filament is unloading and then prints starts.

mks-viva commented 3 years ago

I has update it: https://github.com/makerbase-mks/MKS-Robin-Nano-V2.X/wiki/MKS_FES

misiek271 commented 3 years ago

Nice. But what about problem unloading filament after reasume print? As on my video? Undefined runout script wasnt help. Its still the same behavior as on my video.

Oranginam commented 3 years ago

nice ? I bought this board (with TS35, 5 x tmc2209 + FES + PWC v3) after carefully reading the wiki. I want a real fix and use M600 not a wiki fix ....

mks-viva commented 3 years ago

@Oranginam Hi! Wiki is just a tutorial, we will continue to improve it

misiek271 commented 3 years ago

Any news About Bad working filament script and unloading filament after reasume?

mks-viva commented 3 years ago

Any news About Bad working filament script and unloading filament after reasume?

https://github.com/makerbase-mks/MKS-Robin-Nano-V2.X/issues/18#issuecomment-748178240

UrknallBigBang commented 3 years ago

Try this if you use MKS UI and PWC https://github.com/makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware/issues/140#issuecomment-743805236

don't define // #define FILAMENT_RUNOUT_SENSOR. //#define ADVANCED_PAUSE_FEATURE //#define NOZZLE_PARK_FEATURE //#define PSU_CONTROL

the only thing you have to do is written in the link but this is only for MKS UI not for Marlin UI there you have to define all

misiek271 commented 3 years ago

I use ts35 with ribin nano v2 board and i dont define it and still resume print dont work coz when i try to reasume extruder unload filament and then start printing

UrknallBigBang commented 3 years ago

My hardware config is MKS Robin nano V2 with TS35 MKS PWC 3.0 MKS TMC2209 2x MKS Servo42b 2x

Use this firmware and do the following changes.

https://github.com/makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware

Don't follow the Wiki it doesn't work for MKS UI only for Marlin UI. The only thing you have to define is TMC2209 or type of your own. Don't define FIL_RUNOUT_PIN PA4 that's only nessesary if you use Marlin UI.

You don't need to define PSU_CONTROL you have to define in pins_MKS_ROBIN_NANO_V2.h (for Robin Nano V2) like this (must be the same in pins_MKS_ROBIN_NANO.h defined for Robin Nano V1.X)

That is my pin config for PWC and Filament Runout

if HAS_TFT_LVGL_UI

define MKSPWC

ifdef MKSPWC

 #define SUICIDE_PIN                       PB2   // Enable MKSPWC SUICIDE PIN
 #define SUICIDE_PIN_INVERTING             false // Enable MKSPWC PIN STATE
 #define KILL_PIN                          PA2   // Enable MKSPWC DET PIN
 #define KILL_PIN_STATE                    HIGH  // Enable MKSPWC PIN STATE

endif

// That define the filament runout with MKS UI

define MT_DET_1_PIN PA4 // LVGL UI FILAMENT RUNOUT1 PIN

#define MT_DET_2_PIN                       PE6   // LVGL UI FILAMENT RUNOUT2 PIN
#define MT_DET_PIN_INVERTING               false // LVGL UI filament RUNOUT PIN STATE

#define WIFI_IO0_PIN                        PC13  // MKS ESP WIFI IO0 PIN
#define WIFI_IO1_PIN                        PC7   // MKS ESP WIFI IO1 PIN
#define WIFI_RESET_PIN                      PE9   // MKS ESP WIFI RESET PIN

if ENABLED(MKS_TEST)

//i don't used the test

define MKS_TEST_POWER_LOSS_PIN PA2 // PW_DET

 #define MKS_TEST_PS_ON_PIN           PB2   // PW_OFF

endif

else

// this section only for Marlin UI when "TFT_LVGL_UI" is NOT defined

define POWER_LOSS_PIN PA2 // PW_DET

define PS_ON_PIN PB2 // PW_OFF

define FIL_RUNOUT_PIN PA4

define FIL_RUNOUT2_PIN PE6

endif

And you have to hold the button from MKS PWC when you do the update. When update is done then switch on the printer and hold button until MKS Screen appeares. When you hold too long then Error Printer hold appears. Do it once more an let the button go when MKS Screen appeares. All done have fun.

Hope that help you.

misiek271 commented 3 years ago

[ Configuration_adv.txt Configuration.txt pins_MKS_ROBIN_NANO_V2.txt

](url)

i send my files. everyting is like you sad exept kill pin coz i dont use it. and still. reasume after power loss works good. but reasume after normal pause button works bad . after reasume extruder unload filament.

Oranginam commented 3 years ago

Hello

I opened this ticket for the FES, not for the PWC. The idea being to be able to use the M600 (ADVANCED_PAUSE_FEATURE) as indicated initially.

Thx

misiek271 commented 3 years ago

My problem has got nothing with pwc. Its fes problem. Fes and pause button.. Acording to behavior uses the same function coz fes dont work. And reasume button dont work. They unl9ad filament before after click reasume

mks-viva commented 3 years ago

@UrknallBigBang Thank you

Oranginam commented 3 years ago

Hu? Why Closer ?

M600 work or it's a lie... ?

mks-viva commented 3 years ago

@Oranginam https://github.com/makerbase-mks/MKS-Robin-Nano-V2.X/wiki/MKS_FES image

misiek271 commented 3 years ago

Not working. They never fix it. Lvl GUI its not Worth it. Only color marlin ui works good

artdezigner commented 2 years ago

@Oranginam https://github.com/makerbase-mks/MKS-Robin-Nano-V2.X/wiki/MKS_FES image

ЭТО НЕ РАБОТАЕТ!!!