Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 10 of 16

BL-V35E Instruction Manual: Bar Code Display Interface: Chapter 5 Extended Functions

Pages 75 to 88 of 156, from BL-V35E Instruction Manual: Bar Code Display Interface

The original document is the PDF (1.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Keyence BL-V35E

Page 75

Chapter 5 Extended Functions This chapter describes useful functions of the BL-V35E such as the data reference function, digit designation function and parallel output setting function.

5.1

Data Reference Function ................................................... 66

5.1.1 Data reference function ......................................................... 66 5.1.2 Setting procedure for the data reference function ................. 66 5.2

Digit Designation Function ................................................ 68

5.2.1 Digit designation function ....................................................... 68 5.2.2 Setting the digit designation function ..................................... 68 5.3

Parallel Output Setting Function ....................................... 71

5.3.1 Parallel output setting function ............................................... 71 5.4

Parallel I/O Direct Control Function .................................. 73

5.4.1 Parallel I/O direct control function .......................................... 73 5.4.2 Directly controlling parallel inputs and outputs ...................... 73 5.5

Function for Copying Settings between Two BL-V35E Units ..................................................................... 74

5.5.1 Function for copying settings between two BL-V35E units .... 74 5.5.2 Copying the setting contents between BL-V35E units ........... 74

Page 76

Chapter 5

5.1

Extended Functions

Data Reference Function By using the data reference function, characters that have been entered in advance can be displayed on the LCD display instead of the bar code data.

5.1.1 Data reference function Normally, data that is read using a connected bar code reader is displayed as is on the LCD display. The data reference function replaces the readout bar code data with a character string that has been entered in advance. Instead of bar code data, more meaningful data such as the product name can be displayed.

Chocolate

PRESET

PRESET No.

5 4 3 2 1

DATA

COUNT

SHIFT OPTION SYMBOL

BACK SPACE

4 3 2 1

7

8

9

4

5

6

1

2

3

0

CLEAR

OUT 8 7 6 5 OK 10 9 NG

PRESET

CANCEL ENTER

5 Note: Letters, numbers and symbols are available in the data reference function.

5.1.2 Setting procedure for the data reference function Procedure 1. Select set mode. Press and hold the [0] key for 2 seconds to select set mode.

PRESET

TIM 1 TIM 2

BL - V35

4 3 2 1 OUT

RUN mo d e Se t up

PRESET No.

DATA

SHIFT SYMBOL

OPTION

7

8

4

5

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

ENTER

KEYENCE

1

2

0

CLEAR

PROGRAM

MONITOR

2. Display the reference function menu. Press the ▼ or ▲ key to select “6) Ref”. Then, press the [ENTER] key.

5 ) 7 )

66

Ou t No I n i t

6 )

Re f

Page 77

Chapter 5

Extended Functions

3. Confirm the reference data. The reference data set to the preset No. displayed on the preset No. indication LED is displayed on the LCD display. Press the ▼ and ▲ keys to display the preset No. to which the data reference function is to be set. • If the reference data is not set, the message “No Ref Data” is displayed. •

Three periods (.) are displayed on the preset No. indication LED so that reference data entry can be distinguished from preset data entry. Three periods (.) are displayed along with a preset No. The reference data corresponding to the selected preset No. is displayed.

PRESET

. .5. TIM 1 TIM 2

PRESET No.

DATA

SHIFT SYMBOL

OPTION

7

8

4

5

1

2

If no reference data is set, this message is displayed.

Chocolate

4 3 2 1 OUT

( No

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

ENTER

KEYENCE

0

CLEAR

PROGRAM

MONITOR

Re f

Da t a )

Select a desired preset No. using these keys.

4. Enter the reference data. When the [DATA] key is pressed, “_” is displayed on the LCD display. When entering numbers, use the numeric keypad. When entering letters and symbols, press the [SHIFT SYMBOL] key (➮ See p. 61).

PRESET

..5. TIM 1 TIM 2 4 3 2 1 OUT

PRESET No.

DATA

COUNT

SHIFT SYMBOL

OPTION

BACK SPACE

7

8

9

4

5

6

1

2

3

0

CLEAR

5

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

ENTER

KEYENCE

PROGRAM MONITOR

BL-V35E

5. Exit set mode. When registration is completed, press the key to save the entered data. Ensure that the LED above the [DATA] key is turned off. Press the [CANCEL] key twice to exit set mode.

PRESET

TIM 1 TIM 2

Caramel

4 3 2 1 OUT

PRESET No.

DATA

COUNT

SHIFT SYMBOL

OPTION

BACK SPACE

7

8

9

4

5

6

1

2

3

0

CLEAR

8 7 6 5 OK 10 9 NG

PRESET

KEYENCE

CANCEL

ENTER

PROGRAM MONITOR

BL-V35E

This completes setting of the data reference function.

67

Page 78

Chapter 5

5.2

Extended Functions

Digit Designation Function This section describes the digit designation function for designating certain digits of the readout bar code data to be output.

5.2.1 Digit designation function For example, when the bar code data “49123456” is read, all of the digits are usually output. By using the digit designation function, only certain digits such as “1234” or “456” may be output. This function is useful when only a certain part of the readout data is meaningful.

5.2.2 Setting the digit designation function The digit designation function has the following setting parameters. •

Digit designation direction

•

Digit designation start digit

•

Digit designation effective digits

Each of these parameters can be set in the option set mode. ● For the digit designation direction, “Forward” or “Reverse” can be set. Reverse

Forward

5

4

9

1

2

3 4 5 6

● The parameter “digit designation start digit” determines which digit counted in the digit designation direction is regarded as the first effective digit. It can be set to a number between 1 and 32. From the 5th digit counted in the forward direction

4 9

1

2

3 4 5 6

● The parameter “digit designation effective digits” determines how many digits will be output in the digit designation direction. It can be set to a number between 1 and 32. From the 5th digit counted in the forward direction

4 9

1

2

3 4 5 6 3 digits

Example When only “34” is to be output for the bar code data “158423421” and “58423421”. Digit designation direction: Reverse

Digit designation direction: Forward

Digit designation start digit: 3rd digit

Digit designation start digit: 3rd digit

1 5

1 5

8

4

2 3 4 2 1

Digit designation effective digits: 2 digits

8

4

2 3 4 2 1

Digit designation effective digits: 2 digits

Two digits will be output from the 3rd digit counted in the reverse direction. Note 1: Data is output from the left in communication, without regard to the digit designation direction. Note 2: Pay strict attention when setting the digit designation direction if the number of digits in the bar codes varies.

68

Page 79

Chapter 5

Extended Functions

■ Setting the digit designation function Procedure 1. Select set mode. Press and hold the [0] key for 2 seconds to select set mode.

PRESET

TIM 1 TIM 2

BL - V35

4 3 2 1 OUT

R U Nm o d e Se t up

PRESET No.

DATA

SHIFT SYMBOL

OPTION

7

8

4

5

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

1

2

0

CLEAR

PROGRAM

MONITOR

ENTER

KEYENCE

2. Display the option setting menu. Press the ▼ or ▲ key to select “4) Option”. Then, press the [ENTER] key. 1 ) Po r t 1 3 ) Ma i n

2 ) Po r t 2 4 ) Op t i o n

3. Set the digit designation direction. Press the ▼ or ▲ key to select “02 Digit Specify”. Press the [ENTER] key, and select the direction (“Forward” or “Reverse”) using the ▼ or ▲ key. Press the [ENTER] key to save the selection. 02 0 )

D i g i t OF F

Spe c i f y

4. Set the digit designation effective digits. Press the ▼ or ▲ key to select “03 Max. Digits”. Press the [ENTER] key, and set the number of effective digits using the ▲ key. Press the [ENTER] key to save the selection. 03

▼ or

Ma x . D i g i t s 16

5. Set the digit designation start digit. Press the ▼ or ▲ key to select “04 Start Digit”. Press the [ENTER] key, and set the start digit using the Press the [ENTER] key to save the selection. 04

S t a r t

▼ or

▲ key.

D i g i t 1

6. Exit set mode. Press the [CANCEL] key twice to exit the option set mode. Note: When the digit designation function is set to OFF, the parameters “Max. Digit” and “Start Digit” are not displayed.

This completes setting of the digit designation function.

69

5

Page 80

Chapter 5

Extended Functions ■ Application for the preset function By using the digit designation function, only the specified number of digits can be saved as preset data.

Example 4 9 1

2

3 4 5 6

Designated digits

“345” is saved as preset data.

In this case,

1 1 1 2 2 2 2 2 6 8 8 4

3 4 5 4 3 4 5 8 3 4 5 1

Note: The digit designation function can be used in the same way as the preset wild card function (➮ See p. 39).

5

70

Page 81

Chapter 5

5.3

Extended Functions

Parallel Output Setting Function By using the parallel output setting function, an output No. corresponding to a preset No. can be set.

5.3.1 Parallel output setting function In the default settings, each preset No. is equivalent to each output No. Using the parallel output setting function, you can change an output No. corresponding to a preset No. Using this function, • The same output No. can be assigned to two or more different preset Nos. • A NG output can be assigned to a preset No. (1 to 399). Preset No.

