198
10 BLOCK LINK EXAMPLES
10.8 Ratio Conversion
■Multi function counter block detail window
• Counter_0 (32bit_Unsigned)
*1 Conversion ratio = Addition value ÷ (Upper limit value ÷ 2)
The items other than the above need not to be set.
Block Variable name Setting value Description
Input 0
Input_Signal_Event Detector Select User Setting
(A: Rise ON, A: Fall ON)
Set "A: Rise" and "A: Fall" to "ON" and the others to
"OFF".
Detector Select This parameter is not used in this link example.
Counter_Timer_0 Count Enable ON Set this parameter to "ON".
Count Mode Ring Set this parameter to "Ring".
Upper Limit 20 Set this parameter according to the control.
*1
Lower Limit 0 Set "0".
Clock 25ns Set this parameter to "25ns". (to prevent input pulses
from missing)
Add Mode ON Set this parameter to "ON".
Add Value 3 Set this parameter according to the control.
*1
Cam_Switch Number of Step 1 Set "1" to enable the step No. 0.
Lower Limit Output State Low Set this parameter to "Low".
Step No.0 10 Set the value of "Upper limit value of the counter
timer block ÷ 2".
Cam Output