13 - 75
Chapter 13 Control Sub Functions
13.7.3 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 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 PLC CPU, and used to command auxiliary work. M codes can be set for each
positioning data. (Set in setting item "
Da.10
M code" of the positioning data.)
The timing for outputting (storing) the M codes can also be set in the "M code output
function".
Signal
QD77MS2/QD77MS4
QD77MS16
M code ON signal
X4, X5, X6, X7
M code ON (
Md.31
Status
: b12)
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.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".
(1) 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".
[QD77MS4 operation example]
Md. 25 Valid M code
Cd. 7 M code OFF request
Positioning start signal
BUSY signal
M code ON signal
Positioning
01
00
m1
m2
1: 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
[XC, XD, XE, XF]
[Y10, Y11, Y12, Y13]
[X4, X5, X6, X7]
ON
1
1
(Note): Refer to Section 3.3 for input/output signal of QD77MS16.
Fig. 13.40 M code ON/OFF timing (WITH mode)
Содержание MELSEC-Q QD77MS
Страница 1: ......
Страница 27: ...A 26 MEMO...
Страница 29: ...MEMO...
Страница 101: ...3 34 Chapter 3 Specifications and Functions MEMO...
Страница 232: ...5 111 Chapter 5 Data Used for Positioning Control MEMO...
Страница 315: ...5 194 Chapter 5 Data Used for Positioning Control MEMO...
Страница 337: ...6 22 Chapter 6 Sequence Program Used for Positioning Control...
Страница 338: ...6 23 Chapter 6 Sequence Program Used for Positioning Control...
Страница 339: ...6 24 Chapter 6 Sequence Program Used for Positioning Control...
Страница 340: ...6 25 Chapter 6 Sequence Program Used for Positioning Control...
Страница 341: ...6 26 Chapter 6 Sequence Program Used for Positioning Control...
Страница 342: ...6 27 Chapter 6 Sequence Program Used for Positioning Control...
Страница 343: ...6 28 Chapter 6 Sequence Program Used for Positioning Control...
Страница 344: ...6 29 Chapter 6 Sequence Program Used for Positioning Control...
Страница 345: ...6 30 Chapter 6 Sequence Program Used for Positioning Control...
Страница 346: ...6 31 Chapter 6 Sequence Program Used for Positioning Control...
Страница 347: ...6 32 Chapter 6 Sequence Program Used for Positioning Control...
Страница 348: ...6 33 Chapter 6 Sequence Program Used for Positioning Control...
Страница 349: ...6 34 Chapter 6 Sequence Program Used for Positioning Control...
Страница 353: ...6 38 Chapter 6 Sequence Program Used for Positioning Control...
Страница 354: ...6 39 Chapter 6 Sequence Program Used for Positioning Control...
Страница 357: ...6 42 Chapter 6 Sequence Program Used for Positioning Control...
Страница 359: ...6 44 Chapter 6 Sequence Program Used for Positioning Control...
Страница 360: ...6 45 Chapter 6 Sequence Program Used for Positioning Control...
Страница 361: ...6 46 Chapter 6 Sequence Program Used for Positioning Control...
Страница 363: ...6 48 Chapter 6 Sequence Program Used for Positioning Control...
Страница 364: ...6 49 Chapter 6 Sequence Program Used for Positioning Control...
Страница 413: ...MEMO...
Страница 433: ...8 20 Chapter 8 OPR Control MEMO...
Страница 458: ...9 25 Chapter 9 Major Positioning Control MEMO...
Страница 593: ...10 30 Chapter 10 High Level Positioning Control MEMO...
Страница 625: ...11 32 Chapter 11 Manual Control MEMO...
Страница 659: ...12 34 Chapter 12 Expansion Control MEMO...
Страница 767: ...13 108 Chapter 13 Control Sub Functions MEMO...
Страница 813: ...14 46 Chapter 14 Common Functions MEMO...
Страница 831: ...15 18 Chapter 15 Dedicated Instructions MEMO...
Страница 846: ...16 15 Chapter 16 Troubleshooting MEMO...
Страница 892: ...16 61 Chapter 16 Troubleshooting MEMO...
Страница 971: ...Appendix 62 Appendices MEMO...
Страница 974: ......
Страница 975: ......