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 PLC 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
Summary of Contents for MELSEC-Q QD75M
Page 1: ...MELSEC Q QD75M Positioning Module User s Manual Details QD75M1 QD75M2 QD75M4 ...
Page 17: ...MEMO ...
Page 64: ...3 11 MELSEC Q 3 SPECIFICATIONS AND FUNCTIONS MEMO ...
Page 91: ...4 16 MELSEC Q 4 INSTALLATION WIRING AND MAINTENANCE OF THE PRODUCT MEMO ...
Page 108: ...5 17 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 112: ...5 21 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 116: ...5 25 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 138: ...5 47 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 182: ...5 91 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 188: ...5 97 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 194: ...5 103 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 253: ...5 162 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 274: ...6 21 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 275: ...6 22 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 276: ...6 23 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 277: ...6 24 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 278: ...6 25 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 279: ...6 26 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 280: ...6 27 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 281: ...6 28 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 282: ...6 29 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 283: ...6 30 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 284: ...6 31 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 285: ...6 32 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 286: ...6 33 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 287: ...6 34 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 288: ...6 35 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 289: ...6 36 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 290: ...6 37 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 291: ...6 38 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 292: ...6 39 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 293: ...6 40 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 294: ...6 41 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 295: ...6 42 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 296: ...6 43 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 297: ...6 44 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 298: ...6 45 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 299: ...6 46 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 300: ...6 47 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 301: ...6 48 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 302: ...6 49 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 303: ...6 50 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 304: ...6 51 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 305: ...6 52 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 332: ...7 7 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO ...
Page 336: ...7 11 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO ...
Page 347: ...MEMO ...
Page 477: ...9 116 MELSEC Q 9 MAJOR POSITIONING CONTROL MEMO ...
Page 539: ...11 36 MELSEC Q 11 MANUAL CONTROL MEMO ...
Page 663: ...14 18 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO ...
Page 771: ...Appendix 2 MELSEC Q APPENDICES MEMO ...
Page 845: ...Appendix 76 MELSEC Q APPENDICES MEMO ...
Page 855: ...Index 10 X X0 QD75 READY 3 15 X1 Synchronization flag 3 15 Z Zero speed Pr 130 5 74 ...