beautypg.com

1 serial communication, Communication form, Settings for serial communication – KEYENCE DV-90 User Manual

Page 180: Serial communication -2, Serial communication

background image

8-2

E DV-90-IM

8

Ser

ia

l Comm

unicati

on

8-1

Serial Communication

With serial communication, you can send data to the PC, and control the DV-90 by sending commands from the
PC.
PORT2 or the USB can be used for serial communication.

Communication Form

There are two types of serial communication:

„ Data communication

Data that is read with the connected code reader can be sent to a PC, etc.

„ Command communication

Commands can be sent from the PC to control the DV-90 directly or to change the settings.

Settings for Serial Communication

To execute serial communication, specify the following settings for the DV-90:

„ Using PORT2

1

Set “PORT2 Unit” in “Main” to “PC”.

2

Specify “Baud” and “Format (data length, parity, stop bit length)” in “PORT2

Unit” according to the PC.
The default settings are as follows:

* When a 2D code reader is connected, and there are double-byte characters such as Chinese

characters in the 2D code being read, set the "Data length" to "8 bits".

3

Specify the “Send Format” in “Verify” according to the software specifications.

(

Refer to 6-7)

The default setting is [Data]+

.

4

Specify the “Comm. Protocol” in “Verify” according to the PC software as

required. Normally, there is no need to change this setting.

5

Specify “RTS/CTS” in “PORT2” according to the PC software. Normally, there is

no need to change this setting.

Baud rate

9,600 bits/s

Data length *

7 bits

Parity

Even

Stop bit length

1 bit

CR