Jump to content

Start G-code being ignored?


tps2000

Recommended Posts

Posted · Start G-code being ignored?

Our UM2+ where I work has been out of calibration by about -2.5% (20mm cube prints as 19.5mm) in the y direction since day one. Scaling each and every part in Cura is a pain. So, I tried putting "M92 Y82.05" in the "Start Gcode" field to scale it up using 80 steps/mm as the baseline. I'm actually not sure that 80 steps/mm is the proper baseline so please correct me if i"m wrong. In any case, it seems to be ignored. The print comes out exactly the same size as without. I also tried using Cura via USB and sending the gcode directly to the printer. Upon pressing "send gcode", the printer display blinks out for a second as if the code is being received. Is this normal? This also has no effect on the print size.

 

Any thoughts would be greatly appreciated as this issue has wasted a considerable amount of our time. Thanks!

  • Link to post
    Share on other sites

    Posted · Start G-code being ignored?

    What gcode flavour do you use? The default gcode flavour for the UM2+ is Ultigcode (mislabeled as Ultimaker 2 in Machine Settings). Ultigcode does not use start g-code afaik.

  • Link to post
    Share on other sites

    Posted · Start G-code being ignored?

    Thanks for the quick reply. I left the default which was Ultimaker 2 since I am not too familiar with the subject. Can I use a different flavor that will use the start gcode without affecting other functions? Marlin, RepRap?

  • Link to post
    Share on other sites

    Posted (edited) · Start G-code being ignored?
    2 hours ago, tps2000 said:

    So, I tried putting "M92 Y82.05" in the "Start Gcode" field to scale it up using 80 steps/mm as the baseline.

     

    The easiest way would be to write this line in a plain text editor, followed by a line with M500, save the file with the *.gcode" extension to the sdcard and "print" it.

    This sets the steps/unit and saves it to the printers EEPROM. The benefits: no other things are affected and no need to change start gcodes or GCode-flavor.

     

    set_ysteps.gcode

    M501         ;read current parameters from EEPROM
    M92 Y82.05   ;set steps/unit for Y
    M500         ;save changed value back to EEPROM
    

     

    Edit: a different deviation of x and y is usually a good sign that there is something else wrong with the hardware.

    I would check for any mechanical issues. Perhaps are the axis not longer perpendicular to each other, or a sliding block or linear bearing is damaged, a loose pulley, or the belts have slack and needs to be replaced... such things...

    Edited by tinkergnome
  • Link to post
    Share on other sites

    Posted · Start G-code being ignored?

    I tried "printing" the gcode file as you suggested and once again there was no change in the scaling. Mechanically there seems to be nothing wrong and this scaling problem has existed since the machine was new. It is unfortunate that the firmware doesn't allow for scaling. I have an inexpensive Creality CR-7 that has scaling parameters and it works perfectly. 

     

    I also tried changing the g-code flavor to marlin and added the start g-code and the results were the same, no change. I guess for now we are stuck with scaling the model in Cura each time. 

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...