KEYENCE BL-700 Series User Manual

Page 128

Advertising
background image

Chapter 6 PLC Link

114

6

After data processing is completed, set the flag area to “2”. Writing new data is
impossible until the flag area is set to “2”.

Data that cannot be stored in the specified areas is retained in the BL-700
transmission buffer. (For the capacity of the BL-700 transmission butter, see
p.88.) If the amount of retained data exceeds the buffer capacity, the entire
contents of the buffer is cleared and an “OVER” code is stored in the memory
data area (A+05 to A+09). If a buffer “OVER” error occurs, the BL-700 halts
operation, but then restores operation once the “OVER” code has been stored.

The label orientation, decode count and other additional data are stored in these
areas.

The number of digits of the data is stored in the +05 address.

The read bar code data is stored in the A+06 to A+69 addresses using the
ASCII codes (hexadecimal numbers in two digits) by the digit.

➮ See the ASCII code table in P.140.

If a read error occurs, the “ERROR” code is stored in the corresponding area.
(The reading error code can be easily changed in the BL-700 settings.)

If a buffer overflow error occurs with the BL-700, the “OVER” code is stored in
the corresponding area.

➮ See P.113.

If an error occurs in the main unit, the “MOTOR” code is stored in the corre-
sponding area.

A+01 to A+04

Additional data area

Address

Description

Data

A+01

Label orientation

0: Reading error
1: Normal orientation
2: Reverse orientation

A+02

Decode count

0 to 9999 (binary)

A+03

Scan count

0 to 9999 (binary)

A+04

Bar code type

0: CODE 39
1: ITF
2: Industrial 2of5
3: Coda bar
4: EAN/UPC
5: CODE128
6: COOP 2of5
7: Reading error
8: CODE 93

A+05 to A+69

Data memory area

Address

Description

Data

A+05

Number of digits of bar code

1 to 64 (binary) ... Number of digits

data (1 to 64)

A+06

1st digit of read data

A single ASCII code

A+07

2nd digit of read data

A single ASCII code

A+69

64th digit of read data

A single ASCII code

...

...

...

Advertising