You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AnHardt a129078927 Add an emergency-command parser to MarlinSerial (supporting M108)
Add an emergency-command parser to MarlinSerial's RX interrupt.

The parser tries to find and execute M108,M112,M410 before the commands disappear in the RX-buffer.

To avoid false positives for M117, comments and commands followed by filenames (M23, M28, M30, M32, M33) are filtered.

This enables Marlin to receive and react on the Emergency command at all times - regardless of whether the buffers are full or not. It remains to convince hosts to send the commands. To inform the hosts about the new feature a new entry in the M115-report was made. "`EMERGENCY_CODES:M112,M108,M410;`".

The parser is fast. It only ever needs two switch decisions and one assignment of the new state for every character.

One problem remains. If the host has sent an incomplete line before sending an emergency command the emergency command could be omitted when the parser is in `state_IGNORE`.
In that case the host should send "\ncommand\n"

Also introduces M108 to break the waiting for the heaters in M109, M190 and M303.

Rename `cancel_heatup` to `wait_for_heatup` to better see the purpose.
9 years ago
..
Configuration.h Move Allen Key probe move scripts to their own functions 9 years ago
Configuration_adv.h Add an emergency-command parser to MarlinSerial (supporting M108) 9 years ago
README.md Updated Kossel XL config files for the latest Marlin 9 years ago

README.md

Configuration for Kossel k800 XL

This example configuration is for a Kossel XL with a printable bed diameter of 280mm and a height of 380mm. It also has the auto bed leveling probe (with an endstop switch) and the heated bed activated.

Configuration

You might need (or want) to edit at least the following settings in Configuration.h:

  • MANUAL_Z_HOME_POS - The available height of your printing space. Auto Bed Leveling makes it less important to have the exact value.
  • DELTA_PRINTABLE_RADIUS - The printable radius is how far from the center the nozzle can reach.
  • DEFAULT_AXIS_STEPS_PER_UNIT - Steps-per-millimeter for the delta steppers, and for the extruder to optimize the amount of filament flow.

Fine tuning

  • Increase DELTA_RADIUS if the model comes out convex (with a bulge in the middle)
  • Increase DELTA_DIAGONAL_ROD if the model comes out larger than expected

[http://reprap.org/wiki/PID_Tuning](PID Tuning)

  • DEFAULT_Kp - The proportional term
  • DEFAULT_Ki - The integral term
  • DEFAULT_Kd - The derivative term

PSU Options

  • The power supply is configured to 2 (to use a relay to switch 12V on and off)
  • It is configured to be off by default