inconsistant operation



  • Hello, I finished installing and changing configuring 2.01 rtos with dwc 1.21.1.
    (1) Printer will homeall one time and not another. It won't home from slicer gcode cura steam engine 1501.
    when it doesn't home correct I get the G0/G1 error. But than another time it just succeeds.
    (2) I'm getting a bad command M280 P7 S90, but not the s10 to deploy during home z.
    these mcodes are now only in deploy,rectract.g m401,m402 are listed in homing files.
    Bl touch smart brand name heater 7 expansion header board, probe pin input
    Again probe and homing are working, but half the time with errors not wiring or mechanical failures.

    I included S2 into z lift before x and y homing, also to homeall. I don't lower z after ward.

    (3) Dwc loads gcode file but doesn't display any file info after the uploading status window disappears. Then printer sits with status "printing" after heaters come to temp. I let it sit ten mins and nothing.

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    G31 X-52 Y50 Z.9 P25
    M208 X0 Y-21 Z0 S1 ; Set axis minima
    M208 X305 Y291 Z247 ; Set axis maxim

    ; Endstops
    M574 X1 Y1 S1 ; Set active low endstops
    M574 Z0
    M558 P9 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P600 X0 Y12 Z.96; Set Z probe trigger value, offset and trigger height
    M557 X52:300 Y60:335 S40 ; Define mesh grid
    ; deployprobe.g

    ; generated by self through online research
    ;deploy probe command
    M280 P7 S10 I1

    ; homeX,Y.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

    ; Relative positioning
    G91
    G1 Z5 F3000 S2 ;lift Z 5mm
    G1 X-295 y-302 F1500 S1 ;relative move to x,y -295mm neg dir stop at switch
    G1 X5 Y5 F1000 ;relative back off switch 5mm pos dir
    G1 X-295 Y-302 F360 S1 ;relative move x,y -295mm alliance neg stop at switch slowly
    G90 ;absolute moves
    G1 X148.5 Y151 F2000 ; put probe center of bed
    M401

    G30 ;lower probe set height
    M402



  • Ok crazy update! I did nothing but load a very small test print. Printer performed start to finish.
    Next I loaded a second tiny file as a confirming print. G0/G1 error plus M280 P7 S90 bad command error.
    both times file loaded correct.
    third try and homing went well, gcode loaded good, but print just sat after temp was reached.
    I still have all 3 issues just not all at once now.
    Could my processor be wearing out?


  • administrators

    You will need to be more specific about the G0/G1 error message. But my guess is that the rest of the message is "insufficient axes homed". If so, please follow the first rule up upgrading RepRapFirmware: always read the upgrade notes for the version you are upgrading to and any versions you skipped.



  • could an example of config.g for printer with 2.01 and dwc current version be published? The examples for config files are from 1.17-1.19 firmware. The firmware keeps advancing but all the other wiki data isn't following along the same or even close pace. Image the new comer just buying a duet first time comparing documentation to what wiki shows.

    And these info I was able to find shows S2 placed in every non axes move during a homing command run. I have that covered. The probe command error is coming for the deploy retract macros not my homing files. It's not a config problem but something firmware based. I found many other bl touch users reporting the same behavior. If it's not firmware it's the interface. I can only believe that if the printer performs the homing start to finish 2 or 3 times correct, than another time "M280 P7 S90 bad command" error displays it's got to be a software issue. Otherwise it would always do it. This is the entire error message. "M280 P7 S90 bad command" and doesn't remain in log and not reported to m122 call. When it does happen probe enters blinking state, and needs reset via M280 P7 S160. This error is generated when M402 command from homeall.g is running retract.g macro.


  • administrators

    I think there must be something wrong with your M280 P7 S90 line, such as a non-printing character in it somewhere, because the only times that the "bad command" error message is produce are when a line of GCode contains something other than whitespace or comments, and either doesn't start with letter G, M or T, or it does start with one of those letters but if it is G or M then it isn't immediately followed by a decimal digit.

    Please try deleting and retyping that line. If that doesn't help, please upload your retractprobe.g file for me to look at and try out.



  • Um whats the deal with this java script error

    I've power cycled dozens of times, restored factory setting, applied settling erased all gcode files from card and it keeps happening. I launch browser and and type M80 and blam there it is. error and disconnect. I have posted this before and Chrishamm responded to someone else saying he had a fix but I can find one.

    A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

    Version: 1.21.2-dc42
    Message: TypeError: rememberedGCodes.indexOf is not a function
    URL: http://192.168.1.50/js/dwc.js
    Line: 1133:52
    Error object: {}



  • is there a change i don't see with mesh level.g I have probe and homing working with homeall.g. that tells me deploy/rectract g are good. But run mesh comp from dwc doesn't deploy probe. The m401 command isn't being executed even though its in the meshlevel.g. It just moves to starting position and heads down never deploying probe with m401. Home z and it does.

    meshlevel.g
    T0 ; Select first hot end

    G91 ; relitive moves
    G1 Z5 F3000 ;lift Z 5mm
    G1 X-295 y-302 F1500 S1 ;relative move to x,y -295mm neg dir stop at switch
    G1 X5 Y5 F1000 ;relative back off switch 5mm pos dir
    G1 X-295 Y-302 F360 S1 ;relative move x,y -302mm alliance neg stop at switch slowlymeshlevel.

    G90 ; Absolute coordinates
    G1 X52 Y250 F3000 ; Go to first bed probe point and home the Z axis

    M557 X52:245 Y250:290 S20 ; Bed probe from X52 to 245 and Y50 to 302 in 60mm increments

    M401 ; Lower BLTouch probe
    G29 S2 ; Clears bed height map in RepRapFirmware
    G29 S0; Kicks off the Z probing across the height map
    M402 ; Retract BLTouch probe

    M374 ; Save calibration data. Default is sys/heightmap.csv

    G1 X148.5 Y151 F3000 ; All done - move mid bed



  • Can you upload a zip file of your entire sys folder?


  • administrators

    @sir-printsalot said in inconsistant operation:

    Um whats the deal with this java script error

    I've power cycled dozens of times, restored factory setting, applied settling erased all gcode files from card and it keeps happening. I launch browser and and type M80 and blam there it is. error and disconnect. I have posted this before and Chrishamm responded to someone else saying he had a fix but I can find one.

    A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

    Version: 1.21.2-dc42
    Message: TypeError: rememberedGCodes.indexOf is not a function
    URL: http://192.168.1.50/js/dwc.js
    Line: 1133:52
    Error object: {}

    Have you tried chrishamm's 1.22 release? I've added it to the 2.01 release now, it's at https://github.com/dc42/RepRapFirmware/releases/download/2.01/DuetWebControl-1.22.zip.



  • [0_1534207033527_sys.rar](Uploading 100%)

    THE FILE YOU REQUESTED!

    Right now I have a print running about an hour which is great. I had to run mesh level 4 times before I could get a height map though. I'm using 49 points and the first 1 run at it throw a bad command m280 p7 s10. and the other 2 probe didn't fully retract. the forth time it finished and created map. This was after down graded DWC to 1.21.1
    I get java error about gcode every single command with both 1.21.2 and 1.22 adds low vin warning when I'm 24.7 vdc on my meter mounted next to psu. Warning say .4 vin and pause nothing because nothing is running because if i issue a command it with java disconnect me. Weird. no issues with 1.21.1 so far.





  • I'll take a closer look in the morning but there are a few things I might suggest cleaning up.


  • administrators

    @sir-printsalot said in inconsistant operation:
    probe didn't fully retract. the forth time it finished and created map. This was after down graded DWC to 1.21.1

    I get java error about gcode every single command with both 1.21.2 and 1.22 adds low vin warning when I'm 24.7 vdc on my meter mounted next to psu.

    If you tell me exactly what javascript error message you get with 1.22 then I'll ask chrishamm to look into it.



  • @Sir printsalot: Do an "Apply Settings" on the same device where you get the error.



  • java script error remember gcode is not a function error {} 1153

    applies settings button does nothing launches this error.
    restore factory setting launches this error.
    every button and and text field launches this error.


  • administrators

    I've asked Christian to take a look. Some other users have reported the same error message, but AFAIK they have all got past it.



  • Well I not smart enough to get past it. So with that shelved wait for Chrishamm I want to focus on 1 item at a time. I'm working with homez.g by itself. after x and y are homed I have machine physically placed with nozzle 5mm off bed which is 5.96 mm probe triggering height. My z coordinate reading is 0 for some reason. I run homez.g and m401 and g30 than m402 run. I have now raise z after in the macro. z raises back to starting position and display reads z0. z is actually back at 5 nozzle 5.96 triggering. where is the 5mm move up coming from and why does the g92 z0 get issued without an offset that includes this un written move. I'm learning more by separating macro and running them separately.



  • ; homez.g
    ; called to home the Z axis

    this is homez.g where the 5mm lift isn't commanded but happens and reflects z0 when physically at 5.96
    G91 ;relative moves
    G1 Z5 F200 S2 ;raise head 2mm to ensure it above trigger height
    G90 ;back to absolute moves this might be wrong G91
    G1 X148.5 Y151 F2000 ;put probe at bed center
    G91 ; relative moves
    M401 ;run deploy probe macro
    G30 ; lower head, stop when probe triggered and set Z to trigger height
    M402 ;run Retract probe macro
    G90 ;back to absolute
    G92 Z0

    this is homeall.g where z finishes out at 5.96 and physically there.

    ; homeX,Y.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

    ; Relative positioning
    G91
    G1 Z5 F3000 S2 ;lift Z 5mm
    G1 X-295 y-302 F1500 S1 ;relative move to x,y -295mm neg dir stop at switch
    G1 X5 Y5 F1000 S2 ;relative back off switch 5mm pos dir
    G1 X-295 Y-302 F360 S1 ;relative move x,y -295mm alliance neg stop at switch slowly
    G90 ;absolute moves
    G1 X148.5 Y151 F2000 S2 ; put probe center of bed
    G91
    M401
    G30 ;lower probe set height
    M402
    G90

    i don't see anywhere in these macros a lift after completion and it didn't do it under 1.19.1 firmware and 1.15.1 dwc



  • sorry to keep adding but I wanted it documented. Ok so I left the machine at it's 5.96 height after homeall.g where display show 5.96 height. I than type in gcode field M401 and than G1 Z0 F2000 S1 and the results are.
    M401 command probe deployed. G1 Z0 F2000 S1 displayed changed to Z0 no machine move physically happened. Same as sending a G92 Z0 command would. Some thing is definitely going on.

    I'm not using printer anymore until someone has time to help. I already has bent parts. I will patiently wait for someone willing to help, I'm just lost. Thank you


  • administrators

    @sir-printsalot said in inconsistant operation:

    M401 and than G1 Z0 F2000 S1 and the results are.
    M401 command probe deployed. G1 Z0 F2000 S1 displayed changed to Z0 no machine move physically happened. Same as sending a G92 Z0 command would. Some thing is definitely going on.

    That is exactly what I would expect to happen. To home using a Z probe you use G30, not G1 S1 Zxxx. The G30 command will stop when the height of the nozzle above the bed is at the trigger height of the Z probe, which you have said is 5.96mm.

    Homing an axis means establishing a known position for that axis. That position does not have to be zero. But if it makes you feel better, then after the G30 command followed by M402 to retract the probe, you can send G1 Z0 if you wish (note: no S1) to lower the nozzle to touch the bed.


Locked
 

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