Waits for input pin.
Avoid using this M-code. There are much better way to achieve same functionality.
M59 P
Wait for pin 3 to be signaled.
M59 P3