12 - 81
MELSEC-A
12 CONTROL AUXILIARY FUNCTIONS
(4) Setting the M code output function
The following shows the settings to use the "M code output function".
(a) Set the M code No. in the positioning data " Da.9 M code".
(b) Set the timing to output the M code ON signal (XD, XE, XF).
Set the required value in the following parameter, and write it to the AD75.
The set details are validated at the rising edge (OFF ON) of the PLC READY
signal (Y1D).
Buffer memory address
Setting item
Setting
value
Setting details
Axis 1 Axis 2 Axis 3
Pr.19
M code ON signal
output timing
Set the timing to output the M code ON signal.
0: WITH mode
1: AFTER mode
25 175 325
* 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
Md.32
Valid M code
The M code No. (
Da.9 M code) set in the
positioning data is stored.
806 906 1006
* 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.32 Valid
M code" to the PLC CPU data register (D110). (The read value is used to
command the auxiliary work.)
Read M codes not as "rising edge commands", but as "ON execution
commands".
M code ON signal
K1
D110
K806
H0
FROM
ON execution command
D110: valid M codes
Example
Содержание A1SD75M1
Страница 2: ......
Страница 20: ...A 18 MEMO...
Страница 22: ...MEMO...
Страница 27: ...1 5 MELSEC A 1 PRODUCT OUTLINE MEMO...
Страница 42: ...1 20 MELSEC A 1 PRODUCT OUTLINE MEMO...
Страница 52: ...2 10 MELSEC A 2 SYSTEM CONFIGURATION MEMO...
Страница 111: ...5 21 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 115: ...5 25 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 123: ...5 33 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 127: ...5 37 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 167: ...5 77 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 193: ...5 103 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 276: ...5 186 MELSEC A 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 332: ...7 18 MELSEC A 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 334: ...MEMO...
Страница 422: ...9 64 MELSEC A 9 MAIN POSITIONING CONTROL MEMO...
Страница 446: ...10 24 MELSEC A 10 ADVANCED POSITIONING CONTROL MEMO...
Страница 472: ...11 26 MELSEC A 11 MANUAL CONTROL MEMO...
Страница 576: ...12 104 MELSEC A 12 CONTROL AUXILIARY FUNCTIONS MEMO...
Страница 673: ...Appendix 5 MELSEC A APPENDICES Axis address mm inch degree pulse Axis address mm inch degree pulse...
Страница 679: ...Appendix 11 MELSEC A APPENDICES Initial value Axis 1 Axis 2 Axis 3 Remarks 0 0 0 1 1 0 0 0 0 0 300 0 0 0...
Страница 683: ...Appendix 15 MELSEC A APPENDICES Initial value Axis 1 Axis 2 Axis 3 Remarks 0 0 1 0 0 50 80 0 0 980...
Страница 691: ...Appendix 23 MELSEC A APPENDICES Initial value Axis 1 Axis 2 Axis 3 Remarks 0 0 0 0 0 50 80 0 0 0 0 0 980 4000 0...
Страница 745: ......