beautypg.com

Example of frequency counter – KEYENCE KV-D20 User Manual

Page 57

background image

3. Examples of Ladder Programs

3

57

Example of frequency counter

Operate the KV-D20 to use the frequency counter function of the KV basic unit. In
the numeric value change mode of the operator screen, set the number of pulses
of one encoder rotation to obtain the measurement cycle and rpm.

Refer to "Changing numeric values individually" on page 49.

The customized switches are assigned to the following functions:

F1: Starts operation.
F2: Finishes operation.
F3: Frequency (Hz) measurement
F4: Rotation (rpm) measurement

The customized lamps are assigned to the following functions:

LED1: Illuminates during operation.
LED2: Illuminates during frequency (Hz) measurement.
LED3: Illuminates during rotation (rpm) measurement.
LED4: Not used

Refer to the NEW KV Series User's Manual "Frequency Counter Function" on page 625 for details.

Operator screen

Switch comment screen

Lamp comment screen

F1

F2

F3

F4

F3

F4

1

2

3

4

FREQUENCY COUNTER:Hz

MEASUREMENT CYCLE: 0ms
PULSE FOR 1 ROTATION:0PLS
FREQUENCY:

0Hz

FREQUENCY COUNTER:rpm

MEASUREMENT CYCLE: 0ms
PULSE FOR 1 ROTATION:0PLS
ROTATION:

0rpm

F1:START

F2:END

F3:UNIT CHANGE (Hz)

F4:UNIT CHANGE (rpm)

LED1:MEASURING

LED2:UNIT (Hz)

LED3:UNIT (rpm)

LED4:RLY 2507

kv_d20_manual.p65

08.3.10, 6:09 PM

57