Skip to content

Scripting XL Bed 060

GitHub Action edited this page Apr 24, 2023 · 1 revision

Scripting options for the selected printer:

KeyCtl::

  • Key(string) - Simulates a keypress

ScriptHost::

  • Log(string) - Print the std::string to stdout
  • SetQuitOnTimeout(bool) - If 1, quits when a timeout occurs. Exit code will be non-zero.
  • SetTimeoutMs(int) - Sets a timeout for actions that wait for an event
  • WaitMs(int) - Wait the specified number of milliseconds. (10 ms resolution)

heater::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater1::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater10::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater11::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater12::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater13::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater14::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater15::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater2::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater3::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater4::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater5::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater6::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater7::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater8::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

heater9::

  • Open() - Sets heater as open-circuit
  • Restore() - Restores normal (non-open or runaway) state
  • Runaway() - Sets heater as if in thermal runaway
  • SetTemp(float) - Sets the current temperature the heater uses to update the thermistor

powersource::

  • SetPanic() - Trips the Power Panic line
  • SetV(float) - Sets the voltage readout to a given value.

thermistor::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor1::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor10::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor11::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor12::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor13::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor14::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor15::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor2::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor3::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor4::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor5::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor6::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor7::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor8::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor

thermistor9::

  • Disconnect() - Disconnects the thermistor
  • GetTemp() - Prints the current temperature
  • Restore() - Restores the thermistor to normal (unshorted, heater-operated) state
  • Set(float) - Sets the temperature to a given value.
  • Short() - Shorts the thermistor End Scripting options