KEYENCE DV-90 User Manual

Page 211

Advertising
background image

9-11

9

E DV-90-IM

PLC Link

9-2 Device Assignment

(Sequence processing)
➀Write “1” in “X+08” before starting an operation, and select “Sequence processing”.

➁Write “1” in “X+10”, and set the DV-90 to the “Data write enabled” state. This enables the DV-90

to write the new data.

➂“1” is written in “X+09” at the time the new data is written in “Y*+00…” of “X+18 to +22”. “0”

is written in “X+10”.
The timing of when the data is written varies depending on the “Verify Type” currently being
used. Refer to page 9-17 for details.

➃Have the program manipulate the new data written in “Y*+00…” in “X+18 to +22”.
➄When the manipulation has finished, write “0” in “X+09”, and “1” in “X+10”. Writing “1” in

“X+10” enables the DV-90 to write the next new data.

➅If “X+10” remains at “0”, the DV-90 cannot write new data to the PLC, so the data is stored in the

send buffer (stores up to 64 data). The stored transmission data is written as soon as “X+10”
changes to “1”.
When no more space is available in the send buffer, the DV-90 displays the error screen “Snd
Buffer Over”, clears all the data in the send buffer, and then stops operation. Press the [ESC] key
to recover.

„ DMs that change the active record number in “Verify Active”

• When “Verify Type” is set as “Verify Active”, an active record number can be selected. Follow

the steps below.

➀First, write “0” to “X+11”.
➁Then, write the active record number to select as “X+12” in binary code.
➂The DV-90 reads “X+12”, and changes the active record number of the DV-90.
➃After the active record number is changed, the DV-90 writes “1” to “X+11”.
➄When “X+11” changes to “1”, this indicates that the active record number has been changed suc-

cessfully.

Note

In “Real-time processing”, if barcodes are read sequentially, new data may be written over
the data that has not yet been manipulated in the PLC.
In such a case, use “Sequence processing”.

Note

•The DV-90 reads “X+08” at the same time that “1: Work start” is written in “X+00”. Changes

cannot be made during operation.

DM

Description

Data description

Writing from

the DV-90

Writing from

the PLC

X+11

Active Record Number Change

Check Flag

0: No change

1: Change complete

Yes

(0

→1)

Yes

(1

→0)

X+12

Active Record Setting Number

Notice Area

1 to 900 (binary)

No

Yes

Advertising