Slic3r prusa edition(lastest) error codes



  • So, went for my first print, and I used the new prusa edition, and twice a layer, it read error M204 (s somethingorother) is not a supported command.
    Also, the program is not activating my part cooling fan, here's the .g I'm running, is this right? I've tried a bunch of different settings, but nothing works. Running firmware 1.7e
    M106 P0 S255 I1 F250 H-1
    Thanks for any help!



  • http://reprap.org/wiki/G-code#M204:_Set_default_acceleration
    M204 is not supported
    Use M201 instead



  • @Jackal:

    http://reprap.org/wiki/G-code#M204:_Set_default_acceleration
    M204 is not supported
    Use M201 instead

    ok, but it's slic3r prusa edition doing it, and it's not in any of the start or stop g code, is there any way to change that?


  • administrators

    Can you post the first 50 or so lines of the gcode file? I'd like to see the context in which slic3r is using M204.



  • @dc42:

    Can you post the first 50 or so lines of the gcode file? I'd like to see the context in which slic3r is using M204.

    ; generated by Slic3r 1.31.6-prusa3d-win64 on 2017-02-21 at 23:42:47

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

    M83 ; extruder relative mode
    M104 S195 ; set extruder temp
    M140 S55 ; set bed temp
    M190 S55 ; wait for bed temp
    M109 S195 ; wait for extruder temp
    G1 Y-3.0 F1000.0 ; go outside pritn area
    G1 X60.0 E9.0 F1000.0 ; intro line
    G1 X100.0 E12.5 F1000.0 ; intro line
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M83 ; use relative distances for extrusion
    M106 S232.05
    G1 E-2.50000 F2100.00000
    G1 Z0.200 F7200.000
    G1 X80.111 Y122.085 F7200.000
    G1 E2.50000 F2100.00000
    M204 S1000
    G1 F1500
    G1 X81.149 Y121.253 E0.04171
    G1 X81.982 Y121.094 E0.02659
    G1 X133.982 Y121.094 E1.63042
    G1 X135.254 Y121.485 E0.04171
    G1 X136.086 Y122.524 E0.04171
    G1 X136.245 Y123.357 E0.02659
    G1 X136.245 Y145.357 E0.68979
    G1 X135.854 Y146.628 E0.04171
    G1 X134.816 Y147.460 E0.04171
    G1 X133.982 Y147.619 E0.02659
    G1 X81.982 Y147.619 E1.63042
    G1 X80.711 Y147.228 E0.04171
    G1 X79.879 Y146.190 E0.04171
    G1 X79.720 Y145.357 E0.02659
    G1 X79.720 Y123.357 E0.68979
    G1 X80.094 Y122.143 E0.03983
    G1 X80.486 Y122.209 F7200.000
    G1 F1500
    G1 X81.982 Y121.471 E0.05230
    G1 X133.982 Y121.471 E1.63042
    G1 X135.130 Y121.861 E0.03799
    G1 X135.868 Y123.357 E0.05230
    G1 X135.868 Y145.357 E0.68979
    G1 X135.478 Y146.504 E0.03799
    G1 X133.982 Y147.242 E0.05230
    G1 X81.982 Y147.242 E1.63042
    G1 X80.835 Y146.853 E0.03799
    G1 X80.097 Y145.357 E0.05230
    G1 X80.097 Y123.357 E0.68979
    G1 X80.467 Y122.266 E0.03611
    G1 X80.861 Y122.348 F7200.000
    G1 F1500
    G1 X81.982 Y121.848 E0.03850
    G1 X133.982 Y121.848 E1.63042
    G1 X134.991 Y122.235 E0.03387
    G1 X135.491 Y123.357 E0.03850
    G1 X135.491 Y145.357 E0.68979
    G1 X135.104 Y146.365 E0.03387
    G1 X133.982 Y146.865 E0.03850
    G1 X81.982 Y146.865 E1.63042
    G1 X80.974 Y146.478 E0.03387
    G1 X80.474 Y145.357 E0.03850
    G1 X80.474 Y123.357 E0.68979
    G1 X80.839 Y122.404 E0.03199
    G1 X81.234 Y122.509 F7200.000
    G1 F1500
    G1 X81.982 Y122.226 E0.02511
    G1 X133.982 Y122.226 E1.63042
    G1 X134.830 Y122.608 E0.02916
    G1 X135.114 Y123.357 E0.02511
    G1 X135.114 Y145.357 E0.68979
    G1 X134.731 Y146.205 E0.02916
    G1 X133.982 Y146.488 E0.02511
    G1 X81.982 Y146.488 E1.63042
    G1 X81.135 Y146.106 E0.02916
    G1 X80.851 Y145.357 E0.02511
    G1 X80.851 Y123.357 E0.68979
    G1 X81.209 Y122.564 E0.02728
    G1 X81.602 Y122.706 F7200.000
    G1 F1500
    G1 X81.982 Y122.603 E0.01237
    G1 X133.982 Y122.603 E1.63042
    G1 X134.634 Y122.976 E0.02353
    G1 X134.737 Y123.357 E0.01237
    G1 X134.737 Y145.357 E0.68979
    G1 X134.363 Y146.008 E0.02353
    G1 X133.982 Y146.111 E0.01237
    G1 X81.982 Y146.111 E1.63042
    G1 X81.331 Y145.737 E0.02353
    G1 X81.228 Y145.357 E0.01237
    G1 X81.228 Y123.357 E0.68979
    G1 X81.572 Y122.758 E0.02165
    G1 X81.982 Y122.980 F7200.000
    G1 F1500
    G1 X133.982 Y122.980 E1.63042
    G1 X134.360 Y123.357 E0.01672
    G1 X134.360 Y145.357 E0.68979
    G1 X133.982 Y145.734 E0.01672
    G1 X81.982 Y145.734 E1.63042
    G1 X81.605 Y145.357 E0.01672
    G1 X81.605 Y123.357 E0.68979
    G1 X81.940 Y123.022 E0.01484
    G1 F5760
    G1 X88.797 Y123.017 E-2.37500
    G1 E-0.12500 F2100.00000
    G1 X82.522 Y123.897 F7200.000
    G1 E2.50000 F2100.00000
    G1 F900
    G1 X133.442 Y123.897 E1.59656
    G1 X133.442 Y144.817 E0.65593
    G1 X82.522 Y144.817 E1.59656
    G1 X82.522 Y123.957 E0.65405
    G1 X82.369 Y123.527 F7200.000
    G1 X82.192 Y123.567 F7200.000
    G1 F900
    G1 X133.772 Y123.567 E1.61725
    G1 X133.772 Y145.147 E0.67663
    G1 X82.192 Y145.147 E1.61725
    G1 X82.192 Y123.627 E0.67474
    G1 X82.589 Y123.619 F7200.000
    M106 S249.9
    G1 F5760
    G1 X89.050 Y123.619 E-2.37500
    G1 E-0.12500 F2100.00000
    G1 Z0.400 F7200.000
    G1 X82.507 Y123.882 F7200.000
    G1 E2.50000 F2100.00000
    M204 S800
    G1 F1800
    G1 X133.457 Y123.882 E1.72460
    G1 X133.457 Y144.832 E0.70913
    G1 X82.507 Y144.832 E1.72460
    G1 X82.507 Y123.942 E0.70710
    M204 S1000
    G1 X82.354 Y123.512 F7200.000
    G1 X82.207 Y123.582 F7200.000
    M204 S800
    G1 F1800
    G1 X133.757 Y123.582 E1.74491
    G1 X133.757 Y145.132 E0.72944
    G1 X82.207 Y145.132 E1.74491
    G1 X82.207 Y123.642 E0.72741
    M204 S1000

    sorry, prob more than 50


  • administrators

    The documentation for M104 on the reprap.org gcodes wiki is pretty bad, but I think it's trying to set the XY acceleration for printing moves to 1000mm/sec^2. I guess that's either something that Prusa's printers need, or else there is a setting for printing move acceleration in his version of slic3r.



  • @dc42:

    The documentation for M104 on the reprap.org gcodes wiki is pretty bad, but I think it's trying to set the XY acceleration for printing moves to 1000mm/sec^2. I guess that's either something that Prusa's printers need, or else there is a setting for printing move acceleration in his version of slic3r.

    Ok, I did find a setting under advanced to adjust acceleration for different moves, and the numbers reflect the numbers in the error codes. I'll set those to default and mark this as answered if it works. Thank you.

    Could you look at my fan 0 code up top to see if I have it right please?


  • administrators

    Unless you have enabled fan mapping (the F parameter in the M563 tool definition commands), you should only need M106 S255 to set the print cooling fan on the Fan0 output to full speed. Does the fan run if you plug it into an always-on fan output?



  • @dc42:

    Unless you have enabled fan mapping (the F parameter in the M563 tool definition commands), you should only need M106 S255 to set the print cooling fan on the Fan0 output to full speed. Does the fan run if you plug it into an always-on fan output?

    The fan works fine if I send a m106 s0 f255 command through the g console. But when I print it got shut off by the slicing program. I noticed the g code M106 S232.05 was sent by slic3r on that print, could that cause it to shut off? kinda a weird number, as I have it programmed to run at 100% always on in slic3r



  • Ok, so I shut off acceleration control, and it looks like it cleared up the M204.
    I also had fan speed at minimum 85 and maximum 100%, so I changed minimum to 100%, because slic3r adjusts fan value by acceleration and layer height if given any margin. Although my fan should work with it, as it has worked with other slicers in the past, the code shows I should have a full working fan. It is a cheap fan too, so maybe it just doesn't like different parameters. Here's the new g code, I'll try it out in a few hours.

    M83 ; extruder relative mode
    M104 S195 ; set extruder temp
    M140 S55 ; set bed temp
    M190 S55 ; wait for bed temp
    M109 S195 ; wait for extruder temp
    G1 Y-3.0 F1000.0 ; go outside pritn area
    G1 X60.0 E9.0 F1000.0 ; intro line
    G1 X100.0 E12.5 F1000.0 ; intro line
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M83 ; use relative distances for extrusion
    M106 S255
    G1 E-2.50000 F2100.00000
    G1 Z0.200 F7200.000
    G1 X72.728 Y121.871 F7200.000
    G1 E2.50000 F2100.00000
    G1 F1500
    G1 X71.896 Y120.833 E0.04171
    G1 X71.738 Y120.000 E0.02659
    G1 X71.738 Y105.000 E0.47031
    G1 X72.400 Y103.400 E0.05429
    G1 X72.650 Y103.150 E0.01109
    G1 X74.250 Y102.488 E0.05429
    G1 X125.717 Y102.488 E1.61370
    G1 X127.214 Y103.054 E0.05018
    G1 X127.497 Y103.304 E0.01185
    G1 X128.262 Y105.000 E0.05836
    G1 X128.262 Y120.000 E0.47031
    G1 X127.871 Y121.272 E0.04171
    G1 X126.833 Y122.104 E0.04171
    G1 X126.000 Y122.262 E0.02659
    G1 X74.000 Y122.262 E1.63042
    G1 X72.786 Y121.889 E0.03983
    G1 X72.853 Y121.496 F7200.000
    G1 F1500
    G1 X72.115 Y120.000 E0.05230
    G1 X72.115 Y105.000 E0.47031
    G1 X72.667 Y103.667 E0.04524
    G1 X72.917 Y103.417 E0.01109
    G1 X74.250 Y102.865 E0.04524
    G1 X125.717 Y102.865 E1.61370
    G1 X126.964 Y103.336 E0.04181
    G1 X127.247 Y103.586 E0.01185
    G1 X127.885 Y105.000 E0.04863
    G1 X127.885 Y120.000 E0.47031
    G1 X127.496 Y121.147 E0.03799
    G1 X126.000 Y121.885 E0.05230
    G1 X74.000 Y121.885 E1.63042
    G1 X72.909 Y121.515 E0.03611
    G1 X72.991 Y121.122 F7200.000
    G1 F1500
    G1 X72.492 Y120.000 E0.03850
    G1 X72.492 Y105.000 E0.47031
    G1 X72.933 Y103.933 E0.03620
    G1 X73.183 Y103.683 E0.01109
    G1 X74.250 Y103.242 E0.03620
    G1 X125.717 Y103.242 E1.61370
    G1 X126.715 Y103.619 E0.03345
    G1 X126.998 Y103.869 E0.01185
    G1 X127.508 Y105.000 E0.03890
    G1 X127.508 Y120.000 E0.47031
    G1 X127.122 Y121.009 E0.03387
    G1 X126.000 Y121.508 E0.03850
    G1 X74.000 Y121.508 E1.63042
    G1 X73.048 Y121.143 E0.03199
    G1 X73.152 Y120.749 F7200.000
    G1 F1500
    G1 X72.869 Y120.000 E0.02511
    G1 X72.869 Y105.000 E0.47031
    G1 X73.200 Y104.200 E0.02715
    G1 X73.450 Y103.950 E0.01109
    G1 X74.250 Y103.619 E0.02715
    G1 X125.717 Y103.619 E1.61370
    G1 X126.465 Y103.902 E0.02509
    G1 X126.748 Y104.152 E0.01185
    G1 X127.131 Y105.000 E0.02918
    G1 X127.131 Y120.000 E0.47031
    G1 X126.749 Y120.848 E0.02916
    G1 X126.000 Y121.131 E0.02511
    G1 X74.000 Y121.131 E1.63042
    G1 X73.207 Y120.774 E0.02728
    G1 X73.349 Y120.381 F7200.000
    G1 F1500
    G1 X73.246 Y120.000 E0.01237
    G1 X73.246 Y105.000 E0.47031
    G1 X73.467 Y104.467 E0.01810
    G1 X73.717 Y104.217 E0.01109
    G1 X74.250 Y103.996 E0.01810
    G1 X125.717 Y103.996 E1.61370
    G1 X126.216 Y104.185 E0.01673
    G1 X126.499 Y104.435 E0.01185
    G1 X126.754 Y105.000 E0.01945
    G1 X126.754 Y120.000 E0.47031
    G1 X126.381 Y120.651 E0.02353
    G1 X126.000 Y120.754 E0.01237
    G1 X74.000 Y120.754 E1.63042
    G1 X73.401 Y120.411 E0.02165
    G1 X73.623 Y120.000 F7200.000
    G1 F1500
    G1 X73.623 Y105.000 E0.47031
    G1 X73.733 Y104.733 E0.00905
    G1 X73.983 Y104.483 E0.01109
    G1 X74.250 Y104.373 E0.00905
    G1 X125.717 Y104.373 E1.61370
    G1 X125.966 Y104.467 E0.00836
    G1 X126.249 Y104.717 E0.01185
    G1 X126.377 Y105.000 E0.00973
    G1 X126.377 Y120.000 E0.47031
    G1 X126.000 Y120.377 E0.01672
    G1 X74.000 Y120.377 E1.63042
    G1 X73.665 Y120.042 E0.01484
    G1 F5760
    G1 X73.646 Y113.185 E-2.37500
    G1 E-0.12500 F2100.00000
    G1 X74.964 Y119.036 F7200.000
    G1 E2.50000 F2100.00000
    G1 F1200
    G1 X74.964 Y105.714 E0.41769
    G1 X125.036 Y105.714 E1.56996
    G1 X125.036 Y119.036 E0.41769
    G1 X75.024 Y119.036 E1.56808
    G1 X74.587 Y119.413 F7200.000
    G1 F1200
    G1 X74.587 Y105.337 E0.44134
    G1 X125.413 Y105.337 E1.59361
    G1 X125.413 Y119.413 E0.44134
    G1 X74.647 Y119.413 E1.59173
    G1 X74.210 Y119.790 F7200.000
    G1 F900
    G1 X74.210 Y105.087 E0.46100
    G1 X74.337 Y104.960 E0.00563
    G1 X125.637 Y104.960 E1.60848
    G1 X125.790 Y105.095 E0.00639
    G1 X125.790 Y119.790 E0.46076
    G1 X74.270 Y119.790 E1.61537
    G1 X74.377 Y119.427 F7200.000
    G1 F5760
    G1 X74.242 Y112.933 E-2.37500
    G1 E-0.12500 F2100.00000
    G1 X75.841 Y118.923 F7200.000
    G1 E2.50000 F2100.00000
    G1 F1200
    G1 X75.247 Y118.329 E0.02636
    G1 X75.247 Y117.795 E0.01677
    G1 X76.205 Y118.753 E0.04254
    G1 X76.739 Y118.753 E0.01677
    G1 X75.247 Y117.261 E0.06625
    G1 X75.247 Y116.727 E0.01677
    G1 X77.273 Y118.753 E0.08997
    G1 X77.807 Y118.753 E0.01677
    G1 X75.247 Y116.193 E0.11368
    G1 X75.247 Y115.659 E0.01677
    G1 X78.341 Y118.753 E0.13740
    G1 X78.875 Y118.753 E0.01677
    G1 X75.247 Y115.125 E0.16111
    G1 X75.247 Y114.591 E0.01677
    G1 X79.409 Y118.753 E0.18482
    G1 X79.943 Y118.753 E0.01677
    G1 X75.247 Y114.057 E0.20854
    G1 X75.247 Y113.523 E0.01677
    G1 X80.477 Y118.753 E0.23225
    G1 X81.011 Y118.753 E0.01677
    G1 X75.247 Y112.989 E0.25597
    G1 X75.247 Y112.455 E0.01677
    G1 X81.545 Y118.753 E0.27968



  • here's my tool command, generated by the configurator.

    M563 P0 D0 H1 ; Define tool 0

    Looks like I need an F0 in this command if I want it to know it has a fan haha! I'm learning. Thanks for the help, I'll mark this thread as answered.


  • administrators

    You don't need an F parameter in the M563 command if you have only one print cooling fan and it is connected to the Fan0 output. The F parameter is only normally needs if you have multiple print heads.

    Have you tried sending M106 S255 to see whether the fan starts spinning?



  • @dc42:

    You don't need an F parameter in the M563 command if you have only one print cooling fan and it is connected to the Fan0 output. The F parameter is only normally needs if you have multiple print heads.

    Have you tried sending M106 S255 to see whether the fan starts spinning?

    well, no, it doesn't. it does if i enter m106 s0 f255


  • administrators

    @3dprinting:

    @dc42:

    You don't need an F parameter in the M563 command if you have only one print cooling fan and it is connected to the Fan0 output. The F parameter is only normally needs if you have multiple print heads.

    Have you tried sending M106 S255 to see whether the fan starts spinning?

    well, no, it doesn't. it does if i enter m106 s0 f255

    It sounds to me that you have previously sent an M106 command with I1 parameter after starting up. If you have such a command in config.g, remove it.



  • Yup, me not knowing what I'm doing strikes again! Thanks that did it!


Locked
 

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