13 - 78
Chapter 13 Control Sub Functions
[4] Setting the M code output function
The following shows the settings to use the "M code output function".
(1) Set the M code No. in the positioning data "
Da.10
M code".
(2) Set the timing to output the M code ON signal.
Set the required value in the following parameter, and write it to the QD77MS.
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal [Y0].
Buffer memory address
Setting item
Setting
value
Setting details
QD77MS2
QD77MS4
QD77MS16
Pr.18
M code ON signal
output timing
Set the timing to output the M code ON signal.
0: WITH mode
1: AFTER mode
27+150n
n: Axis No.-1
: Refer to Section 5.2 "List of parameters" for setting details.
[5] Reading M codes
"M codes" are stored in the following buffer memory when the M code ON signal
turns ON.
Buffer memory address
Monitor item
Monitor
value
Storage details
QD77MS2
QD77MS4
QD77MS16
Md.25 Valid M code
The M code No. (
Da.10
M code) set in the
positioning data is stored.
808+100n 2408+100n
n: Axis No.-1
: Refer to Section 5.6 "List of monitor data" for information on the storage details.
The following shows a sequence program example for reading the "
Md.25
Valid
M code" to the PLC CPU data register (D110). (The read value is used to
command the sub work.)
Read M codes not as "rising edge commands", but as "ON execution
commands".
M code ON signal
K1
D110
K808
H0
FROM
ON execution command
D110: valid M codes
[QD77MS4 program example]
Содержание 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: ......