M86 - Close Door

This Gcode is used to open an Automatic door on an enclosure.

The M86 Gcode works with the Door Open / Close output on MASSO and sets the output LOW to close the door.


A sounder output is provided for the user to add the sounder of their choice to provide a warning of the door closing.


INFORMATION: M86 is not supported in MASSO G2


Syntax & Parameters


  • M86


Example program


N10 M86


  • M86 is called


  • The Sounder output goes High for 1 second to signal the door is about to close. 


  • Door Open/Close output is set to LOW and at the same time, the Sounder output changes between HIGH and LOW every 0.5 seconds for 5 seconds to warn the user the door is closing.




INFORMATION: To open the door please see Gcode M85


INFORMATION: For manual opening and closing of the door you can use the Door Open Close input.