Home › M-codes › Haas NGC › M130
M130 Display media
Haas NGC M-code · Mill, Lathe
On mills: Display media
Shows a picture or video on the control screen during the program. The file name goes in parentheses.
Format
M130 (FILE NAME)
Addresses
| Address | What it does |
|---|---|
(FILE NAME) | Media file name on the control inside a comment |
How it works
Stays on screen until M131 or the end of the program.
Example program
M130 (CLAMP_SETUP.PNG)
M00 (CHECK THE CLAMP SETUP SHOWN ON SCREEN)
M131 (CLEAR THE PICTURE)
M00 (CHECK THE CLAMP SETUP SHOWN ON SCREEN)
M131 (CLEAR THE PICTURE)
Example is in inch. Check offsets and clearances first.
Watch out for
- The program keeps running while the media shows. Add M00 if the operator must look before going on.
On lathes: Display media
Shows a picture or video on the control during the program, for example a work instruction. The file name goes in parentheses.
Format
M130 (file)
Addresses
| Address | What it does |
|---|---|
(file) | File name and path, MP4, MOV, PNG or JPEG |
How it works
Modal until another M130 or M131.
Example program
M130 (DEBURR.PNG) (DEBURR BOTH EDGES)
M00 (STOP FOR DEBURR)
M131 (CLEAR MEDIA)
M00 (STOP FOR DEBURR)
M131 (CLEAR MEDIA)
Example is in inch. Check offsets and clearances first.
Watch out for
- File paths are case sensitive.
- Max size is 1920 by 1080 pixels. Dimensions divisible by 8 load fastest.
Related codes
M130 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Heidenhain TNC (ISO) | Untilted coordinates in tilted plane |
| Centroid CNC12 Acorn | Run a system command |
Every M-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open M130 in the app All Haas NGC M-codes