M64 is a LinuxCNC G-code M instruction that turns on a specified digital output immediately. The P word selects the output number, with a default range of 0 to 3 and possible expansion through num_dio. It is not synchronized with motion and can break blending.
| Language | gcode |
|---|---|
| Code | M64 |
| Group | Digital Output Control |
| Syntax | M64 P- |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| P | Specifies the digital output number. The P-word ranges from 0 to a default value of 3; num dio can be used to increase the number of digital I/O when loading the motion controller. |