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
ON
Positioning start signal
OFF
[Y10, Y11, Y12, Y13]
ON
BUSY signal
OFF
[X10, X11, X12, X13]
ON
M code ON signal
OFF
([Md.31] Status: b12)
[Cd.7] M code OFF request
0
*1
m1
[Md.25] Valid M code
V
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".
■RD77MS4 operation example
ON
Positioning start signal
OFF
[Y10, Y11, Y12, Y13]
ON
BUSY signal
OFF
[X10, X11, X12, X13]
M code ON signal
OFF
([Md.31] Status: b12)
[Cd.7] M code OFF request
0
[Md.25] Valid M code
V
Positioning
[Da.1] Operation pattern
*1 m1 and m2 indicate set M codes.
1 0
0
1 0
*1
m2
Dwell time
01
00
ON
1
0
*1
m1
01
00
t
*1
m2
t
8 CONTROL SUB FUNCTIONS
281
8.9 Other Functions
8
Need help?
Do you have a question about the RD77MS2 and is the answer not in the manual?