M68 is a LinuxCNC G-code that sets an analog output immediately. It uses an E word for the output number and a Q word for the value, with Q set to 0 turning the output off. Because the output is applied immediately rather than queued with motion, it can break blending.
| Language | gcode |
|---|---|
| Code | M68 |
| Group | Analog Output Control |
| Syntax | M68 E- Q- |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| E | Output number ranging from 0 to 3; adjustable from the motmod argument num aio. |
| Q | Value to set; set to 0 to turn the output off. |