CNC Machinist Calculator Ultra

Home › M-codes › Mitsubishi M70 M80 › M198

M198 Subprogram call from external device

Mitsubishi M70 M80 M-code · Mill and lathe

Calls a subprogram stored on an external device such as a memory card or data server.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

M198 P [L]

Addresses

AddressWhat it does
PProgram number on the device
LRepeat count

How it works

Non-modal.

Example program

G90 G54 G00 X0. Y0. (START)
M198 P5000 (RUN SUB FROM CARD)
G00 Z1. (CLEAR)

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M98

M198 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSubprogram call from external device
DMG Mori MAPPS (Fanuc)Subprogram call in external I or O device
Mazak (EIA)EIA → MAZATROL program call

Every M-code for Mitsubishi M70 M80 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 M198 in the app All Mitsubishi M70 M80 M-codes

App Store Google Play