Mitsubishi Electronics Q170MCPU Manual Do Utilizador

Página de 274
 
 
 
APP - 29 
APPENDICES 
 
APPENDIX 1.10 Mark detection function 
Any motion control data and all device data can be latched at the input timing of the 
mark detection signal. Also, data within a specific range can be latched by specifying 
the data detection range. 
The following three modes are available for execution of mark detection. 
 
1)   Continuous Detection mode 
The latched data is always stored at mark detection. 
Operation is the same as the high-speed reading function. 
 
+0n
Mark detection data
storage device
Mark detection signal
 
 
2)   Specified Number of Detections mode 
The latched data from a specified number of detections is stored. 
 
Example)   Number of detections: 3 
 
The 3rd detection
+0n
Mark detection data
storage device
Mark detection signal
+1n
+2n
+3n
The 4th detection
and later are ignored.
 
 
3)   Ring Buffer mode 
The latched data is stored in a ring buffer for a specified number of detections. 
The latched data is always stored at mark detection. 
 
Example)   Number of detections: 4 
 
+0n
+1n
+2n
+3n
Mark detection data
storage device
Mark detection signal
The 4th detection
The 5th detection
replaces the previous
first detection.
 
 
(Note): "n" in above figure is different depending on the data type storage device. 
• 16-bit integer type 
: 1 
• 32-bit integer type 
: 2 
• 64-bit floating-point type  : 4