12 - 83
MELSEC-Q
12 CONTROL SUB FUNCTIONS
[4] Setting method
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 (X4, X5, X6, X7).
Set the required value in the following parameter, and write it to the QD75.
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
Axis
1
Axis
2
Axis
3
Axis
4
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 177 327 477
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
Axis
1
Axis
2
Axis
3
Axis
4
Md.25
Valid M code
The M code No. (
Da.10
M code) set in the
positioning data is stored.
808 908 1008 1108
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 CPU module 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
Example
Содержание Melsec-Q QD75D1
Страница 1: ......
Страница 2: ......
Страница 22: ...A 20 MEMO ...
Страница 24: ...MEMO ...
Страница 41: ...1 17 MELSEC Q 1 PRODUCT OUTLINE MEMO ...
Страница 48: ...1 24 MELSEC Q 1 PRODUCT OUTLINE MEMO ...
Страница 60: ...2 12 MELSEC Q 2 SYSTEM CONFIGURATION MEMO ...
Страница 137: ...5 33 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Страница 232: ...5 128 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Страница 252: ...6 20 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL ...
Страница 253: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL ...
Страница 278: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MEMO ...
Страница 292: ...MEMO ...
Страница 436: ...9 120 MELSEC Q 9 MAJOR POSITIONING CONTROL MEMO ...
Страница 464: ...10 28 MELSEC Q 10 HIGH LEVEL POSITIONING CONTROL MEMO ...
Страница 638: ...14 24 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO ...
Страница 647: ...15 9 MELSEC Q 15 TROUBLESHOOTING MEMO ...
Страница 686: ...15 48 MELSEC Q 15 TROUBLESHOOTING MEMO ...
Страница 693: ...Appendix 7 MELSEC Q APPENDICES Axis address mm inch degree pulse Axis address mm inch degree pulse ...
Страница 699: ...Appendix 13 MELSEC Q APPENDICES Initial value Axis 1 Axis 2 Axis 3 Axis 4 Remarks 0 0 0 1 1 0 0 0 0 0 0 300 11 0 0 ...
Страница 836: ...Appendix 150 MELSEC Q APPENDICES Appendix 14 External dimension drawing 1 QD75P1N Unit mm 23 4 27 4 98 90 46 ...
Страница 837: ...Appendix 151 MELSEC Q APPENDICES 2 QD75P2N Unit mm 23 27 4 90 4 98 46 3 QD75P4N 23 27 4 90 4 98 46 Unit mm ...
Страница 838: ...Appendix 152 MELSEC Q APPENDICES 4 QD75D1N 12 90 23 27 4 Unit mm 98 4 46 5 QD75D2N 90 23 27 4 12 98 4 46 Unit mm ...
Страница 839: ...Appendix 153 MELSEC Q APPENDICES 6 QD75D4N 90 23 27 4 12 98 4 46 Unit mm ...
Страница 840: ...Appendix 154 MELSEC Q APPENDICES 7 QD75P1 QD75P2 QD75P4 27 4 23 98 90 4 46 unit mm ...
Страница 841: ...Appendix 155 MELSEC Q APPENDICES 8 QD75D1 QD75D2 QD75D4 27 4 23 90 12 98 4 46 unit mm ...
Страница 842: ...Appendix 156 MELSEC Q APPENDICES MEMO ...
Страница 857: ......
Страница 858: ......