KEYES ROSTOK Manual And Manual page 88

Table of Contents

Advertisement

M40: Eject
If your RepRap machine can eject the parts it has built off the bed, this command executes the
eject cycle. This usually involves cooling the bed and then performing a sequence of movements
that remove the printed parts from it. The X, Y and Z position of the machine at the end of this
cycle are undefined (though they can be found out using the M114 command, q.v.).
See also M240 and M241 below.
M41: Loop
Example: M41
If the RepRap machine was building a file from its own memory such as a local SD card (as
opposed to a file being transmitted to it from a host computer) this goes back to the beginning of
the file and runs it again. So, for example, if your RepRap is capable of ejecting parts from its
build bed then you can set it printing in a loop and it will run and run. Use with caution - the only
things that will stop it are:
1.
When you press the reset button,
2.
When the build material runs out (if your RepRap is set up to detect this), and
3.
When there's an error (such as a heater failure).
M42: Stop on material exhausted / Switch I/O pin
M42 in ???
Example: M42
If your RepRap can detect when its material runs out, this decides the behaviour when that
happens. The X and Y axes are zeroed (but not Z), and then the machine shuts all motors and
heaters off. You have to press reset to reactivate the machine. In other words, it parks itself and
then executes an M0 command (q.v.).
M42 in Marlin/Sprinter
Example: M42 P7 S255
M42 switches a general purpose I/O pin.
M42 in Teacup
Not needed. General purpose devices are handled like a heater, see M104.
M43: Stand by on material exhausted
Example: M43
If your RepRap can detect when its material runs out, this decides the behaviour when that
happens. The X and Y axes are zeroed (but not Z), and then the machine shuts all motors and
heaters off except the heated bed, the temperature of which is maintained. The machine will still
respond to G and M code commands in this state.
M80: ATX Power On
Example: M80
Turns on the ATX power supply from standby mode to fully operational mode. No-op on
electronics without standby mode.
86

Advertisement

Table of Contents
loading

Table of Contents