beautypg.com

Visual kv series – KEYENCE Visual KV Series User Manual

Page 259

background image

4.5 Special Functions Using High-speed Counters

3-235

Visual KV

Series

1

4

Chapter 4 High-speed Counters

5. Specify the preset value at which the second relay turns ON into DM1408.

6. Specify the preset value at which the second relay turns OFF into DM1409.

7. Repeat steps 3 through 6 as many times as the number of relays to be used (32

relays max.).

8. Turn ON special utility relay 2314.

This relay automatically turns OFF when the cam switch function is activated.

9. Turn OFF special utility relay 2715 to stop the operation.

Note 1: When the cam switch function is used, 32 relays from the relay No. speci-
fied with DM1400 is occupied for the function regardless of whether they are used or
not. As a result, these relays cannot be used for any other purpose.

Note 2: To use the cam switch mode, set the input time constant to 10 µs with the
HSP instruction or the special utility relay. (A maximum frequency of 30 kHz can be
measured.)

Note 3: When any improper value is set in data memory, the setting error occurs
and special utility relay 2315 turns ON.

Note 4: CTH0 and the frequency counter function cannot be used while the cam
switch function is being used.

Note 5: The cam switch function cannot be used when CTH0 is used in the ladder
program.

Note 6: Special utility relays concerning CHT0, CTC0/1, and the frequency counter
function cannot be used.

Note 7: The scan time is extended by a maximum of 16 ms when the cam switch
function is activated.

Note 8: The in-operation relay of the cam switch function (2715) remains ON even
when the mode is changed or the power is turned OFF.

Note 9: Use the END instruction to change relays or turn them ON/OFF.

Note 10: When the encoder is ON in cam switch mode while the KV is OFF, the
count may be shifted for the time between the start-up and phase Z input.

Note 11: The encoder count is stopped in cam switch mode while the Visual KV is
OFF. (While the Visual KV is ON, the count is continued even in PROGRAM mode.)

Note 12: When a value of 360° or more is specified as the preset angle for the cam
switch function, the value is converted into one within the range of 0 to 360° before
the control.

Example: When 500° is specified, it is converted to 140°.

KVNKA Chap 04_2.p65

08.3.11, 0:08 PM

235