Writing, Deleting and Transferring Programs from USB/SD Card on the Mitsubishi M80

11 November 2026

Mentor CNC Editorial Team

Writing programs on the Mitsubishi M80, deleting them and transferring them from a USB stick or SD card are done on the screens under the EDIT key. This page gives every operation key by key in tables: opening a new program, editing a stored program, deleting, transferring from USB/SD to the machine and back, selecting a program to run and checking it without running the machine.

How do you create a new program on the Mitsubishi M80?

StepWhat to doWhat you see
1Press EDIT and select the [Edit] menuThe program edit screen opens
2Press [Open (New)]The device and program list opens
3Press [Memory] (NC memory)Device: Memory, directory: program
4Type a program name that does not exist yet, e.g. 1000The name appears in the input area
5Press INPUTAn empty program opens and the list closes
6Write the program. Press EOB (;) at the end of each line“Editing” appears next to the file name
7Press INPUT to saveThe program is saved
  • Program name: Use digits, upper-case letters and permitted symbols. Lower-case letters, spaces and \ / : , * ? ” < > | are not allowed. Up to 32 characters.
  • Same name: If you enter an existing name, “Designated file already exists” appears.
  • Comment: Text in parentheses in the first block appears as the program comment in the list, e.g. (FLANGE OP10).
  • Protected numbers: Programs 8000–9999 and 9000–9999 may be locked by the builder (Edit lock B and C).
Mitsubishi M80 program edit screen with G-code guidance
Edit screen: the program on the right, the format of the G code at the cursor on the left (G-code guidance).

Which keys and menus are used while writing a program?

Key / menuWhat it does
EOBEnters the end of block “;”
INSERTSwitches to insert mode; typed characters go in front of the cursor
DELETEDeletes the character at the cursor
[Line copy] / [Paste]Copies a line / pastes it in front of the cursor
[Line clear]Deletes the selected lines
[String search]Searches the program for a string (e.g. T5)
[String replace]Replaces old/new text, e.g. F200/F150 INPUT
[N auto add]Adds N numbers to blocks automatically
[Undo]Returns to the state before saving (must be enabled by parameter)
[Line jump]Jumps to the entered line number

How do you open and correct a stored program?

StepWhat to doWhat you see
1EDIT → [Edit] → [Open]The program list opens
2Select the device: [Memory], [Memory card] or [USB Memory]Programs on that device are listed
3Select the program with ↑ ↓ or type its name–
4Press INPUTThe program opens with the cursor at the top
5Make the correction and press INPUT to saveThe program is saved

Tip: To open a program at a given block, type 1000/100 in step 3 (program 1000, N100). A program that is running or being restarted can be opened but not edited.

How do you delete a program on the Mitsubishi M80?

StepWhat to doWhat you see
1EDIT → [Edit] → move to the next menu page with the right arrow → [Erase file]The program list opens
2Select the device (e.g. [Memory])–
3Move to the program with ↑ ↓ or type its name–
4Press INPUTA confirmation prompt appears
5Y or INPUT (N to cancel)The program is deleted

If it is not deleted: A program cannot be deleted while it is running, in restart state, under Edit lock B/C, or when a data protection key is active. A deleted program cannot be recovered; copy important programs to USB first.

How do you transfer a program from USB or SD card to the machine?

Transfer is done on EDIT → [I/O]. The screen has two columns: A is the source and B the destination. You select the device with a shortcut letter.

Shortcut letterDevice
MMemory (NC memory)
NUSB memory
RMemory card (front SD card)
DDS (built-in SD card)
SSerial (RS-232C)
TEthernet
StepWhat to doWhat you see
1Insert the USB stick, press EDIT → [I/O]The input/output screen opens
2Go to column A with ←, press N (USB)A: USB Memory
3[File set] → move to the folder with ↑ ↓ and INPUT, then select the file and press INPUTThe file name is set in column A
4Go to column B with →, press M (memory)B: Memory / program
5[File set] → type the name in memory, e.g. 1000 INPUTThe destination name is set in column B
6Press [Trnsfr A->B]A confirmation prompt appears
7Y or INPUTTransfer starts and a completion message appears
8Press [Compare A:B] to verifyThe files are compared; any difference is shown
Mitsubishi M80 I/O screen transferring a program from column A to column B
I/O screen: column A (source) and B (destination), transfer direction in the middle. Device shortcut letters are shown at the bottom.
  • From the machine to USB (backup): Select M (memory) in column A and N (USB) in column B and do [Trnsfr A->B] the same way.
  • Several programs: Use * in the file name. Example: 1* → programs 1, 10–19, 100–199… Locked programs are skipped.
  • Reverse direction: Use [Trnsfr B->A] to transfer from B to A.
Mitsubishi M80 I/O screen with the file list of the device
File list opened with [File set]; the number of stored programs and remaining memory are shown at the top.

How do you load several programs from one file?

When a file containing several programs (each starting with its O number) is transferred to memory, each program is stored separately. In the example below, file PROCESS01 is split into programs 1000, TAP.PRG and 9999 in memory.

Mitsubishi M80 batch transfer splitting one file into several programs in NC memory

What should you watch for with USB sticks and SD cards?

  • Wait at least 10 seconds after power-on before inserting a USB stick.
  • Insert and remove the SD card with the power off.
  • Do not remove the USB stick or card during reading/writing; data can be damaged.
  • Do not use a USB hub or extension cable.
  • Lower-case letters in file names are converted to upper case in memory; do not use non-ASCII characters.
  • A single block should not exceed 250 characters.
  • Do not transfer during automatic operation.

How do you format a USB stick or SD card?

StepWhat to doWhat you see
1EDIT → [I/O] → go to the next menu page–
2Press [USB Mem format] (USB) or [MemCrd format] (SD card)“OK?(Y/N)” appears
3Y or INPUT“Executing format”, then “Format complete”

