beautypg.com

2 capacity of transmission buffer, 3 read data format, 2 details on data communication – KEYENCE BL-180 User Manual

Page 56

background image

4.2 Details on Data Communication

48

RTS/CTS Handshaking

When the PC’s RTS (BL-180’s CTS) signal turns off, the BL-180 becomes ready
for data transmission. When the PC’s RTS signal turns on, the BL-180 starts data
transmission.

When the PC’s RTS signal is off, the BL-180 can still read. In this case, data is
stored in the BL-180’s transmission buffer (see 4.2.2 below).

If the amount of stored data exceeds the capacity of the transmission buffer, the
BL-180 sends back

OVER to the PC, and clears all data
stored in the transmission buffer.

The RTS/CTS handshaking cannot be used for RS-422A communication.

The RTS/CTS protocol can be used together with other handshaking protocols.

When the PC’s RTS signal is off, the BL-180 does not sends back a response to
the PC.

4.2.2

Capacity of Transmission Buffer

The BL-180’ s transmission buffer can store 400 bytes (400 characters).

The number of characters stored in the transmission buffer for each data packet
is the number of characters in the data (including additional data such as the num-
ber of decoding match count) plus an additional five characters indicating the da-
ta’s attributes.

When multi label reading mode 2 or 3 is used, these five attribute characters are
added to each data packet.

Example 1

When the number of bar code digits is 10 (with no additional data)

400 ÷ (10 + 5) = 26

The transmission buffer can store 26 pieces of data.

Example 2

When the number of bar code digits is 20 (with no additional data)

400 ÷ (20 + 5) = 16

The transmission buffer can store 16 pieces of data.

4.2.3

Read Data Format

Set the data format of the Header and Delimiter, respectively.

With the setup software, the following formats can be selected. Other than the fol-
lowing formats, you can freely set up to 5 characters.

Header

ESC (1BH)/STX (02H)/None

Delimiter

CR (ODH)/CR (ODH) LF (OAH)/ETX (O3H)

Note

Header

Read data

Delimiter