Multi-step comparator mode, Setting method, Visual kv series – KEYENCE Visual KV Series User Manual

Page 258

Advertising
background image

4.5 Special Functions Using High-speed Counters

3-234

Visual KV

Series

4

Chapter 4 High-speed Counters

Multi-step comparator mode

Even a single phase incoder can be used by changing a part of the cam switch
function.
To activate the multi-step comparator mode, write the value to be compared into
data memory DM1401 to replace the CTH0 value. This value determines the resolu-
tion. If 360 is written in DM1401, and 60 is written in DM1406, the 1st relay is turned
ON at 60/360 i.e. 60°.

Devices used in multi-step comparator mode
Data memory

Setting method

In cam switch mode
1. Write the initial number of output relays to be used into DM1400.

Be sure to write the initial relay number of each channel.
Example

0500, 0600: Acceptable, 0501, 0610: Unacceptable

2. Write the number of pulses in two pulse-periods of the encoder connected to

CTH0 into DM1402. (Twice the number of pulses for one rotation.)

3. Specify the angle at which the first relay turns ON (Unit: 0.1 deg.) into

DM1406. Use units of 0.1 deg. to specify the preset angle for the cam switch
mode. (Write the value of [Desired angle x 10] into data memory.)

4. Specify the angle at which the first relay turns OFF (Unit: 0.1 deg.) into

DM1407.

5. Specify the angle at which the second relay turns ON (Unit: 0.1 deg.) into

DM1408.

6. Specify the angle at which the second relay turns OFF (Unit: 0.1 deg.) 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.

In multi-step comparator mode
1. Write the initial number of output relays to be used into DM1400.

Be sure to write the initial relay number of each channel.
Example

0500, 0600: Acceptable, 0501, 0610: Unacceptable

2. Write the value to be compared into DM1401, and write "65535" into DM1402.

3. Specify the preset value at which the first relay turns ON into DM1406.

4. Specify the preset value at which the first relay turns OFF into DM1407.

.

o

N

M

D

n

o

i

t

p

i

r

c

s

e

D

0

0

4

1

M

D

0

0

9

1

n

a

h

t

r

e

h

t

o

s

e

u

l

a

V

(

s

y

a

l

e

r

t

u

p

t

u

o

f

o

s

s

e

r

d

d

a

l

a

i

t

i

n

i

s

e

r

o

t

S

.

)

.

0

0

e

r

a

s

t

i

g

i

d

o

w

t

t

s

a

l

e

s

o

h

w

0

0

9

2

h

g

u

o

r

h

t

1

0

4

1

M

D

)

4

3

5

5

6

o

t

0

(

d

e

r

a

p

m

o

c

e

b

o

t

e

u

l

a

V

2

0

4

1

M

D

.

e

d

o

m

r

o

t

a

r

a

p

m

o

c

e

g

a

t

s

-

i

t

l

u

m

e

s

u

o

t

"

5

3

5

5

6

"

r

e

t

n

E

7

0

4

1

M

D

/

6

0

4

1

M

D

)

4

3

5

5

6

o

t

0

(

F

F

O

/

N

O

s

n

r

u

t

y

a

l

e

r

t

u

p

t

u

o

t

s

r

i

f

h

c

i

h

w

t

a

e

u

l

a

v

t

e

s

e

r

P

9

0

4

1

M

D

/

8

0

4

1

M

D



9

6

4

1

M

D

/

8

6

4

1

M

D

)

4

3

5

5

6

o

t

0

(

F

F

O

/

N

O

s

n

r

u

t

y

a

l

e

r

d

n

o

c

e

s

h

c

i

h

w

t

a

e

u

l

a

v

t

e

s

e

r

P



)

4

3

5

5

6

o

t

0

(

F

F

O

/

N

O

s

n

r

u

t

y

a

l

e

r

d

n

2

3

h

c

i

h

w

t

a

e

u

l

a

v

t

e

s

e

r

P

0

7

4

1

M

D

e

s

u

m

e

t

s

y

s

r

o

f

d

e

v

r

e

s

e

R

KVNKA Chap 04_2.p65

08.3.11, 0:08 PM

234

Advertising