Memory under 2 GB is formatted as FAT16, 2–32 GB as FAT32. Memory larger than 32 GB cannot be formatted (“Format error”); use 32 GB or smaller USB sticks for the machine. Formatting erases everything and is not possible during automatic operation.

Mitsubishi M80 steps for formatting a memory card and USB memory

How do you select the program to run?

StepWhat to doWhat you see
1Press MONITOR → [Search]The program list opens
2Select the device: [Memory], [Memory card] or [USB Memory]–
3Move to the program with ↑ ↓–
4Press INPUTThe program is ready to run; its name appears on screen
5CYCLE START in MEMORY modeThe program runs
Type in the input areaSelects
1001Top of program O1001
1001/50O1001, block N50
1001/50/2O1001, 2nd block after N50
/50N50 in the currently selected program
Mitsubishi M80 Monitr Search screen for selecting a program

Running directly from USB or SD card: If you choose [USB Memory] or [Memory card] in step 2, the program runs from the device without copying it to memory. Do not remove it while running. If you insert another USB stick without a program of the same name, error P232 appears.

How do you check a program without running the machine?

StepWhat to doWhat you see
1With the program open on the Edit screen press [Program check] (or select a program with EDIT → [Check] → [Check search])The graphic check screen opens
2Switch to the solid model with [3D Check] (if needed)–
3[Check continu] draws all, [Check step] one block at a timeThe tool path and part are drawn; the machine does not move
4With [Colli check] on, any contact during rapid traverse is shown in color–
5[Check reset] when finished–
Mitsubishi M80 3D graphic check drawing depending on the coordinate system selection
In the 3D check you can choose which work coordinate the part is placed on (all coordinates or a single one such as G59).

How do you correct a block while the program is running?

When the program stops in single block, or stops because of a program error in the next block, you can correct the following blocks without pressing RESET and continue from where you stopped. This is called buffer correction, and the correction is also written to the program in memory.

StepWhat to doWhat you see
1Stop the machine with SINGLE BLOCK, or wait for it to stop on a program errorThe machine stops at the end of a block
2Press MONITOR → [P corr] (Prg correct in the manual)The Buffer correction window opens with the next block at the top
3Move to the block with ↑ ↓ and edit it as in normal editingUp to 16 blocks are shown
4Press INPUTThe correction is written to the program; the program error message is cleared
5Check the correction and press CYCLE STARTThe program continues from where it stopped
Mitsubishi M80 buffer correction window for correcting the program while running
MONITOR → [P corr]: buffer correction window.
Screen areaWhat it shows
Buffer correctionWindow title; close it with the X on the right
Grey lines (G00X10., G00X20.)Previous block and block being executed; cannot be corrected
White area (G00 X30. … M30)Next blocks; the cursor is here and corrections are made in this area
%End of program
  • The block being executed cannot be changed; correction starts from the next block.
  • If you press another menu before INPUT, the correction is discarded and the program stays as it was.
  • Changing the screen or pressing RESET cancels the correction.
  • Pressing CYCLE START while the correction window is open gives an alarm; finish with INPUT first.
  • Correction is not possible with edit lock or data protection active, on a read-only program, or while a builder macro is running.

Messages during program operations and how to fix them

MessageCauseFix
Designated file already existsA program with that name existsUse another name or delete the old one
Designated file does not existNo program with that nameCheck the name and device
Edit lock B / Edit lock CProtected programs 8000–9999 or 9000–9999Builder protection; ask an authorized person
Executing automatic operationEdit/transfer tried while the program runsDo it after the program ends or after RESET
Can’t edit because of size overProgram larger than the device edit limitSplit the program or edit it on a computer
(Cihaz) not readyUSB/SD not inserted or not readableRe-insert it; use 32 GB or smaller
Format errorMemory larger than 32 GBUse a smaller stick
P232The selected program is not on the inserted USBInsert the right stick or select the program again

Frequently asked questions

How do you save a program on the Mitsubishi M80?

After writing the program on the Edit screen, just press INPUT. The “Editing” mark next to the file name disappears.

The program on the USB is not shown on the machine. Why?

Make sure you selected the right folder and press [List update]. Sticks larger than 32 GB or a hub may not be read.

Can I run a program from USB without copying it to memory?

Yes. On MONITOR → [Search] select [USB Memory] and pick the program with INPUT. Do not remove the stick while running.

How do I back up all programs to USB?

On EDIT → [I/O] select M (memory) with file name * in column A and N (USB) in column B, then press [Trnsfr A->B].

Why can’t I delete a program?

It cannot be deleted while running, in restart state, in a protected number range (8000–9999) or when data protection is on.

Can you correct a block while the program is running?

Yes. When the program stops in single block or on a program error, use MONITOR → [P corr] to correct the following blocks, press INPUT and continue with CYCLE START. Do not press RESET.

Mitsubishi M80 training series

Safety notice and disclaimer

Before running a program from another machine or a computer, check it on the graphic screen and run it first in single block with low feed override. A deleted or overwritten program cannot be recovered; back up important programs regularly. Menu positions and available devices may differ depending on the machine tool builder’s settings and options.

Mentor CNC cannot be held responsible for tool breakage, scrapped parts, machine damage, data loss or accidents resulting from the use of the information on this page. Responsibility lies with the person and company carrying out the work.

Mentor CNC logo

MENTOR CNC
CNC knowledge from the shop floor

Mentor CNC turns hands-on shop-floor experience in CNC turning, CNC milling, CNC controls, cutting tools and engineering calculations into clear, practical technical content.

Our goal is to help operators, students, engineers and shop owners reach accurate information faster and make safer, more efficient decisions in production.