Skip to content

Scripting XL E 060

GitHub Action edited this page Feb 6, 2025 · 3 revisions

Scripting options for the selected printer:

E::

  • GetPosFloat() - Reports current position in mm.
  • SetStall(bool) - Sets the stallguard value as specified.
  • ToggleStall() - Toggles the stallguard value.
  • WaitUntilInsideZoneMM(float, float) - Wait until the axis reaches the requested absolute position +/- margin (mm,mm).
  • WaitUntilOutsideZoneMM(float, float) - Wait until the axis moves away from the requested absolute position +/- margin (mm,mm).

KeyCtl::

  • Key(string) - Simulates a keypress

cs30bl::

  • SetA(float) - Sets the voltage readout to a given value.

fan::

  • GetRPM() - Reports the current RPM
  • Resume() - Resumes a stalled fan.
  • Stall() - Stalls the fan tachometer

fan1::

  • GetRPM() - Reports the current RPM
  • Resume() - Resumes a stalled fan.
  • Stall() - Stalls the fan tachometer

hall-sensor::

  • Set(int) - Sets the hall sensor to the given value
  • Toggle() - Toggles hall filament sensor enum state

hall-sensor1::

  • Set(int) - Sets the hall sensor to the given value
  • Toggle() - Toggles hall filament sensor enum state

hall-sensor2::

  • Set(int) - Sets the hall sensor to the given value
  • Toggle() - Toggles hall filament sensor enum state

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

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

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 End Scripting options