174
10 BLOCK LINK EXAMPLES
10.1 Coincidence Detection
■Multi function counter block detail window
• Counter_0 (32bit_Unsigned)
The items other than the above need not to be set.
Block Variable name Setting value Description
Input 0
Input 1
Input_Signal_Event Detector Select 2-Phase Multiple of 1+ Set this parameter to detect an addition pulse.
Detector Select 2-Phase Multiple of 1- Set this parameter to detect a subtraction pulse.
Counter_Timer_0 Count Enable ON Set this parameter to "ON".
Count Mode Ring Set this parameter according to the control.
Upper Limit 2000 Set this parameter according to the control.
Lower Limit 0 Set this parameter according to the control.
Clock 25ns Set this parameter to "25ns". (to prevent input pulses
from missing)
Add Mode OFF Set this parameter to "OFF", because the addition
mode is not used in this link example.
Add Value 0
Cam_Switch Number of Step 2 Set this parameter to "2".
Lower Limit Output State Low Set this parameter to "Low".
Step No.0 1000 Set a value used as a "coincidence detection value".
Step No.1 1001 Set a value of "Step No.0 + 1".
Set/Reset_0
Cam Output