M02: Program End - Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual

Motion controller, g-code control, melsec iq-r series
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

M02: Program end

Ends the program.
Code
Format
M02
M02
Processing details
When the M02 command is executed, the program execution ends.
An M02 command (or M30 command) is required in the last block of a program.
Program example
■Ending the program after positioning completion
Program
G90
G01 X100. Y200. F100.
X200. Y300.
G00 X0. Y0.
M02
%
M02 and M30 have the same function.
Remarks
Absolute position command
Positioning
Positioning
Positioning
Program end
5 G-CODE CONTROL PROGRAMS
5
165
5.7 M-Code

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents