The text of a manual · part 1 of 15
N-400 User's Manual: Multi-Drop Controller for BL Series, pages 1 to 10
Pages 1 to 10 of 150
The original document is the PDF (1.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Keyence N-400
Page 1
N-400 User's Manual
96M0353
User's Manual Multi-Drop Controller for BL Series
N-400
N-400 TEST
RS-232C
READER
SD
RD
POWER TIMING
POWER
SD
RD
TERMINATOR
OFF
TERMINATOR ON OFF
Specifications are subject to change without notice. AFFILIATED COMPANIES
KEYENCE CORPORATION 1-3-14, Higashi-Nakajima, Higashi-Yodogawa-ku, Osaka, 533-8555, Japan Phone: 81-6-6379-2211 Fax: 81-6-6379-2131
KEYENCE CORPORATION OF AMERICA Phone: 201-930-0100 Fax: 201-930-0099
KEYENCE ITALIA S.p.A. Phone: 02-6688220 Fax: 02-66825099
KEYENCE TAIWAN CO., LTD Phone: 02-2627-3100 Fax: 02-2798-8925
KEYENCE DEUTSCHLAND GmbH Phone: 06102-36 89-0 Fax: 06102-36 89-10 0
KEYENCE SINGAPORE PTE LTD Phone: 6392-1011 Fax: 6392-5055
KEYENCE (HONG KONG) CO., LTD Phone: 3104-1010 Fax: 3104-1080
KEYENCE (UK) LIMITED Phone: 01908-696900 Fax: 01908-696777
KEYENCE (MALAYSIA) SDN BHD Phone: 03-2092-2211 Fax: 03-2092-2131
KEYENCE FRANCE S.A. Phone: 01 56 37 78 00 Fax: 01 56 37 78 0 1
KEYENCE (THAILAND) CO., LTD Phone: 02-369-2777 Fax: 02-369-2775
KEYENCE INTERNATIONAL TRADING (SHANGHAI) CO., LTD. Phone: 021-68757500 Fax: 021-68757550 KOREA KEYENCE CO., LTD. Phone: 02-563-1270 Fax: 02-563-127 1
© KEYENCE CORPORATION, 1997 0114-4 96M0353 Printed in Japan
RS
SD
RD RS-455
RS-232C
ON
CS
Page 2
Software License Agreement Please read this license agreement carefully and be sure you accept its terms before you use the software. By using the software you signify that you consent to be bound by the terms and conditions of this agreement. Keyence grants to you, and you accept a license to use the programs and the related materials delivered with this agreement. The manual and the software are copyrighted with all rights reserved. Your rights of ownership are subject to the limitations and restrictions imposed by copyright laws. Under the copyright laws, you may not copy the manual or software, in whole or in part, without the written consent of Keyence, except in the normal use of the software or to make a backup copy. It is illegal to copy, reproduce, or transmit any part of the manual or the software in any form or by any means (including translation to another language, computer language, or format)except as permitted by the Copyright law. You are permitted to write the contents of the software into the machine memory of your computer so that the software can be executed. The software may be associated with one computer and may be used by more than one person on that computer, or may be associated with one person and used by that person on more than one computer. However, in no event shall two or more persons use the software at the same time. You may not rent or lease the software, but you transfer the software and accompanying written materials on a permanent basis provided you retain no copies and the recipient agrees to the terms of this agreement. You may not reverse engineer, decompile, or disassemble the software. Keyence warrants that if you discover physical defects in the media on which this software is distributed, or in the manual distributed with the software, Keyence will replace the media or manual at no charge to you, provided you return the defective items, postage prepaid and with proof of purchase, within ninety days of the date of purchase. Keyence reserves the right to revise this software and manual without obligation to notify any person of such revision. In no event will Keyence be liable for loss of profits or goodwill or other indirect, special, incidental, or consequential damages resulting from any defect in the software, media, or manual. Keyence’s liability for damages to you or others will in no event exceed the total amount paid by you for the software. In particular, Keyence shall have no liability for any data stored in or used with Keyence’s products, including the costs of recovering such data. MS Windows, Windows 95 are registered trademarks of Microsoft Corporation. All other company, product names in this publication are registered trademarks of their respective owners.
i
Page 3
Safety Precautions This instruction manual describes the operation and function of the N-400. Read this manual carefully to ensure safe use and maximum performance from your N400. The N-400 can be connected to the BL-700, BL-180 and BL-500 series.
Symbols The following symbols alert you to important messages. Be sure to read these messages carefully.
Failure to follow instruction may lead to injury. (electric
WARNING shock, burn, etc.)
CAUTION Note:
Failure to follow instructions may lead to product damage.
Provides additional information on proper operation.
General Precautions •
At startup and during operation, be sure to monitor the functions and performance of the N-400.
•
We recommend that you take substantial safety measures to avoid any damage in the event a problem occurs.
•
Do not open or modify the N-400 or use it in any way other than described in the specifications.
•
When the N-400 is used in combination with other instruments, functions and performance may be degraded, depending on operating conditions and the surrounding environment.
•
Do not use the N-400 for the purpose of protecting the human body.
Warnings and Cautions Specific to the N-400 CAUTION
•
To operate the N-400/N-48, use a 24 VDC power supply. Using a different type of power supply may damage the unit.
•
This unit is a precision instrument and may be damaged if dropped. Be careful when carrying and mounting the unit.
•
To install this unit, read “Chapter 2, 2.6 Mounting Procedure” in this manual thoroughly for instructions on proper mounting conditions.
•
For the RS-485 connections, use the recommended cable and follow the instructions given in this manual. (➮ See “Chapter 2, 2.3.3 Connecting RS-485” or “Chapter 2, 2.4.5 Connecting RS-485”.) Connecting the RS-485 cable without following these instructions may cause a communication error.
ii
Page 4
List of Package Contents The N-400 includes the following equipment and accessories. Before using the unit, ensure that all of these items are included with your N-400. ■ N-400 package contents • N-400 (x 1) • User’s Manual (x 1) • N-400 setup software (x 1) ■ N-48 package contents • N-48 (x 1) • Instruction manual (x 1) ■ BL-U1 1. package contents • BL-U1 (x 1) ■ BL-U2 package contents • BL-U2 (x 1) 1. BL-U1 is not available in Europe. Use BL-U2 instead.
iii
Page 5
Contents Chapter 1
Overview of the N-400 1.1 1.2 1.3
Chapter 2
Functions of the N-400 .......................................................................... 2 System Configuration ............................................................................ 4 Part Names ............................................................................................. 5
Installation Procedure 2.1 Installing the N-400 .............................................................................. 10 2.2 Connecting N-400 and Wiring ............................................................. 12 2.2.1 Terminals of I/O terminal block and wiring .............................................. 12 2.2.2 Connecting RS-232C .............................................................................. 13 2.3 Connecting N-48 and Wiring ............................................................... 16 2.3.1 Connecting the BL series ........................................................................ 16 2.3.2 Terminals of I/O terminal block and connection ...................................... 16 2.3.3 Connecting RS-485 ................................................................................. 19 2.4 Connecting BL-U1 and Wiring ............................................................ 21 2.4.1 Connecting power supply ........................................................................ 21 2.4.2 Connecting BL series .............................................................................. 21 2.4.3 Setting BL-U1 DIP switches .................................................................... 22 2.4.4 Terminals of I/O terminal block and wiring .............................................. 23 2.4.5 Connecting RS-485 ................................................................................. 25 2.5 Using Connection Test Mode ............................................................. 26 2.6 Mounting Procedure ............................................................................ 27 2.6.1 Precautions for mounting environment ................................................... 27 2.6.2 Mounting N-400 ...................................................................................... 28 2.6.3 Mounting N-48 ........................................................................................ 28 2.6.4 Mounting BL-U1 ...................................................................................... 29
Chapter 3
N-400 Setup Procedure 3.1 Installing Setup Software .................................................................... 32 3.2 Setup Software Operating Procedure ................................................ 34 3.2.1 Operating procedure ............................................................................... 34 3.2.2 Description on each setup screen ........................................................... 35 3.2.3 Outline of operation ................................................................................. 36 3.3 Details of Operating Procedure ......................................................... 38 3.3.1 Setting procedure .................................................................................... 38 3.3.2 Reading/Saving/Printing File ................................................................... 44 3.4 Sending/Receiving Settings ................................................................ 48 3.5 Using Terminal ..................................................................................... 52 3.6 List of Error Messages ........................................................................ 55 iv
Page 6
Chapter 4
Multi-Drop Link Mode Control Procedure 4.1 Multi-Drop Link Mode .......................................................................... 58 4.1.1 Controlling multi-drop link mode ............................................................. 58 4.1.2 Setup procedure ..................................................................................... 60 4.2 Data Communication in Multi-Drop Link Mode ................................. 61 4.2.1 Auto polling ............................................................................................. 61 4.2.2 Manual polling ......................................................................................... 62 4.2.3 Capacity of Transmission Buffer ............................................................. 63 4.2.4 Handshaking protocol ............................................................................. 65 4.3 Command Transmission To BL Series .............................................. 66 4.4 N-400 Direct Control Commands ........................................................ 69 4.4.1 Communication procedure ...................................................................... 69 4.4.2 Description of commands ....................................................................... 70 4.5 N-400 Setup Command ........................................................................ 75 4.6 Communication Time Consideration .................................................. 83
Chapter 5
Multi-Head Mode Control Procedure 5.1 Multi-head Mode ................................................................................... 88 5.1.1 Controlling multi-head mode ................................................................... 88 5.1.2 Setup procedure ..................................................................................... 89 5.2 Reading Operation in Multi-Head Mode ............................................. 91 5.2.1 Difference in operation depending on reading mode .............................. 91 5.2.2 Trigger input signal type .......................................................................... 93 5.2.3 Data transmission timing......................................................................... 94 5.3 Data Communication in Multi-Head Mode ......................................... 95 5.3.1 Communication format ............................................................................ 95 5.3.2 Handshaking protocol ............................................................................. 95 5.3.3 Read error code ...................................................................................... 95 5.4 Command Communication in Multi-Head Mode ............................... 96 5.4.1 Sending a command to BL series ........................................................... 96 5.4.2 N-400 direct control/setup commands .................................................... 96 5.5 Interference Suppression Function ................................................... 97 5.6 Communication Time .......................................................................... 98 v
Page 7
Chapter 6
PLC Link 6.1 PLC Link ............................................................................................. 102 6.1.1 List of PLCs used for PLC link .............................................................. 102 6.1.2 Devices used for PLC link ..................................................................... 103 6.2 Setup Procedure ................................................................................ 104 6.2.1 Setting the BL Series ............................................................................ 104 6.2.2 Setting the N-400 .................................................................................. 105 6.2.3 Setting the PLC ..................................................................................... 106 6.3 Device Assignment ............................................................................ 108 6.3.1 Device assignment in multi-drop link mode .......................................... 108 6.3.2 Device assignment in multi-head scan mode ....................................... 113 6.4 PLC Link Error .................................................................................... 116
Appendices Appendix A Appendix B Appendix C
Appendix D Appendix E Appendix F Appendix G Appendix H Appendix I Appendix J
Specifications ..................................................................... 120 Dimensions ......................................................................... 122 Sample Programs ............................................................... 124 Sample programs for multi-drop link ...................................... 124 Sample program for PLC link ................................................ 126 Troubleshooting ................................................................. 131 Indications on the N-400 .................................................... 133 ASCII Code Table ................................................................ 134 Checksum Calculation Method ......................................... 135 Setup Parameter List .......................................................... 137 Default Setting List ............................................................. 139 Sample Printout of Setting List ......................................... 140
WARRANTIES WARRANTIES AND DISCLAIMERS ............................................................ 141 vi
Page 8
vii
Page 9
Chapter 1
Overview of the N-400
1.1 Functions of the N-400 oo... eee ee eeteeeeeeeeeeeees 1.2 System Configuration 0.00.0... eee eeeeneeeeeeeeeeeeeeeeees
1.3 Part NAMe@S ooo... ccc cececccecccececececeeeneeeueecaeeeaeeeeeeseeeeeeneeeneeeneees
Page 10
Chapter 1
1.1
Overview of The N-400
Functions of the N-400 The N-400 multi-drop controller allows the following functions to be added to the BL series.
1
Note: The BL-U1 and N-48 can be used as an RS-232C to RS-485 converter. However, the BL-U1 is not available in Europe.
Multi-drop link function (mode) The N-400 can control up to thirty-one BL series units using a host computer, enabling the multi-drop link configuration. The communication path is an RS-485 cable, which provides high noise-resistance and enables data transmission over a long distance (up to 1.2 km). Since a twisted pair cable (two cables) is used for the connections, the multi-drop link configuration can be realized with simple wiring. The N-400 controls the complicated communication (RS-485 communication) between each BL series and the N-400. Since the host computer works only for communication with the N-400, it can be operated with a simple program. (The ID number assigned to the head of the transmitted data allows you to identify the BL series unit that sends the data.) Therefore, the host computer’s job is reduced with this system configuration. BL series
N-400 RS-232C N-48 or BL-U1
*
* RS-485
Host
Multi-head scan function (mode) If the position of bar codes is unknown in a product, or bar codes are printed in several positions, the bar codes cannot be read with a single bar code reader. In such cases, several bar code readers need to be mounted in various positions or at various angles. When the N-400 controller is used in multi-head scan mode, a host computer can control several BL series units as if they were a single unit.
N-400 RS-232C
Sensor for trigger input N-48 or BL-U1
Host BL series RS-485
2