Jump to content
Ultimaker Community of 3D Printing Experts

API Documentation: "heater0" Variable Confusion


Sworsh01
 Share

Recommended Posts

Posted · API Documentation: "heater0" Variable Confusion

I'm currently working with my Ultimaker S5 in developer mode and reading off the temperature values I get from the API documentation (specifically, /printer/diagnostics/temperature_flow/{sample_count}). While I understand what most of the values stand for (i.e., "target0" is the target temperature in Celsius of the primary print core set by the g-code, "temperature0" is the current temperature in Celsius of the primary print core) I'm confused as to what "heater0" stands for, and what units it's in.

I get that it is some value which the heater is set to in order for the temperature of the print core to reach the target temperature (standard feedback control type of operation), but I have no idea if this is some reading in volts, amps, or some other scaled value. I'm trying to get a better understanding of the temperature control in the S5 and the value of "heater0" is perplexing as I can't interpret exactly what it means.

  • Link to post
    Share on other sites

    Posted (edited) · API Documentation: "heater0" Variable Confusion

    I think am fairly sure heater0 is the PWM value that the controller uses to send power to the heater. As such, there is no unit. A value of 255 means "give 'r all she's got" and a value of 0 means "no more power to the heater at this point".

     

    If it helps, see it as a percentage. Only a percentage that goes from 0-255 instead of 0-100.

    Edited by ahoeben
    • Like 1
    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
     Share

    • Our picks

      • Ultimaker showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    ×
    ×
    • Create New...