Aller au contenu

Anycubic Kobra 3 Combo

SKR PRO 1.2 / detecteur filament non fonctionnel


Jeanmath

Messages recommandés

bonjour à tous,

je rencontre un problème pour faire fonctionner mon détecteur de filament.

il s'agit d'un bête  endstop trois broches.

ma carte est une skr pro 1.2.

l 'écran est un BBT FT35-E3 v3.0

le détecteur est branché sur le E0, la pin est la Pin PE15, correctement déclarée dans marlin

image.png.4697e18d9eaebdcbb0cdf6ac9e032e6d.png

(cette image est issue du schéma de ma feu skr pro1.1, je n 'ai pas trouve de schéma spécifique à la 1.2).

 

je pense que c'est la bonne pin, puisque quand je lance un M119 sur octoprint, j obtiens cela lorsque qu'il y a un filament dans le détecteur :

image.png.2af32872ecf74258dde0b78de5ac2988.png

 

et cela lorsque qu'il n'y a pas de filament :

image.png.dd038b8a58149cb0091422a54ba9a163.png

 

je vois donc que détecteur  est reconnu.

Cependant, lorsque je lance un impression en activant le détecteur dans le menu tactile (pas en mode SMART, en mode ON ) , cela m'indique qu'il n'y a pas de filament, et l'impression ne se lance pas. j ai évidemment essayé sans filament , pour voir sir la logique n'était pas inversé, mais rien n'y fait.

ci dessous mon marlin(il me semble que c'est le

2.0.7.2)

, à la section relative au détecteur

 

#define FILAMENT_RUNOUT_SENSOR //modifié JEANMATH détecteur filament
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
  #define FIL_RUNOUT_ENABLED_DEFAULT false // Enable the sensor on startup. Override with M412 followed by M500.(ESSAYER TRUE ou FALSE-ne marche pas )
  #define NUM_RUNOUT_SENSORS   1          // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
  #define FIL_RUNOUT_STATE     HIGH        // Pin state indicating that filament is NOT present. (ESSAYER HIGH ou LOW, ne marche pas)
  #define FIL_RUNOUT_PULLUP               // Use internal pullup for filament runout pins.
  //#define FIL_RUNOUT_PULLDOWN           // Use internal pulldown for filament runout pins.
 #define FIL_RUNOUT_PIN  PE15   // "Pulled-high" ajout
  // Set one or more commands to execute on filament runout.
  // (After 'M412 H' Marlin will ask the host to handle the process.)
  #define FILAMENT_RUNOUT_SCRIPT "M600"
 
  // After a runout is detected, continue printing this length of filament
  // before executing the runout script. Useful for a sensor at the end of
  // a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
  #define FILAMENT_RUNOUT_DISTANCE_MM 25
 
  #ifdef FILAMENT_RUNOUT_DISTANCE_MM
    // Enable this option to use an encoder disc that toggles the runout pin
    // as the filament moves. (Be sure to set FILAMENT_RUNOUT_DISTANCE_MM
    // large enough to avoid false positives.)
    #define FILAMENT_MOTION_SENSOR
  #endif
   
 #endif
 
//=========================

 

Bref, cela ne fonctionne pas et cela m’énerve!

j ai lu plusieurs posts à ce sujet, mais je n'ai pas trouvé de solution. j ai vu que certains le branchait directement sur l’écran, cela ne m'arrange pas trop mais bon.

je précise également que j ai déjà réussi à le faire fonctionner, je ne sais plus si c'était sur cette carte un sur la 1.1, ou sur cette version de marlin.

si l'ami @fran6ppouvits m'aider 😄

a+

Lien vers le commentaire
Partager sur d’autres sites

Salutation !

Il y a 1 heure, Jeanmath a dit :

#define FILAMENT_MOTION_SENSOR

A désactiver ? car il me semble que si ton capteur de fin de filament se trouve être un simple switch cela ne conviens pas car c'est pour un système avec une roue d'encodeur qui font des "clic" quand le filament fait tourné la roue, pour mesurer une distance et détecter un blocage bobine / bouchage buse.

Donc pour moi seulement pour se genre de capteur de fin filament

Citation

 

 

Edit : Aussi comme tu parle d'un BTT TFT 35, a tu bien activé dans le firmware marlin l'ensemble des options spécifié dans le config.ini du firmware de l'ecran ?

Citation

#--------------------------------------------------------------------
#
# DEFAULT CONFIG FILE FOR BigTreeTech TFT CONTROLLERS
#
#--------------------------------------------------------------------


#--------------------------------------------------------------------
# Supported TFT Variants
#--------------------------------------------------------------------
#
# BIGTREE_TFT35_V1_0    / BIGTREE_TFT35_V1_1 / BIGTREE_TFT35_V1_2
# BIGTREE_TFT35_V2_0    / BIGTREE_TFT35_V3_0 / BIGTREE_TFT35_E3_V3_0
# BIGTREE_TFT35_B1_V3_0 / BIGTREE_TFT43_V3_0 / BIGTREE_TFT50_V3_0
# BIGTREE_TFT70_V3_0    / BIGTREE_TFT28_V1_0 / BIGTREE_TFT28_V3_0
# BIGTREE_TFT24_V1_1    / MKS_32_V1_4        / MKS_28_V1_0
#
# Firmware source: https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware
 

#--------------------------------------------------------------------
# Supported Marlin Firmware Versions
#--------------------------------------------------------------------
#
# Minimum Marlin firmware version: 2.0.5.4
# Distribution date: 2020-05-12
# Firmware source: https://github.com/MarlinFirmware/Marlin/releases
#
# In order the TFT firmware is able to provide all of its functionalities/features,
# ensure that the following options are enabled in Marlin firmware.
#
# General options:
#   EEPROM_SETTINGS (in Configuration.h)
#   AUTO_REPORT_TEMPERATURES (in Configuration_adv.h)
#   M115_GEOMETRY_REPORT (in Configuration_adv.h)
#   M114_DETAIL (in Configuration_adv.h)
#   REPORT_FAN_CHANGE (in Configuration_adv.h)
#
# Options to support printing from onboard SD:
#   SDSUPPORT (in Configuration.h)
#   LONG_FILENAME_HOST_SUPPORT (in Configuration_adv.h)
#   AUTO_REPORT_SD_STATUS (in Configuration_adv.h)
#   SDCARD_CONNECTION ONBOARD (in Configuration_adv.h)
#
# Options to support dialog with host:
#   EMERGENCY_PARSER (in Configuration_adv.h)
#   SERIAL_FLOAT_PRECISION 4 (in Configuration_adv.h)
#   HOST_ACTION_COMMANDS (in Configuration_adv.h)
#   HOST_PROMPT_SUPPORT (in Configuration_adv.h)

#
# Options to support M600 with host & (Un)Load menu:
#   Options to support dialog with host (as pre requisite)
#   NOZZLE_PARK_FEATURE (in Configuration.h)
#   ADVANCED_PAUSE_FEATURE (in Configuration_adv.h)
#   PARK_HEAD_ON_PAUSE (in Configuration_adv.h)
#   FILAMENT_LOAD_UNLOAD_GCODES (in Configuration_adv.h)
#
# Options to support Babystep menu:
#   BABYSTEPPING (in Configuration_adv.h)
#
# Options to support repeatibility test to test probe accuracy (M48):
#   Z_MIN_PROBE_REPEATABILITY_TEST (in Configuration.h)
#
# Options to support aligment of multiple Z steppers using a bed probe (G34):
#   Z_STEPPER_AUTO_ALIGN (in Configuration_adv.h)

Modifié (le) par PPAC
Lien vers le commentaire
Partager sur d’autres sites

salut @PPAC

merci de ta réponse.

Je viens d 'essayer en dé-commentant

Citation
Citation

#define FILAMENT_MOTION_SENSOR

 

cela ne fonctionne pas.

pour ta deuxième piste, je ne comprend pas trop ce que je dois modifier . ce qui est en gras dans ta citation ?

ci dessous la config de l'écran TFT

 

Citation

#--------------------------------------------------------------------
#
# DEFAULT CONFIG FILE FOR BigTreeTech TFT CONTROLLERS
#
#--------------------------------------------------------------------


#--------------------------------------------------------------------
# Supported TFT Variants
#--------------------------------------------------------------------
#
# BIGTREE_TFT35_V1_0    / BIGTREE_TFT35_V1_1 / BIGTREE_TFT35_V1_2
# BIGTREE_TFT35_V2_0    / BIGTREE_TFT35_V3_0 / BIGTREE_TFT35_E3_V3_0
# BIGTREE_TFT35_B1_V3_0 / BIGTREE_TFT43_V3_0 / BIGTREE_TFT50_V3_0
# BIGTREE_TFT70_V3_0    / BIGTREE_TFT28_V1_0 / BIGTREE_TFT28_V3_0
# BIGTREE_TFT24_V1_1    / MKS_TFT32_V1_3     / MKS_TFT32_V1_4
# MKS_TFT28_V3_0        / MKS_TFT28_V4_0
#
# Firmware source: https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware


#--------------------------------------------------------------------
# Supported Marlin Firmware Versions
#--------------------------------------------------------------------
#
# Minimum Marlin firmware version: 2.0.5.4
# Distribution date: 2020-05-12
# Firmware source: https://github.com/MarlinFirmware/Marlin/releases
#
# In order the TFT firmware is able to provide all of its functionalities/features,
# ensure that the following options are enabled in Marlin firmware.
#
# General options:
#   EEPROM_SETTINGS (in Configuration.h)
#   BABYSTEPPING (in Configuration_adv.h)
#   AUTO_REPORT_TEMPERATURES (in Configuration_adv.h)
#   M115_GEOMETRY_REPORT (in Configuration_adv.h)
#   M114_DETAIL (in Configuration_adv.h)
#   REPORT_FAN_CHANGE (in Configuration_adv.h)
#
# Options to support printing from onboard SD:
#   SDSUPPORT (in Configuration.h)
#   LONG_FILENAME_HOST_SUPPORT (in Configuration_adv.h)
#   AUTO_REPORT_SD_STATUS (in Configuration_adv.h)
#   SDCARD_CONNECTION ONBOARD (in Configuration_adv.h)
#
# Options to support dialog with host:
#   EMERGENCY_PARSER (in Configuration_adv.h)
#   SERIAL_FLOAT_PRECISION 4 (in Configuration_adv.h)
#   HOST_ACTION_COMMANDS (in Configuration_adv.h)
#   HOST_PROMPT_SUPPORT (in Configuration_adv.h)
#
# Options to support M600 with host & (Un)Load menu:
#   Options to support dialog with host (as pre requisite)
#   NOZZLE_PARK_FEATURE (in Configuration.h)
#   ADVANCED_PAUSE_FEATURE (in Configuration_adv.h)
#   PARK_HEAD_ON_PAUSE (in Configuration_adv.h)
#   FILAMENT_LOAD_UNLOAD_GCODES (in Configuration_adv.h)
#
# Options to fully support Bed Leveling menu:
#   Z_MIN_PROBE_REPEATABILITY_TEST (in Configuration.h)
#   G26_MESH_VALIDATION (in Configuration.h)
#   Z_STEPPER_AUTO_ALIGN (in Configuration_adv.h)


#--------------------------------------------------------------------
# General Settings
#--------------------------------------------------------------------

#### Enable Status Screen
# Status screen or home screen displays the current temperature, fan and speeds.
# If this disabled, the main menu will become the default home screen.
#   Options: [Enable: 1, Disable: 0]
status_screen:1

#### Baudrate / Connection speed
# This baudrate setting is used for serial connection to the printer and other serial hosts like ESP8266.
#   Options: [2400: 0, 9600: 1, 19200: 2, 38400: 3, 57600: 4, 115200: 5, 250000: 6, 500000: 7, 1000000: 8]
baudrate:5

#### Default Touch Mode Language
# Select the language to display on the LCD while in Touch Mode.
# To add/flash a second language copy the required "language_xx.ini" file from "Language Packs" folder
# to the SD root folder. Then preset the reset button to load/flash the copied language file.
#   Options: [primary language (english): 0, secondary language: 1]
language:0

#### Default Touch Mode Colors
# Set colors used in touchscreen mode.
# Select an option from the provide list or set the color (RGB888 format) hex value directly (start with “0x”),
# such as: Red: 0xFF0000, Green: 0x00FF00, Blue: 0x0000FF.
#   Options: [ WHITE: 0,  BLACK: 1,  RED: 2,  GREEN: 3,      BLUE: 4,       CYAN: 5,  MAGENTA: 6,    YELLOW: 7,
#             ORANGE: 8, PURPLE: 9, LIME: 10, BROWN: 11, DARKBLUE: 12, DARKGREEN: 13,    GRAY: 14, DARKGRAY: 15]

## Title background color
title_back_color:1

## Background color
background_color:1

## Font foreground color
font_color:0

## Reminder font color, such as: "No print attached", "Busy processing", etc
reminder_color:2

## Volume status/reminder font color, such as: "Card inserted", "Card removed"
volume_status_color:5

## Backgroud color for X Y Z position display in Status Screen menu
status_xyz_bg_color:15

## List View border color
list_border_color:15

## List View button background color
list_button_bg_color:15

## Color used by the Mesh Editor menu for drawing the mesh with the minimun value in the grid
mesh_min_color:7

## Color used by the Mesh Editor menu for drawing the mesh with the maximum value in the grid
mesh_max_color:2

#### Terminal Text Color Scheme
# Select as color scheme for displaying text in Teminal menu.
#   Options: [Material Dark: 0, Material Light: 1, High Contrast: 2]
#     Material Dark: Dark background with light font color and orange command font color.
#     Material Light: Light background with dark font color and orange command font color.
#     High-Contrast: Black background with white font color and orange command font color.
terminal_color_scheme:0

#### Rotate UI
# Rotate UI by 180 degrees.
#   Options: [enable: 1, disable: 0]
rotate_ui:0

#### Temperature ACK In Terminal
# Show or hide temperature ACK in Terminal menu.
#   Options: [show: 1, hide: 0]
terminal_ack:0

#### Inverted Axes For Move Menu And Manual Leveling Menu
# Invert axis button function in Move menu & Manual Leveling menu in order it matches the actual axis movement.
#
# NOTE: The Y-axis of different printer (move hotbed or move nozzle) move in different directions.
#       So Y-axis leveling invert can't follow up invert_axis[Y_AXIS].
#       We separate a single variable "LY"(Leveling Y-axis) to deal with the y-axis leveling movement direction.
#
#   Format: [X<option> Y<option> Z<option> LY<option>]
#   Options: [enable: 1, disable: 0]
invert_axis:X0 Y0 Z0 LY0

#### Persistent Temperature Info
# Show persistent temperature info on all menus.
#   Options: [enable: 1, disable: 0]
persistent_info:0

#### File List Mode
# Display files in list mode instead of icon mode.
#   Options: [enable: 1, disable: 0]
files_list_mode:1

#### Notification Style For ACK Messages
# Set the notification style to use for displaying the ACK messages which start with 'echo:'.
#
# NOTE: The OFF value is applied to any ACK message type (e.g. even to known echo ACK).
#       It means that any kind of ACK message is silently discarded.
#
#   Options: [OFF: 0, POPUP: 1, TOAST: 2]
#     OFF:   No notification. The message is ignored.
#     POPUP: Display a popup window for user confirmation.
#     TOAST: A non-blocking Toast notification is displayed for few seconds. No user interaction is needed.
ack_notification:1

#### Notification M117
# Display of M117 messages on the notification screen.
#   Options: [enable: 1, disable: 0]
notification_m117:0

#### Emulate M600
# The TFT intercepts the M600 gcode (filament change) and emulates the logic instead of demanding it to Marlin firmware.
#
# NOTE: Enable it, in case Marlin firmware does not properly support M600 on the mainboard.
#
#   Options: [enable: 1, disable: 0]
emulate_m600:1


#--------------------------------------------------------------------
# Marlin Mode Settings (only for TFT24_V1.1 & TFT28/TFT35/TFT43/TFT50/TFT70_V3.0)
#--------------------------------------------------------------------

#### Default Mode
#   Options: [Marlin Mode: 0, Touch Mode: 1]
default_mode:1

#### Serial Always ON
# Keep UART (serial communication) alive in Marlin Mode.
# Allows seamless OctoPrint UART connection to the TFT's UART/serial expansion port no matter which mode the TFT is in.
#   Options: [enable: 1, disable: 0]
serial_always_on:0

#### Default Marlin Mode Background & Font Colors
# Select an option from the provide list or set the color (RGB888 format) hex value directly (start with “0x”),
# such as: Red: 0xFF0000, Green: 0x00FF00, Blue: 0x0000FF.
#   Options: [ WHITE: 0,  BLACK: 1,  RED: 2,  GREEN: 3,      BLUE: 4,       CYAN: 5,  MAGENTA: 6,    YELLOW: 7,
#             ORANGE: 8, PURPLE: 9, LIME: 10, BROWN: 11, DARKBLUE: 12, DARKGREEN: 13,    GRAY: 14, DARKGRAY: 15]

## Marlin Mode background color
marlin_bg_color:1

## Marlin Mode font color
marlin_fn_color:8

#### Marlin Mode Fullscreen Support
# Run Marlin Mode in fullscreen.
#
# NOTE: Disable is recommended for TFT24.
#
#   Options: [enable: 1, disable: 0]
marlin_fullscreen:0

#### Marlin Mode Title Support
# Show title in Marlin Mode.
#   Options: [enable: 1, disable: 0]
marlin_show_title:1

#### Marlin Mode Title
# Text displayed at the top of the TFT in Marlin Mode.
#   Value range: [min: 3, max: 20 characthers]
marlin_title:Marlin Mode

#### Marlin Mode Type
# Select Marlin Mode type.
#   Options: [128x64 Full Graphic LCD: 0, 20x4 Character LCD: 1]
marlin_type:0


#--------------------------------------------------------------------
# RRF Mode Settings
#--------------------------------------------------------------------

####
#   Options: [default Custom Menu: 0, RRF Macros Menu: 1]
rrf_macros_on:0


#--------------------------------------------------------------------
# Printer / Machine Settings
#--------------------------------------------------------------------

#### Hotend Count
#   Value range: [min: 1, max: 6]
hotend_count:1

#### Heated Bed Support
#   Options: [enable: 1, disable: 0]
heated_bed:1

#### Heated Chamber Support
# The TFT will auto-detect if chamber heating is enabled in Marlin firmware.
#   Options: [enable: 1, disable: 0]
heated_chamber:0

#### Extruder Count
#   Value range: [min: 1, max: 6]
ext_count:1

#### Fan Count
#   Value range: [min: 1, max: 6]
fan_count:1

#### Fan Controller Count
#   Value range: [min: 0, max: 2]
fan_ctrl_count:0

#### Bed / Extruder / Chamber Maximum Temperatures
#   Format: [max_temp: T0:<max temp> T1:<max temp> T2:<max temp> T3:<max temp> T4:<max temp> T5:<max temp> BED:<max temp> CHAMBER:<max temp>]
#   Unit: [temperature in °C]
#   Value range: hotend:  [min: 20, max: 1000]
#                bed:     [min: 20, max: 200]
#                chamber: [min: 20, max: 100]
max_temp:T0:275 T1:275 T2:275 T3:275 T4:275 T5:275 BED:150 CHAMBER:60

#### Cold Extrusion Minimum Temperature
# Minimum temperature need to extrude/retract. Any extrude/retract below this temperature will be prevented.
#   Unit: [temperature in °C]
#   Value range: [min: 20, max: 1000]
min_temp:180

#### Fan Maximum PWM Speed
# Set minimum and maximum fan speed allowed by the printer.
#   Format: [fan_max: F0:<max PWM> F1:<max PWM> F2:<max PWM> F3:<max PWM> F4:<max PWM> F5:<max PWM> CtL:<max PWM> CtI:<max PWM>]
#   Unit: [PWM]
#   Value range: [min: 25, max: 255]
fan_max:F0:255 F1:255 F2:255 F3:255 F4:255 F5:255 CtL:255 CtI:255

#### Machine Size / Build Area
# The TFT will auto-detect the machine size (min and max) in Marlin firmware (requires enabling `M115_GEOMETRY_REPORT`
# in Configuration_adv.h in Marlin firmware).
#   Format: [size_min: X<minimum distance> Y<minimum distance> Z<minimum distance>]
#           [size_max: X<maximum distance> Y<maximum distance> Z<maximum distance>]
#   Unit: [distance in mm]
#   Value range: [min: -2000, max: 2000]
size_min:X0 Y0 Z0
size_max:X235 Y235 Z250

#### Default X & Y Move Speeds/Feedrates
# Move speeds used in move menu to move X and Y axes.
#   Format: [move_speed: S<feedrate> N<feedrate> F<feedrate>]
#   Unit: [feedrate in mm/min]
#   Value range: [min: 10, max: 12000]
xy_speed:S1000 N3000 F5000

#### Default Z Speeds/Feedrates
# Move speeds used in move menu to move Z axis.
#   Format: [move_speed: S<feedrate> N<feedrate> F<feedrate>]
#   Unit: [feedrate in mm/min]
#   Value range: [min: 10, max: 12000]
z_speed:S500 N1000 F2000

#### Default Extruder Speeds/Feedrates
# Speed settings used to extrude/retract.
#   Format: [ext_speed: S<feedrate> N<feedrate> F<feedrate>]
#   Unit: [feedrate in mm/min]
#   Value range: [min: 10, max: 12000]
ext_speed:S60 N600 F1200

#### Auto Save Load Leveling Data
# The TFT will auto-detect if Auto Bed Level is available.
# Enable this will send "M500" after "G29" to store leveling value and send "M420 S1"
# to enable leveling state after startup.
#   Options: [enable: 1, disable: 0]
auto_load_leveling:1

#### TouchMI Settings (on ABL menu)
# Enable this option for settings TouchMI sensor on ABL Menu (Init, Z Offset, Save, Test).
#   Options: [enable: 1, disable: 0]
touchmi_sensor:0

#### Onboard / Printer SD Card Support
# On Marlin firmware, the TFT will auto-detect Onboard SD Card.
# Auto-detect is not available for other firmwares like Smoothieware.
#   Options: [enable: 1, disable: 0, auto-detect: 2]
onboard_sd_support:2

#### M27 Printing Status Refresh Time
# M27 printing status refresh time (this will be used if SD_AUTOREPORT is not detected by the TFT).
#   Unit: [time in seconds]
#   Value range: [min: 1, max: 100]
M27_refresh_time:3

#### M27 Always Active
# Keep polling M27 even if not printing.
#   Options: [enable: 1, disable: 0]
M27_always_active:1

#### Long File Names Support
# On Marlin firmware, the TFT will auto-detect Long File Name support.
# Auto-detect is not available for other firmwares like Smoothieware.
#   Options: [enable: 1, disable: 0, auto-detect: 2]
long_filename_support:2

#### Fan Speed As Percentage
# Show fan speed as percentage. If disabled fan speeed will be displayed as PWM values.
#   Options: [enable: 1, disable: 0]
fan_speed_percent:1

#### Pause Settings
# These settings are used when a print is paused.

## Pause Retract Length
#   Format: [pause_retract: R<retract length> P<resume purge length>]
#   Unit: [length in mm]
#   Value range: [min: 0, max: 20]
pause_retract:R15 P16

## Pause XY Position
# NOTE: It MUST BE a value >= 0 for a Cartesian printer.
#       It MUST BE a value <= 0 for a Delta printer.
#
#   Format: [pause_pos: X<position> Y<position>]
#   Unit: [position in mm]
#   Value range: [min: -2000, max: 2000]
pause_pos:X10 Y10

## Pause Z Raise
# Raise Z axis this much relative to the current layer height.
#   Unit: [distance in mm]
#   Value range: [min: 0, max: 2000]
pause_z_raise:10

## Pause Feed Rate
# Feedrate to use when moving an axis when printing is paused.
#   Format: [pause_feedrate: XY<feedrate> Z<feedrate> E<feedrate>]
#   Unit: [feedrate in mm/min]
#   Value range: [min: 10, max: 12000]
pause_feedrate:XY6000 Z6000 E600

#### Leveling Settings
# These settings are used for leveling.

## Leveling Edge Distance (Manual Leveling)
# Inset distance from bed edges. This distance is added to minimum X & Y bed coordinates and
# subtracted from maximum X & Y bed coordinates to calculate manual leveling points.
#   Unit: [distance in mm]
#   Value range: [min: 0, max: 2000]
level_edge_distance:20

## Z Position (Manual, Mesh Leveling, Probe/Home Offset and Mesh Tuner)
# For manual leveling and MBL, lower z axis to this absolute position after reaching a leveling point.
# For Probe/Home Offset and ABL in Mesh Tuner, raise z axis by this relative position after reaching a leveling point.
#   Unit: [position in mm]
#   Value range: [min: 0, max: 2000]
level_z_pos:0.2

## Leveling Z Raise (Manual and Mesh Leveling)
# Raise Z this much before moving to another point during leveling/probing procedures.
#   Unit: [distance in mm]
#   Value range: [min: 0, max: 2000]
level_z_raise:10

## Leveling Feed Rate (Manual and Mesh Leveling)
# Feedrate to use when moving an axis during leveling/probing procedures.
#   Format: [level_feedrate: XY<feedrate> Z<feedrate>]
#   Unit: [feedrate in mm/min]
#   Value range: [min: 10, max: 12000]
level_feedrate:XY6000 Z6000

#### XY Offset Probing Support (Probe Offset)
# Used by the Probe Offset menu for the Z offset tuning process.
# It allows to move the nozzle to the defined (on Marlin firmware) XY probing point set for homing.
# The nozzle is moved applying the XY probe offset configured on Marlin firmware.
#
# NOTE: Disable it in case the XY probing point set for homing is not reacheable by the nozzle
#       (e.g. due to HW limitations/constraints or printer specific configuration).
#
#   Options: [enable: 1, disable: 0]
xy_offset_probing:1

#### Z Raise Probing Support (Probe Offset, Mesh Editor)
# Used by the Probe Offset / Mesh Editor menu for the Z offset / Z height tuning process.
# Z height to raise / drop after homing (G28) before starting to probe a point.
#
# NOTE: It MUST BE a value >= 0 (e.g. 20) for a Cartesian printer to avoid crashing into the bed.
#       It MUST BE a value <= 0 (e.g. -50) for a Delta printer to avoid crashing into the top of the tower.
#
#   Unit: [distance in mm]
#   Value range: [min: -2000, max: 2000]
z_raise_probing:20

#### Z Steppers Auto-Alignment
# It allows to align multiple Z stepper motors using a bed probe by probing one position per stepper.
# Enable this setting to show icon on ABL menu which allows to run G34 command (it requires
# Z_STEPPER_AUTO_ALIGN enabled in Configuration_adv.h in Marlin firmware).
#
# NOTE: Only for Marlin printers with one stepper driver per Z stepper motor and no Z timing belt. Also requires a BLTouch.
#
#   Options: [enable: 1, disable: 0]
z_steppers_alignment:0

#### Preheat Temperatures
#   Format: [preheat_nameX:<name>]
#           [preheat_tempX:T<hotend temp> B<bed temp>]
#   Unit: [temperature in °C]
#   Value range: name:        [min: 3, max: 20 characters]
#                hotend temp: [min: 20, max: 1000]
#                bed temp:    [min: 20, max: 200]
preheat_name1:PLA
preheat_temp1:T200 B60

preheat_name2:PETG
preheat_temp2:T240 B70

preheat_name3:ABS
preheat_temp3:T230 B90

preheat_name4:WOOD
preheat_temp4:T170 B50

preheat_name5:TPU
preheat_temp5:T220 B50

preheat_name6:NYLON
preheat_temp6:T250 B90


#--------------------------------------------------------------------
# Power Supply Settings (if connected to TFT controller)
#--------------------------------------------------------------------

#### Default Power Supply Mode
# Enable auto shutdown when hot-end temperature becomes below target value.
#   Options: [enable: 1, disable: 0, auto-detect: 2]
ps_on:0

#### Power Supply Active HIGH
# Enable the logic of the mode on HIGH signal.
#   Options: [enable: 1, disable: 0]
ps_on_active_high:1

#### Power Supply Auto Shutdown Temperature
# Maximum hot-end temperature of automatic shut down after printing (only if auto power is enabled).
# Wait for the hot-end temperature to be lower than this value, then turn off the power automatically.
#   Unit: [temperature in °C]
#   Value range: [min: 20, max: 1000]
auto_shutdown_temp:50


#--------------------------------------------------------------------
# Filament Runout Settings (if connected to TFT controller)
#--------------------------------------------------------------------

#### Default Filament Runout Sensor
# Enable filament runout sensor.
#   Options: [enable: 1, disable: 0, smart: 2]
fil_runout:0

#### Inverted Filament Runout Logic
# Invert the logic of the sensor.
#   Options: [true: 1, false: 0]
fil_runout_inverting:1

#### Filament Noise Threshold
# Pause print when filament runout is detected for this time period.
#   Unit: [time in miliseconds]
#   Value range: [min: 10, max: 1800]
fil_noise_threshold:100

#### Smart Filament Runout Detection
# For use with an encoder disc that toggles runout pin as filament moves.
#   Unit: [distance in mm]
#   Value range: [min: 1, max: 50]
fil_runout_distance:7


#--------------------------------------------------------------------
# Power Loss Recovery & BTT UPS Settings (if connected to TFT controller)
#--------------------------------------------------------------------

#### Default Power Loss Recovery Mode
# Enable power loss recovery.
# Disable to reduce the loss of SD card or U disk.
#   Options: [enable: 1, disable: 0]
pl_recovery_en:1

#### Power Loss Recovery Homing
# Home before power loss recovery.
#   Options: [enable: 1, disable: 0]
pl_recovery_home:0

#### Power Loss Z Raise
# Raise Z axis on resume (on power loss with UPS).
#   Unit: [distance in mm]
#   Value range: [min: 0, max: 2000]
pl_z_raise:10

#### BTT UPS Support
# Enable BTT UPS.
#   Options: [enable: 1, disable: 0]
btt_mini_ups:0


#--------------------------------------------------------------------
# Other Device-Specific Settings
#--------------------------------------------------------------------

#### Sounds / Buzzer
# Set sound ON or OFF.
#
# NOTE: Error messages from printer will always play the error sound.
#
# Parameters:
#   touch_sound:  Enable/disable this to control touch feedback sound.
#   toast_sound:  Enable/disable this to control all toast notification sounds.
#   alert_sound:  Enable/disable this to control all popup and alert sounds
#                 like print finish alert, dialog sound etc.
#   heater_sound: Enable/disable this to control acoustic feedback when temperature
#                 has reached the desired value on heaters (nozzle, bed, chamber).
#
#   Options: [enable: 1, disable: 0]
touch_sound:1
toast_sound:1
alert_sound:1
heater_sound:1

#### Knob LED Color (only for TFT28 V3.0, TFT35 E3.0, TFT43 V3.0, TFT50 V3.0 & TFT70 V3.0)
#   Options: [OFF: 0, WHITE: 1, RED: 2, ORANGE: 3, YELLOW: 4, GREEN: 5, BLUE: 6, INDIGO: 7, VIOLET: 8]
knob_led_color:0

#### Knob Idle State (only for TFT28 V3.0, TFT35 E3.0, TFT43 V3.0, TFT50 V3.0 & TFT70 V3.0)
#   Options: [true: 1, false: 0]
knob_led_idle:1

#### Knob LED Pixels (only for TFT43 V3.0, TFT50 V3.0 & TFT70 V3.0)
# Set the number of LEDs in the strip connected the "Neopixel" port of TFT.
# It shares the same signal line as "knob_led". 0 means the default number in TFT hardware,
# Greater than 0 means the number of LEDs in the strip.
#   Value range: [min: 0, max: 200]
neopixel_pixels:0

#### Default LCD Brightness Levels (only for TFT28 V3.0, TFT35 E3.0, TFT43 V3.0, TFT50 V3.0 & TFT70 V3.0)
# Default brightness values for LCD.

## Default display brightness
#   Options: [(off) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 (full)]
lcd_brightness:11

## Display brightness when device is idle
#   Options: [(off) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 (full)]
lcd_idle_brightness:5

#### Default LCD Idle Time (only for TFT28 V3.0, TFT35 E3.0, TFT43 V3.0, TFT50 V3.0 & TFT70 V3.0)
#   Options: [Off: 0, 5sec: 1, 10sec: 2, 30sec: 3, 1min: 4, 2min: 5, 5min: 6, 10min: 7]
lcd_idle_delay:4


#--------------------------------------------------------------------
# Custom Gcode Commands
#--------------------------------------------------------------------

#### Custom Gcode Commands
# Up to 15 custom gcode commands that will be available in the Custom menu.
#
# Usage:
#   To enable a custom command, remove '#' at the begining of custom commands label & gcode.
#   To disable a custom command, add '#' at the begining of custom commands label & gcode.
#
# NOTE: If the values are left blank then default name and gcode will be used.
#
#   Value range: label: [min: 3, max: 75 characters]
#                gcode: [min: 3, max: 75 characters]
custom_label_1:Disable steppers
custom_gcode_1:M84\n
custom_label_2:Init sd card
custom_gcode_2:M21\n
custom_label_3:Release sd card
custom_gcode_3:M22\n
custom_label_4:Restore leveling
custom_gcode_4:M420 S1\n
custom_label_5:Save to EEPROM
custom_gcode_5:M500\n
custom_label_6:Restore from EEPROM
custom_gcode_6:M501\n
custom_label_7:EEPROM defaults
custom_gcode_7:M502\n
#custom_label_8:custom8
#custom_gcode_8:M105\n
#custom_label_9:custom9
#custom_gcode_9:M105\n
#custom_label_10:custom10
#custom_gcode_10:M105\n
#custom_label_11:custom11
#custom_gcode_11:M105\n
#custom_label_12:custom12
#custom_gcode_12:M105\n
#custom_label_13:custom13
#custom_gcode_13:M105\n
#custom_label_14:custom14
#custom_gcode_14:M105\n
#custom_label_15:custom15
#custom_gcode_15:M105\n


#--------------------------------------------------------------------
# Start, End & Cancel Gcode Commands
#--------------------------------------------------------------------

#### Default Start Gcode Status
#   Options: [enable: 1, disable: 0]
start_gcode_enabled:0

#### Default End Gcode Status
#   Options: [enable: 1, disable: 0]
end_gcode_enabled:0

#### Default Cancel Gcode Status
#   Options: [enable: 1, disable: 0]
cancel_gcode_enabled:0

#### Start Gcode
# This gcode will runs before starting a print if `start_gcode_enabled` is enabled.
#   Value range: [min: 3, max: 75 characters]
start_gcode:G28 XY R20\n

#### End Gcode
# This gcode will runs after a print is completed if `end_gcode_enabled` is enabled.
#   Value range: [min: 3, max: 75 characters]
end_gcode:M104 S0\nM140 S0\nM107\nM18\n

#### Cancel Gcode
# This gcode will runs when a print is canceled if `cancel_gcode_enabled` is enabled.
#   Value range: [min: 3, max: 75 characters]
cancel_gcode:M104 S0\nM140 S0\nG28 XY R10\nM107\nM18\n

 

a+

Modifié (le) par Jeanmath
Lien vers le commentaire
Partager sur d’autres sites

Bon navré on ne se comprend pas ... Mes excuses. je me suis mal expliqué ou j'ai compris a coté.

Il y a 1 heure, Jeanmath a dit :

Je viens d 'essayer en dé-commentant

Citation
Citation

#define FILAMENT_MOTION_SENSOR

 

cela ne fonctionne pas.

D’après ton 1er message c’était activé :

Le 19/10/2021 at 21:53, Jeanmath a dit :

    #define FILAMENT_MOTION_SENSOR

et je propose de tester de le désactiver (donc de le commenter ).

Or là, tu me dit me dit que du le dé-commente (donc du l'active ) ...  ???

Passe tes fichiers Configuration.h et Configuration_Adv.h (dernière version) cela évitera les erreurs de compréhension et/ou de copier coller !

 

Il y a 1 heure, Jeanmath a dit :

pour ta deuxième piste, je ne comprend pas trop ce que je dois modifier . ce qui est en gras dans ta citation ?

J'ai mis en gras ce qui me semble (mais je ne suis pas sur)  pouvoir influencer le bon fonctionnement du capteur de filament.

Mais, en principe, pour un fonctionnement correct du BTT TFT 35, il faut que le marlin respecte tout les points mentionné dans le config.ini.  

Il y a 1 heure, Jeanmath a dit :

# In order the TFT firmware is able to provide all of its functionalities/features,
# ensure that the following options are enabled in Marlin firmware.

Modifié (le) par PPAC
  • Merci ! 1
Lien vers le commentaire
Partager sur d’autres sites

oups pardon, c'est moi qui me suis mal exprimé.

'ffectivement il était décommenté (activé) du coup je l' ai commenté (désactivé), et ca n' pas marché.

j ai ensuite activé dans configuration.adv ce que  tu avais mis en gras. cela ne marche pas. lorsque l'écran est en mode tactile:

 je viens d'essayer en passant l’écran en mode marlin. ça marche (la logique est inversée  mais je vais corriger ). j aurais du essayer avant de faire les modifs mais bon...

ci joint la config + l' adv

merci !

Configuration_adv.h Configuration.h

Modifié (le) par Jeanmath
Lien vers le commentaire
Partager sur d’autres sites

il y a 30 minutes, Jeanmath a dit :

je viens d'essayer en passant l’écran en mode marlin. ça marche (la logique est inversée  mais je vais corriger ).

cool !

Donc après avoir corriger la logique, 

il ne reste plus qu'a activer dans le marlin tout ce qui se trouve demandé par le fichier config.ini et là tu devrais avoir le truc qui fonctionne aussi dans l'interface graphique du BTT FTF 35.

et je pense surtout a dans Configuration_adv.h

#define HOST_ACTION_COMMANDS
#if ENABLED(HOST_ACTION_COMMANDS)
  #define HOST_PROMPT_SUPPORT
  //#define HOST_START_MENU_ITEM  // Add a menu item that tells the host to start
#endif

et 

#define EMERGENCY_PARSER

qui actuellement ne sont pas activé.

Edit

Tiens c'est pas problématique mais dans ton configuration.h tu a des doublons et cela peut prêter a confusion pour une modification ultérieur (si tu ne fait pas recherche pour vérifier qu'il n'y a pas une autre ligne qui fait ou non la même chose ...)

Ex

ligne 1843 : #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER // modifié par JEANMATH 

ligne 1993 : //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

Ou 

ligne 1765 : #define ENCODER_PULSES_PER_STEP 4 // modifié par JEANMATH

ligne 1772 : #define ENCODER_PULSES_PER_STEP 4 // modifié par JEANMATH

...

Lien vers le commentaire
Partager sur d’autres sites

Le 19/10/2021 at 21:53, Jeanmath a dit :

je n 'ai pas trouve de schéma spécifique à la 1.2

Il existe pourtant : https://github.com/bigtreetech/BIGTREETECH-SKR-PRO-V1.1/blob/master/SKR-PRO-V1.2/manual/SKR-PRO-V1.2PIN.PDF

🙂

  • Merci ! 2
Lien vers le commentaire
Partager sur d’autres sites

A tu bien corrigé la logique pour le capteur de filament ?

Cela fonctionne t'il lors d'une impression avec l’écran en mode Marlin ?

Peut tu nous passer ta dernière version des fichiers de configuration*.h ?

Lien vers le commentaire
Partager sur d’autres sites

Le détecteur de fin de filament n'étant qu'un «bête» interrupteur, on peut vérifier son fonctionnement via le G-code M119 😉

🙂

Lien vers le commentaire
Partager sur d’autres sites

Il y a 16 heures, Jeanmath a dit :

cela fonctionne... uniquement en mode marlin

là pour moi c'est surement (mais je peux me tromper) une histoire de version du firmware de l’écran où de bon paramétrage du marlin pour permettre le bon fonctionnement de l’écran (mais si tu a fait comme demandé dans le config.ini là je ne sais plus... ).

Tu a regardé si tu te trouve pas avec une version du firmware de l’écran ayant une "issues" connue pour le capteur de fin de filament connecté a la carte mère ?

ex : en parcourant le github pour ton écran ? https://github.com/bigtreetech/BTT-TFT35-E3-V3.0 et/ou https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware

Exemple (mais pas forcement le problème ici, ce genre d'histoire : https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/2040#issuecomment-872560111 )

Modifié (le) par PPAC
Lien vers le commentaire
Partager sur d’autres sites

Créer un compte ou se connecter pour commenter

Vous devez être membre afin de pouvoir déposer un commentaire

Créer un compte

Créez un compte sur notre communauté. C’est facile !

Créer un nouveau compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
  • Sur cette page :   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
  • YouTube / Les Imprimantes 3D .fr

×
×
  • Créer...