Mitsubishi MELSEC QD75P User Manual page 545

Positioning module
Table of Contents

Advertisement

12 CONTROL SUB FUNCTIONS
[4] Setting the M code output function
Setting item
M code ON signal
Pr.18
output timing
Refer to Section 5.2 "List of parameters" for setting details.
[5] Reading M codes
Monitor item
Md.25
Valid M code
Refer to Section 5.6 "List of monitor data" for information on the storage details.
Example
M code ON signal
The following shows the settings to use the "M code output function".
(1) Set the M code No. in the positioning data "
(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
signal (Y0).
Setting
value
Set the timing to output the M code ON signal.
0: WITH mode
1: AFTER mode
"M codes" are stored in the following buffer memory when the M code ON signal
turns ON.
Monitor
value
The M code No. (
positioning data is stored.
The following shows a sequence program example for reading the "
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".
D110: valid M codes
12 - 69
Get other manuals https://www.bkmanuals.com
Da.10
Setting details
Storage details
Da.10
M code) set in the
FROM
H0
K808
ON execution command
MELSEC-Q
M code".
ON) of the PLC READY
Buffer memory address
Axis
Axis
Axis
Axis
1
2
3
4
27
177 327 477
Buffer memory address
Axis
Axis
Axis
Axis
1
2
3
4
808 908 1008 1108
Valid
Md.25
D110
K1

Advertisement

Table of Contents
loading

Table of Contents