KEYENCE DV-90 User Manual
Page 209

9-9
9
E DV-90-IM
PLC Link
(Usage 2)
“X+07” is the flag that monitors whether or not the DV-90 has correctly recognized “X+06”.
When turning on and off the trigger signal rapidly in “X+06”, the DV-90 may miss changes in
“X+06”, causing the trigger signal not to turn on or off. In such a case, set the program to check
whether or not the DV-90 has recognized “X+06” by using “X+07”.
➀Write “0” to “X+06 to +07” beforehand.
➁To instruct the code reader connected to PORT1 to start reading (trigger ON), write “1” in
“X+06”.
➂The moment the DV-90 recognizes a change in “X+06”, “1” is written in “X+07”. This indicates
that the DV-90 has successfully recognized “X+06”. The code reader starts reading at that point.
If “1” is not written in “X+07”, this indicates that the DV-90 has not yet recognized “X+06”. In
this case, do not hastily attempt to write “0” in “X+06”.
➃After confirming that “1” is written in “X+07”, set “X+07” to “0” again.
➄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 barcode.
➆The moment the DV-90 recognizes “X+06”, “1” is written in “X+07”. This proves that the DV-90
has successfully recognized “X+06”.
If “1” is not written in “X+07”, this indicates that the DV-90 has not yet recognized “X+06”. In
this case, do not hastily attempt to write “1” in “X+06”.
➇After confirming that “1” is written in “X+07”, set “X+07” to “0” again.
➈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*+00 ...”.
Reference
Writing of the data at Step
➄
is detected by “X+09 Data Write Complete Check Flag”.
(
Refer to 9-10.)