Home

Laser Bar Code Reader BL-700 Series User`s Manual 96M1126

image

Contents

1. Note KV 300 and BL U1 are not available in Europe E Connecting KV L2 Port 1 D sub 25 pin male D sub 25 pin male Terminal block D sub 25 pin male M2 6 screw M2 6 screw M2 6 screw KEYENCE option OP 22149 1 5 m or commercially available cross cable can be used 12 Chapter 2 Connection and Installation E Connecting MELSEC A series Connection with AJ71C24 Connection with A1SJ71 U C24 R2 PRF AL71C24 S__ A2CCPUC24 A0J2 C214 S1 A2CCPUC24 PRF AJ71UC24 D sub 25 pin male D sub 25 pin male D sub 9 pin male D sub 25 pin male M2 6 re M2 6 E l M2 6 screw M2 6 screw E SYSMAC C series Connection with C 200H LK201 V1 Connection with C 20H C 500 LK203 C 28H C 500 LK201 V1 C 40H C120 LK201 V 1 C 60H Link unit BL U1 ofa tae RD RD as 4 Ji nrs CS CS SG z Eu SG D sub 25 pin male D sub 25 pin male D sub 9 pin male D sub 25 pin male M2 6 screw M2 6 screw M2 6 screw M2 6 screw KEYENCE option OP 22149 1 5 m or commercially available cross cable can be used Note KV L2 and BL U1 are not available in Europe Connection with C 200HS CPU21 23 31 33 CQM1 CPU21 41 42 43 44 C 200HE CPU42 C200HG CPU43 63 C200HX CPU44 64 C200HW COM02 COM04 COM05 COM06 D sub 9 pin male D sub 25 pin male M2 6 screw M2 6 screw 13 Chapter 2 Connection and Installation HM SYSMAC CV series Connection
2. Send 113 digits 12 digits Don t add Add Don t add Add L1 Don t check L1 Check Don t set Set Forward Backward C Normal Reverse Don t send Send 13 digits 112 digits Don t add Add Don t check Check Don t set Set Forward Backward Normal Reverse Don t set Don t set Don t set Don t set Set Set Set Set 113 digits 112 digits Reverse Don t send Send Don t add Add N a D 7 ez L Don t check Check Dont set Set Forward Backward ro for fo fa ro fo fo fa Normal 141 Appendices E Main setup Read mode Single Data send trigger After reading After trigger OFF Multi 1 Double reading Multi 2 prevention time Data addition function Decode count Scan count more than one can available only when decode count is added be selected Label orientation Code type E Trigger Input Setup Trigger Selection method _ Level signal tr
3. 9 Chapter 4 6 Installing the Setup Software 4 If the settings of the BL 700 were successfully read the following message appears Result AN Complete If the host computer failed to read the data the following message appears AN Failed to read out BL If this message is displayed check the following points e 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 e Check that the power to the BL 700 is ON e Check that the RS 232C cable pin assignment of the BL 700 is the same as that of the host computer Chapter 4 Installing the Setup Software 4 5 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 com puter according to the current settings of the BL 700 2 Click on Monitor The MONITOR screen will appear Monitor keceived Data Gut 3 When the BL series reads bar codes the data read by the BL series is listed on the screen in the Received Data field A record of up to 1000 lines of data can be obtained U
4. Follow the safety precautions below to ensure operator safety e Operate the BL 700 Series only according to the procedures described in this instruction manual Otherwise injury may occur due to exposure to the laser beam e Do not disassemble the sensor head Laser emission from the BL 700 Series is not automatically stopped if the sensor head is disassembled If you disassemble the sensor head for inspection or repair you may be exposed to the laser beam If the BL 700 Series malfunc tions contact KEYENCE immediately e Do not look directly at the laser beam Looking directly at the laser beam may result in serious eye injury e Protective enclosure We recommend that you install a protective enclosure around the sensor head to prevent any person from getting near the sensor head during operation e Protective goggles We recommend that you wear protective goggles when using the BL 700 Series e Stop laser emissions before cleaning the laser emission port Failure to stop the laser emission may expose eyes or skin to the laser beam e Check the laser beam path To prevent exposure to the laser beam due to specular or diffuse reflection install a screen which offers the appropriate reflectance and temperature characteristics to interrupt the reflected laser beam Do not install the BL 700 Series in such a way that the laser beam passes at eye height 1 5 Safety Features Provided with the BL 700 Series The BL 700 Series is
5. Additional information HEX 4552524r92 F Code type F Label orientation Trigger setup Com port Transfer Monitor Exit C 1 When Single is selected in Read Mode the following appears Data send After Read C At trigger input When Multi 1 or Multi 2 is selected the following appears kepeat reading time x1D0mS 1 255 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 Scan count ap pears only when Decode count is selected 20 Chapter 4 Installing the Setup Software Trigger input setting 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 Click Trigger input setting to set the trigger input Read mode gt P 35 to 38 Data transmission trigger gt P 34 Double reading prevention time gt P 35 to 36 Decoding match count P 32 Additional data function gt P 48 to 49 Read error code gt P 89 Set the trigger input scanning method and trigger ON OFF command 1 State amp Normally open Normally close Input time 2ms c 10ms Signal typ
6. 0 to UPC E Don t add system code Set specified digit Don t set Don t set Don t set output function Set label reading in Don t set Don t set Don t set the specified direction E Main setup Singe Read JAN More than one can be selected EEA i M Trigger input setup Selection method Level signal trigger Inputtime ms Input polarity Normal Open N D s 1 eT 144 Appendices E Comm Settings 1 Baud rate 9600 bit s Data length 7 bits Parity Even 1 bit RTS CTS protocol Don t use Multi drop link Don t use E Comm Settings 2 PLC link Protocol Non procedure Header None CR Checksum Don t add E Communication character Delimiter character SA Semi delimiter 2C E Utilities OK NG output ON time STABILITY LEDs Don t display N a D o ez 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 Any Products found to be defective must be shipped to KEYENCE with all shipping costs paid by Buyer or offered to KEYENCE for inspection and examination Upon examination by KEYEN
7. in D100 Specify the head address of the data memory area DM100 The BL 700 processes data as binary data Specify each DM number in binary format Enter 2 in the data memory flag Use sequential processing to process the flag N a D OD z Enter 0000 for the reading trigger input When DM0100 becomes 3 the specified processing is performed After processing is completed enter 2 in DM0100 133 N a 3 eT Appendices Appendix G Troubleshooting 134 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 e Confirm thatthe 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 Connecting the power supply unit with the reverse polarity may damage the BL series If the BL 700 does not operate contact KEYENCE e When using the power supply unit BL U1 BL U2 N 42 or N 48 check wiring of the power supply unit power switch for the BL U1 only and wiring of trigger input see P 8 to 22 e Check whether the laser stop command LOCK see P 92 has been sent to the BL series If so send the laser stop reset command UNLOCK If a laser stop command has been executed the b
8. 400 Reading distance mm 200 32 230 Focal length STN 150 ANTI 100 IANA 50 185215 210 254270 275 310 0 50 Measuring conditions I e The KEYENCE standard a ee ee 100 bar code is used owe a ale e Ratio of thin bar to thick bar 1 2 5 an DN 150 Skew 0 B 7 n ao Lo I a C g Readable label width D mm T 2 e lt For the reading distance measuring reference see P 26 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 Normally the reading distance should be set to 230 mm focal length In this case the maximum readable label width is 215 mm when the narrow bar width is 0 19 mm or more 122 Appendices E BL 740 741 Unit mm Bar code type Narrow bar width Reading Max readable distance label width CODE39 360 to 440 B CODE39 360 to 490 0 100 200 300 400 500 600 700 800 Reading distance mm 300 lt 400 Focal length 200 in O 300340 330 350430 510 600 _ s 00 Measuring conditions e The KEYENCE standard Vion bar code is used TT 200 e Ratio of thin bar to thick IT bar 1 2 5 1 e Skew 0 per 300
9. 43 2236 378266 0 Phone 49 6102 36 89 0 Phone 60 3 2092 2211 Phone 41 43 455 77 30 BELGIUM HONG KONG MEXICO TAIWAN Phone 32 2 716 40 63 Phone 852 3104 1010 Phone 52 81 8220 7900 Phone 886 2 27 18 8700 CANADA HUNGARY NETHERLANDS THAILAND Phone 1 905 696 9970 Phone 36 14 748 313 Phone 31 40 20 66 100 Phone 66 2 369 2777 CHINA ITALY POLAND UK amp IRELAND Phone 86 21 68757500 Phone 39 2 6688220 Phone 48 71 36861 60 Phone 44 1908 696900 CZECH REPUBLIC JAPAN SINGAPORE USA Phone 420 222 191 483 Phone 81 6 6379 2211 Phone 65 6392 1011 Phone 1 201 930 0100 FRANCE KOREA SLOVAKIA Phone 33 1 56 37 78 00 Copyright c 1997 KEYENCE CORPORATION All rights reserved 0119E 0069 3 96M1126 Printed in Japan Phone 82 31 642 1270 Phone 421 2 5939 6461 96M 1 1 A4WW1 MAN 0049 2 6 3
10. 70 T 2 94 5 5 5 mounting hole I mi E N 42 2 4 5 T mounting hole 43 2 5 9 5 9 Appendices N a D a ez 129 Appendices E BL U1 4 Fra Ca 100 to 240 VAC F r TG with 3 core plug i Approx 96 5 Cable length 2 m p beg i x fi Qi 90 110 4 5 mounting hole A ig 150 186 H bi 51 lt 91 max Note BL U1 is not available in Europe N a 4 3 7 lt 130 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 BL 700 Only the QUIT command can be sent by pressing Q Set the BL 700 as follows e Header STX e Delimiter ETX e Handshaking protocol No handshaking or PASS RTRY handshaking e Baud rate 9600 bps 7 bit 1 stop bit Even parity 100 BL 700 Sample Program AAAA EE 110 CLS 3 120 DAT RD CM 130 OPEN COM1 9600 E 7 1 RS CS DS CD FOR RANDOM AS 1 140 Clear Buffon 150 A LOC 1 160 IF A lt gt 0 THEN R INPUT 1 4 1 GOTO 140 200 210 Main Routine ecu a ao i ne SRA AISI IAAI II IAAI 220 K INKEY 230 IF K lt gt THEN GOSUB 410 240 A LOC 1 250 IF A lt gt 0 THEN GOSUB 320 260 GOTO 210 310 320 Receive D atg i ecb Ho HaHa R HE Sa R
11. RS 232C Set Checksum to Enable Set Write during running to Enable Set Selecting computer link multi drop to Computer link for the AJ71UC24 only 107 Chapter6 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 O V Normally ON The I O port Trigger input Supply 5 V and CTS parameters may not be provided depending on the type of link unit 108 Chapter6 PCL Link 6 3 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 BL 700 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 Specified head address 01 to 03 are reserved areas and cannot be assigned for the bar code data Specified head address 04 to 06 are the areas
12. When CODE128 is set for any of the 4 codes in the bar code setting and then Detail is clicked the following screen appears Bar code detail setup Code No Code type 9 CODEN 20 CODET20 setup F Check double character start pattern 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 func tion code 1 The UPC EAN 128 bar code must start with the double character start pattern If this is not set the BL 700 will not be able to read the data The check digit setting is not provided on the screen but the BL 700 calculates it using the modulus 103 weight The data is not sent 66 Chapter 4 Installing the Setup Software Options setting When Options is clicked in the bar code setting the following screen appears Max code length output setup Code Code Max code length output Direction Not used Forward C Reverse Effective Starting Set Max code length output function and Label orientation function Tips e Fixed digit output function gt P 50 e Label orientation mode P 39 67 Chapter 4 Installing the Setup Software Utilities settings The settings of OK NG output ON time and preset data registration are available BL Setup BL 700 lt lt Default changed gt gt Comm Settings 1 Comm Settings 2 Man Code setup OK NG output vm 7 LED 50 x10
13. 3 8 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 Forward Reverse 5 lt 49123456 2 Set how many digits you want to designate for output starting from the designa tion start digit in 2 designation effective digits 5th digit by counting forward 49123456 The actual setting order is 1 3 2 3 Set from which digit you want to begin designation destination start digit 3 digits starting from 5th digit by counting forward 49123456 Example Designating and outputting 34 from bar codes 158423421 and 58423421 158423421 58423421 Designate 2 digits starting from 3rd digit by counting reversely Tips e Regardless of the designated direction the data is output forward in the communica tion application e When the bar code group includes those having different digits take special care on the designated direction when setting the digits to be output e When comparing to the preset data all the digits of the bar code are used 48 Chapter 4 Setup Software 4 1
14. 781 LASER RADIATION DO NOT STARE INTO BEAM Maximum output 2 0mW J Wavelength 650nm Pulse duration 23s CLASS 2 LASER PRODUCT IEC EN 60825 1 A2 2001 E DIN BL 700 701 BL 740 741 LASERSTRAHLUNG NICHT IN DEN STRAHL BLICKEN Maximum Leistung 1 4mW Wellenl nge Pulsdauer LASER KLASSE 2 DIN EN 60825 1 2001 BL 780 781 LASERSTRAHLUNG NICHT IN DEN STRAHL BLICKEN Maximum Leistung 2 0mW Wellenl nge 650nm Pulsdauer 235 LASER KLASSE 2 DIN EN 60825 1 2001 LASERSTRAHLUNG NICHT IN DEN STRAHL BLICKEN Maximum Leistung 1 8mW Wellenl nge 650nm Pulsdauer 29us LASER KLASSE 2 DIN EN 60825 1 2001 Chapter1 Laser Safety Precautions 1 3 Labels Location FDA Warning labels are attached to the sensor head as shown below The IEC DIN Warning labels are packaged with the BL 700 Series Affix the Warn ing labels on the sensor head as shown below E FDA E IEC E DIN Chapter 1 Laser Safety Precautions 1 4 Safety Consideration Use of controls or adjustment or the performance of procedures other than those A CAUTION specified herein may result in hazardous radiation exposure The laser beam is not harmful to the skin There is therefore no danger in expos ing arms or hands to the beam The only possible health hazard is in exposing the eyes to the laser beam Damage to the eyes can occur if the operator stares directly into the beam
15. Connecting SYSMAC CV series Connecting with CV 500 LK201 CV500 CV1000 CVM1 D sub 9 pin male M2 6 screw Note BL U1 and KV L2 are not available in Europe 22 Chapter 2 Connection and Installation 2 4 Installation 2 4 1 Operating environment precautions Ambient environments In panel installation Hints on correct use This unit is a precision instrument and you must take care in choosing the operat ing environment Do not install the unit in place as shown below e The unit is exposed to direct sunlight or the ambient temperature may fall below 0 C 32 F or exceed 40 C 104 F Power supply 0 to 50 C 32 to 122 F e The relative humidity may exceed the range of 35 to 85 or condensation may occur due to rapid temperature changes e Corrosive gas or inflammable gas is present or a high level of dust salt iron particles or soot is present e The unit is subject to vibration or impact e Water oil or chemicals may splash the unit e A strong magnetic field or electric field is generated e The ambient illumination intensity exceeds the range defined in the specification in P 120 To mount the power supply unit BL U1 BL U2 or N 42 carefully observe the following instructions e Provide enough ventilation space e lf the ambient temperature may fall below 0 C 32 F or exceed 50 C 122 F provide a fan or air conditioner e Do not mount this unit in a panel where a high vol
16. DC power supply 2 1 2 Power supply connections BL 700 5V 9 GND 5 VDC e Be sure to match the polarities of the power supply when soldering the A CAUTION connections Reversing the polarities will damage the unit e Make sure that the power supply provides a stable 5 VDC 5 If the power supply does not function in the above range it can damage the unit e Do not extend the power cable A long power cable can cause a voltage drop preventing the BL 700 from starting properly Note If the power supply is UL rated it must provide Class 2 output Chapter 2 Connection and Installation 2 1 3 Wiring I O E 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 Contact or solid state 5 O O Cc E OK NG output This output signals whether the readout data is the same as the preset data When no preset data has been entered the signal indicates bar code read status It is an NPN open collector output gt SeeP 44 BL 700 Internal circuit Rated load 24 VDC 30 mA max 2 1 4 RS 232C connection Wire the RS 232C as indicated below when connecting the BL 700 to a PC E Connecting the computer with 25 pin BL 700 PC RD SD SD RD cs 8 RS RS CS GND SG 5V 9 6 DR D sub 9 pin male 4 40 screw D sub 25 p
17. Even 1 Odd Setting Stop bit n 0 1 bit 1 2 bits Setting RTS CTS n 0 Disable ancene 1 Enable Setting RS 485 n 0 Disable ini steps 1 Enable link 99 Chapter 5 Serial Communication E Setting communication parameters 2 When the PLC link is not used Function Command Response Description Error code Handshaking n 0 No handshaking protocol 1 n 1 Use protocol To set details of the protocol use handshak ing protocol 2 Confirm Handshaking n 0 PASS RTRY protocol 2 protocol Confirm n 1 ACK NAK protocol Adding n 0 Do not add checksum 4 39n n 1 Add Header WP51hhh OK hhh Header up to five characters To set a header use HEX hexadecimal Confirm RP51 51hhh codes hhh FF Header is not set Delimiter WP52hhh OK hhh Delimiter up to five characters To set a delimiter use HEX hexadecimal Confirm RP52 52hhh codes hhh FF Delimiter is not set Tips To set the header and delimiter send the following command Example Set the communication data format to lt SOH gt OI bar code data A lt CR gt 0 1 A Pr TETT FE WP51013031 WP52410D GOHJ 01h 0 30h 1 31h A 41h CR 0Dh 100 Chapter 5 Serial Communication E Setting communication parameters 2 only when PLC link is used Function Command Response Description Error code PLC link model WP36n O n 0 PLC link disabled n 1 SYSNAC C Confi
18. JAN 13 Confirm RCm42 42n n 0 Disable digits 1 Enable EAN UPC AsE WCma3n m 0 to 3 Codes 1 to 4 No of UPC A Confirm RCM43 43n n 0 Output in 13 digits output digits 1 Output in 12 digits EAN UPC A E WCma4n m 0 to 3 Codes 1 to 4 Adding 0 to UPC Confirm RCm44 ull n 0 Disable E system code 1 Enable CODE128 Checking Change WCm51n m to 3 Codes 1 to 4 double character Confirm RCm51 51n n 0 Disable start pattern 1 Enabl 2 See p 32 RE Setting max code WCm83n m 0 to 3 Codes 1 to 4 length output Confirm RCM83 83n n 0 Disable function 4 Enable Setting direction for Change WCm84n m 0 to 3 Codes 1 to 4 max code length Confirm RCm84 84n n 0 Forward output 1 Reverse Setting effective WCm85nn m 0 to 3 Codes 1 to 4 digits for max code Confirm RCM85 85nn nn 01 to 32 length output Effective digits Setting starting digit Change WCm86nn m 0 to 3 Codes 1 to 4 for max code Confirm RCM86 86nn nn 01 to 32 length output Starting digit Setting label WCm81n m 0 to 3 Codes 1 to 4 orientation speci Confirm RCm81 81n n 0 Disable fied reading 4 Enable Setting orientation WCm82n m 0 to 3 Codes 1 to 4 for orientation Confirm RCM82 n 0 Forward specified reading 1 Reverse 96 Chapter 5 Serial Communication E Setting Reading Mode Data Addition Functions Command being hassel Description Error sent code Setting reading WP12n n 0 Single label mod
19. 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 dam aged The BL 700 is a precision instrument If the unit is dropped or shocked it may be damaged Take due consideration when transporting or installing the unit Incorrect Do not hold the cables when carrying the units The units may hit each other and become damaged Incorrect Before installing the BL 700 read 2 4 Installation of this manual carefully to select a suitable installation site You cannot perform any operation for 5 seconds after turning ON the BL 700 During this time the motor rotation stabilizes Wait for a while after turning ON the BL 700 then start reading or another operation At shipment the protective seals are affixed to the transmitter and receiver to avoid fingerprints when mounting the unit Be sure to remove the seals before use Do not allow water oil or dust to adhere to the transmitter and receiver Adhe sion of these materials may cause a reading error If the surface is contami nated gently wipe it with a soft cloth moistened with alcohol Package Contents List The package contains the following components Be sure to check the package contents against the checklist before use E BL 70
20. adheres to the transmitter or the receiver wipe the units using a soft cloth and a mild plastic cleaner Check the environmental conditions 2 See Hints on correct use on P 23 to 25 Reading rate check mode is not 100 Check the previous item Bar codes cannot be read Note The Read rate indicates the number of acceptable decodings reads during 10 scans of a bar code When a bar code has stains or defects the read rate is reduced However even when the read rate is 20 2 decodings are possible during 10 scans Therefore if the number of decode matches is 2 the bar code can be read If the trigger input can be set enough long the read operation is not affected The setting data cannot be sent to the BL 700 using the BL 700 setup software Is the BL 700 set to setting data send receive waiting status Press the TEST switch for 8 seconds to enter setting data send receive waiting status The 1st 3rd and 5th STABILITY LEDs from the top flash The BL 700 setup software COM PORT must be set as below e Baud rate 9600 bit s e Data length 7 bits e Parity Even e Stop bits 1 bit N a 3 o ez Does the RS 232C pin assignment of the BL 700 BL U1 or BL U2 match that of the PC Are the cables firmly attached Is power supplied to the BL 700 BL U1 or BL U2 Is RS 232C used for the interface of the BL U1 DIP switches See P 9 Cannot communicate successfully when using th
21. any of the 4 codes in the bar code setting and then Detail is clicked the following screen appears Bar code detail setup Code No Code type ITF TF Setup F Inspect check digit Modulus10weight3 f Senad ciec digi 1 When Check digit test is set the following appears f Send check digit 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 Tips When reading the standard distribution code bar code on the carton box set 14 digits or 16 digits in the bar code setting and set Check digit test 63 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 Bar code detail setup Code No Code type Codabar setup Start stop character C Do not send Lower case Upper case F Inspect check digit Type of sees Send check digit woes g 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 2 When Check digit is set the following appears M Send check digit When Send check digit is set the BL 700 sends the data including the check digit Select the type of check digit to be used Type of check digt Modulusla Mod
22. bar code type is CODE128 and the start character is CODE C up to 64 digits can be read Example When the bar code types are set in Codes 1 to 3 in multi label read mode 3 Code 4 is not set Head address 100 DM100 200 E DM101 300 a DM102 Code 1 Label Label count count DM305 Number of DM405 digits digits DM200 Flag Label orientation Decode count Code 2 Code 3 DM201 DM202 DM203 Scan count Number of DM205 digits Chapter6 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 04 to 06 Reading trigger area These areas are used to send the trigger input signal to the BL 700 to start reading bar code data When connecting a photoelectric sensor for trigger input in the BL 700 series do not use these areas These areas are not assigned if you set Reading trigger input area to Disable in the BL 700 setup software In this case these areas can be used for other pur poses The method for using the areas varies depending on the BL 700 scan method Level signal trigger or One shot signal trigger E
23. code to be used This mode is enabled when the bar code label stays in the given position HM Operation Follow the instructions below 1 Hold down the TEST switch for 3 seconds Release the switch when one STABILITY LED illuminates 2 The BL 700 then enters the mode in which the laser emission is always ON Attempt to use the BL 700 to read bar codes Reading distance 230 mm BL 700 701 380 mm BL 740 741 500 mm BL 780 781 3 Depending on the reading rate the BL 700 displays the STABILITY LEDs as listed By checking the display adjust the reading distance and angle so that the reading rate reaches the highest level 21 to 40 2 LEDs ON 1 to 20 1 LED ON o Red gt 38 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 F R 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 Tips Gently pressing the TEST switch once for less than 3 seconds will cause the BL 700 to read a bar code once It also performs serial output and OK NG output 3 4 2 Tact check mode In this test mode the unit counts how ma
24. contents of this manual are subject to change without notice MS Windows and Windows95 are registered trademarks of Microsoft U S A Other company names and product names are registered or nonregistered trademarks of respective companies Contents Chapter 1 Laser Safety Precautions 1 1 Classification natures ascsean disc es niates nccmaainnisendnsninaeswiiasanneinagnssnasnastassiayanousienasies 2 1 2 Warning Labels sncevscccisecrintutvsataetionts ocnteeteuncine cuba uadactuedencneadgesaucaetsenee uate 2 1 3 Label Location ee eee ae ee een ere 3 1 4 Safety Consideration 00 0 0 cccccccsceeccccseeeeeecseseeeesesseesseesesseseseeneees 4 1 5 Safety Features Provided with the BL 700 Series 0 0 8 4 Chapter 2 Connection and Installation 2 1 BL 700 connections rrrnnnrnnnnnnnnnrnvnnrnvnnrnvnnrnnnnnnnnnnennnnennnnennunennnnennnnennn 6 2 1 1 Connector pin assignment siciacicssseavedmaciaridaus sans vannacdarcoonamaierseardsummnianides 6 2 1 2 Power supply connections cccccececeeeceeeeceeeceeceeecueeceeesseeseeeseeesaeees 6 TND 7 2 1 4 RS 232C connection so scsicrctsasiiacssadatarndeoweccdnsideioadainadiuuebaeoiascnnscenanee lt tanededvest 7 2 2 Connecting BL U1 and wiring rrrrrnnnnnrnnnrvrnnnnvrnnnnrnnnnnenrnnnerrnnnrnnnnnnen 8 2 2 1 Connecting the power supply cccceecccsssecceeeeceeeeceeeeseeeeceneeseeeesaneesees 8 2 2 2 Connecting the BL 700 gers tech cuaenns
25. does not use the 05 trigger input response area to check if the BL 700 successfully recognized the 04 reading trigger area E Program for the KV Series Specify the head address of the data memory area DM0100 Enter 2 in the data memory flag Use sequential processing to DM0100 process the flag Enter 0000 for the reading trigger input DM0004 2o02 DM0100 0003 N a 3 a When DM0100 becomes 3 the specified processing is per formed After processing is completed enter 2 in DM0100 Data stored in D105 and subsequent areas is processed 132 E Program for the MELSEC A Series M9038 and subsequent areas Data stored in D105 is processed END E Program for the SYSMAC C 25315 A50015 0064 0064 DM0000 0002 0002 DMO0100 0000 0001 DM0004 0000 DM0004 DM0100 0003 25313 A50013 25506 A50016 processed DM0100 Shows the value for CV Series vov Ke 0100 Data stored in DM0105 and subsequent areas is Appendices Specify the head address of the data memory area Enter 2 in the data memory flag Use sequential processing to process the flag Enter X0 for the reading trigger input When D100 becomes 3 the specified processing is performed After processing is completed enter 2
26. match Using the BL 700 preset function you can prevent the wrong products from enter ing the line without using a PC If no preset data is registered the unit outputs OK when it successfully reads a bar code and NG when it fails to read a bar code See P 30 to 37 for output timing Use the setup software and serial command to register the preset data See P 68 and P 101 Note The bar code actually read can be compared to the preset data only in the single label read mode 2 See P 136 if you want to use CODEY3 See P 137 if you want to use CODE128 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 I Ignores numeric values and symbols within the dot box and recognizes the bar codes as the same group 49123456 4 9 12 8956 4912 8 56 When using data as 49127756 2 When using as 4912 any bar digits positioned in can contain code which begins with 4912 will be any numeric values or characters OK When using as 14912 any bar expanding the allowable range code which ends with 4912 will be Identifies all the bar codes to be OK as OK long as the beginning or ending strings match Setting examples 1 ABC ABCD OK ABC3 OK ABC NG ABCDE
27. read data format can be changed When Set is clicked the following menu appears Delimiter CCR E CETIX amp Custom ASE Header None SIX CEC amp Custom ASC Enter the desired data from the keyboard up to a maximum of 5 characters 2 When Character is clicked the following menu appears ee Partition mark 1 character ASC Used to separate bar cade data fram HEX additional data ntermediate delimiter 5 chars max Used to separate each mole bar code data in Mult HEX 2 or modes Enter the delimiter and semi delimiter from the keyboard and then click Return Return e Tips e Communication protocol gt P 87 to 88 e Header terminator gt P 89 e Checksum gt P 140 e Delimiter character gt P 48 to 49 e Semi delimiter gt P 37 to 38 29 Chapter 4 Installing the Setup Software E When using the PLC link To enable the Use PLC set each item as follows BL Setup BL 700 lt lt Default changed gt gt Comm Settings 1 Poe 6 Connected PLC MELSEC A Series C KEYENCE KV Series C SYSMAC C Series PLC trigger area DM head address Enable No 0 00 0000 9900 Character Station No o 0 31 T File Register enable Code setup Utilities Com port Transfer Monitor Exit C e Set Connected PLC DM head address and Station No To set DM head add
28. reading trigger area To control the BL 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 700 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 117 Chapter6 PLC Link 118 Appendices Appendix A Specifications rrrrnrrrrnrnernnnerrarrrrnnrennnnrnnnnnnnnnnr 120 Appendix A 1 Specifications cccccccccsececseeeeeeeeessceseeeeseeeeseaees 120 Appendix A 2 Reading range characteristics Typical 122 Appendix A 3 Angular characteristics Typical r rrronnnronnnernnre 125 Appendix B BL U1 Specifications rrrrrrrrrnnnrrrnrernnnnernnnennnrr 126 Appendix BL U2 N 42 Specifications eee 127 Appendix D Dimensions rrrrnrrrranennnrrnnnennnnnranennnnrnnnennnsennennn 128 Appendix E Example Program for Serial Communication 131 Appendix F Sample Program for the PLC Link 0 132 Appendix G Troubleshooting mrrrrarnernnnenranerrnnennnnrnvanennnnne 135 Appendix H CODE93 Specifications rrrrrrnrrernnrerrarerrnnnennnre 137 Appendix I CODE128 Specifications rrrrarrernnrorrnrrrrnnnennnrr 138 Appendix J Checksum Calculation Method 8 139 Appendix K ASCII Code Table rarnrrarnennnnenranerrnnnen
29. see P 28 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 Normally the reading distance should be set to 500 mm focal length In this case the maximum readable label width is 465 mm when the narrow bar width is 0 5 mm or more 124 Appendices Appendix A 3 Angular Characteristics Typical Model Narrowbarwidth Skew Pith Tit BL 700 701 BL 740 741 BL 780 781 Measuring conditions e Bar code KEYENCE standard bar code e Reading distance 230 mm BL 700 701 380 mm BL 740 741 500 mm BL 780 781 Note The skew angle of 20 to 5 is the specular reflection range In this range bar codes cannot be read or reading error may occur Be sure not to mount the BL 700 series at the above skew angles Skew Pitch N a D o ez OO 0 a Tilt 0 Laser beam 125 Appendices Appendix B BL U1 Specifications Model PB 5 VDC 5 1 5 A Trigger Input rating 851030VDC 10mAmax npu OK NG oupa RS 232C RS 422A RS 485 multidrop Up to 31 units can be connected Max cable extension 1 2 km Ambient temperature 0 to 50 C 32 to 122 F No freezing Relative humidity 35 to 85 No condensatio
30. to 4 codes are in the laser beam s field the unit can simultaneously reads all of them Operation of multi label read mode 3 Reading data format This mode allows the unit to continuously read each one of 4 bar code types Code 1 Code 2 Code 3 and Code 4 as specified in the code setup of the setup software 2 see P 61 If 3 types are specified in the code setup the unit reads 3 bar codes each of 3 types If 2 types are specified the unit reads 2 bar codes The following time chart is given Trigger input Bar Code if LI LJ LJ Le pg Code 1 Code 2 Code 3 Code Laser beams Communication time TNG Code 1 gt Code 2 gt Code 3 gt Code 4 gt O A Z 0 O xo A The above example chart is with all 4 codes specified in the code setup of the setup software e The bar code reading sequence is not fixed e The unit communicates the readout data in the order of Code 1 to Code 4 After the trigger input turns off the unit sends all the data at one time e For OK NG output OK turns on if the unit reads all the specified Codes 1 to 4 and NG turns on if the unit fails to read at least one bar code Comparison to the preset data is not performed Data read Data read Data read Data read E Header from Code from Code 5 from Code from Code Delimiter 1 2 3 4 e Each data packet is separated by a
31. 0 is shorter than that of communication with the connected PLC data that has not been written into the specified area is retained in the BL 700 transmission buffer For the capacity of the transmission buffer see p 86 If the amount of retained data exceeds the buffer capacity the entire contents of the buffer is cleared and an OVER code is stored in the memory data area A 05 to A 09 If a buffer OVER error occurs the BL 700 halts operation but then restores operation once the OVER code has been stored Example 1 Normally the A 00 address is set to 0 While the BL 700 is writing data the flag area is 1 When the flag area becomes 0 the data stored in the A 05 to A 69 addresses can be processed Example 2 Normally the A 00 address is set to 1 When data writing is completed the flag area becomes O The data stored in the A 05 to A 69 addresses can be processed Set the A 00 address to 1 immediately after data processing is completed This enables the BL 700 to use the point at which the A 00 address becomes 0 as the trigger for writing new data Note When the BL 700 continuously reads bar codes the real time processing mode may replace stored data with new data before the new data is processed in the PLC To prevent this use the sequential processing mode as shown below HM Sequential processing e To specify the flag areas use 2 and 3 e When t
32. 0 package PET UMU eer er eee ce ee Thee ret keen meen eee eee eee 1 RE 80 10 90 0 1 gt ERT 1 VOUS ClO NER 2 FEE sd 4 JE EE 5 EE EE EEE NE ee ee 4 e Laser warning label Japanese English German arrrrnrrrnnnrrnnnnnnnn 1 set E BL U1 package BESUT U ee es 1 E BL U2 package PLU O n E E EE EE E E EA 1 e D sub 9 pin connector connector CASE rrrarrnrrrnnrnanrnarrnrvanrnarrnarnanrnannner 1 instruccion manualer reani ee EE said we TAERE ERE ENNS orent AENEA 1 E N 42 package e NA UNII ee a EEE EEDE E 1 WISIFUCTION manual se ncxdeccseccceustesenaueddaseeuncdGasddmannciatdanadabhotdnwanddeatemenducnediaased 1 HM Setup software user s manual BL H1WE e Setup software 3 5 inch 1 44 MB rrrraronanonnnrnnnrnnanennnennnrnnanennnennnnenenen 1 e Users manual this manual srrrnnnrennnnernnnernnnrnnnnnnnnnrnnnnrnnnnrnnnnsnnnnnennnee 1 BL Series Lineup HM Laser bar code reader Model Scanning method Readable bar width Reading distance BL 700 0 15 to 1 0 mm 160 to 370 mm BL 701 When narrow width is 0 5 mm When narrow width is 1 0 mm When narrow width is 2 0 mm E Power he Model Supply voltage Interface BL U1 100 to 240 VAC RS 232C RS 422A RS 485 multi drop Select one of these BL U2 24 VDC RS 232C N 42 24 VDC RS 422A N 48 24 VDC RS 485 multi drop M Other options e N 400 Multi drop controller Used as the master unit when multi drop linking wi
33. 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 Installing the Setup Software rrrrrnnnnrrnnnnrrrrnnrennnnnnen 52 Installing setup Software rrrrrnnnnnnnnnnrnnnnnrnnrrnnnnennnnrnnnnnennnnen 52 Installation procedure save 52 Setup Software Operating Procedure 0068 54 Operating procedure cise citancesinendscannnnndioneonatienaienmisininiehedaents 54 Description on each setup screen ccceecceeeeeeeeeeeeeeeeeeees 55 Outline of ENN 56 Details of Setup ne 58 SGUD 0 pe 61 10 1 EE A 58 Reading Saving Printing File Lnsuaesienastdnntvntkenitlsite 71 Sending Receiving Settings rrrrrrrnnnrrvrrnnrrrvrrnnnrrennnnn 75 Using Monitor c cc ccccceccceeeeeeseeeeeeeeeseeeeeseeeesaeeesseeeens 79 List of Error Messages rrrnnnnnnnnnnnrnnennnnnnnnnnrnnnnnnnnnnrnnnnenn 82 Example of Printing from the Setup Software 83 Chapter 4 Installing the Setup Software 4 1 Installing the Setup Software This section describes the operating environment of the setup software and the software installation 4 1 1 Installing setup software E 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 2320 port is required HM OS requirements e MS Window
34. 6 Connecting the power supply rrrrnnernnnnrnnnnernnnrnrannnnnnnennannnnnn 16 Connecting the BL 700 to BL U2 N 42 rrrrnnnnnvnnnnnnrnvnrnnnnnnn 16 Terminals of I O terminal block and connections 6 17 Tema 18 Connecting RS 232C BL U2 rorrernnnnnrrnnnnrorrnnnrnvnnnrnnnnnnennnn 18 Connecting the N 42 to RS 422A rrrannnnnnnnnrvnnnnnvnrnnennnnnernnnn 21 Installation ee 23 Operating environment precautions ccccceeeeeeeeeeeeeeeeees 23 Installing the BL 700 Series rrrrrnrrrrrrrnnrrrrrrnnnrrenrnnnnrrnnnnnenee 25 Te E Vale Me gt EE 27 Installing the BL U2 N 42 rerarernrennvrrnnnennnnevnnernnvrnnnennunennnne 27 Chapter 2 Connection and Installation 2 1 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 OOO00 DTE specification defined as terminal Oo 4 40 screw male 6 7 8 9 Pin No Cable color Symbol Signal direction Connector Shield Frame ground case 7 Receives RS 232C data Sends RS 232C data White OK OK output 5 Black GND Ground common ground for respective signals Yellow TIM Trigger input FG TIM RD RXD SD TXD OK SG G Pink RS RTS Request to send RS 232C data Output always ON CS CTS Enable to send data through Input RS 232C 9 red 5 V
35. 7 8 bits Parity check None even odd 1 2 bits Stop bit length Enclosure rating IP 65 Ambient light Sunlight 10000 Ix Sunlight 10000 Ix Sunlight 8000 Ix Incandescent lamp 6000 Ix Incandescent lamp 4000 Ix Incandescent lamp 3000 Ix Ambient temperature 0 to 40 C 32 to 104 F No condensation Relative humidity Operating atmosphere Vibration Power supply voltage Power consumption Approx 300 g including cable 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 120 Appendices Raster width specification In raster scan mode the BL 700 scans multiple positions of the bar code by swing ing the laser beams up and down Thus the bar code can be read even if ithas a stain or missing part For the up down width of raster scan raster width see the table below Model Reading distance Raster width BL 701 BL 741 BL 781 121 N a D 7 ez Appendices Appendix A 2 Reading Range Characteristics Typical E BL 700 701 Unit mm Bar code type Narrow bar width Reading Max readable distance label width CODE39 205 to 275 B CODE39 190 to 300 0 50 100 150 200 250 300 350
36. ASCII codes hexadecimal numbers in two digits by the digit See the ASCII code table in P 140 lf a read error occurs the ERROR code is stored in the corresponding area The reading error code can be easily changed in the BL 700 settings If a buffer overflow error occurs with the BL 700 the OVER code is stored in the corresponding area See P 113 If an error occurs in the main unit the MOTOR code is stored in the corre sponding area A 05 Number of digits of bar code 1 to 64 binary Number of digits data 1 to 64 1st digit of read data A single ASCII code 2nd digit of read data A single ASCII code 64th digit of read data A single ASCII code Chapter6 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 Example When the BL 700 reads the bar code KE12 Number of digits Stored in ASCII codes hexadecimal Example When the BL 700 generates a reading error ERROR Number of digits Stored in ASCII codes hexadecimal 115 Chapter6 PLC Link 6 4 PLC Link Error 116 When a communication error occurs during PLC link the BL 700 stops communi cations In this case the bottom STABILITY LED flashes When this error occurs with th
37. CE KEYENCE at its sole option will refund the purchase price of or repair or replace at no charge any Products found to be defective This warranty does not apply to any defects resulting from any action of Buyer including but not limited to improper installation improper interfacing improper repair unauthorized modification misapplication and mishandling such as exposure to excessive current heat coldness moisture vibration or outdoors air Components which wear are not warranted 2 KEYENCE is pleased to offer suggestions on the use of its various Products They are only suggestions and it is Buyer s responsibility to ascertain the fitness of the Products for Buyer s intended use KEYENCE will not be responsible for any damages that may result from the use of the Products 3 The Products and any samples Products Samples supplied to Buyer are not to be used internally in humans for human transportation as safety devices or fail safe systems unless their written specifications state otherwise Should any Products Samples be used in such a manner or misused in any way KEYENCE assumes no responsibility and additionally Buyer will indemnify KEYENCE and hold KEYENCE harmless from any liability or damage whatsoever arising out of any misuse of the Products Samples 4 OTHER THAN AS STATED HEREIN THE PRODUCTS SAMPLES ARE PROVIDED WITH NO OTHER WARRANTIES WHATSOEVER ALL EXPRESS IMPLIED AND STATUTORY WARRANTIES INCLUDING WITH
38. Digit Output Function 48 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 Installing the Setup Software rrnnrrnrnnnrnrnnnnnnnnnnnnrnnrrnrnnnnnnnnnnrnnnnnnn 50 Installing setup software rrrrnnrrrrnnnnvrnnnnerrnnnrnnnnnrennnnnennnnnennnnnsennnnsennnsn 50 Installation DVOCCQUNG wazecscscesizescbievensdeeeneceschseieedescekateuad sentceavadencersecectens 50 Setup Software Operating Procedure rrrrnnnnnrnnnnnernnnnnennnnnennnnnnnn 52 Operating procedure 2 52 Description on each setup screen cccccceeccceeeceeeceeeeceeecaueceueeaeeesaeess 53 Outline of operation sisi seetinis 2s ocectosiete sasiielnjats sinicwiadatecnstensdesnneaedied senudneatelendsetmesees 54 Details of Setup saeco as vncecsccaenndatcetnsencdadcetineddelinsc nas dudebocnad ceupaneede cetapeedoc 56 Setup 0 01 10 B EEE NE 56 Reading Saving Printing File ccccccsssccccesssseeeceeesececesseeeseeesseesssaeeess 69 Sending Receiving Settings rrrrrnnnnnnrrnnnrrrnrrnnnrrrrnnnnrnnrnnnnrnnnnnnnnen 73 Usmo MONT varemerke eneren 77 List of Error Messages rrrrnrnennnnnennnnnnennnnrennnnnrrnnnnrennnnnennnnnennnnnnennnnn 80 Example of Printing from the Setup Software rrrrnrrrnnnrrnnnrnnnnre 81 Chapter 5 Serial Communication 5 1 Serial Communication rronnrrnnnonnnnornnnrrranrrrnnrnrnnnnnnnnnnnnnrnnnnennnnennanene 84 5 2 D
39. E39 Inspec WCm0in m 0 to 3 Codes 1 to 4 tion of check digit Confirm RCMO1 Oin n 0 Disable Modulus 43 1 Enable 94 Chapter 5 Serial Communication Command being Response Description Error sent code CODE39 WCmo2n m 0 to 3 Codes 1 to 4 00 02 Sending check Confirm RCm02 02n n 0 Disable TF m 0 to 3 Codes 1 to 4 PESAS comm vomo fron ma Da Wait 3 1 Enable ITF m 0 to 3 Codes 1 to 4 Sending check Confirm RCm11 11n n 0 Disable digit 1 Enable Codabar WCm30n m 0 to 3 Codes 1 to 4 Sending start stop Confirm RCM30 30n n 0 Disable character 1 Enable Codabar WCm31n m 0 to 3 Codes 1 to 4 Start Stop Confirm RCm31 31n n 0 Lower case Codabar m 0 to 3 Codes 1 to 4 Inspection of check Confirm RCm32 32n n 0 Disable digit 1 Enable Codabar m 0 to 3 Codes 1 to 4 Sending check ney Contem Confirm ll ul n 0 Disable 1 Enable Codabar e ke to 3 Codes 1 to 4 Setting check digit Confirm RCMm34 n 0 Mudulus16 type Modulus 11 Modulus 10 Wait 2 Modulus 10 Wait 3 7 Check DR Modulus 11 A Modulus 10 Wait 2 A EAN UPC A E WCm40n m 0 to 3 Codes 1 to 4 Reading UPC E Conti had milt n 0 Disable 1 Enable EAN UPC A E i ill kl to 3 Codes 1 to 4 Reading EAN 8 Confirm RCm41 41n n 0 Disable digits 1 Enable 95 Chapter 5 Serial Communication Command being Response Description Error sent code EAN UPC A E WCm42n m 0 to 3 Codes 1 to 4 00 02 Reading
40. EE ISI RIA IIIA II IIA IH 330 IF RD CHR amp H02 THEN RD 340 IF RD CHR HO3 THEN GOSUB 710 RETURN GOTO 210 350 IF RD CHR HOD THEN GOSUB 610 RETURN GOTO 210 360 DAT DAT RD 370 RETURN 400 410 Send Commander 420 IF K CHR amp HOD THEN 470 430 IF K Q AND CM THEN CMS QUIT GOTO 470 440 PRINT K 450 CM CM K 460 RETURN 470 480 PRINT 1 CM CHR amp HOD 490 PRINT PRINT CM command is sent 500 CM 510 RETURN 600 610 Display response data to the command 620 PRINT DATS is sent back 630 DAT 640 RETURN 700 710 Display Bar Code Data EEEE 720 PRINT DATS is read 730 DAT 740 RETURN N a D 7 ez Note This sample program is shown for your reference only Please note that this may not work correctly depending on the version of BASIC you use 131 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 E BL 700 settings e The scan method is level signal trigger e Use the PLC trigger area e The DM head address is 0000 E Processing of data memory flag Sequential processing This sample program uses the level signal trigger However it
41. EST switch is pressed for 8 seconds the Ist 3rd and 5th STABIL ITY LEDs from the top flash indicating that the communication parameters are set as above Press the TEST switch again to reset the settings Note All commands should be entered in all uppercase characters The BL cannot accept lowercase characters 84 Chapter 5 Serial Communication 5 2 Details on Data Communication Communication protocols Hardware handshaking The BL 700 supports the following four handshaking protocols E No Handshaking e The BL 700 sends read data to the PC without using any handshaking protocol E PASS RTRY Handshaking Response PASS RTRY e After sending the read data the BL 700 waits for a response from the PC The response is either a PASS command or a RTRY command The PASS command quit indicates that the PC has successfully received one data packet The BL 700 then prepares for the next data transmission e The RTRY command request to re send indicates that the data was not transmitted successfully The command is a request to the BL 700 to re send the data The BL 700 sends the same data again and then waits for the re sponse After the BL 700 once receives PASS the BL 700 sends back no data even if RTRY is sent to the BL 700 e The BL 700 can continue to read while waiting for the PASS command The data is stored in the BL 700 s transmission buffer For the capacity of the transmission buffer
42. G output TRNG 1 After the trigger input exceeds the preset input times the laser begins to emit Trigger input minimum ON time 4 ms when the trigger input value is 2 ms 13 ms when the trigger input value is 10 ms Tips e The BL 700 can read up to 4 types of bar codes without changing the bar code type setting 2 see P 61 e For general operation see Level signal trigger Choose One shot signal trigger when the trigger input signal is very short or you want to set the input time e To use a one shot trigger signal instead of trigger input gently press the TEST switch once for less than 3 seconds 2 see P vi NOTE The BL 700 has a built in AGC auto gain control circuit It requires a maximum of 3 scans 4 3 ms to adjust gain The BL 700 generates a maximum of 4 3 ms delay until starting to read the data after the laser beam turns ON 31 Chapter 3 Functions for Reading Operation 3 1 2 Data send mode 32 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 e 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 1 Scanning method Nor mally this is the method you s
43. I Starting the test mode gt P 40 to 43 Comm Settings 1 Communication parameters 1 Set the communication parameters BL Setup BL 700 lt lt Default changed gt gt Utilities Comm Settings 2 Baud rate RTS CTS 9600 v bps Use RTS CTS handshaking Multi drop link RS 485 rdata bits Parity Stop bits F Enable 7 bits Even bit C Odd FB bis le None 2 bits Com port Transfer Monitor When Multi drop RS 485 is enabled the ID number setup menu also appears Set the ID number to a value from 1 to 31 RTS CTS protocol is then disabled Multi drop link RS 485 Tips e RTS CTS protocol gt P 88 e Multi drop gt See the Multi drop Controller N 400 User s Manual 20 Chapter 4 Installing the Setup Software Comm Settings 2 Communication parameters 2 The following settings depend on the use of PLC link E When the PLC link is not used The menu screen allows setup of communication protocol header and terminator BL Setup BL 700 lt lt Default gt gt Min Utilities Handshaking None CPASS RTRY C ACK NAK M Use PLC Header Delimiter None STX CR CCOR LF Character CESC Custom Custom F Checksum Com port Transfer Monitor 1 Select the header and terminator from the items provided When the header and terminator are set only the
44. JOFFLON or RS 422A terminator Termination resistance 100 RS 485 terminator Termination resistance 100 Selection of READER port ON or OFF according CS control method to the RS 232C port CS signal status NormallyON JON Chapter 2 Connection and Installation 2 2 4 Terminals of I O terminal block and wiring Pe 12V OUT COM OK NG SDA SDB SG RDA RDB Trigger Powersupply OK NG output RS 422A RS 485 input for sensors 12 VDC 300 mA Symbol Signal direction TIM Trigger input hul terminal of power supply for sensor 12 VDC 300 mA terminal of power supply for sensor 0 V G SG Signal ground RDA terminal for RS 422A data reception terminal for RS 422A data reception Viewed from the left of the terminal block RS 485 terminal Input Output RS 485 terminal Input Output SG RDA i i e M3 0 screws are used for the terminal block e Use the following crimp terminals for connections Round shape Fork shape 6 0 mm OT 6 0 mm or HI less less E Connecting trigger input The trigger input allows the BL 700 series to start reading bar codes turn on the laser beam The trigger input is turned ON when 8 5 to 30 VDC input is activated between the trigger input terminals The BL U1 power supply for the sensor can be used as the input power supply TIM 12V OUT pg gt Contact or I ol solid state t 4fF 3 8 5 to 30 VDC 10 Chapter 2 Con
45. KEYENCE User s Manual Laser Bar Code Reader BL 700 Series Safety Precautions Symbols General Precautions I 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 BL 700 The BL 700 series uses a semiconductor laser as light source Before using the product see Laser Safety Precautions on page 1 to learn the safe and correct method of using the BL 700 series The following symbols alert you to important messages Be sure to read these messages carefully Failure to follow instruction may lead to injury electric A WARNING shock burn etc A CAUTION Failure to follow instructions may lead to product damage Note Provides additional information on proper operation e At startup and during operation be sure to monitor the functions and perfor mance of the BL 700 e We recommend that you take substantial safety measures to avoid any damage in the event a problem occurs e Do not open or modify the BL 700 or use it in any way other than described in the specifications e When the BL 700 is used in combination with other instruments functions and performance may be degraded depending on operating conditions and the surrounding environment e Do not use the BL 700 for the purpose of protecting the human body Warnings and Cautions Specific to the BL 700 96M1126 The BL 700 uses a 5
46. L 700 recognizes the change in the 04 address it returns a 1 to the 05 address The trigger then turns OFF 8 When a 1 is returned to the 05 address it indicates that the BL 700 has successfully turned the trigger OFF If a 1 is not returned the BL 700 has not recognized the 04 address yet Do not immediately set the 04 address to 1 After confirming that the 05 address has been set to 1 reset the address to OQ 9 Ifa reading error occurs a reading error code is written in A 05 to A 69 Note The 05 address monitors whether or not the BL 700 successfully recog nized the 04 address When quickly turning the trigger ON OFF at the 04 ad dress the BL 700 may overlook the change in the 04 address and fail to turn the trigger ON OFF If this occurs change the program so that the 05 address can confirm that the BL 700 recognized the 04 address If your system does not have the problem described above monitoring by the 05 address is not required HM One shot signal trigger The 04 address Reading trigger area triggers the BL 700 to start reading turn ON the laser The 05 address One shot signal trigger time setup area sets the scan time in one shot signal mode 2 see P 31 When 0 is set for this address the value set by the BL 700 setup software is used as the scan time Address Description mm 04 Reading trigger area and response area 1 Trigger
47. NG 2 ABC ABCD OK ABC3 OK ABC OK ABCDE Ok AB NB 3 22222 Any 5 digit bar code will be OK 4 CDE ABCDE OK 3CDE OK CDE Ok ABBDE NG ADE NG 5 ME ABCDE OK A3CE OK ABCD NG AE OK Note You can use only once in the setting Tips If you do not register preset data is automatically registered Therefore when the unit successfully reads a bar code OK is output when the unit fails to read NG is output 49 Chapter 3 Functions for Reading Operation 3 Additional Information When sending the bar code data you can add the following data to the readout data Additional information types 46 HM 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 Delimiter Readout data H EN d Decoding match count to 9999 Decode count The value is zero suppressed When using this function output turns on at a different time from normal operation e In single label read mode output turns on after one bar code has been read after trigger input turns off Even if you set the data send to after read the data is forced sent after trigger input turns off e In multi label read mo
48. NG 4 NG 5 l 1 Set trigger input so that it stays on long enough for the laser beam to cover the entire bar code 2 After the trigger input exceeds the preset input time the laser begins to emit See note on the next page 3 The communication time can be obtained from the following expression Code length of data to be sent Header number of characters in delimiter Data bits 1 If parity is used Start stop bit x Baud rate 4 The length of time that the OK NG output is on can be changed to between 10 ms and 2 55 s 5 The OK NG output turns on 5 ms after the data has been read or trigger input turns off in case of reading failure Note 5 seconds after the power switch turns on or an UNLOCK command 2 see P 90 is sent the unit will not start reading a bar code by turning on the trigger input 30 Chapter 3 Functions for Reading Operation ee ees SS ee red HM 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 lt Succeed to read gt lt Fail to read gt Trigger input 1 l Bar code EE EE l l Preset input time Preset input time gt fF rT SY Laser beams Communication time a LOC S NGL OK N
49. ON 0 Trigger OFF 06 One shot signal trigger time setup area 0 Use the value set by the BL 700 setup software 1 to 255 binary 100 ms to 20 55 When the BL 700 recognizes 1 O is set to the 04 address 112 Chapter6 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 ad dress 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 A 00 A is the head address in which the data specified in 00 to 03 is stored Memory data flag areas These areas are used to flag that the bar code data has been stored The following two methods are available depending on the application M Real time control e To specify the flag areas use 0 or 1 e While the BL 700 is reading and writing the bar code data in the PLC s memory the flag area is set to 1 e When data writing is completed the flag area becomes 0 This indicates that new data has been stored in the A 05 to A 69 addresses When the A 00 address is 0 the stored data is effective e When the interval of bar code reading with the BL 70
50. OS 1 Normal close Starting test mode WP06n n 0 Disable when trigger input Confirm RP06 06n 1 Enable turns on To specify the test mode use the command below Specifying the test TRGTn N 1 Reading rate mode to be started Confirm TRGT TRGTn check mode when trigger input 2 Tact check mode turns on Starting test mode TESTn n 0 Reset when power is Confirm TEST TESTn 1 Reading rate 2 Tact check mode Setting characters WPS6hhh hhh Trigger on of trigger on Confirm RP56 56hhh command Up to 8 command characters Specify characters in HEX hexadecimal code Setting characters WP357hhh hhh Trigger off of trigger off Confirm RP57 57hhh command Up to 8 command characters Specify characters in HEX hexadecimal code Tips To set characters of the trigger on Off command send the following command Example I Change the trigger on command to S S 7 W P5653 53h 96 Chapter 5 Serial Communication E Setting Communication Parameters 1 Command a hass Response Description Error a hass code Setting baud rate WP35n N 5 38400 bps Confirm RP35 035n 6 31250 bps 7 19200 bps 0 9600 bps 1 4800 bps 2 2400 bps 3 1200 bps 4 600 bps Setting data bil WP30n n 0 7 bits eum RP30 1 8 bits Setting parity check Change WP31n n 0 Disable To set the parity Confirm RP31 31n 1 Enable type use the command below Setting parity type n 0
51. OUT LIMITATION THE WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT OF PRO PRIETARY RIGHTS ARE EXPRESSLY DISCLAIMED IN NO EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT INDIRECT INCIDENTAL PUNITIVE SPECIAL OR CONSE QUENTIAL DAMAGES INCLUDING WITHOUT LIMITATION ANY DAMAGES RESULTING FROM LOSS OF USE BUSI NESS INTERRUPTION LOSS OF INFORMATION LOSS OR INACCURACY OF DATA LOSS OF PROFITS LOSS OF SAVINGS THE COST OF PROCUREMENT OF SUBSTITUTED GOODS SERVICES OR TECHNOLOGIES OR FOR ANY MATTER ARISING OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS EVEN IF KEYENCE OR ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE THIRD PARTY S CLAIM FOR DAM AGES OR ANY OTHER CLAIM AGAINST BUYER In some jurisdictions some of the foregoing warranty disclaimers or damage limitations may not apply BUYER S TRANSFER OBLIGATIONS If the Products Samples purchased by Buyer are to be resold or delivered to a third party Buyer must provide such third party with a copy of this document all specifications manuals catalogs leaflets and written information provided to Buyer pertaining to the Products Samples 147 Specifications are subject to change without notice KEYENCE CORPORATION 1 3 14 Higashi Nakajima Higashi Yodogawa ku Osaka 533 8555 Japan PHONE 81 6 6379 2211 www keyence com AUSTRIA GERMANY MALAYSIA SWITZERLAND Phone
52. Pitch 0 aA 360 4903 gt Readable label width ge B 330 550 mm C 230 650 gt gt D 150 750 gt N d D 7 ez 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 Normally the reading distance should be set to 230 mm focal length In this case the maximum readable label width is 215 mm when the narrow bar width is 0 19 mm or more 123 Appendices E BL 780 781 Unit mm Bar code type Narrow bar width Reading Max readable distance label width CODE39 480 to 580 e cones os s2870 75 o Gone 20 200120 O 100 200 300 400 500 600 700 800 900 1000 1100 1200 Reading distance OE UT ES ENE FIKSET VOR TONES TIRS TAR ORRE FREE EFN mm 500 600 Focal length pr 500 ANN 400 PAN LA mm 200 100 Ke 400465 435 7359301010 0 100 Sh 200 bar code is used e Ratio of thin bar to thick bar Measuring conditions iti 300 e The KEYENCE standard NL N4 1 2 5 A 500 e Skew 0 B e Pitch 0 e 600 e Tilt 0 k a D Readable label width mm N D s 7 For the reading distance measuring reference
53. Saving Initializing Settings Quitting Setting Mode Command Response Description Error being sent code Saves settings in SAVE OK See page 92 the EEP ROM Initializes settings DFLT OK Returns to the default settings 00 05 and saves the settings in the 14 15 EEP ROM Quits the setting SEND OK See page 92 mode E Setting Bar Code Type and Number of Readable Digits for Codes 1 to 4 The following describes the parameter setting commands for Codes 1 to 4 Be sure to send Bar code type setting command first before setting other param eters When Bar code type setting command is newly sent all other parameters for the specified code will return to the default settings In this case set all other parameters again Setting change commands and setting confirmation commands are described on the following pages Command eee Response Description Error eee code Setting bar code CODEmM n m 0 to 3 Codes 1 to 4 00 01 type for codes 1 to Confirm CODEm CODE 39 a ITF Industrial20f5 Codabar UPC EAN CODE 128 COOP20f5 None CODE93 Setting Max No of m 0 to 3 Codes 1 to 4 readable digits Confirm MAXm mnn nn 01 to 32 For CODE39 Codabar 03 to 32 For ITF 02 to 32 For CODE128 01 to 64 Setting Min No of Note With EAN code p l l i error CODE39 Sending wCmoon m 0 to 3 Codes 1 to 4 start stop charac Confirm RCm00 00n n 0 Disable ter 1 Enable COD
54. Send the test mode start command TEST I TEST2 to start the test command By entering TESTI or TEST2 and pressing RETURN from the provided setup software terminal the test mode is started Start the test mode by turning the trigger input ON 2 see P 58 Turning the timing input ON enables the setting to start the test mode When this is set the trigger input cannot function normally Also startup using the serial command is disabled Use the setup software to perform the settings e Start the test mode by turning power ON 2 see P 58 Setting is available to start the test mode immediately at power ON Use the setup software to perform the settings 40 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 dis played in real time using the STABILITY LEDs This mode is called online test mode E 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 This setting is valid only when power is ON The setting data is reset after power is turned OFF 2 According to the setting start the BL 700 to read bar codes normally In the online test mode the send data and STABILITY LEDs are displayed after the trigger input turns OFF 3 The STABILI
55. TY LEDs turn ON as shown below indicating how many times the unit can read the data correctly STABILITY LED 5 LEDs ON 4 LEDs ON 3 LEDs ON 2 LEDs ON 1 LED ON 4 The BL 700 sends the data in the following format The information on the scan count during one trigger ON and the correct read out count is appended to the data The scan count includes the cases where no bar code is set 5 Delimiter Readoutdata m 1 s m 1 to 9999 Readout count zero suppressed s 1 to 9999 Scan count zero suppressed 5 To quit the online test mode send the following command Command to be sent QUIT Send data OK When OK is returned to the command sent it indicates the mode is canceled Tips Online test mode operation is the same as when setting the following from the BL 700 setup software To save the online test mode setting in the BL 700 set the following using the setup software e Data adding function Add decode count Add scan count e STABILITY LED Display the data Note When you try to enter the test mode by turning on trigger input you cannot use the serial command to enter the test mode Commands should be entered in all uppercase characters 41 Chapter 3 Functions for Reading Operation 3 5 STABILITY LEDs STABILITY LEDs allow you to easily check reading stability and operation status Indication of reading stability HM When reading rate check mode is selected STABILITY LEDs light a
56. V 2 No other parameters need to be set 106 Chapter6 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 The KV mode must be always set to the following values e Baud rate 9600 bps e Data length 8 bits e Parity Even e Stop bit length 1 bit Set the RS 232C communication parameters of the BL 700 according to the above settings Set the station number to OO To use the KV L2 port 2 set the port 2 selector switch to RS 232C or RS 422A No other parameters need to be set Note KV L2 is not available in Europe Settings for KV L2 Display Interface mode Setting MELSEC A series 1 Set the baud rate data length parity and stop bit length according to the RS Set the KV L2 s communication mode to Display Interface mode To use link mode select SYSMAC C for the BL 700 s setting 232C communication parameters of the BL 700 Set the station number to OO To use the KV L2 port 2 set the port 2 selector switch to RS 232C or RS 422A No other parameters need to be set Set the RS 232C communication parameters baud rate data length parity and stop bit length according to the BL 700 s settings Set the station number according to the BL 700 s setting Set the mode to Protocol Type 4 Set the main channel to
57. a setting confirmation command After successfully executing the command the BL 700 sends back an OK If an error occurs with this command the BL 700 sends back ERRnn 4 To save the current settings in the EEP ROM send SAVE to the BL 700 Once you save the settings in the EEP ROM the BL 700 will start with these settings when the BL 700 is turned on next After successfully executing the command the BL 700 sends back an OK If an error occurs with this command the BL 700 sends back ERRnn 5 To quit the setting mode and perform the normal bar code reading send SEND to the BL 700 After successfully executing the command the BL 700 sends back an OK If an error occurs with this command the BL 700 sends back ERRnn When the command format is Command CR the response format is Response CR When the command format is STX Command ETX the response format is STX Response ETX Response Command Response Command Response e lt LF gt can be added at the end of the command being sent In this case however lt LF gt is not added to the response data e When lt ESC gt is added before the command being sent characters in the BL 700 s command receiving buffer are cleared e If the BL 700 s command receiving buffer contains erroneous characters due to a data transmission error during communication add lt ESC gt to the command being sent Note For command communication set the time duration between transmiss
58. ach case is described below E When Level signal trigger is set Reading trigger area at the 04 address is used to trigger the BL 700 to start reading the data turn on the laser beams Trigger input response area at the 05 address is used to check whether the data at 04 was sent correctly to the BL 700 When the BL 700 recognizes the 04 address which means that the process has been completed it returns a 1 to the 05 address 04 Reading trigger area 1 Trigger ON 0 Trigger OFF 05 Trigger input response area 1 Process completed 0 Process not completed 06 111 Chapter6 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 suc ceeded in the trigger ON function If a 1 is not returned the BL 700 has not recognized the 04 address yet Do not immediately reset the 04 address to QO After confirming that a 1 has been returned to the 05 address reset the address to 0 5 After reading the bar code data the BL 700 writes new data in A 05 to A 69 6 To turn the trigger OFF reset the 04 address to 0 7 When the B
59. ale Terminal block D sub 9 pin female D sub 25 pin male 4 40 screw M2 6 screw 4 40 screw KEYENCE option OP 22149 1 5 m or the OP 25057 conversion connector can be used Note KV 300 KV L2 and BL U1 are not available in Europe E Connecting MELSEC A series Connection with A1SJ71 U C24 R2 PRF Connection with AJ71C24 AL71C24 S__ A2CCPUC24 A0J2 C214S1 A2CCPUC24 PRF AJ71UC24 Link unit BL U2 Link unit BL U2 Connector case Connector case RD RD 2 a SD SD Lel 7 Irs RS D sub 25 pin male D sub 9 pin female D sub 9 pin male D sub 9 pin female M2 6 screw 4 40 screw M2 6 screw 4 40 screw 19 Chapter 2 Connection and Installation HM SYSMAC C series Connection with C 200H LK201 V1 Connection with C 20H C 500 LK203 C 28H C 500 LK201 V1 C 40H C120 LK201 V1 C 60H Link unit BL U2 PLC BL U2 FG Connector case SH TEN Gr HENG as a I Hr IRs esfs Litle fs sa 1 FFs sa D sub 25 pin male D sub 9 pin female D sub 9 pin male D sub 9 pin female M2 6 screw 4 40 screw M2 6 screw 4 40 screw KEYENCE option OP 22149 1 5 m or the OP 25057 conversion connector can be used HM SYSMAC C series Connection with C 200HS CPU21 23 31 33 CQM1 CPU21 41 42 43 44 C 200HE CPU42 C200HG CPU43 63 C200HX CPU44 64 C200HW COM02 COM04 COM05 COM06 D sub 9 pin male D sub 9 pin female M2 6 screw 4 40 screw HM SYSMAC CV series Connection wi
60. are For Windows 95 start the program from the Start menu 51 Chapter 4 Installing the Setup Software 4 2 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 Before sending the updated settings to the BL 700 click on COM PORT to match the communication parameters of the personal computer with the current settings of the BL The default settings of the BL are as follows Baud rate 9600 bit s Data length 7 bit Parity Even Stop bit length 1 bit PLC link Don t use Multi drop link Disabled Immediately after you purchase the BL set COM PORT to the above settings If you do not know the current settings of the BL press the BL TEST switch for approximately 8 seconds The 1st 3rd and 5th STABILITY LEDs from the top will flash simultaneously The settings listed above are fixed Execute 6 Send receive settings 6 Click on Transfer to send the updated settings to the BL The current settings of the BL can also be read 7 Select FILES to save or print the settings as required 8 After the setup procedure is comp
61. ation Mode arnrnnnnonnnnornnnnnnnnnrrnnnnennnnennnnenn 37 Test Mod ve 38 Reading rate check mode gt 38 WAGE COCK INO EEE 39 Online test Mode ccccccceececeeeeceeeeeneeceeeteneeteneeeseeteneeseeetanes 41 STABILITY LEDS scorci nsii in ENa 42 Preset Function Compare with rrrrnnnornnnrnranrrnnnnen 44 What is the preset function rnrrrnnnrnnnnvvanrnnnnrvnnrnnnnennnennnne 44 Wildcard Symbols P and esrerennnrnnnrnvonnnnnnnnnvnnnnrnnnenenne 45 Additional Information ronornnrrranennnrnnnnrnnnnrrnnrrnanennnennnnnn 46 Max Code Length Designated Digit Output Function Vee 48 Chapter 3 Functions for Reading Operation 3 1 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 2 see P 32 M Level signal trigger When the trigger input turns on laser emission begins and the unit begins reading The laser turns off after reaching the specified decode count Then the unit sends the readout data lt Succeed to read gt lt Fail to read gt Trigger input 1 Bar code Laser beams Te pp Communication time 3 OK NG output l OK
62. ccording 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 21 to 40 2 LEDs light 1 to 20 1 LED light 0 Red gt E When tact check mode is selected STABILITY LEDs light according to the scan count decode count which indicates the number of successful reads as shown in the table below Although in the test mode the unit does not output an OK NG signal OK NG LED lights as below Comparison to the preset data is not performed STABILITY LED OK NG LED 5 LEDs light Green decode counts are equal to or greater 50 to 99 4 LEDS light than the preset match count 10 to 49 3 LEDs light Red decode counts are less than the preset 2 LEDS light match count 1 LED light HM When normal read mode is selected When you select multi label read mode 1 or 2 2 See P 33 to 34 or the send mode is set to after trigger input gt See P 32 or you select the decode count adding function 2 See P 47 STABILITY LEDs light according to the decode count as shown in the table below However If you do not select use STABILITY LED in the setup software See P 68 STABILITY LEDs do not light in normal read mode ON NG output ON NG LED turns on off normally according to the result of a comparison to the preset data The following also appears in the online test mode 2 LEDs ligh
63. ceneneniaceneunennsechansannceieacivasaapiebiicabsansenees 8 2 2 3 Setting BL U1 DIP switches rernnnnnrrnnnnnrnnnnnrnnnnnvnnnnnevnnnnernnnnernnnnnnnnnnee 9 2 2 4 Terminals of I O terminal block and wiring cccceeeeseeeeeceeeeeceeeeeeneeees 10 2 2 5 ENN N 11 226 Wiring INE RS 122A cssccsnsincuscsesieccsncecnsnentddsaduicasabteseswatioissedee nese Ania ae iia 14 2 3 Wiring the KEYENCE power supply unit BL U2 N 42 00 16 2 3 1 Connecting the power supply r rranrrnnnrvnnnrrnnnrvvanrnnnnrnnnnrnnnnnnnnnnennnnennnnene 16 2 3 2 Connecting the BL 700 to BL U2 N 42 rrrnnnnnnnnnvrnnnnrvnvnnnnrvnnnnnnrnnnnnnnnenn 16 2 3 3 Terminals of I O terminal block and CONNECTIONS rrrrrnnnrrrrrrnnrnvrnnnnnnnnn 17 22 FN 18 2 3 5 Connecting RS 232C BL U2 rrrannnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnrnnnnennnnennnnennnnene 18 2 3 6 Connecting the N 42 to RS 422A rrarnrrnnnnnennnnnrnnnnnrnvnnnnennnnnrnnnnnsnnnnnnnnnnn 21 24 Installation Lie ssnesneeeken teke merblendai sd dvnreradsabaessee 23 2 4 1 Operating environment precautions rrranrrnanrrnnnrrnnnrnrnnnnrnnnrnnnnennnnennnnene 23 2 4 2 Installing the BL 700 Series cccccccccsseeeeeeseseeecseeeeeeeeeaeeeeesaeseeeeseas 25 243 Installing the BLAT wi sonsacdencctusnstincensenesscichevncnsienerentomaartenscdshanssascainangiaecs 27 2 4 4 Installing the BL U2 N 42 rerarennnrnnnrnnnnnnnnrnnnrnvnnnnnnrnnnnnnnnnnnnennnnnnnnennnennn 27 Chapter 3 C
64. cessory e Use the set screw to secure the mounting bracket to the unit e For the mounting hole diameter see P 127 e When the insulating spacer is mounted it can reduce the influence of noise from the mounting bracket 25 Chapter 2 Connection and Installation Mounting angle and mounting distance Reading distance Panel surface Reading distance 230 mm BL 700 701 380 mm BL 740 741 500 mm BL 780 781 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 Set these parameters after performing a test read of the required bar code using the unit Note Do not set the unit at an angle at which the laser beam is perpendicular to the surface of the bar code The beam will be fully reflected into the reader making correct reading impossible 2 See P 124 Incorrect Tips The reading check test mode allows you to set the optimal reading position To use the test mode see P 38 26 Chapter 2 Connection and Installation 2 4 3 Installing the BL U1 There are 2 methods for installing the BL U1 E When installing the BL U1 directly Pull out the 4 screw slots on the rear panel and screw them to the base E When installing the BL U1 to the DIN rail Hook t
65. comma 2CH intermediate delimiter e fan read error occurs on any one of Codes 1 to 4 or the corresponding bar code does not exist ERROR see P 87 for the reading error codes instead of the read data is sent See P 87 for header string and delimeter 39 Chapter 3 Functions for Reading Operation 36 Example Suppose that the following codes are specified Code 1 CODE39 10 digits Code 2 EAN UPC 13 digits Code 3 None Code 4 CODE839 8 digits When the unit successfully reads all 3 types of codes ABCDE12345 a 4901234567894 P KEYENCE1 When the unit fails to read Code 1 CODE39 10 digits ERROR 3 4901234567894 KEYENCE1 When the unit fails to read Code 1 CODE39 10 digits and Code 4 CODE39 8 digits e When the same type of data having the same digits is specified to all Codes 1 to 4 the unit sends the data in the reading order Example Suppose that the following codes are specified Code 1 CODE39 7 digits Code 2 CODE839 7 digits Code 3 CODE839 7 digits Code 4 CODE839 7 digits Header ascoras xvzasee 1284867 gt wevence beiter Note The unit cannot read the bar code having the same content twice while trigger input turns on once Chapter 3 Functions for Reading Operation 3 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 b
66. communication status of the indicator LEDs RS 232C port e The SD RD RS and CS indicators are provided in this order from the top POWER LED Lit when power is ON CEE oe eS I O terminal block Includes the trigger input terminal OK NG output terminals RS 422A terminal and RS 485 terminal Turns the power ON OFF Power supply cable Use a 100 to 240 VAC 50 60 Hz power supply 2 m RS 232C port Connect a personal computer to this port This port is unused in multi drop link mode READER port Connect the BL series to this port DIP switches Switches the communication port and turns the terminator ON OFF Note This product does not comply with EC directives BL U2 ai port KEYENCE pEAER POWER LED G TRIGGER input ae 6 Communication 3 OK NG output status indicator LEDs terminals RS 232C y 4 Power supply 7 RS 232C port terminals READER port Connects to a BL series bar code reader 2 TRIGGER Connect to a sensor for input terminals trigger input OK NG output terminals Output OK NG signals Power supply terminals Connect to a 24 VDC power supply POWER LED Turns on when the power is on 6 Communication status Indicate the communication status of the RS 232C indicator LEDs RS 232C port Connects to a personal computer etc N 42 READER port KEYENCE A READER D POWER LED TRIGGER input i terminals 6 Communication s
67. cted e To prevent the unit from reading the same bar code twice the time for one bar code to pass across the laser beam s field and read plus the repeat reading time must be set 100 ms to 25 5 s During the repeat reading time the unit cannot read the same bar code repeatedly but can read different bar codes e A reading error is issued only when the unit cannot read any bar code while the trigger input is on e For OK NG output OK turns on every time the unit reads a bar code and NG turns on if the unit fails to read a bar code Comparison to the preset data is not performed JI 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 continu ously 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 Multi label read mode 2 operation lt Succeed to read gt lt Fail to read gt Trigger input Repeat reading 1 I Y time 4 Repeatreain TG Bar code LLL 11 DODDOS Laser beams nm a Communication time Q D000 OK NG output E e Multi 2 mode allows the unit to read several bar codes while the trigger input is on or during the preset input time if one shot signal trigge
68. d without saving them the following message appears If you wish to execute initialization click on OK Warning 2 Settings are not saved OK Note The initialization procedure described in this section is used to initialize the settings being edited with the setup software The settings on the BL 700 cannot be initialized 72 Chapter 4 Installing the Setup Software 4 4 Sending Receiving Settings To send the updated settings to the BL 700 and to read the settings from the BL 700 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 When the 1st 3rd and 5th STA BILITY 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 Tips If you know the current communication parameter settings of the BL 700 this step is not Baud rate 9600 bits s Data length 7 bits Parity Even Stop bit length 1 bit PLC link Disabled Multi drop link Disabled necessary You can send data to the BL 700 by setting the communication parameters of the host computer using COM PORT so that they conform to the current settings of the BL 700 However if PLC link is enabled you cannot send data to the BL 700 without performing this step because the handshaking protocol is
69. de 1 a bar code passes across the laser beam s field after repeat read time and is finally output e In multi label read mode 2 or 3 operation is the same as when you do not use the decode match count adding function HM Scan count add function valid only when using the read count add func tion Adds the number of scans including when no bar code exists to the end of the decode count up to 9999 fo Delimiter Readoutdata a 1 s s 1 to 999 zero suppressed The value is zero suppressed Chapter 3 Functions for Reading Operation E Code type add function Adds the bar code type before the readout data Delimiter t CODE39 ITF Industrial 20f5 Codabar EAN UPC AeE CODE 128 COOP 2 of 5 Read error CODE93 Oo NOORA ONGO M Label orientation add function Adds the orientation of bar code travel before the readout data Forward Reverse orientation orientation Delimiter 0000006 AG AE UN 4 9000000 HEEN Readout data r rs P Forward R Reverse Ww jw zZ uJ gt X xX Ifan read error occurs this information is not added Order of additional information If you select to include all the additional information functions they appear in the following order Label Readout Decode Scan Tips You can change the delimiter as desired one character except the delimiter of the scan count 47 Chapter 3 Functions for Reading Operation
70. ding a command from the PC to the BL 700 All communication is performed using ASCII codes Communication setup Configure the setup for BL 700 and the PC before attempting serial communica tion e Setup of BL 700 Set the following parameters for the BL 700 using the setup software e Baud rate Data bits Parity Stop bit e Communication protocol e Header Delimiter e Read error code e PC setup Based on the BL 700 s settings set the communication parameters on the PC using the Ports setting in the Windows Control Panel System Device Manager Tips e The following communication parameters are the default settings for the BL 700 Baud rate 9600 bps e Data bits 7 bits e Parity Even e Stop bit I bit Set the PC according to the above settings before attempting communication e The BL 700 is set temporarily to the default settings for 5 seconds after the power switch is turned on When the current settings of BL 700 is not certain send the command SSET and a CR to the BL 700 from your PC with 5 seconds after power up This causes the BL 700 to remain at its default settings and you can communicate with the BL 700 at the default settings For information on checking the BL 700 s current settings see Details on Parameter Setting Commands on page 92 For information on changing the above communication parameters see Description of Parameter Setting Commands on page 94 When the BL 700 T
71. e amp Level C One shot Command for Trigger ON for Trigger OFF ASC ASC LOFF HEX 4C4F4E HEX ACAF4646 Test mode initiated with trigger input ON F Enable eadig tae check Flat check Test mode initiated with upon power up F Enable kedgiig traie Check gt Flaa check For the scanning method select either Level signal trigger or One shot signal trigger If One shot signal trigger is selected the scanning time setting menu also appears One shot input time x100me 1 255 Set the scanning time to a number from 1 to 255 100 ms to 25 5 s o 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 Tast mode initiated with trigger Input ON M Enable Reading rate check Tact check Tast mode initiated with upon power up able e Reading rate check Tact check When Start the test mode with trigger input ON is enabled the trigger input cannot be used during normal operation If both functions are selected Start the test mode with trigger input ON has priority Tips e Scanning method P 32 to 33 Trigger ON OFF command gt P 9
72. e Confirm RP12 12n 1 Multi label 1 2 Multi label 2 3 Multi label 3 Setting data send WP13n N 0 Sends data after i Setting repeat read WP41nnn nnn 001 to 225 time in multi label Confirm RP41 A1nnn by 100 ms step reading mode 1 or 2 Setting decoding WP43nnn nnn 001 to 225 oe RP43 Setting decoding WP10n n 0 No addition match count in Confirm RP10 10n 1 Add additional information Setting scans in WP11n n 0 No addition additional Confirm RP11 11n 1 Add information Note Effective only when No of decodings are added Setting label WP14n n 0 No addition orientation in Confirm RP14 14n 1 Add additional information Setting code type in WP17n n 0 No addition additional information Confirm RP17 1 Add Setting reading WP55hhn hhh Reading error error code Confirm RP55 7 code within 8 characters 05 06 Specify the charac ters in HEX hexadeci mal code If the reading error code is not specified hhh FF To set the reading error code send the following command Example I Set the reading error code to BR BR 1 WP554252 B 42h R 52h Example 2 Set no reading error code VWP55FF 97 Chapter 5 Serial Communication E Setting Trigger Input Starting Test Mode Ed ae sent code Input time r Setting time WPO04n 0 constant of trigger Confirm RP04 04n input Setting state of WPO3n n 0 Normal open trigger input RP
73. e PLC link For details see P 116 135 Appendices Appendix H CODE93 Specifications E Setting of No of Digits e The start stop character and check digit are not included in the number of digits E Data Transmission e The start stop characters and check digit cannot be sent e Control codes are sent Note Do not use CODE93 with control codes when using a multi drop link Com munication errors may occur E Registration of Preset Data e When or is registered as preset data it functions as the Preset Func tion as described in P 45 Since CODE93 can represent all ASCII codes as bar code data or can also be represented as bar code data To register or as preset data send or to differentiate them from the preset function To register as preset data send Example To register 123 ABC as preset data send the following command gt See P 102 WP68123 ABC lt CR gt e Control codes data in 00h to 2Fh of the ASCII code table such as lt CR gt and lt STX gt the start stop characters and the check digit cannot be registered as preset data Data comparison is also impossible N D s 7 136 Appendices Appendix 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 t
74. e 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 Check if the PLC s settings are correct gt See P 106 4 Check if the cable connections are correct or if any cable is disconnected Referring to pp 12 to 14 or pp 20 to 22 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 700 do not exist in the PLC commu nication is impossible 6 Check if the link unit operates normally To re start the PLC link press the test switch For the settings of the link unit see the instruction manual for the link unit being used Chapter6 PCL Link 6 5 Communication Time E 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 Approx 220 ms Approx 330 ms Approx 440 ms Approx 270 ms Approx 380 ms Approx 680 ms Approx 320 ms Approx 460 ms Approx 920 ms E Communication time to start reading using
75. e computers communication protocol with the current BL 700 communication protocol 2 Click Monitor to display the monitor screen Monitor keceived Data 3 Enter TEST1 uppercase in the send command column and press the RE TURN key Readout rate measurement mode starts and the readout data is listed sequentially Send Command TESTI Received Data Po4 oa lt cr gt 2ad l lt er 2ad bdt6 lt er gt 2ad bh lt er gt 244 0 lt er gt Pod 1O0 lt cr gt Pod lt er gt Po4 5A lt cr gt l2s4 04 6 lt cr gt 1254 d lt cr gt 4 To quit the test mode enter QUIT in the send command column and press the RETURN key Note When you try to enter the test mode by turning on trigger input you cannot use the serial command to enter the test mode Commands should be entered in all uppercase characters 19 Chapter 4 Installing the Setup Software 4 6 List of Error Messages The following table lists the error messages which may occur during operation of the setup software Error message Contents Errors during Entered data is setup incorrect OK Errors during Communication with communication BL 700 failed OK Readout from BL 700 failed OK The specified model is incorrect OK Errors file Accessing file during editing rejected OK File not found OK File name incorrect OK 80 The en
76. e data format of the Header and Delimiter respectively With the setup software the following formats can be selected Other than the following formats you can freely set up to 5 characters Header lt ESC gt 1BH lt STX gt 02H None Delimiter lt CR gt ODH lt CR gt ODH lt LF gt OAH lt ETX gt 03H If the BL 700 fails to read a bar code the BL 700 sends back a read error code The initial setting of the read error code is as follows The read error code can freely be changed within 8 characters The BL 700 can be set to send no error code See P 57 87 Chapter 5 Serial Communication 5 3 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 1 Send a direct control command from the PC to the BL 700 2 After receiving the command the BL 700 sends back an OK response and executes the required operation When the read operation control command or test mode control command is sent to the BL 700 the BL 700 sends back no response 3 When an incorrect command is sent to the BL 700 the BL 700 sends back no response Communication format When the command format is Command CR the response format is Response CR When the command format is STX Command ETX the resp
77. ecked with x EEE F Use RTS CTS handshaking E Clicking on V arrow Used to select any of several options RTS CTS F Use RTS CTS handshaking Baud rate bps 485 data bits Parity Stop bits 7 bits Even 1 pit Odd C None C bits C2 bits 24 Chapter 4 Installing the Setup Software E 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 2 See P 82 Decoding match count 1 255 E 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 hexa decimal numbers 00 to 7F This function is used to enter control characters 00 to 21h ASCII codes such as CR and STX Read error ASC ERROR HEX JAAP DI Chapter 4 Installing the Setup Software 4 3 Details of Setup 4 3 1 Setup procedure Main Operation setting Set read mode additional data function and trigger input BL Setup BL 700 lt lt Default gt gt Comm Settings 1 Comm Settings 2 l Main Utilities Read Mode Decoding match count amp Single TMultil C Muti C Multis 1 255 Data send Read error After Read C At trigger input ASC JERROR
78. erfere with the BL 700 deteriorating reading performance If this case reposition the photoelectric sensor Object KEYENCE Bar code Light source Optical pickup e Interference between the BL 700 units When two BL 700 units are placed adjacent to each other with only a small separa tion the mutual laser beams result in interference and will cause a readout error To avoid interference place the units as far apart as possible IE L ALH gt e When a bar code is stained or partially missing Use a raster scan reader BL 701 741 781 when a bar code is stained or partially missing This raster scan readers scan several portions of the bar code Normal portions of the bar code even with stained or missing portions can be read by the BL 700 24 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 M Installation with no mounting bracket M3 nuts M3 screws e 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 e For the mounting hole diameter see P 127 M Using the supplied mounting brackets Vertical scanning M4 screws Washer accessory Insulating spacer accessory M3 screws accessory Horizontal scanning M4 screws Insulating spacer accessory M3 screws ac
79. etails on Data Communication rrronrrnnnrrnnnnnrnnnernnnrnnnnennnnennnnennnnnnn 85 53 Command Communication rrnrrrrrnnnrrrnnnerrrnnrrnrnnrerrnnnrnnnanrnnnnnrennnnne 88 5 3 1 Setup of Direct Control Commands rrrnnnrnnnnrnnnnrnnnnrnnnnrnnnnrnnnnennnnennnnnnn 88 5 3 2 Details on Parameter Setting Commands rrnrrnnnnrnnnnnnnanennnnennnnennnnnne 92 bl PLG LOIK eee 104 6 1 1 List of PLCs used for PLC link sunsmp inessesmsenje ed contalandoncenatals 104 6 1 2 Devices used for PLC link cccccccceceeccceeeece cece eeseueeseneeceueessueeeaaes 105 6 2 Setting the BL 700 and PLC rrrnnnnrnnnnnonnnnnnnrnnnrnnnnnnnnnnnnennnnnennnnnnen 106 6 2 1 Setting the BL 700 series ccceccccsesecceeeecceeeeceeueeeseeeeessaeeeseseeessess 106 6 2 2 SIGE ean 106 6 3 Device Assignment rrrrnnnnnnnnnnnnnnnnnnnnnnrnnnnrnvnnnnnnnnnnnnnennnnennnnennunennnne 109 64 PLO CINK Error aiocecocsasesctaceessctcnncoctetanncencecanenecasetcsienceasedgracetescduennceasendecs 116 6 5 Communication Time ccccccccssceceececeeeeceeeeceueeseueeseueesaueessaees 117 Appendix A Specifications 2 0 0 0 cccccecccceeeeceeeeseeeeseeeesseeeseeeeesaees 120 Appendix A 1 Specifications ccccccecccseeccseeeceeeeceeeeeeeeeesueeeseeeeseeeesseeessaeess 120 Appendix A 2 Reading range characteristics Typical cccccseeesseeeeeeees 122 Appendix A 3 Angular characteristics Typical rrrannnnnnnrnnnnen
80. ew M2 6 screw E Connecting SYSMAC CV series Connecting with CV 500 LK201 CV500 CV1000 CVM1 D sub 9 pin male M2 6 screw Note BL U1 is not available in Europe 15 Chapter 2 Connection and Installation 2 3 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 T CAUTION Make sure that the power supply provides 24 VDC If the power supply output U 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 2 Connecting the BL 700 to BL U2 N 42 Connect the BL 700 to the READER port of the BL U2 N 42 KEYENCE EE O O POWER SD RD D sub 9 pin male OO O 0 DCE specification defined as terminal 0000 4 40 screw female Function Signal direction RD RXD 5 GND SG Ground Common ground for respective signal NG RS RTS CS CTS Note Do not extend a power cable A long power cable can cause a voltage drop preventing the BL 700 from starting properly 16 Chapter 2 Connection and Installation 2 3 3 Terminals of I O terminal block and connections Viewed from the left of the unit BEEP um Description Signal direction Trigger input Input Common terminal for trigger input Input OK output NG output Output Common terminal for output Output E Connecting t
81. gister ABCI23 as preset data WP68ABC123 102 Chapter 6 PLC Link PE ENA ur n 104 6 1 1 List of PLCs used for PLC link ssnrrrrnnonnnnnrrerrnennnnnererennnnnn 104 6 1 2 Devices used for PLC JINksuasamsmessesnmssikameinuv 105 6 2 Setting the BL 700 and PLC rrrrrnnnnnnnnnnnnnnrvnnrnnerennnnnerr 106 6 2 1 Setting the BL 700 series rrrrnrnnrnrvrvvnnrnernrnnnnrevnnnnnsrnnnnnnne 106 62 2 SUNNE PLUC sesam 106 6 3 Device Assignment rrrrnnnnnnnnnnnnrnnnnnrennnvrennnnrernnnerernnnvnene 109 6 4 PLC Link Error rrrrrrvrrnrrrrvrrrnnrrerrrnnrrennnnnnrrennrnnerennnnnsn 116 6 5 Communication Time 2 ccccccecececccecececcccaccecavevaees 117 Chapter6 PLC Link 6 1 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 in volves the following limitations e The BL 700 settings cannot be changed because the PLC link cannot send a command to the BL 700 However the PLC link provides a reading control address to start end reading e The PLC link cannot start the test mode 6 1 1 List of PLCs used for PLC link KEYENCE Built in CPU port KV series KV 10 16 24 40 80 KV 300 Seria
82. hapter 4 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 Read Operation rrrrnnnennnnernnnennanenrnnnnnnnnnnnnnennnnennnnennanennnnennnnennnnsnnnnee 30 RC AMI IG WAG EEE EEE EEE 30 Data send mode EEE EEE 32 HEMNE 33 Single label read mode rrrnnnnnnrnnnnnrnnnnnnnvnnnnnnnnnnnnnnnnrnnnnnvnnnnnsrnnnnnrnnnnnsene 33 Multi label read mode 1 Multi 1 arronnrnnnnrnannnnnnrnnnnnnnnnnnnnnnrnnnnennnnennnnene 33 Multi label read mode 2 Multi 2 rrrnnnrnnnnonannnnnnnnnnnnnnnnnnnnnnrnnnnennnnennnnene 34 Multi label read mode 3 Multi 3 rrrrnrnnnnrnannnnnnrnnnnnnnnnnnnnnnrnnnnennnnennnnene 35 Label Orientation Mode cessccnavncsosseseesesstdentsessoisvestetsdacishossieiacsteundesemesnts 37 T SI MOd ee 38 Reading rate check MOG arernnnernnnnnvnenennnnernunennunernnnennnnennnnnnnnnnennunennene 38 Tact CHIE CK MOG EE ME 39 Online test mode osicceisccctsaaninaic cnciedinazcusavcaaundadandnansasuadandedsudeusdensadetenuasautaveswenen 41 STABILITY LEDS ece AE E OEE T rE 42 Preset Function Compare with cccccceeccseeeeeeeeeeeeeeeseeeeaeaes 44 What is the preset function rrrnnnnrnnnnennanrnrnnennnnnnnnnnrnnnnennnnrnnnnsnnnnennnn 44 Wildcard Symbols P and N st 45 Additional Information cccccceccceececeeeeeeeeeeceeeeseeeeseeeesaeeeseeeesees 46 Max Code Length Designated
83. he A 00 address is 2 new data can be stored e When data writing is completed the flag area becomes 3 and new data has been stored in the A 05 to A 69 addresses 113 Chapter6 PLC Link 114 e 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 0 88 If the amount of retained data exceeds the buffer capacity the entire contents of the buffer is cleared and an OVER code is stored in the memory data area A 05 to A 09 If a buffer OVER error occurs the BL 700 halts operation but then restores operation once the OVER code has been stored A 01 to A 04 Additional data area The label orientation decode count and other additional data are stored in these areas Address Description Data A 01 Label orientation 0 Reading error 1 Normal orientation 2 Reverse orientation A 02 0 to 9999 binary A 03 0 to 9999 binary 0 CODE 39 ITF Industrial 20f5 Coda bar EAN UPC CODE128 COOP 2of5 Reading error CODE 93 A 04 Bar code type A 05 to A 69 Data memory area ONoOoORWND 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
84. he BL U1 to the DIN rail groove from its top Push the BL U1 bottom against the DIN rail until you hear a click s 2 Check that the DIN rail mounting notch is shaped like notch A below If not push the BL U1 further A B 3 To remove the BL U1 from the DIN rail pull out the notch until its shape turns from Fig B to Fig A Then disengage the BL U1 from the DIN rail 4 When you want to reinstall the BL U1 to the DIN rail return the notch from that of Fig A to Fig B Note BL U1 is not available in Europe 2 4 4 Installing the BL U2 N 42 Install the BL U2 or N 42 using the mounting hole 2 04 5 mm KEYENCE a oe POWER The BL U2 is 21 mm thick and the N 42 is 26 mm thick 27 Chapter 2 Connection and Installation 28 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 Read Operation ee 30 ENN 30 Data send moqe ca orc cesses ea settee EEE 32 Read Modes arrnnnnnnnnnnnnnnrvnnrvnnnnnnnnnnnnnnrnnnrnnnennnennsnnnnnnnenner 33 Single label read mode cccccsececeeseecssseeesceeeeeceeeeescaes 33 Multi label read mode 1 Multi 1 rarurnnnonnrrrnnnrnnnnennnernnnennnnnn 33 Multi label read mode 2 Multi 2 rarernnnennnrrnnnrnnnnenanrrnnnennnnnn 34 Multi label read mode 3 Multi 3 rarernnnonnnronnnrnnnnennnernnnennnnnn 35 Label Orient
85. he 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 Data Transmission The start stop character and check digit cannot be sent FNC1 to 4 Function codes SHIFT and CODE A to C cannot be sent Control codes are sent Note Do not use CODE128 with control codes when you build a multidrop link Communication errors may occur E Registration of Preset Data The number of characters that can be registered as preset data is up to 32 digits for CODE A or CODE B and up to 64 digits for CODE C as described above When or is registered as preset data it functions as the Preset Func tion as described on page 18 Since CODE128 can represent all ASCII codes as bar code data or can also be represented as bar code data To register or as preset data send or to differentiate it from the Preset P 2 function N a D 7 ez To register as preset data send Example To register 123 ABC as preset data send the following command gt See P 102 WP68123 ABC lt CR gt Control codes data in 00h to 2Fh of the ASCII code table such as lt CR gt and lt STX gt start stop character check digit FNC1 to 4 function codes SHIFT or CODE A to C cannot be registered as preset data Data comparison
86. hould use e Send at trigger input The unit outputs the communication and OK NG signal when the trigger input turns off or the preset input time has passed if one shot signal trigger is selected lt Succeed to read gt lt Fail to read gt Trigger input Bar code Laser beams i T Communication time JOKING ING OK NG output Chapter 3 Functions for Reading Operation 3 2 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 sequen tially 0 AS ARK mme m am 43 15 Va Be SM 1 1 i 1 1 i 1 i Multi label read mode 1 operation lt Succeed to read gt lt Fail to read gt Trigger input Repeat reading time Bar code I Laser beams i Communication time e Inthe multi label read mode 1 the unit reads several bar codes continuously and outputs them sequentially as it reads while laser beam remains on and trigger input turns on after bar codes have been read or during the preset input time if one shot signal trigger is sele
87. igger One shot signal trigger input One shot signal trigger time Input polarity Start test mode _ Dont start at trigger input ON Start Reading rate Tact measurement measurement Start test mode _ Don t start at power ON Start Reading rate _ Tact measurement measurement E Comm Settings 1 N D 3 Data length _ Stop bits RTS CTS protocol Don t use Multi drop link Don t use Use 142 Appendices E Communication parameters 2 PLC link Protocol Non procedure PASS RTRY ACK NAK Header None Specify None Specify PLC type SYSMAC C MELSEC A KV PLC station Unit No File register block No E Communication character E Utilities Display STABILITY LEDs L Don t display Display Preset data 143 Appendices Appendix M Default Setting List E Bar code setup Code 2 Coda bar 32 ms 03 ee Send start stop character Send Start stop character type Hr Lowercase HE Test check digit Dont test Dont test hl All EAN 13 digit EAN 8 digit and UPC E are readable Number of output 13 digits digits of UPC A Add
88. in male M2 6 screw Chapter 2 Connection and Installation 2 2 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 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 E BL U1 READER port pin assignment 12 3 4 5 D sub 9 pin male OOO00 Ve DCE specification defined as terminal O O Q OQ 4 40 screw female Function Signal direction Ground Common ground for respective signal 6 ING ING input RS RTS Ready to send RS 232C data CS CTS Request to send RS 232C data Output Control method can be selected with the DIP switches gt See p 9 Note Do not extend a power cable A long power cable can cause a voltage drop preventing the BL 700 from starting properly Note This product does not comply with EC directives 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 The figure on the left shows the default settings 1 2 3 4 5 6 DIP Switch No dt 8 interface selection RS 232C JONI OFFIOFFL RS 422A Jforrjon or RS 485 multidrop OFF
89. ion of each character byte to up to 30 seconds If this duration exceeds 30 seconds the BL 700 cancels the received characters 92 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 correspond ing to the error codes see the error code column given in the table on the following pages m value codes 1 to 4 is other than 0 to 3 Bar code type setting command was not sent first 2 See P 94 Sending No of readable digits setting command is invalid for UPC EAN code The number in the command is too long hhh data is too short n value is not O or 1 n value is exceeding the setting range hhh is not specified in HEX hexadecimal code hhh FF cannot be set or aaa contains more than the specified number of characters Characters of aaa are invalid Data in the EEPROM may be damaged Perform initial setup Error in the area storing initial settings Settings are automatically initialized is not followed by or in preset data See P 137 to 138 Two IS exist in preset data gt See P 100 The BL 700 may malfunction Contact KEYENCE KEM nnn or nn value is exceeding the setting range 93 Chapter 5 Serial Communication Description of Parameter Setting Commands E
90. is also impossible 137 N a S 3 7 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 RS 232C 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 lt NAK gt command is sent to the BL 700 To set the checksum use the PROTOCOL SETUP screen of the BL 700 setup software The checksum cannot be added when the PLC link is used Checksum calculation range and the position to add checksum The checksum calculation is performed with all characters except for the header and delimiter The checksum is added immediately before the delimiter CC Checksum 2 ASCII code characters e Read data e When using the data addition function Label Decode a ter esse ne Joen Paoa Be feen cel Dormer a e Test mode i Joson ranere ne cn 138 Appendices Checksum calculation method 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 ASCII code Bit A gt 41h gt 0100 0001 Based on the Exclusive OR logic B g
91. l interface module KV L2 Mitsubishi Built in CPU port MELSEC A series A2CCPU24 A2CCPU24 PRF Calculator link unit AJ71C24 AJ71C24 Sx AJ71UC24 AQJ2 C214 S1 A1SJ71 U C24 R2 PRF R4 OMRON Built in CPU port SYSMAC C series C20H 28H 40H 60H C200HS CPU21 23 31 33 C200HE CPU42 C200HG CPU43 63 C200HX CPU44 64 High order link unit C200H LK201 V1 C500 LK203 C500 LK201 V1 C120 LK201 V1 C200H LK202 V1 C120 LK202 V 1 Communication board C200HW COMO2 C200HW COMO3 C200HW COMO4 C200HW COM05 C200HW COMO6 OMRON Built in CPU port SYSMAC CQM1 series CQM1 CPU21 41 42 43 44 OMRON Built in CPU port SYSMAC CV series CV500 CV1000 CV M1 High order link unit CV500 LK201 Note KV 300 and KV L2 are not available in Europe 104 Chapter6 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 PLC MELSEC A Data register DMO0000 to D8191 File register DM0000 to R8191 according to the setting SYSMAC C DM0000 to DM6143 The MELSEC A series provides an extension file register When a block number is specified during the BL 700 setup the specified extension file register is used When 0 is specified for the block number the extension fi
92. le register of the block number specified in the PLC program is used If no block number is specified during the BL 700 setup and PLC programming the file register incorporated in the CPU is used Note KV 300 is not available in Europe 105 Chapter6 PLC Link 6 2 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 e Match the baud rate data length parity and stop bits of the BL 700 to those of the PLC e Disable the RTS CTS protocol e Disable the multi drop link 2 In Comm settings 2 set the following data e Type of the PLC When using the KV L2 in Display linterface mode set SYSMAGC C in the BL 700 settings e PLC trigger input area e DM head address e PLC unit No station No e Set whether or not the final register is used Note KV L2 is not available in Europe 6 2 2 Setting the PLC Set the PLC or link unit as follows Setting KV series handheld programmer port 1 The KV series RS 232C port must always be set to the following values e Baud rate 9600 bps e Data length 8 bits e Parity Even e Stop bit length 1 bit Set the RS 232C communication parameters of the BL 700 according to the above settings Set the BL 700 s communication mode to K
93. leted click on Exit to close the setup soft ware 92 Chapter 4 Installing the Setup Software 4 2 2 Description on each setup screen BL Setup BL 700 lt lt Default gt gt Code setup Times Displays the name of the setup file Feie nn Files currently being edited If the file has been read from the setup file the file Open name is specified as File If the BL 700 file has been read from the BL the Save C BL 500 file name is marked with BL If the en CBL 180 file name is the initial setting default is displayed Print If the file name has been changed Defaults dd from the initial setting the condition immediately after it is read from the Com port Transfer Monitor Exit C file changed is displayed Select the model to be set Main Operation setting e Read mode and its setup e Data addition function e Decoding match count e Read error code e Scanning method trigger ON OFF command Comm Settings 1 Communication parameters 1 e Baud rate data length parity stop bit e RTS CTS protocol e Multi drop ID number Comm Settings 2 Communication parameters 2 e Communication protocol e Header and terminator e PLC link settings e Delimiter semi delimiter Code setup Bar code setting e Type of bar code to be read number of digits e Fixed digit output function label orientation function Utilities e OK NG output ON ti
94. lling the Setup Software Bar code CODE39 32 3 _ Enable _ Enable x Enable x Not used Forward Reverse 32 1 x Not used Forward Reverse Bar code Codabar 32 3 Do not send x Lower case Upper case Enable x Enable Modulus 16 x Not used Forward Reverse 32 1 x Not used Forward Reverse Bar code UPC EAN x Enable x Enable x Enable x 13 digits x 12 digits x Do not add _ Add x Not used Forward Reverse 32 1 x Not used Forward Reverse Bar code None 2 2 Chapter 5 Serial Communication 5 1 Serial Communication cccccccccecececececececececececececenes 84 5 2 Details on Data Communication c ccccccececeeeeees 85 5 3 Command Communication c ccecececcccececececececess 88 5 3 1 Setup of Direct Control Commands rrrnnrnnnnrnnnrerarennnnennnennn 88 5 3 2 Details on Parameter Setting Commands 0 c ceeeee 92 Chapter 5 Serial Communication 5 1 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 e Data communication Sends read bar code data from the BL 700 to the PC e Command communication Changes the BL 700 s settings by sen
95. lti 1 Multi 2 Multi 3 x After read At trigger input 10 x 100 ms 2 times ERROR 4552524F 52 Enable Enable Enable Enable x Level One shot 10 x 100 ms x 2 ms 10 ms x Nomally open Nomally close LON 4C4F4E LOFF 4C4F4646 x OFF Reading rate check _ Tact check x OFF _ Reading rate check _ Tact check 9600 bps X 7 bits 8 bits x Even Odd None x 1 bit _ 2 bits _ Use RTS CTS handshaking _ Enable No 1 _ Enable x None _ PASS RTRY _ ACK NAK x None STX _ ESC _ Custom x CR JOCR LF _ ETX _ Custom SA 2C _ Enable _ Use stability LED 50 x 10 ms 1 2 87 Chapter 4 Code 1 setup Main code length Min code length Send start stop character Inspect check digit Modulus 43 Send check digit Max code length output Effective Starting Specify label orientation Code 2 setup Max code length Min code length Start stop character Inspect check digit Send check digit Type of check digit Max code length output Effective Starting Specify label orientation Code 3 setup Read EAN 13 UPC A Read EAN 8 Read UPC E No of UPC A output Add UPC E system code 0 Max code length output Effective Starting Specify label orientation Code 4 setup Printed 98 01 07 20 40 28 62 Insta
96. me e Preset data registration Files Saving readout and printout of settings selection of model COM Port Sets the communication parameters baud rate etc of the host computer accord ing to the settings of the BL before communication starts between the BL and host computer TRANSFER Sends updated settings to the BL or reads the current settings of the BL MONITOR Checks if the BL can operate normally EXIT Quits the BL setup software 29 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 E Clicking on eee tabs Used to select the item to be changed Comm Settings 1 Comm Settings 2 Utilities Read Mode Decoding match count Single Multil C Multi2 Multis 1 255 Data send Read error After Read C At trigger input ASC ERROR Additional information HEX 14552524F752 M Decoding count M Scan count F Code type F Label orientation Trigger setup E Clicking on radio button Used to select any of several options The selected item is marked with Read Mode Singe C Muti Mute Multia E Clicking on a box Used to select whether to enable or disable this function To enable this function the mark is checked with For the Windows Ver 3 1 it is ch
97. ms Vige F Use stability LED Preset data _ If preset data is set OK signal is output only when read bar code matches the preset data 32 characters max 64 charcters max for CODE128 Com port Transfer Monitor Exit C 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 3 To set Preset data enter the preset data to be registered from the keyboard Normally the data should be set within 32 characters If CODE C is set for CODE128 up to 64 characters can be set e OK NG output ON time gt P 32 Tips e STABILITY LED gt P 44 e Preset data gt P 46 66 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 EIT Setup BL 700 lt lt Default changedl gt gt Code setup Utilities Comm settings Comm Settings Open BL 700 swe r BL 500 Ee Compare C EL 180 Print Defaults Com port Transfer Monitor e Model Select the model to be set e Open Reads a saved setting file e Save Saves updated settings in a file e Compare Compares the settings currently edited with a file previousl
98. n Ambient atmosphere No dust no corrosive gas Vibration 10 to 55 Hz 1 5 mm double amplitude in X Y and Z directions 2 hours respectively 1000 V p p 1 ps Power line Power supply voltage 100 to 240 VAC 50 60 Hz Current consumption 40 VA 100 VAC 50 VA 240 VAC Weight Approx 615 g including cable Note This product is not available in Europe N D s 7 126 Appendices Appendix C BL U2 N 42 Specifications Model 71 su se 5 VDC 25 630 mA Trigger Input rating input OKING output Conforms to EIA RS 422A Maximum RS 232C extension distance 1 2 km Ambient temperature 0 to 50 C 32 to 122 F No freezing Relative humidity 35 to 85 No condensation Ambient atmosphere No dust no corrosive gas Vibration 10 to 55 Hz 1 5 mm double amplitude in X Y and Z directions 2 hours respectively Power supply voltage 24 VDC o Current consumption 250 mA 260 mA max Weight 1 Approx 809 Approx 100 9 N a D 7 ez 127 N a 4 3 7 Appendices Appendix D Dimensions 128 E BL 700 701 740 741 780 781 05 8 Laser beam j Cable length 1 8 m NG os Laser transmitter mounting hole Laser beam emission angle is 10 0 5 from perpendicular to plane A E BL 700 701 740 741 780 781 Mounting bracket e Vertical scanning e Horizontal scanning 58 gt E BL U2 bJ toz Z a
99. nection and Installation E 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 gt See P 44 The OK NG output is an open collector output COM OK NG E 1 0 circuit diagram e Input circuit diagram e Output circuit diagram Internal circuit Internal circuit 2 2 5 Connecting RS 232C Pin assignment 13 1 00000000000000090 DUD 2o md blue l O00000 00000000 DCE specification defined as terminal 25 14 M2 6 screw female Symbol Function Signaldirection _ G Frame ground 19 gt TXD RX always ON CTS DR DSR 7 GND SG Signalground gt 20 ER DTR J JIO T O UD Vix Nu 5 CS Pin No 8 5 6 O7 11 Chapter 2 Connection and Installation Wiring the RS 232C cable E Connecting a PC 25 pin serial port 9 pin serial port D sub 25 pin male D sub 25 pin male M2 6 screw M2 6 screw D sub 9 pin female D sub 25 pin male 4 40 screw M2 6 screw KEYENCE option OP 22149 1 5 m KEYENCE option OP 22149 1 5 m or commercially available cross cable and OP 25057 conversion connec can be used tor can be used E Connecting KV series Handheld programmer port Use the optional cable manufactured by KEYENCE Gg OP 96368 2 5m OP 96369 KV 10 16 24 KV 40 80
100. ng and turns ON the STABILITY LEDs 4 In the serial communication mode the BL 700 outputs the data in the following format By connecting the unit to a PC and using the BL setup software terminal the following data can be displayed on the PC screen See P 77 for details of operation Delimiter Readout data to i m 1 to 9999 zero suppressed ON NG LED turns ON but OK NG output does not turn ON A value greater than 9999 cannot be added 5 When reading the same bar codes continuously within 0 2 seconds the BL 700 cannot separate the data and continues scanning to add the readout count When reading different bar codes within 0 2 seconds continuous scanning is enabled 6 Press the TEST switch again to exit the test mode Note 1 When the unit is running in test mode the laser beam remains on which can shorten the laser s service life Select the test mode only when you need to perform a test read Avoid long emis sion times Note 2 When using the additional information 2 see P 46 to 47 in the test mode the selected data is added in the same manner as in the normal operation mode However only when selecting the reading rate check mode the decode count and scan count are not added to the analyzed results Tips To start the test mode the following alternative method is available in addition to the method of using the TEST switch Start the test mode using the serial commands 2 see P 89
101. ngs 1 Press the BL 700 TEST switch for 8 seconds When the 1st 3rd and 5th STA BILITY 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 e Baud rate 9600 bits s e Data length 7 bits e Parity Even e Stop bit length 1 bit e PLC link Disabled e Multi drop link Disabled If you know the current communication parameter settings of the BL 700 step is not necessary You can send data to the BL 700 by setting the communication parameters of the host computer using COM PORT so that they conform to the current settings of the BL 700 However if PLC link is enabled you cannot send data to the BL 700 without performing step l because the handshaking protocol is set for PLC link only 2 Click on COM PORT to set the communication parameters of the host com puter according to the values listed in step 1 Select an RS 232C port and click on OK EA Setup BL 700 lt lt Default changed gt gt Man Code setup Utilities Comm Settings 1 Comm Settings 2 Files EE BL 700 KK Tr et Defaults Version Info Com port Transfer Monitor Exit C 3 Click on Send settings Save in BL EEP ROM When you click on Read BL settings the settings of the BL 700 can be read on the host computer Send Receive settings BL I Send settings Save in BL EEP ROM
102. nnnrnrnnennnnne 141 Appendix L Setup Parameter List cc eeceeeeeeeeeeee 142 Appendix M Default Setting List i eeeeeeeeeeeees 145 Appendices Appendix A Specifications Appendix A 1 Specifications BL 700 701 740 741 780 781 BL 700 BL 701 High resolution Visible red semiconductor laser wavelength 650 nm 1 4 mW 2 0 mW Class Class I Class 2 Klasse 2 Scan method Type Reading distance 160 to 370 mm When 150 to 750 mm When 200 to 1200 mm When narrow width is 0 5 mm narrow width is 1 0 mm narrow width is 2 0 mm Reading bar width 0 15 to 1 0 mm 0 25 to 2 0 mm 0 5 to 2 0 mm 0 19 to 1 0 mm for 0 33 to 2 0 mm for 0 5 to 2 0 mm for CODE 93 and CODE 128 CODE 93 and CODE 128 CODE 93 and CODE 128 Maximum reading label width 2 310 mm When 600 mm When 1010 mm When reading distance is 335 mm reading distance is 680 mm reading distance is 1080 mm PCS 0 6 or more white reflection rate 75 or more Nu 700 scans second Supported codes CODE39 ITF Industrial 2 0f 5 COOP 2 of 5 Codabar CODE128 CODE93 EAN UPC AeE Reading digit 32 digits max gt Timing input Non voltage input relay contact solid state TTL input is also available OK NG NPN open collector output 24 VDC 30 mA 0 1 mA max 0 5 V max In accordance with RS 232C Baud rate Serial interface N a S 3 7 s Data length
103. nnnrrnnnernnnennnnr 125 Appendix B BL U1 Specifications rrrrrrrarerrnnrrrnnrrnnnrnrnnnnnnnnrrnnnrnnnnennnnr 126 Appendix C BL U2 N 42 Specifications rrrrrnnrrrnnnrrnnnrrnnnrrnnnrrnnnennnnr 127 Appendix D Dimensions rrrrrnnnrnnnennnrnnnnnnnnennnennnnnnnnennnennnennnrnnnsennsennnenne 128 Appendix E Example Program for Serial Communication 131 Appendix F Sample Program for the PLC Link eee 132 Appendix G Troubleshooting rrrrnrernnnernanerrnnrrrnnrnnnnnnrnnnrnnnnennnnrnnanennnne 135 Appendix H CODE93 Specifications rrrrrannrrrnnnrernnnnrrnnnnrnrnnnrnnnnnennnnn 137 Appendix I CODE128 Specifications rrrrrnrrrrrnnnrrrnnnrrrannrernnnrennnnnennnn 138 Appendix J Checksum Calculation Method rrrnnrrrnnnnnnnnrnnnnrvnnnennnrr 139 Appendix K ASCII Code Table rrrrrnnnrrrannrrnnnnnornnnnernnnnernnnnrnnnnnnnnnnnnennnn 141 Appendix L Setup Parameter List rrrrarorrnnorrnnrrrnnrrrnnnnrnnnrrnnnrnnnnennnnr 142 Appendix M Default Setting List rrrrrnrrrnnnrrnnnrrannrrannrrnnnrrnanrrnanennnnennner 145 Warranty EE EE Geammenye eran ANE 147 xiii Chapter 1 Laser Safety Precautions 11 CUS SIG AUOM EE EN 1 2 Warning Labels rrrrnrnnnnrnnnnennnrnnnnrnnernnnnennnnennnennnnennnrnnnnenne 1 3 Label Location rrrrrrnnnnrrnnnrnnnnennnnrnnnnrrnnnnrnnnnrrnnnennnnnnnnsenn 1 4 Safety Consideration ranrrrrrrrn
104. nnrrrrrnnnrrrrrnnnrrrrrnnnnrennnnnnee 1 5 Safety Features Provided with the BL 700 Series Chapter 1 Laser Safety Precautions 1 1 Classification Modell BL 700 701 BL 740 741 BL 780 781 FDA CDRH Class Il IEC EN 60825 1 1993 A2 2001 Class 2 DIN EN 60825 1 2001 Klasse 2 1 2 Warning Labels 1 Warning labels E FDA BL 700 701 BL 740 741 CAUTION AVOID EXPOSURE LASER RADIATION CAUTION AVOID EXPOSURE LASER RADIATION LASER RADIATION DO NOT STARE INTO BEAM IS EMITTED FROM SEMICONDUCTOR LASER 650nm LASER RADIATION DO NOT STARE INTO BEAM IS EMITTED FROM SEMICONDUCTOR LASER 650nm THIS APERTURE THIS APERTURE MAXIMUM OUTPUT 1 4mW MAXIMUM OUTPUT 1 8mW PULSED RADIATION 91 um PULSED RADIATION 50 um y CLASS II LASER PRODUCT y CLASS II LASER PRODUCT BL 780 781 CAUTION AVOID EXPOSURE LASER RADIATION DO NOT STARE INTO BEAM LASER RADIATION IS EMITTED FROM THIS APERTURE SEMICONDUCTOR LASER 650nm MAXIMUM OUTPUT 2 0mW PULSED RADIATION 91 um y CLASS II LASER PRODUCT E IEC BL 700 701 LASER RADIATION DO NOT STARE INTO BEAM Maximum output 1 4mW Wavelength 650nm Pulse duration 43s CLASS 2 LASER PRODUCT IEC EN 60825 1 A2 2001 BL 740 741 LASER RADIATION DO NOT STARE INTO BEAM Maximum output 1 8mW Wavelength 650nm Pulse duration 2945 CLASS 2 LASER PRODUCT IEC EN 60825 1 A2 2001 BL 780
105. not send LOFF e The command characters can be freely changed within 8 characters Test mode control Starts or quits the test mode Reading rate check Command TEST 1 Response None Tact check Command TEST2 Response None Resetting test Command QUIT Response None After using the test mode be sure to reset it OK NG output control Directly turns on off the OK NG output This enables you to easily check wiring amp Turning the OK output on Command OKON Response OK amp Turning the NG output on Command NGON Response OK amp Turning the OK NG outputs off Command ALLOFF Response OK 89 Chapter 5 Serial Communication 90 Online test mode Sets to online test mode 2 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 oo 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 Command SSET Response OK Laser off Resetting Laser off Turns off the laser emission when the laser beam may cause injury to an operator 2 see P 2 Laser off Command LOCK Response OK Resetting Laser off Command UNLOCK Response OK When the Laser off command is executed bar code read operation laser emi
106. ny scans can be decoded the decode count while reading one bar code This mode is useful when testing which line soeed can be expected when actually implementing the BL 700 system on the line This is enabled when the bar code label is moving HM Operation Follow the instructions below 1 Hold down the TEST switch for 5 seconds Release the switch when two STABILITY LEDs illuminate The BL 700 then enters the mode in which the laser emission is always ON Attempt to use the BL 700 to read bar codes moving on the line Reading distance 230 mm BL 700 701 380 mm BL 740 741 500 mm BL 780 781 Depending on the decode count the BL 700 displays the STABILITY LEDs as listed below 0 2 seconds after the last bar code has passed the laser emission range By checking the display you can recognize how much stability the BL 700 ensures during readout To display the readout count follow the procedure in 4 to display the data on the PC screen 39 Chapter 3 Functions for Reading Operation Reading rate STABILITY LED OK NG LED 5 LEDs ON Green The readout count equals or exceeds 50 to 99 4 LEDs ON the matching decode count 10 to 49 3 LEDs ON Red The readout count is below the matching 2 LEDs ON decode count 1 LED ON 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 2 seconds the BL 700 stops scanni
107. oller N 400 For system configuration for the multi drop link see the N 400 User s Manual Also for connection and operation of the multi drop link controller see the N 400 User s Manual The BL 700 User s Manual does not cover these subjects Parts and Functions BL 700 6 Transmitter receiver KEYENCE 7 Cable a LASER ON LED Lit when laser beams are emitted STABILITY LED Displays the reading stability and the BL 700 operating status 2 See P 64 to P 65 OK NG LED e When OK output is ON The green LED lights e When NG output is ON The red LED lights TIMING LED Lit when trigger input is ON TEST SWITCH This switch allows the following operations e Start the test mode e Pressing the switch once reads the bar code once e Sets the communication protocol to the initial values when sending the settings gt See P 75 e Reset the error status See P 45 6 Transmitter receiver Window to emit laser beams and receive reflected lights D Cable length is 1 8 m BL U1 OK NG LED KEYENCE TIMING LED 3 Communication status indicator LEDs I O terminal block 6 Power switch 7 Power supply cable 2 m RS 232C port READER port DIP switches OK NG LED e When OK output is ON The green LED lights e When NG output is ON The red LED lights TIMING LED Lit when trigger input is ON Communication status Allows you to monitor the
108. onse format is STX Response ETX Response Command Response Command Response Tips e lt LF gt can be added after the command being sent In this case however lt LF gt is not added to the response data e When lt ESC gt is inserted before the command being sent characters in the BL 700 s command receiving buffer are cleared e If the BL 700 s command receiving buffer contains erroneous characters due to data transmission error during communication add lt ESC gt to the command being sent Note For command communication set the time duration between transmission of each character byte to up to 30 seconds If this duration exceeds 30 seconds the BL 700 cancels the received characters 86 Chapter 5 Serial Communication I a IMMI Explanation of Direct Control Commands The following describe direct control commands in details Read operation control This command specifies the data read timing amp 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 Trigger input on corresponds to LON and trigger input off corresponds to LOFF The BL 700 starts read operation on receipt of LON and stops it on receipt of LOFF When a bar code can be correctly read and the read data has already been set you need
109. oth in the forward and reverse orientations Forward Reverse orientation orientation ou GT 4 9000000 Normally the unit can read bar codes regardless of the orientation lt Specified orientation gt lt Non specified orientation gt Trigger input Bar code ES S E E NE Laser beams ee es GN Communication time l OK NG output OK NG NG e An reading error is issued when the unit reads a bar code label running in the orientation which is not specified e The above chart applies to the single label read mode You can also use this mode together with the desired multi label read mode However in any case the unit reads bar codes running in the specified orientation only e You can specify the orientation individually for Codes 1 to 4 such as specifying forward orientation for Code 1 and reverse orientation for Code 2 3 Chapter 3 Functions for Reading Operation 3 4 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 This mode is useful in the following cases e When adjusting the mounting distance and angle e When verifying the reading stability of the bar
110. ottom LED on the STABILITY indicator will be flashing Check the bar code setting type No of digits Check the following parameters using the setup software e Bar code type No of digits e Setting of the check digit inspection enabled or disabled e Setting of the label orientation specified reading Note When using CODE39 or Codabar include the start stop characters and check digit in the number of digits 2 For CODE93 see P 136 For CODE128 see P 137 Check the distance and angle between the BL 700 and bar code Check the distance and angle while referring to Mounting angle and mounting distance on page 26 Check the bar code margins quiet zones A bar code requires the right and left margins to be at least 10 times wider than the narrow bar width If the bar code margins are too narrow it may not be read Check the bar code label length The bar code label length is the lateral length of a bar code including the right and left margins quiet zones The readable bar code label length is limited depending on the reading distance See Reading range characteristics Typical on page 122 to 123 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
111. provided with the following safety features Make sure these features function correctly before operating e Laser emission caution LED LASER ON LED During laser emission the LASER ON LED illuminates The LED ON status can be checked through the laser protective glasses e Laser forced OFF command Sending the laser forced OFF command LOCK see P 92 to the BL 700 can inhibit emission of laser beams When working near the laser transmitter be sure to use the laser forced OFF command to avoid looking into the laser beams When this command is selected the bottom STABILITY LED flashes Chapter 2 Connection and Installation 2 1 2 1 1 2 1 2 ae RS 2 1 4 2 2 2 2 1 2 2 2 2 2 3 2 2 4 220 2 2 6 2 3 2 3 1 2 3 2 2 3 3 2 3 4 2 3 5 2 3 6 2 4 2 4 1 2 4 2 2 4 3 2 4 4 BL 700 connections per 6 Connector pin assignment cccseeececeeeeeceeeeceeeeeeeseeeeesaaeees 6 Power supply connections ee 6 W EEE EE 7 Te 424444 7 Connecting BL U1 and wiring cccccceeeeeeeeeeeeee anes 8 Connecting the power supply ccccsececeeeeeceeeeeseeeeeeneeeaaees 8 Connecting the BL 700 vvs e 8 Setting BL U1 DIP switches rrrrrrnnnnrrnrrnnnnrnrrnnnnrnnrnnnnrennnnnn 9 Terminals of I O terminal block and WIFiNG ccccseeeeeeeeees 10 Connecting RS 232C rrrrrnnnnnvnnnnnnnrvnrrnnnrenrrnnnnennrnnnnsnnnnnnsnnnn 11 TERM 14 Wiring the KEYENCE power supply unit BL U2 N 42 1
112. r is selected and sends all the readout data at one time after the trigger input turns off or after the preset input time is expired if one shot signal trigger is selected e To prevent the unit from reading the same bar code twice the time for one bar code to pass across the laser beam s field and read plus the repeat reading time must be set 100 ms to 25 5 s During the repeat reading time the unit cannot read the same bar code repeatedly but can read different bar codes e A reading error is issued only when the unit cannot read any bar code while the trigger input is on e For OK NG output after trigger input turns off OK turns on if the unit reads at least one bar code and NG turns on if the unit fails to read a bar code Com parison to the preset data is not performed Reading data format Header 1st data 2nd data 4th data eeeeeee Delimiter e Each data packet is separated by a comma 2CH intermediate delimiter e The unit sends as many data packets the number of bar codes read See P 87 for header string and delimeter 34 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
113. ress enter a value 0000 to 9900 using the keyboard e To send a trigger signal to the BL series when the PLC link is enabled set PLC trigger area e To use File Register set File Register to Enable When File Register is enabled the following screen appears The File Register can be used with the Mitsubishi MELSEC A series only Block No fixed fo 000 255 Enter the block number 000 to 255 of the file register using the keyboard Tips e PLC link gt P 106 e PLC trigger area gt P I 13 to 115 e DM head address gt P I I I e File register gt P 107 60 Chapter 4 Installing the Setup Software Code Setup Bar code setting Set the readout digits detail data and special functions for each code type BL Setup BL 700 lt lt Default changed gt gt Comm Settings 1 Code 1 Code 2 CODE39 Codabar Code length Code length Read code Max Max MEAN 13 MEAN 8 Min Min FM UPC E Details Details Details Details Options 0 ptions 0 ptions O Dil ones Com port Transfer Monitor Exit C 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 Click Options to set Fixed digit outp
114. rigger input The trigger input allows the BL 700 to start reading bar codes turn on the laser beam To turn ON the trigger input supply 15 to 26 VDC between the trigger input termi nals 5 2 O 2 Ei 15 to 26 VDC E Connecting OK NG output The OK NG output indicates the result of the comparison with preset data or indicates whether reading is successful or not Rated load 30 V max 100 mA 17 Chapter 2 Connection and Installation 2 3 4 Terminal A solderless contact pin as shown below is available for connection 6 mm min 2 3 5 Connecting RS 232C BL U2 Pin assignment 1 2 3 4 5 2 0 OO D sub 9 pin male GOOO DTE specification defined as terminal 4 40 screw 6 7 8 9 Symbol Signal direction RXD RD SD TXD One connector is provided Wiring the RS 232C cable M Connecting a PC 25 pin serial port 9 pin serial port PC BL U2 D sub 25 pin male D sub 9 pin female D sub 9 pin female D sub 9 pin female M2 6 screw 4 40 screw 4 40 screw 4 40 screw KEYENCE option OP 22149 1 5 m KEYENCE option cable OP 27937 1 5 or OP 25057 conversion connector m can be used can be used 18 Chapter 2 Connection and Installation E Connecting KV series Handheld programmer port Use the optional cable manufactured by KEYENCE KV 10 16 24 KV 40 80 Kuso E Connecting KV L2 Port 1 D sub 9 pin fem
115. rm RP36 3 n 3 KV n 4 MELSEC A File register is used n 2 MELSEC A Trigger input WP37n n 0 Disable through PLC n 1 Enable link Confirm RP37 K 6n K 7N OK DM head WP45nn ok nn 00 to 99 address 0000 to 9900 Confirm RP45 PLC station Change WP47nn nn 00 to 31 number Confirm RP47 File register Change WP46nnn OK nnn 000 to 255 block number Confirm RP46 46nnn E Setting communication strings Function Command Response Description Error code Setting partition Change WP50hh OK hh Partition mark mark when 1 character additional Specify the mark in information is Confirm RP50 50hh ger He used code Setting interme Change WP54hhnh OK hhh Intermediate diate delimiter delimiter Up to 5 when multi label characters or 3 Is used HEX hexadecimal code To set no intermediate delimiter hhh FF 101 Chapter 5 Serial Communication M Utility Setting Stability LED OK NG output duration Preset data for compare Command being Response Description Error sent code indication of WPoon 1 0 Disable Stability LED Setting OK NG WP40nnn nnn 001 to 255 output duration Registration of WP68aaa aaa Preset data preset data for Confirm RP68 68aaa Up to 32 characters SAMBALE For CODE128 see P 136 to 137 To delete the preset data send WP68 To register the preset data send the following command Example Re
116. rwise the file name cannot be sent to the BL 700 because it can only recognize alphanumerics To send a file name be sure to enter the file name using alphanumerics and then save it If the file name is not saved it cannot be sent to the BL 700 70 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 Compare Settings file Drive El c no volume la gt File Name C test c 0 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 Not matched Matched AN Matched AN Not matched Printing contents of a setting file 1 To print settings click on Print The following screen will appear Printer Default Printer EPSON LP 1700 on DK beau ar Cancel Setup Selection Pages From Io Print quality 300 dpi Copies fi T Collate copies Adjust Printer Setup as required and click on OK Printing will then start 1 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 edite
117. s 3 1 e MS Windows 95 Installation procedure 1 Insert the BL 700 setup software system disk into the floppy drive 2 Perform the following procedure e Windows 3 1 Execute Run in the icon menu of the program manager Command Line LJ Run Hinmized e Windows 95 Select Run from the Start menu Run ki Ei Type the name of a program folder or document and Windows will open it for you Cancel Browse 20 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 The setup software is normally installed in the following directory C KEYENCE BLSET If this directory is correct click on Next N If you wish to change the directory click on Browse R and select the desired directory 6 When installation starts the file copy process is displayed as a graph When the installation is completed the following message appears Infor mat iom G Setup is complete You may run the installed program by double clicking on the installed program icon 7 For Windows 3 1 double click on the BL icon in the KEYENCE group to start the setup softw
118. see P 86 If the amount of stored data exceeds the capacity of the transmission buffer the BL 700 sends back HeaderJOVER Delimiter to the PC and clears all data stored in the transmission buffer The BL 700 stops operation while clearing data It recovers by sending PASS to HeaderJOVER Delimiter e PASS and RTRY can be received in either communication format PASS lt CR gt or lt STX gt pass lt ETX gt You can also add lt ESC gt to the beginning or lt LF gt to the end of the format Note 1 The BL 700 can receives other commands while waiting for the PASS command In this case the BL 700 sends back an immediate response e g OK Note 2 When the SSET command see P 92 is sent to the BL 700 while the BL 700 is waiting for the PASS command the BL 700 clears the data stored in the transmission buffer and enters the setting mode 85 Chapter 5 Serial Communication E ACK NAK Handshaking The ACK NAK handshaking uses lt ACK gt 06H and lt NAK gt 15H instead of PASS and RTRY used in the PASS RTRY handshaking respectively With these proto cols the BL 700 sends back different characters but performs the same operation E RTS CTS Handshaking e 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 e When the PC s RTS signal is off the BL 700 can still read In this case data is stored in
119. set for PLC link only 2 Click on COM PORT to set the communication parameters of the host com puter according to the values listed in the step 1 above procedure Select an RS 232C port and click on OK COM PORT settings Part 2 Part 4 Baud rate a bps Data bit r bits OG bits Parit Fyen C Odd None Stop bit B br Cz bits vor 73 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 Send Receive settings BL a Send settings Save in BL EEP ROM 4 If the settings were successfully sent to the BL 700 the following message appears Result If the host computer failed to send the data to the BL 700 the following mes sage appears Error x N Failed to set up BL If this message is displayed check the following points e 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 e Check that the power to the BL 700 is ON e Check that the RS 232C cable pin assignment of the BL 700 is the same as that of the host computer 4 Chapter 4 Installing the Setup Software EEE 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 setti
120. sing the scroll bar at the right of the Received Data field you can see the previous data keceived Data ERROR lt cr gt eodkecr gt ERROR lt cr gt ERROR lt er gt ERROR lt er ERROR lt er gt 123 4ter gt 1234ter gt ERROR lt cr gt Note All commands should be entered in all uppercase characters The BL cannot accept lowercase characters 71 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 Send Command LON keceived Data 1234 lt cr gt 284ker gt Eader ader fader Jader 6 When you click on the ARROW button in the Send command field the commands previously sent are listed Up to 100 commands can be listed send Command keceived Data 1254 lt er gt 1254 lt er gt 1254 lt er gt Jatser 2300 125dter gt ERROR lt cr gt 1234ser gt OKser gt ERROD lt er gt 7 Click on Quit to quit this mode 18 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 th
121. ssion is disabled until the Laser off command is reset by using UNLOCK command The Laser off command is retained even after the power is turned off Resets the BL 700 software Command RESET Response OK Chapter 5 Serial Communication OS 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 send ing the RESET command 91 Chapter 5 Serial Communication 5 3 2 Details on Parameter Setting Commands Communication Details Communication format 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 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 After the BL 700 shifts to setting mode send the command setting change command corresponding to the item to be changed to the BL 700 After successfully executing the command the BL 700 sends back an OK If an error occurs with this command the BL 700 sends back ERRnn nn sttands for error code numbers 3 To confirm the current settings send
122. t 140 Appendix L Setup Parameter List Fill in the specified data for each parameter Copy the list for daily operation E Bar code setup Setup parameter Send start stop character CODE39 Coda bar Start stop character type Coda bar Test check digit CODE39 Coda bar ITF Don t send Send Lowercase Uppercase Don t test Test Don t send Send Lowercase Uppercase Don t test Test Don t send Send Lowercase Uppercase Don t test Test Appendices Don t send Send Lowercase Uppercase Don t test Test Send check digit CODE39 Coda bar ITF Read EAN More than one can be selected Number of output digits of UPC A Add 0 to UPC E system code Check double character start pattern Set specified digit output function Specified direction Number of effective digits Set label reading in the specified direction Specified direction Don t send Send 113 digits 12 digits Don t check _ Check Dont set Set Forward Backward gt gt Normal Reverse Don t send
123. t 1 LED light 42 Chapter 3 Functions for Reading Operation M 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 All the LEDs flash gt see P 92 Waiting for setting The 1st 3rd and 5th LEDs In this status send the settings from data send receive from the top flash the setup software Hold down the 2 see P 73 simultaneously TEST switch for 8 seconds to set the data Laser forced OFF The bottom LED flashes When resetting laser forced OFF gt with LOCK with UNLOCK command the unit command returns to the initial operation at see P 90 power on Unit error Either of the 2nd 3rd or 4th The unit may have failed or supply LEDs from the top flashes voltage may have dropped If supply voltage is normal the unit may have failed Contact the nearest KEYENCE office or distributor PLC link error The top LED flashes The error is reset by pressing the gt see P 117 TEST switch again gt See P 116 for troubleshooting 43 Chapter 3 Functions for Reading Operation 3 6 Preset Function Compare with 3 6 1 What is the preset function Ad 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
124. t 42h 30100 0010 when an odd number of 1 sare i present the calculation result is 1 C gt 43h gt 0100 0011 and when an even number of 1 s 1 gt 31h 30011 0001 SE present the calculation result is 2 gt 32h gt 0011 0010 3 gt 33h gt 0011 0011 G YoY 0111 00005 gt 70h Convert the calculated hexadecimal number into an ASCII code in two digits The result obtained is the checksum Therefore the checksum for the above example is cc 70 37h 30h Example Header KEVENCE 100 00 74 Tips e Exclusive OR calculation formula Calculate the numbers of each bit referring to the following formula 0 0 0 0o amp 690 6I 0 Operator of Exclusive OR e Conversion from hexadecimal number into binary number To convert ASCII codes into binary numbers refer to the following table Hexadecimal number 0 1 2 3 4 5 6 7 Hexadecimal number 8 9 A B C D F_ 139 Appendices Appendix K ASCII Code Table o t e sjal sj e 0000 0001 0110 0111 NUL SP olele SOH per ajajaja STX Det 2 8 R be ETX EOT pas 4 Do Tt a ENQ NAK 5 Ee ule ACK smak ef Fivi t BEL ere 7 alwig 1000 BS CAN ce u xX he 1001 HT Em of tly i 1010 LF supe fu zi 1011 HM esc KE Hexadecimal Binary 0000 0001 0010 0011 0100 0101 0110 0111 Low order 4 bits N a 3 T l
125. tage device is installed e Place this unit as far away from power lines as possible Note The BL 700 conforms to the protective structure defined in IP 65 excluding the power supply unit connected Although installation environments subject to dust and water will not affect the BL 700 adhesion of dust or water drops to the transmitter receiver may disable readout of bar codes e Trigger TIM input Set the trigger input to be long enough to allow the laser beam to cover the entire bar code If the trigger input needs to be on for only a short period of time select one shot mode e Influence from mirror surface lf a mirror surface metallic surface is near the bar code and the laser beam reflects off the mirror the BL 700 may cause a read error Protect the unit from the influence of a mirror surface by covering the surface or changing the bar code label position 23 Chapter 2 Connection and Installation e 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 KEYENCE i LASER ON N N N P p 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 e 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 The beam from the photoelectric sensor can int
126. tatus indicator 3 OK NG output LEDs terminals 6 Terminator switch READER port Connects to a BL series or RS 232C equipment TRIGGER input terminals Connect to a sensor for trigger input OK NG output terminals Output OK NG signals 4 Power supply interface The 24 VDC power supply terminal and communi terminal block cation interface RS 422A or RS 485 terminal are provided Terminator switch Turns ON OFF the terminator resistor 100 6 Communication status Indicates the RS 422A or RS 485 communication status POWER LED Lights when the power is turned ON Using the Manual eC Check the test mode reading rate or readout count on the PC screen Change the BL 700 settings using the setup software Change the BL 700 settings through the handheld programmer See the BL P1E BL P1E User s Manual Communicate with a PC P 105 Control the BL 700 with the PLC link P 121 Use the BL 700 with the multi drop link See the N 400 User s Manual Troubleshooting P 136 PLC link communication setup P 118 This manual uses the expression BL 700 for the BL 700 701 740 741 780 781 unless otherwise specified Notice e No part of this instruction manual may be reprinted or reproduced without the prior written permission of KEYENCE CORPORATION e KEYENCE assumes no responsibility for the contents of this manual No liability is assumed for damages resulting from a program created by customers e The
127. tered data is incorrect Re enter the correct data Error during communication with the BL 700 for sending settings Error during communication with the BL 700 for reading settings The model set in the setup software is not the same as the model that is connected No floppy disk is inserted The floppy disk is write protected The floppy disk is full The file name is incorrect Enter a correct file name Chapter 4 Installing the Setup Software 4 7 Example of printing from the setup software When Print is executed from the setup software the following data is printed New setting data Untitled lt lt Model BL 700 gt gt 1 Main Read mode Data send Repeat reading time Decoding match count Read error Add Decoding match count Add scan count Add code type Add label orientation 2 Trigger setup Signal type One shot input time Input time State Command for Trigger ON Command for Trigger OFF Test mode initiated with input ON Test mode initiated upon power up 3 Comm Settings 1 Baud rate Data bits Parity Stop bits RTS CTS Multi drop link RS 485 ID number 4 Comm Settings 2 Use PLC Handshaking Header Delimiter Partition mark Intermediate delimiter Checksum 5 Utility Stability LED OK NG output duration Preset data no data x Selected gt Changed x Single Mu
128. th CV500 LK201 Connection with CV500 LK201 Port 1 Port 2 CV500 CV1000 CVM1 Link unit BL U2 D sub 25 pin male D sub 9 pin female D sub 9 pin male D sub 9 pin female M2 6 screw 4 40 screw M2 6 screw 4 40 screw KEYENCE option OP 22149 1 5 m or the OP 25057 conversion connector can be used 20 Chapter 2 Connection and Installation 2 3 6 Connecting the N 42 to RS 422A RS 422 terminal block assignment SG SD SD RD RD SG Ground RD Signal direction Receives data from terminal Receives data from terminal Connecting external equipment M Connecting N 42 to external unit Use the same wiring when connecting the N 42 to the N 42 A tea Twisted pair cable N 42 e Turn ON the terminators BL U1 external unit terminal resistance 100 2 See P viii e The cable can be extended to within 1 2 km E Connecting KV L2 Connecting the unit to RS 422A port 2 Link unit Twisted pair cable BL U1 E Connecting the MELSEC A series Connecting with AJ71C24 AJ71C24 S AJ71UC24 A0J2 C214 S1 A1SJ71 U C24 R4 Link unit Twisted pair cable BL U1 21 Chapter 2 Connection and Installation E Connecting SYSMAC C series Connecting with C200H LK202 V1 Connecting with C200HW COMO3 C500 LK201 V1 COMO6 C500 LK203 C120 LK202 V1 Communication Link unit Twisted pair cable N 48 D sub 9 pin male D sub 9 pin male ME GSOrOW M2 6 screw E
129. th the BL series e BL P1E Handheld programmer specially designed for the BL series Used when changing the BL series or N 400 settings e OP 22149 D sub 25 pin male D sub 25 pin male RS 232C cross cable Connects the BL U1 to the PC use with OP 25057 e OP 25057 D sub 25 pin D sub 9 pin conversion connector Used in conjunction with OP 22149 when connecting the BL U1 to the DOS PC e OP 27937 D sub 9 pin D sub 9 pin RS 232C cross cable Connects the BL U2 to the DOS PC System Configuration E When using RS 232C or RS 422A Setup software for BL series IBM PC AT BL HIWE or compatible Windows version BL U1 BL U2 N 42 Serial Power supply unit communication RS 232C RS 422A Trigger input Serial communication S gt a 5 PLC link dd ddmd Timing sensor PLC etc Handheld PLC Link unit programmer BL P1E Use the BL setup software or the handheld programmer BL P1E to set the BL series Handheld programmer BL P1E BL setup software Windows version jer OOG i N 400 setup software Windows version PC Multi drop controller N 400 Z 7 Je Power supply unit RS 485 BL U1 N 48 Base see mme RS 232C E When using the RS 485 multi drop link Use the N 400 setup software or handheld programmer BL P1E to set the multi drop contr
130. the BL 700 s transmission buffer see below If the amount of stored data exceeds the capacity of the transmission buffer the BL 700 sends back HeaderJOVER Delimiter to the PC and clears all data stored in the transmission buffer The BL 700 stops operation while clearing data It recovers when the RTS of the computer turns ON Note 1 The RTS CTS handshaking cannot be used for RS 422A communication Note 2 The RTS CTS protocol can be used together with other handshaking protocols Note 3 When the PC s RTS signal is off the BL 700 does not sends back a response to the PC Capacity of transmission buffer 86 The BL 700 s transmission buffer can store 400 bytes 400 characters The number of characters stored in the transmission buffer for each data packet is the number of characters in the data including additional data such as the number of decoding match count plus an additional five characters indicating the data s attributes When multi label reading mode 2 or 3 is used these five attribute characters are added to each data packet Example 1 When the number of bar code digits is 10 with no additional data 400 10 5 26 The transmission buffer can store 26 pieces of data Example 2 When the number of bar code digits is 20 with no additional data 400 20 5 16 The transmission buffer can store 16 pieces of data Chapter5 Serial Communication Read Data Format Read Error Code Set th
131. uluel Moduluel Modulus1OAWeight Modulus OAWeight3 Check DR Madulusl1 A Madulus1OAveight A 64 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 Bar code detail setup Code No Code type UPC EAN setup No of UPC A output 13 digits C12 digits Add UPC E system code Do not add C Add 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 This parameter appears only when UPC E is set to enable reading in the bar code setting The check digit setting is not provided on the screen but the BL 700 calculates it using the modulus 10 3 weight The data is sent Industrial 20f5 COOP20f5 and CODE93 detail settings When 2of5 COOP20f5 or CODE93 is set for any of the 4 codes in the bar code setting and then Detail is clicked the following screen appears Bar code detail setup Code No Code type There are no special settings for Industrial 2of5 For industrial 20f5 COOP20f5 and CODE93 detail setting parameters are not provided 65 Chapter 4 Installing the Setup Software CODE128 detail settings
132. used by the PLC to senda reading trigger to the BL 700 The method for using the areas varies depending on the BL 700 scan method Level signal trigger or One shot signal trigger These areas are not assigned if you set Reading trigger input area to Disable in the BL 700 setup software In this case these areas can be used for other purposes 00 101 02 03 04 Reading trigger area P 111 to 113 05 Reading trigger response area Only when Level signal trigger is selected 06 One shot trigger time setup area Only when One shot signal trigger is selected When using the BL 700 in multi label read mode 3 addresses 00 to 03 are used as the data memory head addresses for Codes 1 to 4 respectively Data is not stored in the areas for which the code type is not set 109 Chapter6 PLC Link Data memory areas 110 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 Reference page Data memory flag area P 113 Label orientation P 114 Decode count Scan count Bar code type Number of digits of bar code data P 114 1st digit of bar code data 2nd digit of bar code data 3rd digit of bar code data 64th digit of bar code data Note These data areas accept up to 64 digits However the BL 700 series can read only 32 digits When the
133. ut function and Label orientation func tion 2 see P 69 Be sure to set the ITF digits to an even number For UPC EAN set whether each of the 13 digit EAN 8 digit EAN and UPC E is enabled to read CDE128 varies depending on the type of the start stop character CODE A to CODE C CODE A B 1 to 31 CODE C 1 to 64 The start stop character and check digit are not included in the number of digits Also FUN 1 to 4 function codes SHIFT and CODE A to CODE C are not included in the number of digits 67 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 Bar code detail setup Code No Code type CODES CODES setup F Send start stop character Note Be sure to include start stop characters when setting the number of digits M inspect check digit Modulus 43 Sinn mn nnnntn inn onoencnndrce a a T f send check digit 1 When Send start stop character is set the BL 700 adds an asterisk to the data and sends it 2 When Check digit test is set the following appears f Send check digit 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 62 Chapter 4 Installing the Setup Software ITF detail settings When ITF is set for
134. with CV500 LK201 Connection with CV500 LK201 Port 2 Port 1 CV500 CV1000 CVM1 Link unit BL U1 FG 1 1 FG ol Heze Rs 4 LL B yy RS CS 5 Lt CS SG E SG V D sub 25 pin male D sub 25 pin male D sub 9 pin male D sub 25 pin male M2 6 screw M2 6 screw M2 6 screw M2 6 screw KEYENCE option OP 22149 1 5 m or commercially available cross cable can be used Note BL U1 is not available in Europe 2 2 6 Wiring the RS 422A Wire the RS 422A as indicated below E Connecting a general RS 422A unit Use the same wiring when connecting the BL U1 to the BL U1 External unit l l BL U1 Twisted pair cable BL U1 e Turn ON the terminators BL U1 external unit terminal resistance 100 gt See P 35 e The cable can be extended to within 1 2 km E Connecting KV L2 Connecting the unit to RS 422A port 2 Link Unit Twisted pair cable BL U1 14 Chapter 2 Connection and Installation auu SS E Connecting the MELSEC A series Connecting with AJ71C24 AJ71C24 S AJ71UC24 A0J2 C214 S1 A1SJ71 U C24 R4 Link unit Twisted pair cable BL U1 Note BL U1 and KV L2 are not available in Europe E Connecting SYSMAC C series Connecting with C200H LK202 V1 Connecting with C200HW COMO3 C500 LK201 V1 COMO6 C500 LK203 C120 LK202 V1 Link unit Twisted pair cable BL U1 Communication SG board Twisted pair cable BL U1 w D sub 9 pin male D sub 9 pin male M2 6 scr
135. y saved e Print Prints contents of a setting file e Defaults Initialize settings Restores updated settings to the default settings e Version info Displays the version information of this software Reading a previously saved setting file 1 To read a previously saved setting file click on Open The following screen will appear Open Settings file Drive E c no volume la File Name feel 8 c50 c7 0 4 test c70 2 When you click on OK after selecting a file the selected file can be opened 69 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 Save Settings file Drive El ci no volume la gt File Name C O 4 test c70 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 NCP After entering the file name click on OK to save the file Note This software cannot accept a long file name in Windows 95 Tips When the saved setting file is sent to the BL 700 the name of the file is simultaneously sent to the BL 700 When you read the settings of the BL 700 using this software the file name is also read It is convenient for maintenance since you can find the file that stores the settings To enter a file name use alphanumerics letters and numbers only Othe

Download Pdf Manuals

image

Related Search

Related Contents

Bank User Manual  A user guide to International Packets  1 - SimmaRent  COBOL85 V2.2 Benutzerhandbuch  SiteCatalyst v 12.2 Module Mobile Device Measurement  Toshiba Tecra A3 Notebook  FS2200 FS2300  Toastmaster 1740 User's Manual  Samsung HG32ND460SF 32" Black  TAFCO WINDOWS NU2-302V-W Installation Guide  

Copyright © All rights reserved.
Failed to retrieve file