Mitsubishi Electronics Q170MCPU Manual Do Utilizador
APP - 30
APPENDICES
(1) Operations
Operations done at mark detection are shown below.
• Calculations for the mark detection data are estimated at leading edge/trailing
• Calculations for the mark detection data are estimated at leading edge/trailing
edge of the mark detection signal.
However, when the Specified Number of Detections mode is set, the current
mark detection is checked against the counter value for number of mark
detections and then it is determined whether or not to latch the current detection
data.
However, when the Specified Number of Detections mode is set, the current
mark detection is checked against the counter value for number of mark
detections and then it is determined whether or not to latch the current detection
data.
• When a mark detection data range is set, it is first confirmed whether the mark
detection data is within the range or not. Data outside the range are not
detected.
detected.
• The mark detection data is set in the first device of the mark detection data
storage area according to the mark detection mode, and then the number of
mark detections counter is updated.
mark detections counter is updated.
Operation examples for each mode are shown in the table below.
(a) Continuous Detection mode
(a) Continuous Detection mode
0
1
2
Mark detection signal
(Leading edge detection
setting)
Mark detection data current
value
(Leading edge detection
setting)
Mark detection data current
value
Mark detection data storage
device
device
Real current value
(Continuous update)
Detected real current value
"0 clear" by user program
Confirmation of mark detection data range
(Upper/lower value setting: Valid)
(Upper/lower value setting: Valid)
Number of mark detections
counter
counter
Detected real current value
Data outside range are not latch.
(b) Specified Number of Detections mode (Number of detections: 2)
0
1
2
Mark detection signal
(Leading edge detection
setting)
Mark detection data current
value
(Leading edge detection
setting)
Mark detection data current
value
Mark detection data storage
device
device
Mark detection data storage
device (2nd area)
device (2nd area)
Mark detection is not executed
because the counter for number of
mark detections is already 2 (More
than the number of detections).
because the counter for number of
mark detections is already 2 (More
than the number of detections).
Number of mark detection
counter
counter
Detection real current value (2nd)
Confirmation of mark detection data range
(Upper/lower value setting: Valid)
(Upper/lower value setting: Valid)
Real current value
(Continuous update)
Detection real current value (1st)
"0 clear" by user program