Mini IR board on CR-10



  • I got the Mini IR board on my Creality CR-10
    I have the mesh bed leveling working fine.
    But i would like to use the sensor as Z endstop .
    I am guessing i should have the bed center as home for starter
    so i dont go outside the bed when homing Z
    any sugestions ?

    ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Oct 28 2017 00:02:03 GMT+0200 (Mitteleuropäische Sommerzeit)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves
    M555 P2 ; Set firmware compatibility to look like Marlin
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X400 Y400 Z400 S0 ; Set axis maxima
    M561 ; Cancel any existing bed compensation
    G29 S1 ; load hight map

    ; Endstops
    M574 X1 Y1 Z1 S1 ; Define active high microswitches
    M558 P1 X0 Y0 Z0 H5 F120 T12000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
    G31 P500 X0 Y0 Z1.660 ; Set Z probe trigger value, offset and trigger height
    M557 X50:350 Y50:350 S100 ; Define mesh grid

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forkwards
    M92 X80 Y80 Z400 E906 ; Set steps per mm
    M350 E32 I1 ; Configure microstepping with interpolation
    M350 X32 Y32 Z32 I1 ; Configure microstepping with interpolation
    M566 X1200 Y1200 Z24 E300 ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000 Y30000 Z600 E3000 ; Set maximum speeds (mm/min)
    M201 X500 Y500 Z100 E2500 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M143 S265 ; Set maximum heater temperature to 265C
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1

    ; Tools
    G10 P0 S[extruder0_temperature] R[extruder0_temperature]
    G10 P1 S[extruder0_temperature] R[extruder0_temperature]

    My tool definitions are (Note I'm using Fan 1, you probably don't need/want that):
    M563 P0 D0 H1 ;F1 ; Define tool 0
    G10 P0 S0 R0 X0 Y0 ; Set tool 0 operating and standby temperatures
    M307 H1 A326.1 C168.0 D6.1 B0 ; PID settings for H1
    M563 P1 D1 H1 ;F1 ; Define tool 1
    G10 P1 S0 R0 X0 Y0 ; Set tool 1 operating and standby temperatures

    ; Network
    M550 PMichael I Jensen 3D Print ; Set machine name
    M552 S1 ; Enable network
    M587 S"SSID" P"PASSWORT" ; Configure access point. You can delete this line once connected
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Fans
    M106 P0 S1 I0 F500 H1 T50; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S255 ;MCU fan thermostatic

    ; Custom settings
    ;M912 P0 S-13 ; calibrate MCU Temp

    ; Miscellaneous
    M501 ; with PID Tune data
    T0 ; Select first tool

    ; bed.g
    ; called to perform automatic bed compensation via G32
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Nov 02 2017 19:05:45 GMT+0100 (Rom, normaltid)

    ; Clear any bed transform
    M561

    ; Home all axes
    G28

    ; Probe the bed at 4 points
    G30 P0 X50 Y50 H0 Z-99999
    G30 P1 X50 Y350 H0 Z-99999
    G30 P2 X350 Y350 H0 Z-99999
    G30 P3 X350 Y50 H0 Z-99999
    G30 P4 X200 Y200 H0 Z-99999 S


  • administrators



  • How did it go OP? I am upgrading my CR-10 this weekend


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.