# Error on 'SET\_HEATER\_TEMPERATURE HEATER=toolhead TARGET=': unable to parse

**URL:** <https://klipper.discourse.group/t/error-on-set-heater-temperature-heater-toolhead-target-unable-to-parse/13395>\
**Category:** General Discussion\
**Created:** [January 22, 2024, 10:52am UTC](https://klipper.discourse.group/t/error-on-set-heater-temperature-heater-toolhead-target-unable-to-parse/13395 "2024-01-22T10:52:06Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [January 23, 2024, 6:45pm UTC](https://klipper.discourse.group/t/error-on-set-heater-temperature-heater-toolhead-target-unable-to-parse/13395/15 "2024-01-23T18:45:34Z")

</div>

> [@tigahde](#):
>
> What do you mean exactly ? sorry i am new to klipper.

Well, you have chosen a quite complex setup that requires a bit more understanding. And at least I will neither write these macros for you nor talk you through each detail of this complex system.

Some pointer, but the rest will be up to you to dig into it:

- There are no “global” variables, this means what is in your start macro stays in your start macro unless you take extra care to pass it along
- A macro knows only
  - what is defined within the macro
  - passed to the macro, e.g. MY\_MACRO TEMPERATURE=220
  - Referenced from a different macro as shown here [Help with Macro: SET\_GCODE\_VARIABLE doesnt set my variable - #15 by Sineos](https://klipper.discourse.group/t/help-with-macro-set-gcode-variable-doesnt-set-my-variable/11014/15)
  - Is a global printer variable, e.g. see [Example: Search Printer Objects](https://klipper.discourse.group/t/example-search-printer-objects/164)

- You should read [Macro Creation Tutorial](https://klipper.discourse.group/t/macro-creation-tutorial/30) as this is a great introduction to the whole concept.

---

_[View the full topic](https://klipper.discourse.group/t/error-on-set-heater-temperature-heater-toolhead-target-unable-to-parse/13395)._
