338
9  COMMON FUNCTIONS
9.9  Mark Detection Function
[Pr.807] Mark detection mode setting
Set the data storage method of mark detection.
Mark detection control data
k: Mark detection setting No. - 1
[Cd.800] Number of mark detection clear request
Set "1" to execute "0" clear of "[Md.800] Number of mark detection". "0" is automatically set after completion by "0" clear of 
"[Md.800] Number of mark detection".
[Cd.801] Mark detection invalid flag
Set "1" to invalidate mark detection temporarily. The mark detection signal during invalidity is ignored.
[Cd.802] Latch data range change request
Request the processing of latch data range change. Set the following value depending on the timing of updating the change 
value.
1: Change in the next Operation cycle of the requested
2: Change in the next DI input of the requested
 • "0" is automatically set after receiving the latch data range change request. (It indicates that the latch data range change is 
completed.)
 • "[Pr.805] Latch data range upper limit value" and "[Pr.806] Latch data range lower limit value" at latch data range change 
request are used as the change value.
 • Restrictions according to the type of latch data range change request are shown below.
: Possible, : Not possible
Mode Setting value Operation for mark detection Mark detection data storage method
Continuous detection 
mode
0 Always The data is updated in the mark detection 
data storage area 1.
Specified number of 
detection mode
1 to 32 Number of detections
(If the number of mark detection is the number of detections 
or more, the mark detection is not executed.)
The data is stored to the mark detection data 
storage area "n".
n = (1 + Number of mark detection)
Ring buffer mode -1 to -32 Always
(The mark detection data storage area 1 to 32 is used as a 
ring buffer for the number of detections.)
Setting item Setting details/setting value Default value Buffer memory address
[Cd.800] Number of mark 
detection clear 
request
Set "1" to execute "0" clear of number of mark detections.
"0" is automatically set after completion by "0" clear of number of 
mark detections.
1: 0 clear of number of mark detections
Fetch cycle: Operation cycle
0 54640+10k
[Cd.801] Mark detection 
invalid flag
Set this flag to invalidate mark detection temporarily.
1: Mark detection: Invalid
Others: Mark detection: Valid
Fetch cycle: Operation cycle
0 54641+10k
[Cd.802] Latch data range 
change request
Request the processing of latch data range change.
Set the following value depending on the timing of updating the 
change value.
1: Change in the next Operation cycle of the requested
2: Change in the next DI input of the requested
"0" is automatically set after the change is completed.
Fetch cycle: Operation cycle or DI input
0 54642+10k
Types of change request [Cd.801] Mark detection invalid flag Changing possibility
1: Change in the next Operation cycle 
of the requested
1: Mark detection: Invalid 
Other than 1: Mark detection: Valid
2: Change in the next DI input of the 
requested
1: Mark detection: Invalid 
Other than 1: Mark detection: Valid