202
10 BLOCK LINK EXAMPLES
10.9 Pulse Measurement
■Multi function counter block detail window
*1 Set the following to measure the OFF width.
Detector of Input_Signal_Event linked with the RUN terminal: ON only in A: Fall
Detector of Input_Signal_Event linked with the STOP terminal: ON only in A: Rise
Detector of Latch_Event linked with the Latch terminal: ON only in A: Rise
The items other than the above need not to be set.
Block Variable name Setting value Description
Input 0
Latch 0
Input_Signal_Event Detector Select User Setting (ON only in A: Rise)
*1
Set "Only A: Rise is on".
Detector Select User Setting (ON only in A: Fall)
*1
Set "ON only in A: Fall".
Latch_Event Detector Select User Setting (ON only in A: Fall)
*1
Set "ON only in A: Fall".
Counter_Timer_0 Count Enable ON Set this parameter to "ON".
Count Mode Linear Set this parameter to "Linear".
Upper Limit 4294967295 Set "4294967295", to widen the pulse measurement width.
Lower Limit 0 Set "0".
Clock 25ns Set this parameter to "25ns". (to prevent input pulses from
missing)
Add Mode OFF Set the addition mode to "OFF". (No addition in this example)
Add Value 0
STOP → PRESET ON Set this parameter to "ON", to perform a preset when a stop
event occurs.
Preset Value 0 Set this parameter to 0.
Latch Value
(User Address)
1000 Assign a buffer memory address.