beautypg.com

KEYENCE DV-90 User Manual

Page 208

background image

9-8

E DV-90-IM

9

PLC Link

9-2 Device Assignment

„ DMs that control the read trigger

• “X+06 Read Trigger Notice Area” is used when feeding the start reading trigger signal to the

code reader (BL-700/600/500/180) connected to PORT1.

• When “1” is written in “X+06 Read Trigger Notice Area”, the trigger signal of the code reader

connected to PORT1 turns on. When “0” is written, the trigger signal turns off.

• “X+07 Read Trigger Response Check Flag” is used to check whether or not “X+06” was cor-

rectly transmitted to the code reader.
When the DV-90 recognizes that “X+06” has been changed (0

1 or 1

0), the DV-90 writes “1”

in “X+07” at that moment.

• When using “X+06” and “X+07”, set “PLC Time Area” in “PORT2” to “ON”.

(Usage 1)
Normally, follow the steps below without using “X+07”.

➀Write “0” to “X+06” beforehand.
➁To instruct the code reader connected to PORT1 to start reading (trigger ON), write “1” in

“X+06”. The code reader starts reading at that point.

➂When the code reader succeeds in reading data, the data is written in the address (Y*+01... ) spec-

ified in “X+01 to +03”.

➃When the reading is finished, write “0” in “X+06” to turn off the read trigger. Be sure to write “0”

in “X+06” even when the code reader has successfully read the data.

➄When the code reader is unable to read the data (read error),

• “997: Read Error” is written in “X+20”, and
• “ERROR” is written in “Y*+01...”.

DM

Description

Data description

Writing from

the DV-90

Writing from

the PLC

X+06

Read Trigger Notice Area

0: Trigger OFF

1: Trigger ON

No

Yes

X+07

Read Trigger Response Check Flag 0: Processing not complete

1: Processing complete

Yes

(0

→1)

Yes

(1

→0)

Note

•“X+06 Read Trigger Notice Area” and “X+07 Read Trigger Response Check Flag” are sup-

ported only in the BL-700/600/500/180 Series. They cannot be used in other code readers.

•When controlling the read trigger on the PLC link, do not use the trigger signal of the I/O ter-

minal.

Reference

Writing of the data at Step 3 is detected by “X+09 Data Write Complete Check Flag”.

(

Refer to 9-10.)