Auxiliary Function (M Function); M-Code Output - 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

6.2

Auxiliary Function (M Function)

Auxiliary function, also called M function, is used to command G-code control auxiliary functions.

M-code output

When M00, M01, M02, and M30 are commanded, "[St.3218] M-code output M00 (D54442.0+4s)" to "[St.3221] M-code output
M30 (D54442.3+4s)" are output 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)".
When using M-code output, G-code control only outputs "[St.3218] M-code output M00 (D54442.0+4s)" to "[St.3221] M-code
output M30 (D54442.3+4s)". The processing of operations and completion signals must be created by the user.
"[St.3218] M-code output M00 (D54442.0+4s)" to "[St.3221] M-code output M30 (D54442.3+4s)" turn OFF by after completion
of auxiliary functions or by "[Rq.3380] Reset command (D54226.4+2s)" OFFON. When a movement command or dwell are
in the same block, the M-code is output when the movement command and dwell are completed. Also, when the M-code
output command is commanded on its own, the M-code is output after the axis movement of the previous command block is
complete. However, when "[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" or "[Rq.3383] Auxiliary function
complete 2 (FIN2) (D54227.1+2s)" are turned ON before the completion of the movement command and dwell, M-code is not
output.
M-code
M-code output signal
M00
[St.3218] M-code output M00 (D54442.0+4s)
M01
[St.3219] M-code output M01 (D54442.1+4s)
M02
[St.3220] M-code output M02 (D54442.2+4s)
M30
[St.3221] M-code output M30 (D54442.3+4s)
"[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 also output for specific auxiliary functions (M00, M01, M02, M30).
Operation
"[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" or "[Rq.3383]
Auxiliary function complete 2 (FIN2) (D54227.1+2s)" OFFON
"[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" or "[Rq.3383]
Auxiliary function complete 2 (FIN2) (D54227.1+2s)" OFFON
"[Rq.3380] Reset command (D54226.4+2s)" OFFON
(Do not turn ON "[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" or
"[Rq.3383] Auxiliary function complete 2 (FIN2) (D54227.1+2s)")
"[Rq.3380] Reset command (D54226.4+2s)" OFFON
(Do not turn ON "[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" or
"[Rq.3383] Auxiliary function complete 2 (FIN2) (D54227.1+2s)")
6 AUXILIARY AND APPLIED FUNCTIONS
6.2 Auxiliary Function (M Function)
6
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents