beautypg.com

Displaying a decimal point, Displaying a two-word number – KEYENCE KV-D20 User Manual

Page 45

background image

3. Examples of Ladder Programs

3

45

F1

F2

F3

F4

1

2

3

4

2002

#30000

DM1580

DW

$0002

DM1680

DW

Data memory

DM0000

Device

No.

Comment 1

Displaying a decimal point

Operator screen

Ladder program

Description

Display a decimal point in the third place from the right in DM0000 (display two
digits to the right of the decimal point).

Comment

Displaying a two-word number

Operator screen

Ladder program

Description

Display a two-word number consisting of the low-order 16 bits in DM0100 and the
high-order 16 bits in DM0101 (with a comment).

Comment

F1

F2

F3

F4

1

2

3

4

2002

#30100

DM1580

DW

$0400

DM1680

DW

Data memory

DM0100

Device

No.

Comment 1

P R OD U C T A :

PRODUCT A:

123456789

kv_d20_manual.p65

08.3.10, 6:08 PM

45