M-Code - 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

5.7

M-Code

M-codes are specified by 8 digits (M-99999999 to M99999999) that follow an address M, and up to four can be commanded
in a block. When M-code data is commanded "[Md.3058] M-code data 1 (D54554+128s, D54555+128s)" to "[Md.3061] M-
code data 4 (D54560+128s, D54561+128s)" and "[St.3222] Auxiliary function strobe 1 (D54442.4+4s)" to "[St.3225] Auxiliary
function strobe 4 (D54442.7+4s)" are output.
The following three types of output methods for M-code data are available.
Set the output method in [Motion Control Parameter][G-code Control Parameter][G-code Control System
Parameter]"Auxiliary Function""M Binary"
• BCD code
• Unsigned 32-bit binary data
• Signed 32-bit binary data
When five or more M-codes are commanded in one block, the last four are valid.
Specific auxiliary function (M function)
The following M-code data is used for a specific purpose therefore it is not designated as a general auxiliary function (M
function).
In addition to "[Md.3058] M-code data 1 (D54554+128s, D54555+128s)" to "[Md.3061] M-code data 4 (D54560+128s,
D54561+128s)" and "[St.3222] Auxiliary function strobe 1 (D54442.4+4s)" to "[St.3225] Auxiliary function strobe 4
(D54442.7+4s)", the independent signals "[St.3218] M-code output M00 (D54442.0+4s)" to "[St.3221] M-code output M30
(D54442.3+4s)" are output. Refer to M-code output for details. (Page 169 M-code output)
Auxiliary function (M function)
M00
M01
M02
M30
5 G-CODE CONTROL PROGRAMS
162
5.7 M-Code
Description
Program stop
Optional stop
Program end
Program end
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents