The text of a manual · part 8 of 12
BL-600 Series User's Manual: Laser Bar Code Reader, pages 71 to 80
Pages 71 to 80 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 71
Chapter 8
PCL Link
A+05 to A+69 Data memory area
•
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 on page 169.
•
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-600 settings.) ➮ See page 43.
•
If a buffer overflow error occurs with the BL-600, the “OVER” code is stored in the corresponding area.
•
If an error occurs in the main unit, the “MOTOR” code is stored in the corresponding area.
Address
A+06
Description Number of digits of bar code data (1 to 64) 1st digit of read data
Data 1 to 64 (binary) ... Number of digits A single ASCII code
A+07
2nd digit of read data
A single ASCII code
A+05
: A+69
:
:
64th digit of read data
A single ASCII code
Note 1: When test mode is enabled, the BL-600 does not write data. Note 2: These data areas accept up to 64 digits. However, the BL-600 can read only 32 digits. When the bar code type is CODE128 and the start character is CODE-C, up to 64 digits can be read.
Example When the BL-600 reads the bar code “KE12” 4
A+06
$004B
A+07
$0045
A+08
$0031
A+09
$0032
➝
A+05
Number of digits
Stored in ASCII codes (hexadecimal)
8
Example When the BL-600 generates a reading error (ERROR)
5
A+06
$0045
A+07
$0052
A+08
$0052
A+09
$004F
A+10
$0052
➝
A+05
Number of digits
Stored in ASCII codes (hexadecimal)
141
Page 72
Chapter 8
8.4
PLC Link
PLC Link Error This section describes the remedy if a communication error occurs during the PLC link. If an error occurs, the BL-600 Series stops communication. The top LED in the STABILITY indicator flashes. 1. Check the following points and eliminate the cause. 1) Check if the RS-232C communication parameters (baud rate, data length, parity and stop bit length) for the PLC are matched with the N-400’s settings. 2) Check if the PLC link is set to “Use” in the communication parameters 2 setup. 3) Check if the PLC’s settings are correct. ➮ See pages 132 to 134. 4) Check if the cable connections are correct, or if any cable is disconnected. Referring to chapter 2 of this manual, check the connections using a multimeter. 5) Check if the device setting range does not exceed the available data memory areas of the PLC. If the data memory areas used for the BL-600 do not exist in the PLC, communication is impossible. 6) Check if the link unit operates normally. *
For the settings of the link unit, see the instruction manual for the link unit being used.
2. Press the TEST switch of the BL-600 Series. Communication recovers. If the problem cannot be solved in the procedure above, contact your nearest KEYENCE office or distributor (listed at the end of this manual).
8
142
Page 73
Chapter 8
8.5
PCL Link
Communication Time This section describes the communication time required for data transmission between the BL-600 Series and the PLC. ■ Time required data transmission The time required for data transmission from the BL-600 to the PLC is as follows: This communication time may change depending on the PLC’s scan time and the model of the PLC. * When the RS-232C communication baud rate is 9600 bps: Number of data digits
MELSEC-A
SYSMAC-C
KV (KV mode)
10
Approx. 220 ms
Approx. 330 ms
Approx. 440 ms
20
Approx. 270 ms
Approx. 380 ms
Approx. 680 ms
32
Approx. 320 ms
Approx. 460 ms
Approx. 920 ms
■ Communication time to start reading using reading trigger area To control the BL-600 Series’ reading operation using the reading trigger area, enter the trigger ON command on the PLC, and obtain the time duration until the command is received by the BL-600. * When the RS-232C communication baud rate is 9600 bps: MELSEC-A
SYSMAC-C
KV (KV mode)
Approx. 60 ms
Approx. 80 ms
Approx. 30 ms
8
143
Page 74
Chapter 8
8
144
PLC Link
Page 75
Appendices The appendix includes specifications, reading characteristics, dimensions, troubleshooting, and index.
Appendix A BL-600 Series Specifications................................ 146 Appendix A.1 Specifications........................................................... 146 Appendix A.2 Reading range characteristics (Typical) .................. 148 Appendix A.3 Angular characteristics (Typical).............................. 151 Appendix B BL-U1 Specifications ............................................. 152 Appendix C BL-U2, N-42 Specifications ................................... 153 Appendix D Dimensions ............................................................ 154 Appendix E Sample Program for the PLC Link ....................... 159 Appendix F
Troubleshooting .................................................... 162
Appendix F.1 Bar codes cannot be read........................................ 162 Appendix F.2 Reading rate check mode is not 100% .................... 163 Appendix F.3 The setting data cannot be sent/received using the setup software .......................................... 163 Appendix F.4 Cannot communicate successfully when using the PLC link .......................................... 163 Appendix G CODE93 Specifications ......................................... 164 Appendix H CODE128 Specifications ....................................... 165 Appendix I
Checksum Calculation Method ............................ 167
Appendix J
ASCII Code Table ................................................... 169
Appendix K Setup Parameter List ............................................. 170 Appendix L
Default Setting List ................................................ 173
Page 76
Appendices
Appendix A BL-600 Series Specifications Appendix A.1
Specifications
■ General specifications Model
BL-600
Type
BL-601
BL-600HA
Standard type
Scanning direction Light source
High-resolution Front 1.5 mW 99 µs
FDA
Class 2
DIN EN 60825-1 07.1994
Reading distance Reading bar width 1. Maximum reading label width 2. PCS Scan count Supported codes Reading digit Enclosure rating Ambient light Ambient temperature Relative humidity Operating atmosphere Vibration
Klasse 2 Single Raster Single Raster Single Raster 75 to 330 mm 55 to 190 mm 45 to 175 mm (When narrow width is 1.0 mm) (When narrow width is 0.5 mm) (When narrow width is 0.5 mm) 0.19 to 1.0 mm 0.125 to 1.0 mm * 0.25 to 1.0 mm for * 0.15 to 1.0 mm for CODE93 and CODE128 CODE93 and CODE128 250 mm (When 156 mm (When 170 mm (When reading distance is 280 mm) reading distance is 174 mm) reading distance is 155 mm) 0.6 or more (white reflection rate 75% or more) 500 scans/second CODE39, ITF, Industrial2of5, COOP2of5, Coda bar, CODE128, EAN-128, CODE93, EAN / UPC(A•E) 32 digits max. 3. IP-65 Sunlight: 10000 lx Incandescent lamp: 6000 lx 0 to 45°C (32 to 113°F), No freezing 35 to 85%, No condensation No dust or corrosive gas present 10 to 55 Hz, amplitude 1.5 mm, 2 hours each in X, Y and Z directions. 5 V DC ± 5%
Power supply voltage
Appendices
Power consumption Weight
82 µs Class II
Class IEC 825-1 11.1993 Scan method
BL-650HA BL-651HA High-resolution, side-scanning type Side
Visible red semiconductor laser (Wavelength: 650 nm)
Muximum output Pulse width
BL-601HA
330 mA max. Approx. 115 g
Approx. 130 g
1. Reading bar width indicates the range of readable narrow bar width when the bar code type is CODE39. 2. Maximum reading label width includes the bar code margin (quiet zone). 3. When start/stop character of CODE128 is CODE-C, up to 64 digits are allowed. Note: The internal BL settings are written to the built-in EEPROM (erasable up to 100,000 times).
146
Page 77
Appendices ■ Interface specifications
Output type
Non-voltage input (relay contact, solid state) * TTL input is also available. NPN open collector
Rating load
24 V DC, 30 mA
Trigger input
OK/NG output
Leakage current at OFF
0.1 mA max.
Residual voltage at ON
Serial interface
0.5 V max.
Applied standard
In accordance with RS-232C
Synchronization
Start-stop synchronization
Transmission code
Data length
ASCII code 600, 1200, 2400, 4800, 9600, 19200, 31250, 38400 bit/s 7/8 bits
Parity check
None/even/odd
Stop bit length
1/2 bits
Baud rate
Model
Reading distance
Raster width
BL-601
120 mm
7.1 ± 1.8 mm
BL-601H
90 mm
5.5 ± 1.4 mm
BL-651H
65 mm
5.5 ± 1.4 mm
Appendices
■ Raster width specification In raster scan mode, the BL-600 scans multiple positions of the bar code by swinging the laser beams up and down. Thus, the bar code can be read even if it has a stain or missing part. For the up-down width of raster scan (raster width), see the table below.
147
Page 78
Appendices
Appendix A.2
Reading range characteristics (Typical) ■ BL-600/601 Unit: mm Bar code type
Narrow bar width
Reading distance
A
CODE39
0.19
90 to 160
B
CODE39
0.25
75 to 200
C
CODE39
0.5
75 to 290
D
CODE39
1.0
75 to 330
0
100
200
300
Reading distance (mm)
120 (Focal length)
(Measuring conditions) • The KEYENCE standard bar code is used. • Ratio of thin bar to thick bar = 1:2.5 • Skew: 15° • Pitch: 0° • Tilt: 0°
*
250
110
100
0
100
A B C D
Readable label width (mm)
For the reading distance measuring reference, see page 74.
Appendices
Note 1: The readable label width means a bar code length including the right and left margins (quiet zones) of a bar code. Note: 2 Even if a bar code is within the above reading range, it may not be read depending on the bar code quality. Set the optimum reading position based on enough reading tests. Note 3: It is recommended that the focal length (120 mm) is set as the mounting distance. In this case, the maximum readable label width is 110 mm.
148
Page 79
Appendices ■ BL-600HA/601HA Unit: mm Bar code type
Narrow bar width
Reading distance
A
CODE39
0.125
70 to 105
B
CODE39
0.19
60 to 140
C
CODE39
0.25
55 to 150
D
CODE39
0.5
55 to 190
100
200
0
Reading distance (mm)
90 (Focal length)
(Measuring conditions) • The KEYENCE standard bar code is used. • Ratio of thin bar to thick bar = 1:2.5 • Skew: 15° • Pitch: 0° • Tilt: 0°
0
100 A B C D
Readable label width (mm)
For the reading distance measuring reference, see page 74.
Note 1: The readable label width means a bar code length including the right and left margins (quiet zones) of a bar code. Note: 2 Even if a bar code is within the above reading range, it may not be read depending on the bar code quality. Set the optimum reading position based on enough reading tests. Note 3: It is recommended that the focal length (90 mm) is set as the mounting distance. In this case, the maximum readable label width is 86 mm.
149
Appendices
*
156
86
100
Page 80
Appendices ■ BL-650HA/651HA Unit: mm Bar code type
Narrow bar width
Reading distance
A
CODE39
0.125
45 to 85
B
CODE39
0.19
45 to 125
C
CODE39
0.25
45 to 140
D
CODE39
0.5
45 to 175
0
100
200
Reading distance (mm)
65 (Focal length)
(Measuring conditions) • The KEYENCE standard bar code is used. • Ratio of thin bar to thick bar = 1:2.5 • Skew: 0° • Pitch: 0° • Tilt: 0°
*
A B C D
170
96
100
0
100 Readable label width (mm)
For the reading distance measuring reference, see page 74.
Appendices
Note 1: The readable label width means a bar code length including the right and left margins (quiet zones) of a bar code. Note: 2 Even if a bar code is within the above reading range, it may not be read depending on the bar code quality. Set the optimum reading position based on enough reading tests. Note 3: It is recommended that the focal length (65 mm) is set as the mounting distance. In this case, the maximum readable label width is 96 mm.
150