8 CONTROL SUB FUNCTIONS
8.9 Other Functions
281
8
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".
■
RD77MS4 operation example
*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".
■
RD77MS4 operation example
*1
m1 and m2 indicate set M codes.
BUSY signal
[Cd.7] M code OFF request
[Da.1] Operation pattern
*1
*1
m1
m2
V
t
1 0
1 0
0
0
OFF
OFF
OFF
ON
ON
[Md.25] Valid M code
ON
01
00
Dwell time
Positioning
Positioning start signal
[Y10, Y11, Y12, Y13]
[X10, X11, X12, X13]
M code ON signal
([Md.31] Status: b12)
01
00
m1
m2
V
t
OFF
ON
OFF
OFF
ON
ON
0
0
1
BUSY signal
[Cd.7] M code OFF request
Positioning
[Da.1] Operation pattern
[Md.25] Valid M code
*1
*1
Positioning start signal
[Y10, Y11, Y12, Y13]
[X10, X11, X12, X13]
M code ON signal
([Md.31] Status: b12)
Summary of Contents for RD77MS16
Page 1: ...MELSEC iQ R Simple Motion Module User s Manual Application RD77MS2 RD77MS4 RD77MS8 RD77MS16 ...
Page 2: ......
Page 316: ...314 9 COMMON FUNCTIONS 9 4 External Input Signal Select Function Program example ...
Page 317: ...9 COMMON FUNCTIONS 9 4 External Input Signal Select Function 315 9 ...
Page 575: ...13 PROGRAMMING 13 4 Positioning Program Examples 573 13 Error reset program Axis stop program ...
Page 643: ......