96M11884 User’s Manual Laser Bar Code Reader BL-700 Series
Introduction This instruction manual describes the operation and function of the BL-700. Read this manual carefully to ensure safe use and maximum performance from your BL700. The BL-700 series uses a semiconductor laser as light source. Before using the product, see "Safety Precautions on Laser Product" on page 1 to learn the safe and correct method of using the BL-700 series. Symbols The following symbols alert you to important messages. Be sure to read these messages carefully.
Warnings and Cautions Specific to the BL-700 • The BL-700 uses a 5 VDC power supply. Using a different voltage level may damage the unit. When using the KEYENCE power supply unit BL-U1, BL-U2, N-42 or N-48, select the voltage level which can be supplied by the power supply unit. If a nonconforming power supply is connected, the BL-700 may be damaged. • The BL-700 is a precision instrument. If the unit is dropped or shocked, it may be damaged.
Package Contents List The package contains the following components. Be sure to check the package contents against the checklist before use. ■ • • • • • • BL-700 package BL-700 unit ................................................................................................ 1 Mounting bracket ...................................................................................... 1 Mounting screw .........................................................................................
BL Series Lineup ■ Laser bar code reader Model Scanning method Readable bar width Reading distance BL-700 Single 0.15 to 1.0 mm BL-701 Raster BL-740 Single BL-741 Raster BL-780 Single BL-781 Raster 160 to 370 mm (When narrow width is 0.5 mm) 0.25 to 2.0 mm 150 to 750 mm (When narrow width is 1.0 mm) 0.32 to 2.0 mm 200 to 1200 mm (When narrow width is 2.0 mm) ■ Power supply Model Supply voltage Interface BL-U1 100 to 240 VAC RS-232C, RS-422A, RS-485 multi-drop * Select one of these.
System Configuration ■ When using RS-232C or RS-422A BL-700 BL-U1, BL-U2, N-42 Power supply unit Setup software for BL series (BL-H1WE) Windows version Serial communication IBM PC/AT or compatible R ON LASE STB G OK/N G TIMIN RS-232C TEST BL-700 RS-422A Trigger input Serial communication OK/NG output PLC (RS-232C/422A unit) PLC link Timing sensor PLC etc. * PLC (Link unit) Handheld programmer BL-P2E Use the BL setup software or the handheld programmer BL-P1E to set the BL series.
Parts and Functions BL-700 6Transmitter/receiver 1LASER ON LED 2STABILITY LED LASER ON 3OK/NG LED STB OK/NG TIMING 4TIMING LED 5TEST switch TEST BL-700 7 Cable No. Name Function 1 LASER ON LED Lit when laser beams are emitted. 2 STABILITY LED Displays the reading stability and the BL-700 operating status. ➮ See P. 64 to P. 65 3 OK/NG LED • When OK output is ON: The green LED lights. • When NG output is ON: The red LED lights. 4 TIMING LED Lit when trigger input is ON.
BL-U1 1 OK/NG LED 2 TIMING LED 3 Communication status indicator LEDs 4 POWER LED 5 I/O terminal block 6 Power switch 7 Power supply cable (2 m) 8 RS-232C port 9 READER port 0 DIP switches No. Name Function 1 OK/NG LED • When OK output is ON: The green LED lights. 2 TIMING LED Lit when trigger input is ON. 3 Communication status indicator LEDs • Allows you to monitor the communication status of the RS-232C port. • When NG output is ON: The red LED lights.
BL-U2 1 READER port READER 5 POWER LED POWER 2 TRIGGER input terminals SD 6 Communication status indicator LEDs RD 3 OK/NG output terminals RS-232C BL-U2 4 Power supply terminals No. Name 7 RS-232C port Function 1 READER port Connects to a BL series bar code reader. 2 TRIGGER Connect to a sensor for input terminals trigger input. 3 OK/NG output terminals Output OK/NG signals. 4 Power supply terminals Connect to a 24 VDC power supply. 5 POWER LED Turns on when the power is on.
Using the Manual Purpose Reference page Turn on the trigger timing or wire the RS-232C cable. P.6 to 24 Mount the bar code reader. P.25 to 29 Perform the simple read test. P.40 Check the test mode reading rate or readout count on the PC screen. P.81 Change the BL-700 settings using the setup software. P.51 – Change the BL-700 settings through the handheld programmer BL-P2E. See the BL-P2E User’s Manual. Communicate with a PC. P.105 – Control the BL-700 with the PLC link. P.
Contents Chapter 1 Safety Precautions on Laser Product 1.1 1.2 1.3 1.4 1.5 Chapter 2 Classification .......................................................................................... 2 Warning Labels ...................................................................................... 2 Label Location ........................................................................................ 3 Safety Consideration .............................................................................
Chapter 3 Functions for Reading Operation 3.1 3.1.1 3.1.2 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.3 3.4 3.4.1 3.4.2 3.4.3 3.5 3.6 3.6.1 3.6.2 3.7 3.8 Chapter 4 Setup Software 4.1 4.1.1 4.1.2 4. 2 4.2.1 4.2.2 4.2.3 4.3 4.3.1 4.3.2 4.4 4.5 4.6 4.7 xi Read Operation .................................................................................... 30 Scanning method .................................................................................... 30 Data-send mode ..............................................
Chapter 5 Serial Communication 5.1 5.2 5.3 5.3.1 5.3.2 Chapter 6 Serial Communication ......................................................................... 84 Details on Data Communication ......................................................... 85 Command Communication ................................................................. 88 Setup of Direct Control Commands ........................................................ 88 Details on Parameter Setting Commands .................................
xiii
Chapter 1 Safety Precautions on Laser Product 1.1 Classification ........................................................................ 2 1.2 Warning Labels ..................................................................... 2 1.3 Label Location ...................................................................... 3 1.4 Safety Consideration ............................................................ 4 1.5 Safety Measures Provided with the BL-700 Series ............
Chapter 1 1.1 Safety Precautions on Laser Product Classification Model 1 1.2 BL-700/701 BL-740/741 FDA(CDRH) Part 1040.
Chapter 1 Labels Location A FDA(CDRH) warning label is affixed to the product. When using this product in the countries and/or regions other than U.S., use the IEC warning/explanatory label in the package of this product. In this case, it can be affixed on the FDA (CDRH) warning label, which has already been affixed to this product. AM L M T CL SED OU OR L AS RA TP AS S I DI UT ER LA ATI 650 SE ON RP 1.
Chapter 1 1.4 Safety Precautions on Laser Product Safety Consideration WARNING 1 Use of controls or adjustment or the performance of procedures other than those specified herein may result in hazardous radiation exposure. Precautions on Class II/2 Laser Product • Do not stare into the beam. 1.5 • Do not direct the beam at people or into areas where people might be present. • Be careful of the path of the laser beam.
Chapter 2 Connection and Installation 2.1 BL-700 connections .............................................................. 6 2.1.1 2.1.2 2.1.3 2.1.4 Connector pin assignment ....................................................... 6 Power supply connections ....................................................... 6 Wiring I/O ................................................................................. 7 RS-232C connection ................................................................ 7 2.
Chapter 2 2.1 Connection and Installation BL-700 Connections This section describes connections when a KEYENCE power supply unit is not used. 2.1.1 Connector pin assignment The BL-700 connector has the following pin assignment. 1 2 3 4 5 D-sub 9-pin (female) DTE specification (defined as terminal) #4-40 screw (male) 2 6 Pin No.
Chapter 2 Connection and Installation 2.1.3 Wiring I/O ■ Trigger input The trigger input is used to signal the BL-700 to start reading (start laser emission). The trigger input is a non-voltage input (TTL input is also available with negative logic). Internal circuit BL-700 10 kΩ 4.7 kΩ TIM 1 2 Contact or solid-state 5 5 VDC GND ■ OK/NG output This output signals whether the readout data is the same as the preset data.
Chapter 2 2.2 Connection and Installation Connecting BL-U1 and Wiring Note: This product does not comply with EC directives. To use the BL-U1 AC power supply, connect it as described below. 2.2.1 Connecting the power supply Plug the BL-U1 power cable into an outlet. 2 FG line CAUTION Use a power supply with 100 to 240 VAC ± 10% (50/60 Hz). 2.2.2 Connecting the BL-700 Connect the BL-700 to the READER port of the BL-U1. The BL-U1 READER port pin assignment is as described below.
Chapter 2 Connection and Installation 2.2.3 Setting BL-U1 DIP switches Change the DIP switch settings depending on the selected interface and trigger input method. OFF * The figure on the left shows the default settings. ON 1 2 3 4 5 6 DIP Switch No.
Chapter 2 Connection and Installation 2.2.
Chapter 2 Connection and Installation ■ Connecting OK/NG output The OK/NG output is used to differentiate between acceptable and unacceptable results based on the comparison with the preset data, and to indicate whether or not the BL-700 series successfully read bar codes. ➮ See P.44. The OK/NG output is an open-collector output. COM OK NG *Rated load: 30 V max. (100 mA) Load 2 Load + ■ I/O circuit diagram • Input circuit diagram 2.4 kΩ OK/NG Internal circuit TIM Internal circuit 3.
Chapter 2 Connection and Installation Wiring the RS-232C cable ■ Connecting a PC 25-pin serial port 9-pin serial port PC FG 1 2 2 SD RD 3 3 RD CS DR 4 4 RS 5 5 CS 6 6 DR ER 20 SG 7 20 ER 7 SG D-sub 25-pin (male) M2.6 screw BL-U1 1 FG RD 2 2 SD SD 3 3 RD ER 4 4 RS SG 5 5 CS DR 6 6 DR RS CS 7 7 SG 8 8 CD 1 20 ER Connector case FG 1 SD RS 2 PC BL-U1 D-sub 25-pin (male) M2.6 screw D-sub 25-pin (male) M2.
Chapter 2 ■ Connecting MELSEC-A series Connection with AJ71C24, AL71C24-S■ ■, A0J2-C214-S1, AJ71UC24 Link unit FG SD 1 2 BL-U1* 1 2 Connection and Installation Connection with A1SJ71(U)C24-R2/PRF, A2CCPUC24, A2CCPUC24-PRF Link unit BL-U1* FG Connector case – 1 FG SD RD 2 2 SD 3 3 RD RD 3 3 RD SD RS 4 4 RS ER 4 4 RS CS 5 5 CS SG 5 5 CS DR 6 6 DR DR 6 6 DR 7 7 SG SG 7 7 SG RS CD 8 8 CS 8 8 20 ER CD 1 20 ER ER 20 D-sub 25-pin (male) M2.
Chapter 2 Connection and Installation ■ SYSMAC-CV series Connection with CV500-LK201 (Port 1) Link unit 2 Connection with CV500-LK201 (Port 2), CV500, CV1000, CVM1 BL-U1* PLC BL-U1* FG 1 1 FG FG 1 1 FG SD 2 2 SD SD 2 2 SD RD 3 3 RD RD 3 3 RD RS 4 4 RS RS 4 4 RS CS 5 5 CS CS 5 5 CS SG 7 7 SG SG 9 7 SG D-sub 25-pin (male) M2.6 screw D-sub 25-pin (male) M2.6 screw D-sub 9-pin (male) M2.6 screw D-sub 25-pin (male) M2.
Chapter 2 Connection and Installation ■ Connecting the MELSEC-A series Connecting with AJ71C24, AJ71C24-S■ ■, AJ71UC24, A0J2-C214-S1, A1SJ71(U)C24-R4 Link unit BL-U1* Twisted pair cable SG SG RDA SDA RDB SDB SDA RDA SDB RDB 2 Note: BL-U1 and KV-L2 are not available in Europe.
Chapter 2 2.3 Connection and Installation Wiring the KEYENCE Power Supply Unit BL-U2/N-42 To use the BL-U2/N-42, connect as indicated below. 2.3.1 Connecting the power supply Connect BL-U2/N-42 to a 24 VDC power supply. BL-U2 N-42 24V DC IN 2 + 24V DC IN N.C. N.C. N.C. + – – 24 VDC 24 VDC + CAUTION + Make sure that the power supply provides 24 VDC. If the power supply output is not 24 VDC, it can damage the unit. Note: If the power supply is UL rated, it must provide Class 2 output. 2.3.
Chapter 2 Connection and Installation 2.3.3 Terminals of I/O terminal block and connections TIM COM OK OG COM * Viewed from the left of the unit Symbol Description Signal direction TIM Trigger input Input COM Common terminal for trigger input Input OK OK output Output NG NG output Output COM Common terminal for output Output 2 ■ Connecting trigger input The trigger input allows the BL-700 to start reading bar codes (turn on the laser beam).
Chapter 2 Connection and Installation 2.3.4 Terminal A solderless contact pin, as shown below, is available for connection. 2.0 mm max. 5 mm max. 6 mm min 2 2.3.5 Connecting RS-232C (BL-U2) Pin assignment 1 2 3 4 5 D-sub 9-pin (male) DTE specification (defined as terminal) #4-40 screw 6 Pin No. 7 8 9 Symbol Description Signal direction 2 RD (RXD) Receive data Input 3 SD (TXD) Send data Output 4 ER (DTR) Connected to pin No.6 inside.
Chapter 2 Connection and Installation ■ Connecting KV series/Handheld programmer port Use the optional cable manufactured by KEYENCE. READER POWER SD RD RS-232C BL-U2 OP-96368 (2.5 m) OP-96369 OP-25057 KV-10, 16, 24 KV-40, 80 BL-U2 2 KV-300* ■ Connecting KV-L2* Port 1 KV-L2* Port 2 BL-U2 KV-L2* BL-U1* FG 1 SD 2 2 RD SD 3 2 RD RD 3 3 SD RD 5 3 SD RS 4 7 RS 7 RS CS 5 8 CS 8 CS DR 6 4 ER 4 ER ER 20 SG 7 6 DR 6 DR 5 SG 5 SG D-sub 25-pin (male) M2.
Chapter 2 Connection and Installation ■ SYSMAC-C series Connection with C-200H-LK201(-V1), C-500-LK203, C-500-LK201-V1, C120-LK201-V1 Link unit 2 FG 1 SD 2 RD RS Connection with C-20H, C-28H, C-40H, C-60H BL-U2 PLC BL-U2 Connector case FG 1 2 RD SD 2 2 RD 3 3 SD RD 3 3 SD 4 7 RS RS 4 7 RS CS 5 8 CS CS 5 8 CS SG 7 5 SG SG 7 5 SG D-sub 25-pin (male) M2.6 screw D-sub 9-pin (female) #4-40 screw D-sub 9-pin (male) M2.
Chapter 2 Connection and Installation 2.3.6 Connecting the N-42 to RS-422A RS-422 terminal block assignment RS-422 SG SD+ SD– RD+ RD– Code Description Signal direction SG Ground — SD+ Sends data to + terminal. Output SD- Sends data to - terminal. Output RD+ Receives data from + terminal. Input RD- Receives data from - terminal. Input 2 Connecting external equipment ■ Connecting N-42 to external unit Use the same wiring when connecting the N-42 to the N-42.
Chapter 2 Connection and Installation ■ Connecting SYSMAC-C series Connecting with C200H-LK202 (-V1), C500-LK201-V1, C500-LK203, C120-LK202-V1 SG 3 SG Communication board SG 9 RDB 1 SD+ RDB 8 RDA 6 SD– RDA 6 SD– SDB 5 RD+ SDB 2 RD+ SDA 9 RD– SDA 1 RD– FG 7 Link unit 2 Connecting with C200HW-COM03/ COM06 Twisted pair cable N-48 ■ Connecting SYSMAC-CV series Connecting with CV-500-LK201, CV500, CV1000, CVM1 PLC Twisted pair cable 9 SG RDB 8 SD+ RDA 6 SD– SDB 2 R
Chapter 2 2.4 Connection and Installation Installation 2.4.1 Operating environment precautions Ambient environments This unit is a precision instrument and you must take care in choosing the operating environment.
Chapter 2 Connection and Installation • Bar code pitch Do not place several bar codes in the field of the laser beam, unless you are in multi-label read mode (Multi 3). LASER ON STB OK/NG TIMING TEST BL-700 2 If you use multi-label read mode (multi 3), the BL-700 can simultaneously read 2 to 4 bar codes in the field of the laser beam. • Influence from photoelectric sensor When using a photoelectric sensor to control trigger, block the sensor beam so it does not enter the BL-700 optical pickup.
Chapter 2 Connection and Installation 2.4.2 Installing the BL-700 series Installation method Use the mounting holes on the side panel to install the unit. ■ Installation with no mounting bracket 2 M3 nuts LASE R ON STB OK/NG M3 screws TIMING TEST BL-700 • Select screws of the proper length by checking the thickness of the plate used for mounting. (The screws provided are for use with the mounting bracket.) • For the mounting hole diameter, see P.127.
Chapter 2 Connection and Installation Mounting angle and mounting distance Reading distance Panel surface 10° * Reading distance = 230 mm (BL-700/701) 380 mm (BL-740/741) 500 mm (BL-780/781) 2 Set the angle and reading distance by referring to the read range characteristics and angle characteristics described on P.122 to P.124. The allowable reading distance and angle may vary depending on the narrow bar width of the bar code, the bar code size, and the readability of the bar code.
Chapter 2 Connection and Installation 2.4.3 Installing the BL-U1* There are 2 methods for installing the BL-U1: ■ When installing the BL-U1 directly Pull out the 4 screw slots on the rear panel and screw them to the base. 4 - ø5 98 2 150 ■ When installing the BL-U1 to the DIN rail 1. Hook the BL-U1 to the DIN rail groove from its top. Push the BL-U1 bottom against the DIN rail until you hear a click. 2. Check that the DIN rail mounting notch is shaped like notch A below. If not, push the BL-U1 further.
Chapter 2 2 28 Connection and Installation
Chapter 3 Functions for Reading Operation 3.1 Read Operation ................................................................... 30 3.1.1 Scanning method ................................................................... 30 3.1.2 Data-send mode .................................................................... 32 3.2 Read Modes ......................................................................... 33 3.2.1 3.2.2 3.2.3 3.2.4 Single label read mode ..................................................
Chapter 3 3.1 Functions for Reading Operation Read Operation 3.1.1 Scanning method There are two methods for triggering the BL-700 to read bar codes; the “Level signal” method and the “One-shot signal” method. The example given for these two methods uses the “single label read mode” (➮ see P.33), which reads one bar code while trigger input turns on once, and uses the “after read” as the data-send mode (➮ see P.32).
Chapter 3 Functions for Reading Operation ■ One-shot signal trigger The unit detects the rising edge of the trigger input and starts reading bar codes for the preset input time. The laser beam turns off after reaching the specified decode count and the unit sends the readout data. The remaining actions are the same as those for level signal trigger.
Chapter 3 Functions for Reading Operation 3.1.2 Data-send mode In the single label read mode only, you can select from the two data send modes (OK/NG output on trigger) described below: In the multi-label read mode, you can only select the “send after reading” mode. • Send after read The unit outputs the communication and OK/NG signals after a successful read (trigger output turns on as many times as the preset decode count). This is the same operation as in the time chart described in “3.1.
Chapter 3 3.2 Functions for Reading Operation Read Modes The BL-700 provides 4 types of read modes. 3.2.1 Single label read mode This mode allows the unit to read one bar code during one trigger input signal. The operation and timing chart are described on page 30 to 32. 3.2.2 Multi-label read mode 1 (Multi 1) This mode allows the unit to read several bar codes printed on one label as shown below during one trigger input signal. The unit outputs the readout data sequentially.
Chapter 3 Functions for Reading Operation 3.2.3 Multi-label read mode 2 (Multi 2) As with multi 1 mode, this mode allows the unit to read several bar codes continuously while the trigger input is on. (The number of bar codes that can be read depends on the buffer capacity. See P.86.) The difference between the two modes is that multi 2 mode sends all the readout data at one time after the trigger input turns off.
Chapter 3 Functions for Reading Operation 3.2.4 Multi-label read mode 3 (Multi 3) As described in multi-label read modes 1 and 2, this mode also allows the unit to read several bar codes (up to 4 codes) while the trigger input is on. The unit sends the readout data at one time according to a specified sequence after the trigger input turns off. When up to 4 codes are in the laser beam’s field, the unit can simultaneously reads all of them.
Chapter 3 Functions for Reading Operation Example Suppose that the following codes are specified: Code 1: CODE39, 10 digits Code 2: EAN/UPC, 13 digits Code 3: None Code 4: CODE39, 8 digits When the unit successfully reads all 3 types of codes: Header ABCDE12345 , 4901234567894 , KEYENCE1 Delimiter When the unit fails to read Code 1 (CODE39, 10 digits) Header ERROR , 4901234567894 , KEYENCE1 Delimiter When the unit fails to read Code 1 (CODE39, 10 digits) and Code 4 (CODE39, 8 digits) 3 Head
Chapter 3 Label Orientation Mode As shown below, this mode allows the unit to read bar codes only in the specified orientation when bar code labels are moving both in the forward and reverse orientations. Forward Reverse orientation orientation 4 9000000 * BL-700 TEST TIMING OK/NG LASER ON 4 9000000 STB 3.3 Functions for Reading Operation Normally, the unit can read bar codes regardless of the orientation.
Chapter 3 3.4 Functions for Reading Operation Test Mode Test mode can be used for the bar code reading test. Because trigger input is not required, this mode allows you to perform a reading test easily. You can select one of the following 3 methods to enter the test mode. 3.4.1 Reading rate check mode The unit scans a bar code100 times and analyzes how many times it can decode the scanned data (reading rate).
Chapter 3 Functions for Reading Operation 4. In the test mode, the unit outputs the serial communication data in the following format every 100 scans. By connecting the BL-700 to a PC and using a BL setup software terminal, the following data can be displayed on the PC screen. ➮ See P.79 for details of operation. Delimiter Readout data : m * m = 0 to 100 (zero-suppressed) * ON/NG LED turns ON but OK/NG output does not turn ON. 5. Press the TEST switch again to exit the test mode.
Chapter 3 Functions for Reading Operation Reading rate STABILITY LED OK/NG LED 100 or more 5 LEDs ON 50 to 99 4 LEDs ON Green (The readout count equals or exceeds the matching decode count.) 10 to 49 3 LEDs ON 5 to 9 2 LEDs ON 1 to 4 1 LED ON 0 – Red (The readout count is below the matching decode count.) Red The BL-700 continues to read the data while the laser beams scan the bar codes. Thus, the STABILITY LEDs are not ON. When the bar code reading stops for 0.
Chapter 3 Functions for Reading Operation 3.4.3 Online test mode When the BL-700 always reads the bar codes, the reading stability can be displayed in real time using the STABILITY LEDs. This mode is called online test mode. ■ Setting 1. To set the online test mode, send the following command from the BL setup software terminal. To use the terminal, see P.77. Command to be sent: #TEST1 Send-data: OK When OK is returned to the command sent, it indicates the mode is set.
Chapter 3 3.5 Functions for Reading Operation STABILITY LEDs STABILITY LEDs allow you to easily check reading stability and operation status. Indication of reading stability ■ When reading rate check mode is selected STABILITY LEDs light according to the reading rate shown in the table below. Although, in the test mode, the unit does not output an OK/NG signal, the OK/NG LED lights as below. (Comparison to the preset data is not performed.
Chapter 3 Functions for Reading Operation ■ Unit operation status display STABILITY LEDs indicate the following information in addition to reading stability. Operation status STABILITY LED display Action to be taken Power-on LEDs turn on sequentially from the bottom. During setup (➮ see P.92) All the LEDs flash. Waiting for setting data send/receive (➮ see P.73) The 1st, 3rd and 5th LEDs from the top flash simultaneously. In this status, send the settings from the setup software.
Chapter 3 3.6 Functions for Reading Operation Preset Function (Compare with:) 3.6.1 What is the preset function? The BL-700 can store one bar code as preset data. It compares the preset data to the bar code data actually read and outputs an OK/NG signal to whether there is a match. Using the BL-700 preset function, you can prevent the wrong products from entering the line without using a PC.
Chapter 3 Functions for Reading Operation 3.6.2 Wildcard Symbols (“!” and “?”) Using “!” and “?” in the preset data allows for flexible settings. ?: Does not define numeric values (characters) of certain digit(s) of the bar code. !: Ignores numeric values and symbols within the dot box and recognizes the bar codes as the same group.
Chapter 3 3.7 Functions for Reading Operation Additional Information When sending the bar code data, you can add the following data to the readout data. Additional information types ■ Decode match count add function Adds the number of successful scans during one bar code reading (decode count) to the end of the readout data (up to 9999 count). However, this decode count is never less than the preset decoding match count. This function can be used to check reading stability and code label quality.
Chapter 3 Functions for Reading Operation ■ Code type add function Adds the bar code type before the readout data . Delimiter : Readout data t= 0 1 2 3 4 5 6 7 8 : CODE39 : ITF : Industrial 2of5 : Codabar : EAN/UPC (A•E) : CODE 128 : COOP 2 of 5 : Read error : CODE93 t ■ Label orientation add function Adds the orientation of bar code travel before the readout data.
Chapter 3 3.8 Functions for Reading Operation Max. Code Length (Designated Digit ) Output Function This function allows you to output the designated digit(s) as desired from the readout bar code data. For example, from bar code data “49123456”, you can extract “1234” for output. Setting digits to be output Set the digits to be output as shown below. Individually set the digits for codes 1 to 4. 1. Set the direction to designate. * Set from which direction you want to start counting.
Chapter 4 Setup Software 4.1 Installing the Setup Software ............................................ 52 4.1.1 Installing setup software ........................................................ 52 4.1.2 Installation procedure ............................................................ 52 4. 2 Setup Software Operating Procedure ............................... 54 4.2.1 Operating procedure .............................................................. 54 4.2.2 Description on each setup screen ..........
Chapter 4 4.1 Installing the Setup Software Installing the Setup Software This section describes the operating environment of the setup software and the software installation. 4.1.1 Installing setup software ■ Hardware requirements IBM PC/AT 100% compatible CPU: 486 SX or higher Memory: 4 MB or more Floppy disk drive: 3.5 inch floppy disk drive (1.44 MB compatible) Display: Resolution 640 x 480 or higher Serial port: A minimum of one RS-232C port is required. ■ OS requirements • MS-Windows 3.
Chapter 4 Installing the Setup Software 3. Run the “SETUP” file from the floppy disk drive. (This step is common to both the Windows 3.1 and Windows 95.) Type in as follows: A: \SETUP 4. The BL-700 setup software installer starts. Follow the instructions in the install window. (Typically, the installation procedure can be completed simply by pressing [Next (N)] twice.) 5.
Chapter 4 4.2 Installing the Setup Software Setup Software Operating Procedure 4.2.1 Operating procedure To set up the BL using the setup software, follow the procedure below. 1. Connect the BL to the host computer using a null modem cable. For the recommended cable, see P. 12 and P. 19. 2. Start the BL setup software. 3. In “Select Model” of “File/etc...”, select the model to be connected (“BL-700”). 4. Select a setup item, and set it to the desired condition. 5.
Chapter 4 Installing the Setup Software 4.2.2 Description on each setup screen Displays the name of the setup file currently being edited. If the file has been read from the setup file, the file name is specified as “File: ...”. If the file has been read from the BL, the file name is marked with “BL”. If the file name is the initial setting, “default” is displayed. If the file name has been changed from the initial setting (the condition immediately after it is read from the file), “changed” is displayed.
Chapter 4 Installing the Setup Software 4.2.3 Outline of operation This section describes the basic operations of the BL setup software. To enter settings, place the mouse pointer on the item to be changed, and click the left mouse button. ▲ Mouse pointer ■ Clicking on • • • (tabs) Used to select the item to be changed. 4 • ■ Clicking on ● (radio button) Used to select any of several options. The selected item is marked with ● .
Chapter 4 Installing the Setup Software ■ Entering a value After clicking in the frame, enter a value using the keyboard. If the entered value exceeds the setting range, an error message is displayed. ➮ See P.82. ■ Entering characters When you click in the frame labeled “ASC”, you can enter characters using the keyboard. When you click in the frame labeled “HEX”, you can enter characters using hexadecimal numbers (00 to 7F).
Chapter 4 4.3 Installing the Setup Software Details of Setup 4.3.1 Setup procedure Main (Operation setting) Set read mode, additional data function and trigger input. 4 1. When “Single” is selected in “Read Mode”, the following appears: When “Multi 1” or “Multi 2” is selected, the following appears: Set the data to a number from 1 to 255 (100 ms to 25.5 s). When “Multi 3” is selected, these setting menus will not appear. 2. Multiple data can be selected in “Additional data function”.
Chapter 4 Installing the Setup Software 3. Enter the “Read error code” from the keyboard. The code can be changed as desired (within 8 characters). Normally, the initial setting (ERROR) should be used as provided. If a blank is specified for the setting, the BL-700 will not send the read error code. 4. Click “Trigger input setting” to set the trigger input. Tips • • • • • • Read mode ➮ P.35 to 38 Data transmission trigger ➮ P.34 Double reading prevention time ➮ P.35 to 36 Decoding match count ➮ P.
Chapter 4 Installing the Setup Software 2. Enter the “Trigger ON/OFF command” from the keyboard. The command name can be changed as desired (within 8 characters). Normally, the initial setting (LON, LOFF) should be used as provided. 3. Enable either “Start the test mode with trigger input ON” or “Start the test mode at power-on”. When “Start the test mode with trigger input ON” is enabled, the trigger input cannot be used during normal operation.
Chapter 4 Installing the Setup Software Comm Settings-2 (Communication parameters 2) The following settings depend on the use of “PLC link”. ■ When the PLC link is not used The menu screen allows setup of communication protocol, header and terminator. 1. Select the header and terminator from the items provided. When the header and terminator are set, only the read data format can be changed.
Chapter 4 Installing the Setup Software ■ When using the PLC link To enable the "Use PLC", set each item as follows: The setting of the station number is not displayed when “KV Series” is selected. The setting of the file register is displayed only when “MELSEC-A” is selected. 4 • Set “Connected PLC”, “DM head address” and “Station No.”. To set “DM head address”, enter a value (0000 to 9900) using the keyboard.
Chapter 4 Installing the Setup Software Code Setup (Bar code setting) Set the readout digits, detail data and special functions for each code type. 1. Set the code. Set the type and number of digits of the bar codes to be read in codes 1 to 4. If four different types of codes are specified in 1 to 4, the BL-700 can read 4 types of bar codes without changing the settings. 2. Click [Details] to set “Send start/stop character” and “Check digit test”. 3.
Chapter 4 Installing the Setup Software CODE 39 detail settings When “CODE 39” is set for any of the 4 codes in the bar code setting and then [Detail] is clicked, the following screen appears. 1. When “Send start/stop character (*)” is set, the BL-700 adds an * (asterisk) to the data and sends it. 4 2. When “Check digit test” is set, the following appears: When “Send check digit” is set, the BL-700 sends the data including the check digit. To calculate the check digit, the BL-700 uses Modulus 43.
Chapter 4 Installing the Setup Software ITF detail settings When “ITF” is set for any of the 4 codes in the bar code setting and then [Detail] is clicked, the following screen appears. 1. When “Check digit test” is set, the following appears: 4 When “Send check digit” is set, the BL-700 sends the data including the check digit. To calculate the check digit, the BL-700 uses Modulus 10/3 weight.
Chapter 4 Installing the Setup Software Codabar detail settings When “Codabar” is set for any of the 4 codes in the bar code setting and then [Detail] is clicked, the following screen appears. 1. When “Lowercase” or “Uppercase” is set in “Start/stop character”, the BL-700 adds “A, B, C, D” (lowercase or uppercase) to the data and sends it. 4 2. When “Check digit” is set, the following appears: When “Send check digit” is set, the BL-700 sends the data including the check digit.
Chapter 4 Installing the Setup Software UPC/EAN detail settings When “UPC/EAN” is set for any of the 4 codes in the bar code setting and then [Detail] is clicked, the following screen appears. 1. “UPC-A output digits” sets whether the 13-digit or 12-digit output format is used when reading the UPC-A data. 2. When “Yes” is set in “Add UPC-E system code [0]”, the BL-700 adds 0 to the beginning of the system code and sends the code.
Chapter 4 Installing the Setup Software CODE128 detail settings When “CODE128” is set for any of the 4 codes in the bar code setting and then [Detail] is clicked, the following screen appears. 1. “Double character start pattern” is defined in the UCC/EAN-128 standard. This is a combination of the start character (CODE-A to CODE-C) and FUN1 (function code 1). The UPC/EAN-128 bar code must start with the double character start pattern. 4 If this is not set, the BL-700 will not be able to read the data.
Chapter 4 Installing the Setup Software Options setting When [Options] is clicked in the bar code setting, the following screen appears. Set “Max code length output function” and “Label orientation function”. Tips • • Fixed-digit output function ➮ P.50 Label orientation mode ➮ P.
Chapter 4 Installing the Setup Software Utilities settings The settings of OK/NG output ON time and preset data registration are available. 1. To set “OK/NG output ON time”, enter a numeric value from the keyboard from 1 to 255 (10 ms to 2.55 s). 2. When “Display STABILITY LEDs” is set, the BL-700 displays the STABILITY LEDs which indicate the reading stability during normal reading operation. 4 3. To set “Preset data”, enter the preset data to be registered from the keyboard.
Chapter 4 Installing the Setup Software 4.3.2 Reading/Saving/Printing File The FILES screen is used to save updated settings in a file, to read a saved setting file, and to print the contents of a setting file. 4 • Model: Select the model to be set. • Open: Reads a saved setting file. • Save: Saves updated settings in a file. • Compare: Compares the settings currently edited with a file previously saved. • Print: Prints contents of a setting file.
Chapter 4 Installing the Setup Software Saving updated settings in a file 1. To save updated settings in a file, click on [Save]. The following screen will appear. 4 2. Click on the file name entry field, and enter a file name using the keyboard. Specify a file name within eight characters. Be sure to add the extension “NCF”. After entering the file name, click on [OK] to save the file. Note: This software cannot accept a long file name in Windows 95.
Chapter 4 Installing the Setup Software Comparing the settings currently edited with a saved file 1. To compare the settings currently edited with the setting file previously saved, click on [Compare]. 4 2. Select a file to be compared, and click on [OK]. Then, the system compares the selected file with the settings currently edited, and displays the result. Matched Not matched Printing contents of a setting file 1. To print settings, click on [Print]. The following screen will appear. 2.
Chapter 4 Installing the Setup Software Restoring the settings currently edited to the default (initial) settings 1. To restore the settings currently being edited to the default settings, click on [Defaults (Initialize settings)]. 2. If you try to initialize the settings currently being edited without saving them, the following message appears. If you wish to execute initialization, click on [OK].
Chapter 4 4.4 Installing the Setup Software Sending/Receiving Settings To send the updated settings to the BL-700 and to read the settings from the BL700, perform the following procedure. Sending updated settings to the BL-700 To send updated settings to the BL-700, perform the following procedure. 1. Press the BL-700 TEST switch for 8 seconds.
Chapter 4 Installing the Setup Software 3. Click on [Send settings (Save in BL EEP-ROM)]. The updated settings are then sent to the BL-700. 4. If the settings were successfully sent to the BL-700, the following message appears. 4 If the host computer failed to send the data to the BL-700, the following message appears.
Chapter 4 Installing the Setup Software Reading the current settings of the BL-700 To read the current settings of the BL-700, perform the following procedure. (This procedure is almost the same as the procedure for sending settings.) 1. Press the BL-700 TEST switch for 8 seconds. When the 1st, 3rd and 5th STABILITY LEDs from the top flash simultaneously, the communication protocol is temporarily set as indicated below (this status is called “setting data send/ receive waiting status”).
Chapter 4 Installing the Setup Software 4. If the settings of the BL-700 were successfully read, the following message appears. If the host computer failed to read the data, the following message appears. 4 If this message is displayed, check the following points: 76 • Check that [COM PORT] is set as shown in (1) when the 1st, 3rd and 5th STABILITY LEDs from the top flash simultaneously (when in “setting data send/receive waiting status”). • Check that the power to the BL-700 is ON.
Chapter 4 4.5 Installing the Setup Software Using Monitor This setup software provides the “Monitor” program to check if the BL-700 can send data properly. The “Monitor” program allows you to display the data read by the BL series on the host computer’s monitor screen, and also to send a command from the host computer to the BL-700 or BL series. 1. Click on [COM PORT] to set the communication parameters of the host computer according to the current settings of the BL-700. 2. Click on [Monitor].
Chapter 4 Installing the Setup Software 4. If you click [Stop], received data is not listed. (The button name is changed to [Start].) If you try to display received data again, click on [Start]. 5. When you enter a command in the “Send command” field, you can send the command to the BL-700 (or BL series). The format of the command to be sent is “[Command] + [CR]”. Typing command and pressing [ENTER] key sends the command. 4 6.
Chapter 4 Installing the Setup Software Starting the test mode from the Monitor Follow the procedure below to start the test mode from the Monitor. 1. Click [COM PORT] to match the computer’s communication protocol with the current BL-700 communication protocol. 2. Click [Monitor] to display the monitor screen. 3. Enter “TEST1” (uppercase) in the send command column and press the [RETURN] key. Readout rate measurement mode starts and the readout data is listed sequentially. 4.
Chapter 4 4.6 Installing the Setup Software List of Error Messages The following table lists the error messages which may occur during operation of the setup software. Errors during setup Error message Contents “Entered data is incorrect. [OK]” The entered data is incorrect. Re-enter the correct data. Errors during “Communication with communication BL-700 failed. [OK]” Error during communication with the BL-700 (for sending settings).
Chapter 4 4.7 Installing the Setup Software Example of printing from the setup software When “Print” is executed from the setup software, the following data is printed.
Chapter 4 4 Installing the Setup Software [Code 1 setup] Bar code = CODE39 [Main code length] [Min code length] [Send start/stop character (*)] [Inspect check-digit [Modulus 43] [Send check-digit] -----Options setup-----[Max code length output] [Effective] [Starting] [Specify label orientation] [32] [3] [_] Enable [_] Enable [x] Enable [x] Not used [_] Forward [32] [1] [x] Not used [_] Forward [Code 2 setup] Bar code = Codabar [Max code length] [Min code length] [Start/stop character] [Inspect chec
Chapter 5 Serial Communication 5.1 Serial Communication ........................................................ 84 5.2 Details on Data Communication ........................................ 85 5.3 Command Communication ................................................ 88 5.3.1 Setup of Direct Control Commands ....................................... 88 5.3.2 Details on Parameter Setting Commands .............................
Chapter 5 5.1 Serial Communication Serial Communication The BL-700 communicates with the PC via the RS-232C serial port. This enables you to change the BL-700’s settings from your PC. Communication types The BL-700 provides the following two communication types: • Data communication Sends read bar code data from the BL-700 to the PC. • Command communication Changes the BL-700’s settings by sending a command from the PC to the BL700. * All communication is performed using ASCII codes.
Chapter 5 5.2 Serial Communication Details on Data Communication Communication protocols (Hardware handshaking) The BL-700 supports the following four handshaking protocols. ■ No Handshaking Read data LASE R ON STB OK/N G TIMING TEST BL-700 • The BL-700 sends read data to the PC without using any handshaking protocol.
Chapter 5 Serial Communication ■ ACK/NAK Handshaking The ACK/NAK handshaking uses (06H) and (15H) instead of PASS and RTRY used in the PASS/RTRY handshaking, respectively. With these protocols, the BL-700 sends back different characters, but performs the same operation. ■ RTS/CTS Handshaking • When the PC’s RTS (BL-700’s CTS) signal turns off, the BL-700 becomes ready for data transmission. When the PC’s RTS signal turns on, the BL-700 starts data transmission.
Chapter 5 Serial Communication Read Data Format Set the data format of the Header and Delimiter, respectively. Header Read data Delimiter With the setup software, the following formats can be selected. Other than the following formats, you can freely set up to 5 characters. Header: (1BH), (02H), None Delimiter: (0DH), (0DH) (0AH), (03H) Read Error Code If the BL-700 fails to read a bar code, the BL-700 sends back a read error code.
Chapter 5 5.3 Serial Communication Command Communication The BL-700 includes commands to directly operate the BL-700 (direct control commands) and the commands used to change or confirm the BL700’s settings (parameter setting commands). 5.3.1 Setup of Direct Control Commands Communication procedure Command LASE R ON STB OK/N G TIMING Response TEST BL-700 1. Send a direct control command from the PC to the BL-700. 2.
Chapter 5 Serial Communication Explanation of Direct Control Commands The following describe direct control commands in details. Read operation control This command specifies the data read timing. ● Trigger on Command: LON Response: None ● Trigger off Command: LOFF Response: None • Even when the read operation is controlled with these commands, the BL-700 performs the same operation as with the trigger input (➮ see P.30 to 36).
Chapter 5 Serial Communication Online test mode Sets to online test mode (➮ see P. 60). ● Online test ON Command: #TEST1 Response: OK ● Online test OFF Command: #QUIT Response: OK ● Online test check Command: #TEST Response: #TESTn n = 0: Online test OFF 1: Online test ON Clearing transmission buffer Clears data stored in the transmission buffer. Command: BCLR Response: OK Shift to setting mode Enters the setting mode (➮ see P.4).
Chapter 5 Serial Communication Readout history check Outputs the readout OK and NG counts during trigger input ON. Command: NUM Response: aaaaa/bbbbb/ccccc aaaaa = 00000 to 65535: Readout OK count bbbbb = 00000 to 65535: Readout NG count ccccc = 00000 to 65535: Trigger input ON count Description: These counts are reset to zero by turning the power OFF or sending the RESET command.
Chapter 5 Serial Communication 5.3.2 Details on Parameter Setting Commands The following describes how to change the BL-700’s settings through command communication. You can use the setup software to change the BL-700’s settings instead of these commands. Communication Details 1. Send the direct control command SSET to the BL-700. The BL-700 will shift to setting mode. After successfully executing the command, the BL-700 sends back an OK. 2.
Chapter 5 Serial Communication Response Error Code When an incorrect command is sent to set parameters, the BL-700 sends back data indicating the cause of the error (error code). For the commands corresponding to the error codes, see the error code column given in the table on the following pages. Error code Cause of error 00 Undefined command. 01 Command format is incorrect. 02 Nothing corresponds to the number in the command. 03 “m” value (codes 1 to 4) is other than 0 to 3.
Chapter 5 Serial Communication Description of Parameter Setting Commands ■ Saving/Initializing Settings/Quitting Setting Mode Function Command being sent Response Description Error code Saves settings in the EEP-ROM. SAVE OK See page 92. – Initializes settings. DFLT OK Returns to the default-settings, and saves the settings in the EEP-ROM. 00, 05, 14, 15 Quits the setting mode. SEND OK See page 92.
Chapter 5 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 Confirm digit (Modulus 10/ Wait 3) Response Serial Communication Description Error code 1: Enable ITF Sending check digit.
Chapter 5 Serial Communication Function Command being sent Response 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.
Chapter 5 Serial Communication ■ Setting Reading Mode/Data Addition Functions Function Command being sent Response Description Setting reading mode Change WP12n OK n=0: Single label Confirm RP12 12n Error code 00, 02, 1: Multi label 1 05, 08, 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 read
Chapter 5 Serial Communication ■ Setting Trigger Input (Starting Test Mode) 5 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 Confirm RP04 04n Setting state of trigger input Change WP03n OK Confirm RP03 03n Starting test mode when trigger input turns on.
Chapter 5 Serial Communication ■ 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 30n 1: 8 bits WP31n OK n=0: Disable RP31 31n 1: Enable Change WP32n OK Confirm RP32 32n 1: Odd n=0:1 bit Setting parity
Chapter 5 Serial Communication ■ Setting communication parameters 2 (When the PLC link is not used) Function Command Handshaking protocol 1 Handshaking protocol 2 Adding checksum Header Delimiter Change WP07n Response Description Error code OK n = 0: No handshaking n = 1: Use protocol 00, 02, *To set details of the protocol, use handshaking protocol 2.
Chapter 5 Serial Communication ■ Setting communication parameters 2 (only when PLC link is used) Function Command PLC link model Change Confirm Response Description WP36n RP36 OK 36n Error code n = 0: PLC link disabled 00, 02, n = 1: SYSNAC-C 05, 07, n = 2: MELSEC-A 14 n = 3: KV n = 4: MELSEC-A (File register is used.
Chapter 5 Serial Communication ■ Utility Setting (Stability LED, OK/NG output duration, Preset data for compare) Function Command being sent Response Description Indication of Stability LED Change WP09n OK n=0: Disable Confirm RP09 09n 1: Enable Change WP40nnn OK nnn= 001 to 255 Confirm RP40 40nnn (by 10 ms step) Setting OK/NG output duration Registration of preset data for compare Tips Change WP68aaa... OK aaa...= Preset data Confirm RP68 68aaa...
Chapter 6 PLC Link 6.1 PLC Link ............................................................................ 104 6.1.1 List of PLCs used for PLC link ............................................. 104 6.1.2 Devices used for PLC link .................................................... 105 6.2 Setting the BL-700 and PLC ............................................. 106 6.2.1 Setting the BL-700 series .................................................... 106 6.2.2 Setting the PLC ...........................
Chapter 6 6.1 PLC Link PLC Link The PLC link enables read data to be directly stored in the internal memory of a PLC (programmable logic controller). Since the BL-700 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-700 settings cannot be changed because the PLC link cannot send a command to the BL-700.
Chapter 6 PCL Link 6.1.2 Devices used for PLC link The BL-700 supports the following PLC devices. To use MELSEC-A series, select the data register or file register. The available memory areas of the MELSEC-A or SYSMAC-C may be smaller than the following data. For details, see the instruction manual for the PLC being used.
Chapter 6 6.2 PLC Link Setting the BL-700 and PLC 6.2.1 Setting the BL-700 series Use the BL-700 setup software to set the following. For the differences in setting due to the link unit or PLC type, see the next subsection “Setting the PLC”. 1. In “Comm settings-1”, set the following data. • Match the baud rate, data length, parity and stop bits of the BL-700 to those of the PLC. • Disable the RTS/CTS protocol. • Disable the multi-drop link. 2. In “Comm settings-2”, set the following data.
Chapter 6 PCL Link Settings for KV-L2/KV mode* 1. Set the KV-L2’s communication mode to “KV mode”. Set the BL-700’s communication mode to “KV”. 2. The KV mode must be always set to the following values: • Baud rate : 9600 bps • Data length: 8 bits • Parity: Even • Stop bit length: 1 bit Set the RS-232C communication parameters of the BL-700 according to the above settings. 3. Set the station number to “00”. 4. To use the KV-L2 port 2, set the port 2 selector switch to “RS-232C” or "RS422A". 5.
Chapter 6 PLC Link Setting SYSMAC-C series 1. Set the RS-232C communication parameters (baud rate, data length, parity and stop bit length) according to the BL-700’s settings. 2. Set the unit number according to the BL-700’s setting. 3. Set the command level to “Level 1, 2, 3”. 4. Set “1:1/1:N” to “1:N”. 5. Set “I/O port” to “RS-232C”. 6. Set “Trigger input” to “Internal”. 7. Set “Supply 5 V” to “Disable”. 8. Set “CTS” to “0 V (Normally ON).
Chapter 6 6.3 PCL Link Device Assignment The data areas used to control the BL-700 are provided in the PLC’s internal memory (D areas or DM areas). When a device head address is specified on the “PLC SETUP” screen in the BL700 setup software, the device numbers are automatically assigned based on the specified head address. Data memory head address [Specified head address] +00 indicates the area where the bar code data is stored.
Chapter 6 PLC Link Data memory areas Bar code data read by the BL-700 is stored in the areas starting from “+00”. (Based on the specified data memory head address). In the following table, “A” indicates the data memory head address. Address Description Reference page Data memory flag area P.113 A+01 Label orientation P.
Chapter 6 PCL Link Detailed description of device assignment +00 to +03 Data memory head address Specify the head address of the areas where the read data is stored. (Specify the head address as binary data.) When using the BL-700 in multi-label read mode 3, +00 to +03 are used as the data memory head address for Codes 1 to 4, respectively. However, data is not stored in the area for which the code type is not set.
Chapter 6 PLC Link ● Operating procedure 1. Set the +05 address to “0”. 2. To trigger the BL-700 to start reading (to turn the trigger ON), set the +04 address to “1”. 3. When the BL-700 recognizes the change in the +04 address, it returns a “1” to the +05 address. The BL-700 then starts reading the data. 4. When a “1” is returned to the +05 address, it indicates that the BL-700 succeeded in the trigger ON function. If a “1” is not returned, the BL-700 has not recognized the +04 address yet.
Chapter 6 PCL Link ● Operating procedure 1. To trigger the BL-700 to start reading, set the +04 address to “1”. 2. When the BL-700 recognizes the +04 address, it returns a “0” to the +04 address. The BL-700 then starts reading the data. 3. The BL-700 continues reading for the “one-shot signal trigger time” set at the +06 address. 4. When the BL-700 has read all the bar codes, it writes the new data in A+05 to A+69. If a reading error occurs, the BL-700 writes a reading error code in A+05 to A+69.
Chapter 6 PLC Link • 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).
Chapter 6 PCL Link Note 1: When test mode is enabled, the BL-700 does not write data. Note 2: These data areas accept up to 64 digits. However, the BL-700 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.
Chapter 6 6.4 PLC Link PLC Link Error When a communication error occurs during PLC link, the BL-700 stops communications. In this case the bottom STABILITY LED flashes. When this error occurs with the PLC link, check the following points: 1. Check if the RS-232C communication parameters (baud rate, data length, parity and stop bit) 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.
Chapter 6 6.5 PCL Link Communication Time ■ Time required data transmission The time required for data transmission from the BL-700 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.
Chapter 6 6 118 PLC Link
Appendices Appendix A Specifications ....................................................... 120 Appendix A.1 Specifications........................................................... 120 Appendix A.2 Reading range characteristics (Typical) .................. 122 Appendix A.3 Angular characteristics (Typical).............................. 125 Appendix B BL-U1 Specifications ............................................ 126 Appendix C BL-U2, N-42 Specifications ..................................
Appendices Appendix A Specifications Appendix A.1 Specifications BL-700/701/740/741/780/781 Model BL-700 Type BL-701 BL-740 High-resolution Light source BL-780 Middle-distance BL-781 Long-distance Visible red semiconductor laser (wavelength 655 nm) Output 100 µW Pulse duration 99.5 µs (IEC60825-1), 50 µs (FDA(CDRH) Part 1040.10) Laser Class Scan method Class 2 Laser Product (IEC60825-1) Class II Laser Product (FDA(CDRH) Part 1040.
Appendices Raster width specification Model Reading distance Raster width BL-701 200 mm 10±1 mm BL-741 300 mm 20±2 mm BL-781 450 mm 30±3 mm Appendices In raster scan mode, the BL-700 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.
Appendices Appendix A.2 Reading Range Characteristics (Typical) ■ BL-700/701 Unit: mm Bar code type Narrow bar width Reading distance Max. readable label width A CODE39 0.15 205 to 275 210 B CODE39 0.19 190 to 300 254 C CODE39 0.25 175 to 325 275 D CODE39 0.5 160 to 370 310 E UPC/EAN1x 0.
Appendices ■ BL-740/741 Unit: mm Bar code type Narrow bar width Reading distance Max. readable label width A CODE39 0.25 360 to 440 330 B CODE39 0.32 360 to 490 350 C CODE39 0.
Appendices ■ BL-780/781 Unit: mm Bar code type Narrow bar width A CODE39 0.32 480 to 580 435 B CODE39 0.5 320 to 870 735 C CODE39 1.0 200 to 1100 930 D CODE39 2.0 200 to 1200 1010 0 Reading distance 100 200 300 400 500 600 700 800 900 1000 1100 1200 Max. readable label width Reading distance (mm) 600 500 (Focal length) 500 400 300 200 100 400 465 435 735 930 1010 0 100 200 Appendices (Measuring conditions) • The KEYENCE standard bar code is used.
Appendices Angular Characteristics (Typical) Model BL-700/701 BL-740/741 BL-780/781 Narrow bar width Skew Pitch Tilt 0.15 mm -70° to -20°, -5° to +55° ±35° ±50° 0.19 mm -70° to -20°, -5° to +55° ±45° ±50° 0.25 mm -70° to -20°, -5° to +55° ±50° ±50° 0.5 mm -70° to -20°, -5° to +55° ±55° ±50° 0.25 mm -70° to -20°, -5° to +55° ±35° ±30° 0.32 mm -70° to -20°, -5° to +55° ±45° ±50° 0.5 mm -70° to -20°, -5° to +55° ±55° ±50° ±30° 1.0 mm -70° to -20°, -5° to +55° ±55° 0.
Appendices Appendix B BL-U1 Specifications* Model BL-U1 Power supply for bar code reader 5 VDC±5% (1.5 A) Power supply for sensor 12 V ±10% (300 mA) Trigger input Input rating 8.5 to 30 VDC, 10 mA max. OK/NG output Output type NPN open-collector Rated load 30 VDC, 100 mA Max. OFF current 0.5 mA Leakage current (at OFF) 0.1 mA max. Residual voltage (at ON) Interface Ambient temperature 1 V max. RS-232C, RS-422A, RS-485 multidrop (Up to 31 units can be connected. Max. cable extension: 1.
Appendices Appendix C BL-U2, N-42 Specifications BL-U2 Connectable bar code reader Power supply for bar code reader N-42 BL-500 series, BL-180 series, BL-700 series 5 VDC ±5% (630 mA) Trigger input Input rating 15 to 26VDC, 10 mA max. OK/NG output Output type NPN open-collector Rated load 30 VDC, 100 mA Maximum OFF current 1.0 mA Leakage current (at OFF) 0.1 mA max. Residual voltage (at ON) Interface Ambient temperature Relative humidity Ambient atmosphere Vibration 1 V max.
Appendices Appendix D Dimensions ■ BL-700/701/740/741/780/781 53 (A) 28.5 ø5.8, Cable length: 1.8 m Laser beam 10° (*) Laser transmitter 2 - ø3.5 mounting hole 9.9 58 51.5 26.5 36 3.25 46.5 3.25 * Laser beam emission angle is 10°±0.5° from perpendicular to plane (A). ■ BL-700/701/740/741/780/781 (Mounting bracket) • Vertical scanning • Horizontal scanning Appendices 58 6 44.5 58 6.5 6 44.5 6.5 16 16 3 3 2.5 60 60 2.5 128 52 2 2.
Appendices ■ BL-U2 (70) 5.5 2-ø4.5 mounting hole 43.2 5.9 5.9 55 63.2 75 5.5 (70) 21 ■ N-42 (70) Appendices 2 - ø4.5 mounting hole 5.5 43.2 55 5.9 5.9 26 63.
Appendices ■ BL-U1* 100 to 240 VAC (with 3-core plug) Approx. 40 ø6.5, Cable length: 2 m 98 90 110 4 - ø5 mounting hole 150 186 Appendices Note: BL-U1 is not available in Europe. 130 4 4 120° 91 max.
Appendices Appendix E Example Program for Serial Communication The following is a example program that allows data communication and command communication. Type in a command and press [Enter] to send the data to the BL700. Only the QUIT command can be sent by pressing [Q].
Appendices Appendix F Sample Program for the PLC Link The sample program stores the read data in D105 (DM105) and subsequent DMs. You can change the program to suit your application. Before using the sample program, check that your system meets the following requirements. ■ BL-700 settings • The scan method is “level signal trigger”. • Use the “PLC trigger area”. • The DM head address is “0000”. ■ Processing of data memory flag ... Sequential processing * This sample program uses the level signal trigger.
Appendices ■ Program for the MELSEC-A Series M9038 MOV K100 D1 MOV K2 D100 MOV K1 D4 MOV K0 D4 Specify the head address of the data memory area. (Enter “2” in the data memory flag. Use sequential processing to process the flag.) X0 X0 LD= D100 K3 Data stored in D105 and subsequent areas is processed. MOV K2 D100 Enter “X0” for the reading trigger input. When D100 becomes “3”, the specified processing is performed. After processing is completed, enter “2” in D100.
Appendices Appendix G Troubleshooting If a problem occurs during operation, please check the following troubleshooting notes first. If you cannot fix the problem, contact KEYENCE or your nearest dealer. Bar codes cannot be read. Check whether power is applied to the unit. • Confirm that the power supply voltage and capacity is 5 VDC±5% and 510 mA. Check the wiring of the power supply unit and the trigger input terminal. ➮ See P.6 to 7.
Appendices Check the bar code. A bar code with blurred sections, defects or stains may not be read correctly. Bar codes printed with dot matrix or ink jet printers are prone to such problems. Check whether the transmitter (light source) and the receiver (optical pickup) are clean. If moisture, oil or dust adheres to the transmitter or the receiver, wipe the units using a soft cloth and a mild plastic cleaner. Check the environmental conditions. ➮ See “Hints on correct use” on P. 23 to 25.
Appendices Appendix H CODE93 Specifications ■ Setting of No. of Digits • The start/stop character and check digit are not included in the number of digits. ■ Data Transmission • The start/stop characters and check digit cannot be sent. • Control codes are sent. Note: Do not use CODE93 with control codes when using a multi-drop link. Communication errors may occur. ■ Registration of Preset Data • When ! or ? is registered as preset data, it functions as the Preset “!” “?” Function, as described in P.45.
Appendices CODE128 Specifications ■ Setting No. of Digits • The start/stop character and check digit are not included in the number of digits. • FNC1 to 4 (Function codes), SHIFT, and CODE-A to -C should not be added to the number of digits. • The number of digits setting range varies depending on the start character (CODE-A to -C). CODE-A, B: 1 to 32 CODE-C: 2 to 64 One digit of CODE-A or CODE-B represents two digits of CODE-C.
Appendices Appendix J Checksum Calculation Method You can add a checksum to transmitted data. (The checksum cannot be added to a command or a response to a command.) Adding a checksum enables incorrect data translation to be detected in the RS232C communication. If the checksum does not match when the PASS/RTRY or ACK/NAK protocol is used, modify the program so that the “Request to resend” (RTRY or ) command is sent to the BL-700.
Appendices Checksum calculation method Heade ABC123 CC Delimiter Calculate the checksum (CC) in the above example. Convert each character into the ASCII code as shown below, and express the result as 8-bit binary numbers. Calculate the “Exclusive-OR” of the binary numbers of each bit.
Appendices Appendix K ASCII Code Table High-order 4 bits Hexadecimal 0 1 2 3 4 5 6 7 Appendices Low-order 4 bits Binary 0000 0001 0010 0011 0100 0101 0110 0111 140 0 0000 NUL DLE (SP) 0 @ P 1 0001 SOH DC1 ! 1 A Q a q 2 0010 STX DC2 ” 2 B R b r 3 0011 ETX DC3 # 3 C S c s 4 0100 EOT DC4 $ 4 D T d t 5 0101 ENQ NAK % 5 E U e u 6 0110 ACK SYN & 6 F V f v 7 0111 BEL ETB ’ 7 G W g w 8 1000 BS CAN ( 8 H X h x 9 1001 HT EM ) 9 I
Appendices Appendix L Setup Parameter List Fill in the specified data for each parameter. Copy the list for daily operation.
Appendices ■ Main setup Read mode ■ Single Data send trigger ■ After reading ■ After trigger OFF ■ Multi 1 ■ Multi 2 Double reading prevention time ( ) ■ Multi 3 Decode match count ( ) Data addition function (more than one can be selected) ■ Decode count Reading error code ( ■ Scan count (available only when decode count is added) ■ Label orientation ■ Code type ) ■ Trigger Input Setup Appendices Trigger input Selection method ■ Level signal trigger One-shot signal trigger time ( Inp
Appendices ■ Communication parameters 2 PLC link ■ Don’t use Protocol ■ Use ■ Non-procedure ■ PASS/RTRY ■ ACK/NAK Header ■ None ■ Specify ( ■ STX ) ■ ESC Delimiter ■ None ■ Specify ( ■ CR+LF ) ■ ETX Checksum ■ Don’t add ■ Add PLC type ■ SYSMAC-C ■ KV ■ MELSEC-A PLC trigger area ■ Don’t use ■ Use DM head address ( ) 00 PLC station/Unit No. ( ) File register ■ Don’t use File register block No.
Appendices Appendix M Default Setting List ■ Bar code setup Parameter Code 1 Code 2 Code 3 Code 4 Code type CODE39 Coda bar UPC/EAN None Maximum number of digits 32 32 – Minimum number of digits 03 03 – Send start/stop character Don’t send Send – Lowercase – Don’t test Don’t test – Start/stop character type Test check digit Read JAN (More than one can be selected.) All EAN 13-digit, EAN 8-digit and UPC-E are readable.
Appendices ■ Comm Settings-1 Baud rate 9600 bit/s Data length 7 bits Parity Even Stop bits 1 bit RTS/CTS protocol Don’t use Multi-drop link Don’t use ■ Comm Settings-2 PLC link Don’t use Protocol Non-procedure Header None Delimiter CR Checksum Don’t add ■ Communication character Delimiter character : [3A] Semi-delimiter , [2C] OK/NG output ON time 500 ms STABILITY LEDs Don’t display Preset data Don’t set Appendices ■ Utilities 145
146
WARRANTIES AND DISCLAIMERS (1) KEYENCE warrants the Products to be free of defects in materials and workmanship for a period of one (1) year from the date of shipment. If any models or samples were shown to Buyer, such models or samples were used merely to illustrate the general type and quality of the Products and not to represent that the Products would necessarily conform to said models or samples.
Copyright (c) 2011 KEYENCE CORPORATION. All rights reserved.