12 - 78
MELSEC-A
12 CONTROL AUXILIARY FUNCTIONS
12.7.3 M code output function
The "M code output function" is used to command auxiliary work (clamping, drill
rotation, tool replacement, etc.) related to the positioning data being executed.
When the M code ON signal (XD, XE, XF) is turned ON during positioning execution, a
No. called the M code is stored in " Md.32 Valid M code".
These " Md.32 Valid M code" are read from the PLC CPU, and used to command
auxiliary work. M codes can be set for each positioning data. (Set in setting item
" Da.9 M code" of the positioning data.)
The timing for outputting (storing) the M codes can also be set in the "M code output
function".
The details shown below explain about the "M code output function".
(1) M code ON signal output timing
(2) M code OFF request
(3) Precautions during control
(4) Setting the M code output function
(5) Reading M codes
(1) 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.32 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.
(a) WITH mode
The M code ON signal (XD, XE, XF) is turned ON at the positioning start,
and the M code is stored in " Md.32 Valid M code".
Md. 32 Valid M code
Cd. 14 M code OFF request
Positioning start signal
BUSY signal
M code ON signal
Positioning
*
*
01
00
m1
m2
* m1 and m2 indicate set M codes.
Dwell time
V
t
1 0
1 0
0
0
OFF
OFF
OFF
ON
ON
Da. 1 Operation pattern
[X4,X5,X6]
[Y10, Y11, Y12]
[XD,XE,XF]
ON
Fig. 12.38 M code ON/OFF timing (WITH mode)
Summary of Contents for A1SD75M1
Page 2: ......
Page 20: ...A 18 MEMO...
Page 22: ...MEMO...
Page 27: ...1 5 MELSEC A 1 PRODUCT OUTLINE MEMO...
Page 42: ...1 20 MELSEC A 1 PRODUCT OUTLINE MEMO...
Page 52: ...2 10 MELSEC A 2 SYSTEM CONFIGURATION MEMO...
Page 111: ...5 21 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 115: ...5 25 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 123: ...5 33 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 127: ...5 37 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 167: ...5 77 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 193: ...5 103 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 276: ...5 186 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 332: ...7 18 MELSEC A 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Page 334: ...MEMO...
Page 422: ...9 64 MELSEC A 9 MAIN POSITIONING CONTROL MEMO...
Page 446: ...10 24 MELSEC A 10 ADVANCED POSITIONING CONTROL MEMO...
Page 472: ...11 26 MELSEC A 11 MANUAL CONTROL MEMO...
Page 576: ...12 104 MELSEC A 12 CONTROL AUXILIARY FUNCTIONS MEMO...
Page 745: ......