KEYENCE Visual KV Series User Manual

Page 143

Advertising
background image

2.4 Instruction Details

1

2

3-119

Chapter 2 Instructions

Mode setting
Write the desired mode No. into the first data memory.

Mode for pulse measurement

Mode for DM measurement
Write the desired mode No. into the specified data memory.

Example

Write "#0006" to obtain the average of the contents of DM0006.

Note 1: When the mode No. is set to 10000 through 11999, values are fetched at
the scan only when the PLS input relay is ON.

Note 2: When the average of a data memory is calculated, values "32768" to
"65535" are converted into corresponding compliment numbers (-32767 to -1) .

Note 3: Some data memories after DM1000 are assigned to special functions. Be
careful when specifying data memory for the ITVL instruction.

➮ Refer to "1.3.10 Data Memories" (p. 3-19) for data memory assignments.

Mode

Pulse-to-pulse

interval

Unit

Mode

Pulse width

Unit

10 m sec

100 m sec

1 sec

10 m sec

100 m sec

1 sec

Mode No.

DM No.

Description

10000

DM0000

Measure the contents of DM0000 and obtain the
average.

10001

DM0001

Measure the contents of DM0001 and obtain the
average.

10005

DM0005

Measure the contents of DM0005 and obtain the
average.

0006

10006

DM0006

Measure the contents of DM0006 and obtain the
average.

0007

10007

DM0007

Measure the contents of DM0007 and obtain the
average.

1999

11999

DM1999

Measure the contents of DM1999 and obtain the
average.

2000 to 9999

12000 or more Not provided

Cannot be used.

Pulse-to-pulse interval measurement

Pulse width measurement

0

1

2

3

4

5

ITVL

KVNKA Chap 02_4bP.p65

08.3.11, 0:00 PM

119

Advertising