585
CHAPTER 12 CONTROL SUB FUNCTIONS
12
12.
7 O
ther
F
unct
ions
(5) Reading M codes
"M codes" are stored in the following buffer memory when the M code ON signal turns ON.
Refer to
Page 182, Section 5.6 for information on the storage details.
The following shows a 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".
Monitor item
Monitor
value
Storage details
Buffer memory address
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
M code ON signal
K1
D110
K808
H0
FROM
ON execution command
D110: valid M codes
Example
Summary of Contents for MELSEC-L LD75D
Page 2: ......
Page 11: ...9 Memo ...
Page 176: ...174 ...
Page 264: ...262 ...
Page 266: ...264 ...
Page 267: ...265 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 268: ...266 ...
Page 269: ...267 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 270: ...268 ...
Page 271: ...269 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 272: ...270 Z ABRST1 instruction execution ...
Page 273: ...271 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 278: ...276 ...
Page 279: ...277 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 280: ...278 ...
Page 281: ...279 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 282: ...280 ...
Page 283: ...281 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 284: ...282 ...
Page 285: ...283 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 286: ...284 ...
Page 287: ...285 CHAPTER 6 PROGRAM USED FOR POSITIONING CONTROL 6 6 4 Positioning Program Examples ...
Page 316: ...314 Memo ...
Page 685: ...683 APPENDICES A Appendix 1 Function Update Appendix 1 1 Function comparison Memo ...
Page 738: ...736 Memo ...
Page 817: ......