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 6 of 12

BL-600 Series User's Manual: Laser Bar Code Reader, pages 51 to 60

Pages 51 to 60 of 112

The original document is the PDF (1.0 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-600 and Keyence BL-601

Page 51

Chapter 7 Function

Command being sent

CODE39 Sending check digit.

Change

WCm02n

OK m=0 to 3: Codes 1 to 4 00, 02,

Confirm

RCm02

02n n=0: Disable

03, 04,

1: Enable

05, 07,

WCm10n

OK m=0 to 3: Codes 1 to 4 14

WCm10

10n n=0: Disable

ITF Change Inspection of check digit (Modulus 10/ Confirm Wait 3)

Response

Serial Communication

Description

Error code

1: Enable

ITF Sending check digit.

Change

WCm11n

OK m=0 to 3: Codes 1 to 4

Confirm

RCm11

11n n=0: Disable

Codabar Sending start/stop character.

Change

WCm30n

OK m=0 to 3: Codes 1 to 4

Confirm

RCm30

30n n=0: Disable

Codabar Start/Stop character type

Change

WCm31n

OK m=0 to 3: Codes 1 to 4

Confirm

RCm31

31n n=0: Lower case

WCm32n

OK m=0 to 3: Codes 1 to 4

RCm32

32n n=0: Disable

1: Enable

1: Enable

1: Upper case

Change Codabar Inspection of check Confirm digit Change Codabar Sending check digit Confirm

1: Enable WCm33n

OK m=0 to 3: Codes 1 to 4

RCm33

33n n=0: Disable 1: Enable

Codabar Setting check digit type

Change

WCm34n

OK m=0 to 3: Codes 1 to 4 00, 02

Confirm

RCm34

34n n=0: Modulus16

03, 04,

1: Modulus 11

05, 08,

2: Modulus 10/Wait 2 14 3: Modulus 10/Wait 3 4: 7 Check DR 5: Modulus 11-A 6: Modulus 10/

7

Wait 2-A EAN/UPC (A•E) Reading UPC-E EAN/UPC (A•E) Reading EAN 8 digits

Change

WCm40n

OK m=0 to 3: Codes 1 to 4 00, 02,

Confirm

RCm40

40n n=0: Disable

03, 04,

1: Enable

05, 07,

Change

WCm41n

OK m=0 to 3: Codes 1 to 4 14

Confirm

RCm41

41n n=0: Disable 1: Enable

121

Page 52

Chapter 7

Serial Communication Function

Command being sent

EAN/UPC (A•E) Reading JAN 13 digits

Change

WCm42n

OK m=0 to 3: Codes 1 to 4 00, 02,

Confirm

RCm42

42n n=0: Disable

03, 04,

1: Enable

05, 07,

EAN/UPC (A•E) No. of UPC-A output digits

Change

WCm43n

OK m=0 to 3: Codes 1 to 4 14

Confirm

RCm43

43n n=0:Output in 13 digits

➮ See p. 32.

Setting max. code length output function

OK m=0 to 3: Codes 1 to 4

44n n=0: Disable

Error code

1: Enable WCm51n

OK m=0 to 3: Codes 1 to 4

Confirm

RCm51

51n n=0: Disable 1: Enable

Change

WCm83n

OK m=0 to 3: Codes 1 to 4

Confirm

RCm83

83n n=0: Disable 1: Enable

WCm84n

OK m=0 to 3: Codes 1 to 4

RCm84

84n n=0: Forward

WCm85nn

OK m=0 to 3: Codes 1 to 4 00, 02,

RCm85

85nn nn=01 to 32

WCm86nn

OK m=0 to 3: Codes 1 to 4 14

RCm86

86nn nn=01 to 32

Setting label orientation specified reading

Change

WCm81n

OK m=0 to 3: Codes 1 to 4 00, 02,

Confirm

RCm81

81n n=0: Disable

03, 04,

1: Enable

05, 07,

Setting orientation for orientationspecified reading

Change

WCm82n

OK m=0 to 3: Codes 1 to 4 14

Confirm

RCm82

82n n=0: Forward

Change Setting effective digits for max. code Confirm length output Setting starting digit Change for max. code Confirm length output

122

WCm44n RCm44

Change

Setting direction for Change max. code length Confirm output

7

Description

1:Output in 12 digits

Change EAN/UPC (A•E) Adding “0” to UPC- Confirm E system code CODE128 EAN-128 support

Response

1: Reverse

: Effective digits

03, 04, 05, 09,

: Starting digit

1: Reverse

Page 53

Chapter 7

Serial Communication

■ Setting Reading Mode/Data Addition Functions Function

Command being sent

Response

Description

Error code

Setting reading mode

Change

WP12n

OK n=0: Single label

00, 02,

Confirm

RP12

12n

1: Multi label 1

05, 07,

2: Multi label 2

14

3: Multi label 3 Setting data send timing

Change

WP13n

OK

Confirm

RP13

13n

N=0: Sends data after 00, 02, reading

05, 07,

1: Sends after timing 14 input turns off Setting repeat-read Change time in multi label Confirm reading mode 1 or 2

WP41nnn

OK nnn=001 to 225

00, 02,

RP41

41nnn

(by 100 ms step)

05, 09, nnn=001 to 225

14

Setting decoding match count

Change

WP43nnn

OK

Confirm

RP43

43nnn

Setting decoding match count in additional information

Change

WP10n

OK

Confirm

RP10

10n

Setting scans in additional information

Change

WP11n

OK

Confirm

RP11

11n n=0: No addition 1: Add

00, 02, 05, 07, 14 n=0: No addition 1: Add Note: Effective only when No. of decodings are added.

Change Setting label orientation in Confirm additional information Setting code type in Change additional information Confirm

WP14n

OK

RP14

14n

WP17n

OK

RP17

17n

Adding a symbol identifier

Change

WP80n

OK

Confirm

RP80

80n

Adding PMI (Preventive maintenance information)

Change

WP86n

OK

Confirm

RP86

86n

PMI Preset value 1 (L1)

Change

WP48nnn

OK

Confirm

RP48

48nnn

PMI Preset value 2 (L2)

Change

WP49nnn

OK

Confirm

RP49

49nnn

Setting reading error code

Change

WP55hhh...

Confirm

RP55 n=0: No addition 1: Add

7 n=0: No addition 1: Add n=0: No addition 1: Add n=0: No addition 1: Add nnn= 000 to 100

00, 02, 05, 07, nnn= 000 to 100

14

OK hhh ... = Reading error

00, 02,

55hhh...

code (within 8 characters) 05, 06, * Specify the charac- 10, 12, ters in HEX (hexadeci- 14 mal) code. * If the reading error code is not specified, hhh... = FF.

123

Page 54

Chapter 7

Serial Communication Tips

To set the reading error code, send the following command: Example 1 Set the reading error code to “BR”. BR WP554252 * B = 42h, R = 52h Example 2 Set no reading error code. WP55FF ■ Setting trigger input (Starting test mode)

7

Function

Command being sent

Response

Description

Setting signal type

Change

WP05n

OK n=0: Level

Confirm

RP05

05n

1: One-shot

Setting one-shot input time

Change

WP42nnn

OK nnn=001 to 225

Confirm

RP42

42nnn

Setting time constant of trigger input

Change

WP04n

OK n=0: 2 ms

00, 02,

Confirm

RP04

04n

1: 10 ms

05, 07,

Setting state of trigger input

Change

WP03n

OK

Confirm

RP03

03n

Trigger the input status at power-on

Change

WP02n

OK

Confirm

RP02

02n

1: ON

Starting test mode when trigger input turns on. (To specify the test mode, use the command below.)

Change

WP06n

OK n=0: Disable

Confirm

RP06

06n

1: Enable

Specifying the test mode to be started when trigger input turns on.

Change

TRGTn

OK

Confirm

TRGT

TRGTn

Starting test mode when power is turned on.

Change

TESTn

OK

Confirm

TEST

TESTn

Setting characters of trigger on command

Change

WP56hhh...

OK hhh...=Trigger on

00, 02,

Confirm

RP56

56hhh...

command (Up to 8

05, 11, characters)

14

(by 100 ms step)

Error code 00, 02, 05, 07, 14 00, 02, 05, 09, 14

14 n=0: Normal-open 1: Normal-close n=0: OFF n=1: Reading rate

00, 02, check mode

05, 08,

2: Tact check mode 14 n=0: Reset 1: Reading rate check mode 2: Tact check mode

* Specify characters in HEX (hexadecimal) code. Setting characters of trigger off command

Change

WP57hhh...

OK hhh...=Trigger off

Confirm

RP57

57hhh...

command (Up to 8 characters) * Specify characters in HEX (hexadecimal) code.

124

Page 55

Chapter 7 Tips

Serial Communication

To set characters of the trigger On/Off command, send the following command. Example 1 Change the trigger on command to S. S WP5653 * S=53h

■ Setting communication parameters 1 Function

Command being sent

Response

Description

Error code

Setting baud rate

Change

WP35n

OK n=5: 38400 bps

00, 02,

Confirm

RP35

035n

6: 31250 bps

05, 08,

7: 19200 bps

14

0: 9600 bps 1: 4800 bps 2: 2400 bps 3: 1200 bps 4: 600 bps Setting data bit length

Change

WP30n

OK

Confirm

RP30 WP31n RP31

Setting parity check Change * To set the parity Confirm type, use the command below. Setting parity type Setting Stop bit n=0: 7 bits

00, 02,

30n

1: 8 bits

05, 07,

OK n=0: Disable

31n

1: Enable

Change

WP32n

OK

Confirm

RP32

32n

1: Odd

Change

WP33n

OK n=0:1 bit

14 n=0: Even

Confirm

RP33

33n

1: 2 bits

Setting RTS/CTS handshaking

Change

WP22n

OK n=0: Disable

Confirm

RP22

22n

1: Enable

Setting RS-485 multi drop link

Change

WP34n

OK n=0: Disable

Confirm

RP34

34n

1: Enable

Setting ID No. for RS-485 multi drop link.

Change

WP44nn

OK nn=01 to 31

Confirm

RP44

44nn

7

00, 02 05, 09, 14

125

Page 56

Chapter 7

Serial Communication ■ Setting communication parameters 2 (When the PLC link is not used) Function

Command

Response

Description

Error code

Handshaking protocol 1

Change

OK n = 0: No handshaking n = 1: Use protocol

00, 02,

*To set details of the protocol, use handshaking protocol 2.

14

Handshaking protocol 2

Adding checksum

WP07n

Confirm RP07

07n

Change

WP08n

OK n = 0: PASS/RTRY protocol

Confirm

RP08

08n n = 1: ACK/NAK protocol

Change

WP39n

OK n = 0: Do not add

Confirm

RP39

39n

Change

WP51hhh... OK n = 1: Add

Header

Delimiter

Transmission delay time

51hhh...

Confirm

RP51

Change

WP52hhh... OK

Confirm

RP52

52hhh...

Change

WP98nnn

OK

Confirm

RP98

98nnn hhh... = Header (up to five characters) * To set a header, use HEX (hexadecimal) codes. * hhh... = FF: Header is not set. hhh... = Delimiter (up to five characters) * To set a delimiter, use HEX (hexadecimal) codes. * hhh... = FF: Delimiter is not set.

00, 02, nnn = 000 to 255 (by 10 ms step)

00, 02, 05, 09, 14

7 Tips

To set the header and delimiter, send the following command: Example Set the communication data format to <SOH> 01 bar code data A <CR>. SOH 0

1

A CR

WP51013031

WP52410D

* SOH =01h, 0=30h, 1=31h, A=41h, CR =0Dh

126

05, 07,

05, 06, 10, 12, 14

Page 57

Chapter 7

Serial Communication

■ Setting communication parameters 2 (only when PLC link is used) Function

Command

PLC link model

Change

Response Description WP36n

OK n = 0: PLC link disabled n = 1: SYSNAC-C n = 2: MELSEC-A

Confirm

RP36

36n

Error code 00, 02, 05, 07, 14 n = 3: KV n = 4: MELSEC-A (File register is used.)

Trigger input through PLC link

Change

WP37n

OK

Confirm

RP37

37n

DM head address

Change

WP45nn

OK

Confirm

RP45

45nn

Change

WP47nn

OK

Confirm

RP47

47nn

Change

WP46nnn

OK

Confirm

RP46

46nnn

PLC / station number

File register block number n = 0: Disable n = 1: Enable nn = 00 to 99 (0000 to 9900)

00, 02, 05, 09, 14 nn = 00 to 31 nnn = 000 to 255

■ Setting communication strings Function

Setting interme- Change diate delimiter when multi label reading mode 2 Confirm or 3 is used.

Response Description

Command

Setting partition Change mark when additional Confirm information is used.

WP50hh

OK

RP50

50hh

WP54hhh... OK RP54

54hhh...

hh = Partition mark (1 character) * Specify the mark in HEX (hexadecimal) code.

Error code 00, 02, 05, 06, 10, 12, 14

7 hhh = Intermediate delimiter (Up to 5 characters) * Specify the mark in HEX (hexadecimal) code. * To set no intermediate delimiter, hhh = FF.

127

Page 58

Chapter 7

Serial Communication ■ Utility Setting (Stability LED, OK/NG output duration, Preset data for compare) Function

Command being sent

Response

Description

Error code

Indication of Stability LED

Change

WP09n

OK n=0: Disable

Confirm

RP09

09n

1: Enable

00, 02, 05, 07, 14

Change

WP40nnn

OK nnn= 001 to 255

Confirm

RP40

40nnn

(by 10 ms step)

Setting OK/NG output duration

7 Tips

Registration of preset data for compare

Change

WP68aaa...

OK aaa...= Preset data

Confirm

RP68

68aaa...

(Up to 32 characters)

Scaling factor for the quiet zone

Change

WP0Mn

OK

Confirm

RP0M

0Mn

Reading a reversed bar code

Change

WP0Rn

OK n= 0: OFF

Confirm

RP0R

0Rn

1: On

Outputting the test mode result

Change

WP85n

OK

Confirm

RP85 n

Changing the decoding match count

Change

WP93nnn

OK

Confirm

RP93

93nnn

* For CODE128, see P.136 to 137. * To delete the preset data, send WP68.

To register the preset data, send the following command. Example Register “ABC123” as preset data. WP68ABC123

128 n = 0: 4x 1: 5x 2: 6x 3: 7x 4: 8x 5: 9x 6: 10x 7: 11x n = 0: Disable output 1: Enable output nnn= 000 to 255

00, 02, 05, 09, 14 00, 02, 05, 12, 13, 14, 17, 18

00, 02, 05, 07, 14

Page 59

Chapter 8 PLC Link This chapter describes the PLC link control.

8.1

PLC Link ............................................................................. 130

8.1.1 List of PLCs used for PLC link ............................................. 130 8.1.2 Devices used for PLC link .................................................... 131 8.2

Setting the BL-600 and PLC .............................................. 132

8.2.1 Setting the BL-600 Series .................................................... 132 8.2.2 Setting the PLC .................................................................... 132 8.3

Device Assignment ............................................................ 135

8.3.1 Data memory head address ................................................ 135 8.3.2 Data memory areas ............................................................. 136 8.3.3 Detailed description of device assignment .......................... 137 8.4

PLC Link Error ................................................................... 142

8.5

Communication Time ........................................................ 143

Page 60

Chapter 8

8.1

PLC Link

PLC Link This section describes the applicable PLCs and devices for the PLC link. Since the BL-600 directly controls the PLC’s memory, no program is required for data communication, resulting in a reduced number of programming steps. As compared with the serial communication using a computer, the PLC link involves the following limitations: •

The BL-600 settings cannot be changed because the PLC link cannot send a command to the BL-600. However, the PLC link provides a reading control address to start/end reading.

•

The PLC link cannot start the test mode.

8.1.1 List of PLCs used for PLC link KEYENCE KV Series

Built-in CPU port Serial interface module Built-in CPU port

Mitsubishi MELSEC-A Series

Calculator link unit

Built-in CPU port OMRON SYSMAC-C Series High-order link unit Communication board OMRON SYSMAC-CQM1 Series

8

OMRON SYSMAC-CV Series

KV-10/16/24/40/80, KV-300 NEW KV-10/16/24/40 KV-L2 A2CCPUC24, A2CCPUC24-PRF AJ71(U)C24(-Sx), AJ71Q24(-R2/R4), A0J2-C214-S1 A1SJ71(U)C24-R2/PRF/R4 C20H/28H/40H C200HS-CPU21/23/31/33 C200HE-CPU/32/42 C200HG-CPU33/43/53/63 C200HX-CPU34/44/54/64 C200HX-CPU65-Z/85-Z C200H-LK201(-V1), C500-LK203 C500-LK201-V1, C120-LK201-V1 C200H-LK202(-V1), C120-LK202-V1 C200HW-COM02/COM03/COM04/ COM05/COM06

Built-in CPU port

CQM1-CPU21/41/42/43/44

Built-in CPU port

CV500/1000, CV-M1

High-order link unit

CV500-LK201

Note: KV-300 and KV-L2 are not available in Europe.

130