Basic ladder programs – KEYENCE KV-D20 User Manual

Page 44

Advertising
background image

3. Examples of Ladder Programs

3

44

Device attribute display setting [DM1680 (first line) through DM1699 (20th line)]

The following 10 attributes can be specified.

Refer to page 122 for details.

* 0 is initial setting.

Basic ladder programs

Displaying " PACKS"

Operator screen

Ladder program

Description

Display the current value of C000 with a comment. The counter preset value is
not displayed.

To avoid overlapping the character and numeric value, shift the position of the
numeric value by 5 digits to the left.

Comment

.

o

N

s

e

t

u

b

i

r

t

t

A

n

o

i

t

c

n

u

f

d

n

a

e

u

l

a

v

t

e

S

*

)

F

F

O

(

0

)

N

O

(

1

s

t

i

B

3

o

t

0

n

o

i

t

i

s

o

p

t

n

i

o

p

l

a

m

i

c

e

D

t

n

i

o

p

l

a

m

i

c

e

d

o

N

:

n

o

i

t

i

s

o

p

t

n

i

o

p

l

a

m

i

c

e

D

)

F

(

5

1

o

t

0

s

t

i

B

7

o

t

4

t

h

g

i

r

e

h

t

o

t

s

e

c

a

p

s

f

o

.

o

N

s

e

u

l

a

v

c

i

r

e

m

u

n

f

o

t

h

g

i

r

-

h

s

u

l

F

)

F

(

5

1

o

t

0

:

s

e

c

a

p

s

f

o

.

o

N

8

t

i

B

s

e

u

l

a

v

c

i

r

e

m

u

n

e

d

i

h

/

w

o

h

S

d

n

a

s

t

n

e

m

m

o

c

w

o

h

S

.

s

e

u

l

a

v

c

i

r

e

m

u

n

.

y

l

n

o

s

t

n

e

m

m

o

c

w

o

h

S

9

t

i

B

s

n

g

i

s

e

d

i

h

/

w

o

h

S

.

s

n

g

i

s

e

d

i

H

.

s

n

g

i

s

w

o

h

S

0

1

t

i

B

s

t

i

b

f

o

.

o

N

s

t

i

b

6

1

s

t

i

b

2

3

1

1

t

i

B

n

o

i

t

a

t

o

N

l

a

m

i

c

e

D

l

a

m

i

c

e

d

a

x

e

H

2

1

t

i

B

s

e

u

l

a

v

t

e

s

e

r

p

e

d

i

h

/

w

o

h

S

.

s

e

u

l

a

v

t

e

s

e

r

p

w

o

h

S

.

s

e

u

l

a

v

t

e

s

e

r

p

e

d

i

H

3

1

t

i

B

g

n

i

t

t

e

s

n

o

i

s

s

e

r

p

p

u

s

-

o

r

e

Z

.

n

o

i

s

s

e

r

p

p

u

s

o

r

e

z

e

s

U

o

r

e

z

e

s

u

t

o

n

o

D

.

n

o

i

s

s

e

r

p

p

u

s

4

1

t

i

B

g

n

i

g

n

a

h

c

e

l

b

a

s

i

d

/

e

l

b

a

n

E

s

e

u

l

a

v

t

e

s

e

r

p

e

l

b

a

n

E

e

l

b

a

s

i

D

5

1

t

i

B

g

n

i

g

n

a

h

c

e

l

b

a

s

i

d

/

e

l

b

a

n

E

s

e

u

l

a

v

)

t

n

e

r

r

u

c

(

e

l

b

a

n

E

e

l

b

a

s

i

D

F1

F2

F3

F4

1

2

3

4

PRODUCED:

100PACKS

Counter

C000

Device

No.

Comment 1

P R OD U C E D :

P A C K S

2002

#21000

DM1580

DW

$1050

DM1680

DW

$

■ ■ ■ ■

■ ■ ■ ■

kv_d20_manual.p65

08.3.10, 6:08 PM

44

Advertising