MPX3 board + DMS DP5 printer

2

Comments

  • G32, G1 Z0 is Z0 = m114 - 0.00

    that is clear. Question is more if the real Z is also 0.

    Also you missed answer to 2. 

    We are starting at the basics not printing. I do not know what you all do in your printer code. If you have a G92 Z-2.3 it will shift 2.3mm up for example, so first check if manual commands do what they are supposed to do.
  • After print:
    G28
    G1 Z0
    it does nothing - it think it has z at 0
    G1 Z2 goes 2 up
    G1 Z-2 does nothing
    homing Z stops on 2.3 without probe trigger



  • edited April 2017
    g92 does nothing... (any parameter x, y, z)


  • G92 only influences commands issued later on.

    homing Z stops on 2.3 without probe trigger

    is a problem. It is configured so z min endstop is identical with with z probe, meaning if it triggers M119 shows z min AND z probe high (please verify). Homing has to go down until z probe triggers. There is no reason to stop before except cross talk but that would not happen every time same height. Is there any error message in log? sometimes it just stops because enabling probe is not possible at current position and you need to use homign order with preheat so you can set probing position. Then you should see xy move z probe activation, z home, up second z home, disable z probe go to xyz home position defined (which can also be > 0). How far do you come?
  • Stop before trigger: there is no message in the log. It just stops, no info in the log.

    Homing with preheat: I have never used this - how to activate? 
    I have found M109 S[temperature] ; set the extruder temp and wait - is that OK?

    M119 will test when back home. 
    Thanks!
  • In config tool you set homing order and 2 options are with preheat (which you set to 0°c) - these allow setting the homing position. 

    DO you have proper z length set? z homing only stops mid way if z length is too short so it never reaches then endstop. Here multiple 
    G28 Z0
    would at some point succeed or of course correct z length.
  • 17:40:52.342 : g29 s2
    17:40:52.470 : Info:Autoleveling disabled
    17:40:54.113 : Z-probe:1.022 X:0.00 Y:0.00
    17:40:56.748 : Z-probe:1.251 X:150.00 Y:0.00
    17:41:00.128 : Z-probe:1.145 X:0.00 Y:180.00
    17:41:00.128 : Z-probe average height:1.14
    17:41:00.129 : Adjusted z origin
    17:41:00.129 : Info:Autoleveling enabled
    17:41:01.127 : X:-0.00 Y:180.00 Z:1.186 E:0.0000
    17:41:17.618 : G28 X0
    17:41:18.620 : X:-0.00 Y:180.00 Z:1.186 E:0.0000
    17:41:19.003 : G28 Y0
    17:41:25.188 : X:-0.00 Y:-0.00 Z:1.186 E:0.0000
    17:41:26.715 : G28 Z0
    17:41:26.923 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    17:41:39.437 : m119
    17:41:39.501 : endstops hit: x_min:L y_min:L Z-probe state:H
    Thats OK, isnt it.
    G1 Z0 goes to real Z0 (trigger H)
    PRINT - still + 2mm...
    RESET (emergency stop):
    17:47:14.126 : FIRMWARE_NAME:Repetier_1.0.0dev FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 REPETIER_PROTOCOL:3
    17:47:14.126 : Cap:PROGRESS:1
    17:47:14.126 : M155 S1
    17:47:14.126 : Cap:AUTOREPORT_TEMP:1
    17:47:14.126 : Cap:EEPROM:1
    17:47:14.126 : Cap:AUTOLEVEL:1
    17:47:14.126 : Cap:Z_PROBE:1
    17:47:14.126 : Cap:SOFTWARE_POWER:1
    17:47:14.126 : Cap:TOGGLE_LIGHTS:0
    17:47:14.126 : Cap:PAUSESTOP:1
    17:47:14.126 : Cap:PREHEAT:1
    17:47:14.126 : Printed filament:0.32m Printing time:0 days 0 hours 36 min
    17:47:14.127 : PrinterMode:FFF
    17:47:14.127 : Info:No case lights
    17:47:14.127 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    17:47:14.127 : DebugLevel:6
    17:47:14.127 : Config:Baudrate:115200
    17:47:14.127 : Config:InputBuffer:127
    17:47:14.127 : Config:NumExtruder:1
    17:47:14.128 : Config:MixingExtruder:0
    17:47:14.128 : Config:HeatedBed:1
    17:47:14.128 : Config:SDCard:1
    17:47:14.128 : Config:Fan:1
    17:47:14.128 : Config:Fan2:0
    17:47:14.128 : Config:LCD:1
    17:47:14.128 : Config:SoftwarePowerSwitch:1
    17:47:14.128 : Config:XHomeDir:-1
    17:47:14.128 : Config:YHomeDir:-1
    17:47:14.128 : Config:ZHomeDir:-1
    17:47:14.128 : Config:XHomePos:0.00
    17:47:14.128 : Config:YHomePos:0.00
    17:47:14.128 : Config:ZHomePos:0.000
    17:47:14.128 : Config:SupportG10G11:1
    17:47:14.128 : Config:SupportLocalFilamentchange:1
    17:47:14.129 : Config:CaseLights:0
    17:47:14.129 : Config:ZProbe:1
    17:47:14.129 : Config:Autolevel:1
    17:47:14.129 : Config:EEPROM:1
    17:47:14.129 : Config:PrintlineCache:16
    17:47:14.129 : Config:JerkXY:20.00
    17:47:14.129 : Config:KeepAliveInterval:2000
    17:47:14.129 : Config:JerkZ:0.40
    17:47:14.129 : Config:RetractionLength:3.00
    17:47:14.129 : Config:RetractionLongLength:13.00
    17:47:14.129 : Config:RetractionSpeed:40.00
    17:47:14.129 : Config:RetractionZLift:0.00
    17:47:14.130 : Config:RetractionUndoExtraLength:0.00
    17:47:14.130 : Config:RetractionUndoExtraLongLength:0.00
    17:47:14.130 : Config:RetractionUndoSpeed:20.00
    17:47:14.130 : Config:XMin:0.00
    17:47:14.130 : Config:YMin:0.00
    17:47:14.130 : Config:ZMin:0.00
    17:47:14.130 : Config:XMax:200.00
    17:47:14.130 : Config:YMax:200.00
    17:47:14.130 : Config:ZMax:255.00
    17:47:14.130 : Config:XSize:200.00
    17:47:14.130 : Config:YSize:200.00
    17:47:14.130 : Config:ZSize:255.00
    17:47:14.130 : Config:XPrintAccel:1000.00
    17:47:14.130 : Config:YPrintAccel:1000.00
    17:47:14.131 : Config:ZPrintAccel:100.00
    17:47:14.131 : Config:XTravelAccel:1000.00
    17:47:14.131 : Config:YTravelAccel:1000.00
    17:47:14.131 : Config:ZTravelAccel:100.00
    17:47:14.131 : Config:PrinterType:Cartesian
    17:47:14.131 : Config:MaxBedTemp:120
    17:47:14.132 : Config:Extr.1:Jerk:20.00
    17:47:14.132 : Config:Extr.1:MaxSpeed:50.00
    17:47:14.133 : Config:Extr.1:Acceleration:5000.00
    17:47:14.133 : Config:Extr.1:Diameter:0.00
    17:47:14.133 : Config:Extr.1:MaxTemp:275
    17:47:14.134 : X:0.00 Y:0.00 Z:0.000 E:0.0000

    RESUME: 
    now home Z gives real triggered Z0. 
    G28 Z0 works
    But still adds some height when printing.
    Do not know, what else to do. I also tried G92 after succesful home to Z0... :-(


  • 17:41:39.501 : endstops hit: x_min:L y_min:L Z-probe state:H

    Where is z_min ? 

    My printer with z min = z endstop returns

    endstops hit: x_min:L y_max:L z_min:L Z-probe state:L

    So I guess you have no z min endstop defined, so it is not following the right routine.

    Also G29 is not autoleveling. G32 S2 is!

    So now that you know G28 is at Z=0  what does G1 Z0 does? Does it move 2mm up? If not you should have a look into your gcode what command is causing the 2mm up then.


  • now playing with g30 on different x/y. When almost on the odge opposite x/y home, G30 causes moving UP with error "could not activate z-probe offset due to coordinate constrains... why? almost all bed G30 is OK... because it could be over config set leveling x/y limits?

    "So now that you know G28 is at Z=0  what does G1 Z0 does?": G1 Z0 does nothing...

    I will check gcode now. Thanks.
  • Gcode:

    ; generated by Slic3r 1.34.1-prusa3d-win64 on 2017-04-27 at 22:15:03

    ; external perimeters extrusion width = 0.40mm
    ; perimeters extrusion width = 0.48mm
    ; infill extrusion width = 0.48mm
    ; solid infill extrusion width = 0.48mm
    ; top infill extrusion width = 0.48mm

    M107
    M190 S60 ; set bed temperature and wait for it to be reached
    M104 S200 ; set temperature
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle

    M109 S200 ; set temperature and wait for it to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M82 ; use absolute distances for extrusion
    G92 E0
    G1 Z0.200 F7800.000  //// There is no Z correction set in the slicer.

    It seems that Z sometimes stops on 2mm level without triggering, but after G32 S2 it "recover" again and G1 Z0 functions correctly - it stops on trigger. This behavior is present in print everytime. 

    I tested Z-offset -1.5 mm on slicer, but then Z was 50 mm... really strange behavior.



  • I changed firmware to 0.9.2.9, probe leveling function better, than Dev (same config.h). 

    Printing:
    Prusa Slicer - best result, but when printing, it goes into bed, probably - 2 mm :-) // dev goes + 2mm
    Slicer - good, goes + 2 mm
    Cura - bad, goes + 2 mm

    Frustrated... is it possible that MPX.3 board has failed?

    thnks



  • Nothing sounds like it is a board issue.

     "could not activate z-probe offset due to coordinate constrains...

    yes you have a z probe offset and if that plus position goes outside official area you get this error since it is not possible. 0.92.9 just measures at wrong position insted - if that is better...

    Start gcode looks good and executing only this code whuld leave you on .2 mm above bed.

    Have you checked the missing z_min in M119 response whcih indicates that you do not have z min endstop officially configured?
  • Missing Z_min is peculiar, as I use the same config.h for dev and stable versions. Stable has z_min, dev not. I will double check again - I think sometimes the configuration tool alters some parameters if I switch dev and stable, so I rather edit config.h manually. Or tool alters the config, so I should have two separate configs?
    Thanks.
  • Reinstalled DEV, setup new config with config tool, download complete new code.

    M119: endstops hit: x_min:L y_min:L z_min:L Z-probe state:L
    G32 S2 autoleveling
    G1 Z0 - test Z0 (OK)
    M119: endstops hit: x_min:L y_min:L z_min:L Z-probe state:H

    Print
    M109 S200 ; set temperature and wait for it to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M82 ; use absolute distances for extrusion
    G92 E0
    G1 Z-1.300 F7800.000
    G1 E-2.00000 F2400.00000
    G92 E0

    Print level: approx. +22 mm (!) G1 Z0 is on the same level... :-(





  • But after emergency stop homing Z goes to Z0...
    Reset g92 Z0, then print again (now Z_min is still OK)
    In fact, after bed heating G1 Z5 F5000 - lift nozzle - waits for heating, then prints in the lift nozzle height - does not go down to the Z0.

    G-code:
    M190 S60 ; set bed temperature and wait for it to be reached
    M104 S200 ; set temperature
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle

    M109 S200 ; set temperature and wait for it to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M82 ; use absolute distances for extrusion
    G92 E0
    G1 Z-1.300 F7800.000 (why it should go to Z-1.3, but do nothing?) ***
    G1 E-5.00000 F2400.00000
    G92 E0
    G1 X85.112 Y76.692 F7800.000
    G1 E2.00000 F2400.00000
    G1 F1200
    G1 X85.728 Y76.049 E2.02643


  • I experimented with changing board from MPX3 to RAMPS 1.4, but x/y movements didnt function well.
    Compiled completely new dev version, chcecked endstops, did G32 S2 autoleveling

    Old Z+2 printing level is still there. Homing Z sets the correct Z0...  The Z-1.3 was my mistake, was set in the slicer.

    So after all experimenting there is exact the same Z+2 print level as in the beginning, so I would gess it is something connected with the MPX board in the firmware setting... What do you think?


  • See what you wrote:
    M119: endstops hit: x_min:L y_min:L z_min:L Z-probe state:L
    G32 S2 autoleveling
    G1 Z0 - test Z0 (OK)
    M119: endstops hit: x_min:L y_min:L z_min:L Z-probe state:H

    Do you see the error? Z probe changes here and z_min is now present but differs. That tells me that they are not using the same pin as required for your problem. You need both and most must always be in sync or config is wrong. It must be same pin and inversion, only then the special handling including z probe height while homing takes place.

    What I wonder is that homing and autoleveling work as you said and printing not. I mean printing is just homing and then it prints on that Z=0 level if you do not modify it with G92 or with slicers z correction.
  • I see, the error (L/H) was caused by position of the probe - on the bed edge, so it did not triggered. I set up small y offset, and it is OK.

    You are right, I do not modify Z, it is 0 in slicer (checked all slicers in Repetier Host V2.0.0) but it still moves before print +2mm.

    Then I home x/y/z, everything works... G1 Z0 goes to Z0... peculiar.

    What I noticed, that SOMETIMES homing X also moves z a little up - maybe that 2mm... this is why I thought that the board is not working properly.

    What else to do?
  • In config tool there is an option "Pre raise Z axis" - make sure it is set to never. That might cause a hop up but printer would know z is not 0 then.
  • I have  

    #define ZHOME_PRE_RAISE 0
    #define ZHOME_PRE_RAISE_DISTANCE 0


  • How to proceed? Is there some config.h I could use to test the printer, or what you would recommend?

    I think somewhere in the firmware setting (I tested all slicers in R host) is command to rise the level and printer does not go to the Z0 then. 
    When I stop printing, G1 Z0 works, and Z is homing on Z0.

    Thanks.
  • "I see, the error (L/H) was caused by position of the probe - on the bed edge, so it did not triggered. I set up small y offset, and it is OK."
    How can same pin trigger differently. I'm still not convinced you are doing this right and the error might still be in wrong z min definition.
  • edited May 2017
    This was caused by Y coordinate, that probe was not 100% above bed, so did not triggered. It triggers, when 100% of the probe area is above the bed. I had to setup Y offset to asure right position above bed and reliable triggering.
  • Ok, so can you summarize the new position or is it now solved. I lost somehow track and last I read is G28 Z0 is at Z=0 so homing seems to work which was initial problem. If it now prints wrong height send the gcodes manually until you get wrong height and then let us know what it is moving to wrong Z.
  • Yes, G1 Z0  works, only one problem which lasts is printing in wrong height.
    OK, I will send gcodes manualy and will let you know. Thanks.
  • Gcode manually:

    M107
    M190 S65 ; set bed temperature
    M104 S205 ; set temperature
    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle

    M109 S205 ; wait for temperature to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M82 ; use absolute distances for extrusion
    G92 E0
    G1 Z0.300 F7800.000  ***** THIS is bad, as it stops above bed. Do not understand, why Z0.3, as Z-probe height is 0, Coating thickness is 0


  • Ok, do you have ALWAYS_CHECK_ENDSTOPS 0 ? Since you were at 5mm and if you go down it will stop as soon as z probe triggers otherwise. So could it be that 2.3mm is your z probe height?
  • I think I have found it - 0.3 is first layer height, so I think I must recalculate Z stepping, as I used data from the seller, but its data  could be wrong. Printer goes to the first layer, but it is not right height, as stepping is wrong, so the height is larger. When I stop printing and go G1 Z0, it is still 0.3, and it is correct, that I cannot go over this height down to Z0. Then, when I reset the printer, G1 Z0 goes to Z0 which is real Z0. So everything is working right, but I have to recalibrate real Z step - probably the data from seller are wrong (or the board gives wrong stepping, I must to find out).
    What do you think, is this possibly right?
    Thanks for your patience.
  • If you mean .3mm gets executed as 2.3mm. Well with factor 8 it could be different microstepping. Would also mean the first 5mm move up would move 40mm. So is that the case? I mean just home and send G1 Z50 and measure if it is 50mm or 400mm - that is easy to find out. Steps are constant over height. If not check previous answer from me with alternative reason.
  • It seems I have to "deep dive" to mechanics, as seller is unable to tell me appropriate info for setup (delivered with Merlin). I will investigate, setup and let you know results. Thanks.
Sign In or Register to comment.