12 - 67
MELSEC-Q
12 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 (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 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
Example
Содержание QD75M1
Страница 17: ...MEMO...
Страница 71: ...3 20 MELSEC Q 3 SPECIFICATIONS AND FUNCTIONS MEMO...
Страница 87: ...4 16 MELSEC Q 4 INSTALLATION WIRING AND MAINTENANCE OF THE PRODUCT MEMO...
Страница 98: ...5 11 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 104: ...5 17 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 108: ...5 21 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 112: ...5 25 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 122: ...5 35 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 134: ...5 47 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 178: ...5 91 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 184: ...5 97 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 190: ...5 103 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 249: ...5 162 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 270: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 271: ...6 22 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 272: ...6 23 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 273: ...6 24 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 274: ...6 25 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 275: ...6 26 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 276: ...6 27 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 277: ...6 28 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 278: ...6 29 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 279: ...6 30 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 280: ...6 31 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 281: ...6 32 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 282: ...6 33 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 283: ...6 34 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 284: ...6 35 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 285: ...6 36 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 286: ...6 37 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 287: ...6 38 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 288: ...6 39 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 289: ...6 40 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 290: ...6 41 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 291: ...6 42 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 292: ...6 43 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 293: ...6 44 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 294: ...6 45 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 295: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 296: ...6 47 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 297: ...6 48 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 298: ...6 49 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 299: ...6 50 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 300: ...6 51 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 301: ...6 52 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 328: ...7 7 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 332: ...7 11 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 339: ...MEMO...
Страница 529: ...11 36 MELSEC Q 11 MANUAL CONTROL MEMO...
Страница 621: ...12 92 MELSEC Q 12 CONTROL SUB FUNCTIONS MEMO...
Страница 647: ...14 18 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO...
Страница 755: ...Appendix 2 MELSEC Q APPENDICES MEMO...
Страница 758: ...Appendix 5 MELSEC Q APPENDICES Axis address mm inch degree PLS Axis address mm inch degree PLS...
Страница 764: ...Appendix 11 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 0 0...
Страница 766: ...Appendix 13 MELSEC Q APPENDICES Initial value Axis 1 Axis 2 Axis 3 Axis 4 Remarks 3 0 0H 0H 80H 0000H 1 255 0 1 5H...
Страница 879: ...Index 14 MEMO...