Output No.

Preset No.

Output No.

0 (verification NG)

NG (NG output)

0

5

1

1

1

1

2

2

2

1

3

3

3

399

4

4

4

NG

■ Setting procedure for the parallel output setting function Procedure 1. Select set mode. Press and hold the [0] key for 2 seconds to select set mode.

PRESET

TIM 1 TIM 2

BL - V35

4 3 2 1 OUT

RUN mo d e Se t up

PRESET No.

DATA

SHIFT SYMBOL

OPTION

7

8

4

5

5

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

KEYENCE

1

2

0

CLEAR

PROGRAM

MONITOR

ENTER

2. Display the parallel output setting menu. Press the ▼ or ▲ key to select “5) OutNo”. Then, press the [ENTER] key.

5 ) 7 )

Ou t No I n i t

6 )

Re f

71

Page 82

Chapter 5

Extended Functions 3. Set the correspondence between preset Nos. and parallel output Nos. Ensure that the contents shown below are displayed on the LCD display. A preset No. is displayed under “P No.” An output No. is displayed under “OUT”. Press and hold the ▼ or ▲ key until a preset No. whose parallel output No. is to be changed is displayed. • A preset No. can also be selected using the [PRESET No.] key. Output No. currently specified Preset No.

Output No. to be changed

PRESET

0 TIM 1 TIM 2

PNo . 0

4 3 2 1 OUT

OU T < = S e t NG

NG

PRESET No.

DATA

COUNT

SHIFT SYMBOL

OPTION

BACK SAPCE

7

8

9

4

5

6

1

2

3

0

CLEAR

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

ENTER

KEYENCE

PROGRAM MONITOR

BL-V35E

Select a preset No. using them. Enter an output No. using them.

4. Enter a parallel output No.

5

Enter a desired output No. using the numeric keypad, and press the save the input. • When setting an output No. to NG output, enter “999” and press the key.

PRESET

TIM 1 TIM 2 4 3 2 1 OUT

PNo . 0

OU T < = S e t NG 999

PRESET No.

DATA

COUNT

SHIFT SYMBOL

OPTION

BACK SPACE

7

8

9

4

5

6

1

2

3

0

CLEAR

8 7 6 5 OK 10 9 NG

PRESET

CANCEL

ENTER

KEYENCE

PROGRAM MONITOR

1 2 BL-V35E

Enter an output No. using them.

5. Exit set mode. Press the [CANCEL] key twice to exit set mode.

PRESET

TIM 1 TIM 2 4 3 2 1 OUT

PRESET No.

DATA

COUNT

SHIFT SYMBOL

OPTION

BACK SPACE

7

8

9

4

5

6

1

2

3

0

CLEAR

8 7 6 5 OK 10 9 NG

PRESET

KEYENCE

CANCEL

ENTER

PROGRAM MONITOR

BL-V35E

This completes setting of the parallel output.

72 key to

Page 83

Chapter 5

5.4

Extended Functions

Parallel I/O Direct Control Function Parallel inputs and outputs of the BL-V35E can be controlled directly using serial communication.

5.4.1 Parallel I/O direct control function By sending serial commands from a personal computer connected to the serial interface of the BL-V35E, the ON/OFF status of the BL-V35E parallel inputs (IN1 to IN5) can be read. Parallel outputs (OUT1 to OUT5) can also be turned on or off directly. In other words, parallel inputs and outputs of the BL-V35E can be used as external I/O terminals of the personal computer. “Set OUT1 to ON.”

STOD0000000001

CR

PRESET

TIM 1 TIM 2 4 3 2 1 OUT 8 7 6 5 OK 10 9 NG

RS-232C

KEYENCE

BL-V35E

Serial interface Parallel interface

OK CR

OUT1

Personal computer Control of external unit

ON

5.4.2 Directly controlling parallel inputs and outputs Parallel inputs and outputs can be controlled directly using the following methods. ● Releasing parallel inputs and outputs to the outside At first, a parallel input/output to be controlled should be released to the outside in the option set mode (➮ See p. 96) or by using serial commands (➮ See p. 108). In this case, normal parallel I/O operations are disabled. ● Directly controlling parallel inputs and outputs By using serial commands (➮ See p. 109), the ON/OFF status of parallel inputs can be read and parallel outputs can be turned on and off directly.

73

5

Page 84

Chapter 5

Extended Functions

5.5 Function for Copying Settings between Two BL-V35E Units When there are two BL-V35E units, the setting contents in one unit can be copied to another unit.

