(8) [Pr.18] M code ON signal output timing
This parameter sets the M code ON signal output timing.
Choose either WITH mode or AFTER mode as the M code ON signal output timing.
WITH mode
An M code is output and the M code ON signal is turned ON when a
positioning operation starts.
Positioning start signal
[Y10,Y11,Y12,Y13]
BUSY signal
[XC,XD,XE,XF]
M code ON signal
[X4,X5,X6,X7]
M code OFF request
Cd.7
[1504,1604,1704,1804]
Valid M code
Md.25
Positioning
Operation pattern
Da.1
: m1 and m2 indicate set M codes.
An M code ([Da.10]) is a number between 0 and 65535 that can be assigned to each positioning data.
If AFTER mode is used with speed control, an M code will not be output and the M code ON signal will not be
turned ON.
The program can be coded to read an M code from the buffer memory address specified by "[Md.25] Valid M
code" whenever the M code ON signal [X4, X5, X6, X7] turns ON so that a command for the sub work (e.g.
clamping, drilling, tool change) associated with the M code can be issued.
The M code ON signal output timing can be set for each positioning data with the positioning option ("[Da.27] M
code ON signal output timing") of the positioning data.
m1
m2
01 (continuous)
00 (end)
CHAPTER 5 DATA USED FOR POSITIONING CONTROL
AFTER mode
An M code is output and the M code ON signal is turned ON when a
positioning operation completes.
Positioning complete signal
[X14,X15,X16,X17]
BUSY signal
[XC,XD,XE,XF]
M code ON signal
[X4,X5,X6,X7]
M code OFF request
Cd.7
[1504,1604,1704,1804]
Valid M code
Md.25
Positioning
Operation pattern
Da.1
: m1 and m2 indicate set M codes.
m1
m2
01 (continuous)
00 (end)
129
5