M Code Output Function - Mitsubishi Electric MELSEC iQ-R Series User Manual

Programmable
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

M code output function

The "M code output function" is used to command sub work (clamping, drill rotation, tool replacement, etc.) related to the
positioning data being executed.
When the M code ON signal ([Md.31] Status: b12) is turned ON during positioning execution, a No. called the M code is stored
in "[Md.25] Valid M code".
These "[Md.25] Valid M code" are read from the CPU module, and used to command auxiliary work. M codes can be set for
each positioning data. (Set in setting item "[Da.10] M code/Condition data No./Number of LOOP to LEND repetitions/Number
of pitches" of the positioning data.)
The timing for outputting (storing) the M codes can also be set in the "M code output function".
M code ON signal output timing
The timing for outputting (storing) the M codes can be set in the "M code output function". (The M code is stored in "[Md.25]
Valid M code" when the M code ON signal is turned ON.)
The following shows the two types of timing for outputting M codes: the "WITH mode" and the "AFTER mode".
■WITH mode
The M code ON signal is turned ON at the positioning start, and the M code is stored in "[Md.25] Valid M code".
■4-axis module operation example
Positioning start signal
[Y10, Y11, Y12, Y13]
BUSY signal
[X10, X11, X12, X13]
M code ON signal
([Md.31] Status: b12)
[Cd.7] M code OFF request
[Md.25] Valid M code
Positioning
[Da.1] Operation pattern
*1 m1 and m2 indicate set M codes.
■AFTER mode
The M code ON signal is turned ON at the positioning completion, and the M code is stored in "[Md.25] Valid M code".
■4-axis module operation example
Positioning start signal
[Y10, Y11, Y12, Y13]
BUSY signal
[X10, X11, X12, X13]
M code ON signal
([Md.31] Status: b12)
[Cd.7] M code OFF request
[Md.25] Valid M code
Positioning
[Da.1] Operation pattern
*1 m1 and m2 indicate set M codes.
Downloaded from
ManualsNet.com
ON
OFF
ON
OFF
ON
OFF
0
1 0
*1
m1
V
01
ON
OFF
ON
OFF
ON
OFF
0
*1
m1
V
01
search engine
0
1 0
*1
m2
Dwell time
t
00
1
0
*1
m2
t
00
8 CONTROL SUB FUNCTIONS
8.8 Other Functions
8
287

Advertisement

Table of Contents
loading

Table of Contents