5.5.1 Function for copying settings between two BL-V35E units By connecting two BL-V35E units via the RS-232C, various settings (internal settings, preset data, reference data, etc.) can be copied from one unit to the other unit. You can check whether the settings are the same for both units.

5.5.2 Copying the setting contents between BL-V35E units ■ Connection Connect two BL-V35E units using their serial port 1 (PORT 1). For the cable and the connection method, see p. 28. ■ Copying the setting contents While two BL-V35E units are connected, perform the following steps. The BL-V35E unit that sends the setting is referred to as the sender, and the BL-V35E unit that receives the setting is referred to as the receiver in the description below.

Procedure 1. Display sub mode. In both the sender and the receiver, press and hold the [OPTION] key for 3 seconds. The message below is displayed.

5

B L - V 3 5 S u bMo d e Ve r i f y Cop y

2. Set the communication rate. In both the sender and the receiver, select “Auto=1” using the and then press the [ENTER] key.

▼ or

▲ key

C o mm R a t e Au t o=1 , Se t =2 Select “Auto=1”

Note: Never select “Set=2”. 3. Select an operation to be copied. When the ▼ or ▲ key is pressed, the following items are displayed in turn in the upper line of the LCD display. 0) Receive Copy................. Receiver of copy 1) Receive Verify ................ Receiver of verification 2) Send All .......................... Sender of copy of all settings 3) Send Settings................. Sender of copy of internal settings 4) Send Preset ................... Sender of copy of preset data 5) Send Ref Data ............... Sender of copy of reference data 6) Send Counter ................. Sender of counter 0 ) Re c e i v e Cop y En t e r t o S t a r t

74

Page 85

Chapter 5

Extended Functions

4. Prepare the receiver. In the receiver, select “0” and then press the [ENTER] key. The message shown below is displayed. • When the [CLEAR] key is pressed, execution is canceled. 0 ) Re c e i v e Cop y En t e r t o S t a r t

S t a r t C l ea r

Re c e i v e t o Can c e l

5. Prepare the sender. In the sender, select a number between “2” and “6” according to the setting to be copied, and then press the [ENTER] key. The settings are copied. • When the [CLEAR] key is pressed, execution is canceled. 2 ) Send A l l En t e r t o S t a r t

S t a r t C l ea r

Send t o Can c e l

5

6. Execute copy. When copying is started, the message “Sending. . .” appears to indicate that the settings are being copied. When copying is completed, the messages shown below are displayed respectively. Sender

Receiver

Send

Comp l e t e d

Re c e i v e Comp l e t e Co p y Comp l e t e d

7. Exit the copy function In both the sender and the receiver, press the [OPTION] key to exit the copy function. This completes copying of settings between two BL-V35E units.

75

Page 86

Chapter 5

Extended Functions ■ Verifying the copied setting contents To check whether the copied setting contents have been transferred properly, verification can be performed. Send the setting contents from one BL-V35E unit, and perform verification in the BL-V35E unit that received the settings. The BL-V35E unit that sends the setting is referred to as the sender, and the BLV35E unit that receives the setting is referred to as the receiver in the description below.

Procedure 1. Display sub mode. In both the sender and the receiver, press and hold the [OPTION] key for 3 seconds. The message below is displayed. B L - V 3 5 S u bMo d e Ve r i f y Cop y

2. Set the communication rate. In both the sender and the receiver, select “Auto=1” using the and press the [ENTER] key.

▼ or

▲ key

C o mm R a t e Au t o=1 , Se t =2

5

Note: Never select “Set=2”. 3. Prepare the receiver. When the ▼ or ▲ key is pressed, the upper line on the display is switched. In the receiver, select “1” and then press the [ENTER] key. The message shown below is displayed. • When the [CLEAR] key is pressed, execution is canceled.

0 ) Re c e i v e Ve r i f y En t e r t o S t a r t

S t a r t C l ea r

76

Re c e i v e t o Can c e l

Page 87

Chapter 5

Extended Functions

4. Prepare the sender. In the sender, select the setting to be verified, and then press the [ENTER] key (➮ See p. 75). The message shown below is displayed, and verification is started. • When the [CANCEL] key is pressed, execution is canceled. 2 ) Send A l l En t e r t o S t a r t

S t a r t C l ea r

Send t o Can c e l

5. Execute verification. When the verified contents match, the message shown below is displayed in the receiver. Matched

V e r i f y Comp l e t e d Ma t c h e d

When the verified contents do not match, the message shown below is displayed in the receiver. Not matched

5

V e r i f y Comp l e t e d No t Ma t c h e d

6. Exit the verification function In both the sender and the receiver, press the [OPTION] key to exit the verification function.

This completes verification of the setting contents between two BL-V35E units.

77

Page 88

78