
N-400 User's ManualUser's ManualMulti-Drop Controller for BL SeriesN-40096M0353POWER SD RDREADERTERMINATORONOFFSD RDSDTERMINATORRS-232CRDCS
Chapter 1 Overview of The N-40011.1 Functions of the N-400The N-400 multi-drop controller allows the following functions to be added to the BLser
Chapter 5 Multi-Head Mode Control Procedure925Header 1234 Terminator Header ABC Terminator Header ERROR Terminator Header ERROR Terminator H
93Chapter 5 Multi-Head Mode Control Procedure55.2.2 Trigger input signal typeWhen the trigger input is connected to the N-400 in multi-head mode,
Chapter 5 Multi-Head Mode Control Procedure9455.2.3 Data transmission timingData transmission timing can be selected from the following modes only
95Chapter 5 Multi-Head Mode Control Procedure55.3 Data Communication in Multi-Head Mode5.3.1 Communication formatThe communication format for mult
Chapter 5 Multi-Head Mode Control Procedure9655.4 Command Communication in Multi-Head ModeThe command communication in multi-head mode is the same
97Chapter 5 Multi-Head Mode Control Procedure55.5 Interference Suppression FunctionIn multi-head mode, the BL series’ light sources (laser beams)
Chapter 5 Multi-Head Mode Control Procedure9855.6 Communication TimeThe following is the operation timing chart for “Single label” reading in mult
99Chapter 5 Multi-Head Mode Control Procedure5• Serial communication time (H)The serial communication time can be obtained from the following form
Chapter 5 Multi-Head Mode Control Procedure1005The following table shows the actual minimum scan time for each baud rate setting.• Scan OFF time (
Chapter 6PLC Link6.1 PLC Link ... 1026.1.1 List of PLCs used for PLC link ...
Chapter 1 Overview of The N-4001 Mutual-interference suppression function (in multi-head scan mode)When several bar code readers are mounted clo
Chapter 6 PLC Link10266.1 PLC LinkThe PLC link enables read data to be directly stored in the internal memory of aPLC (programmable logic controll
103Chapter 6 PLC Link66.1.2 Devices used for PLC linkThe N-400 supports the following PLC devices.To use MELSEC-A series, select the data register
Chapter 6 PLC Link10466.2 Setup ProcedureFor setup and connection procedures, see p. 10. This section describes the proce-dures for setting the N-
105Chapter 6 PLC Link66.2.2 Setting the N-400Using the N-400 setup software, set the N-400 as follows:For the difference in settings depending on
Chapter 6 PLC Link10666.2.3 Setting the PLCSet the PLC or link unit as follows: Setting MELSEC-A series1. Set the RS-232C communication paramete
107Chapter 6 PLC Link6 Settings for KV-L2/KV mode1. Set the KV-L2’s communication mode to “KV mode”.Set the N-400’s communication mode to “KV”.2
Chapter 6 PLC Link10866.3 Device AssignmentThe device assignment varies depending on whether the PLC link is used in multi-drop link mode or in mu
109Chapter 6 PLC Link6 Data memory areas for each ID numberBar code data read by the BL series for each ID number is stored in the areas of“+00”
Chapter 6 PLC Link1106 Detailed description on device assignmentSpecify the head address of the areas where the read data are stored. (Specify th
111Chapter 6 PLC Link6Real-time control• To specify the flag areas, use “0000” or “0001”.•While the N-400 is writing the bar code data read by the
Chapter 1 Overview of The N-40011.2 System ConfigurationThe system configurations using the N-400 controller are as follows:This section describes
Chapter 6 PLC Link1126A + 02 4A + 03 5A + 04 $0045A + 05 $0052A + 06 $0052A + 07 $004FA + 08 $0052ID numberNumber of digitsSpecified by ASCII code
113Chapter 6 PLC Link6Operation when a connection error occursThe power supply of the connected BL series is turned off:• The BL series is disconn
Chapter 6 PLC Link1146Real-time control• To specify the flag area, use “0000” or “0001”.•While the N-400 is writing the bar code data read by the
115Chapter 6 PLC Link6When a photoelectric sensor for trigger input is connected to the BL series, do notuse this area.Specify this area as follow
Chapter 6 PLC Link11666.4 PLC Link ErrorWhen a communication error occurs during PLC link, communication stops and theN-400 displays the following
117Chapter 6 PLC Link66.5 Communication TimeEven in PLC link mode, the RS-485 communication between the N-400 and eachBL series is regarded as the
Chapter 6 PLC Link1186
AppendicesAppendix A Specifications ...120Appendix B Dimensions ...
Appendices120AppendicesAppendix A SpecificationsN-400Model N-400Connectable bar code reader BL-700 series, BL-500 series, BL-180 seriesRated input 15
121AppendicesAppendicesN-48Model N-48Conversion interface RS-232C & RS-485 (Level conversion)Connectable bar code reader BL-500 seriesBL-180 serie
Chapter 1 Overview of The N-4001SD RDSDTERMINATORRDCS RSTESTRS-232CRS-455POWER TIMINGN-400ONOFFONOFF1 Display LEDs6 Power supply terminal7 RS-485
Appendices122AppendicesAppendix B Dimensions N-400N-48SD RDSDTERMINATORRDCS RSTESTRS-232CRS-455POWER TIMINGN-400ONOFF904060100112(70) 5127.335.44 x ø4
123AppendicesAppendicesBL-U1110981861504 x ø5 mounting hole4100 to 240 VAC(with 3-core plug)ø6.5, Cable length: 2 m90491 max.51120°Approx.40
Appendices124AppendicesAppendix C Sample ProgramsSample programs for multi-drop linkThe following program (QBASIC) is an example of a serial communica
125AppendicesAppendices2100 '3000 '*COMMAND RECEIVE:'***RECEIVING COMMAND****************3010 MDAT$ = MID$(DAT$, 6, 2)3020 IF MD
Appendices126AppendicesSample program for PLC linkThe following is an example of a PLC link program for multi-drop link mode.Data is stored in the fol
127AppendicesAppendicesProgram for the MELSEC-A SeriesSpecify the head address of the datamemory area for each ID number.Specify the data memory flag
Appendices128AppendicesProgram for the SYSMAC-C seriesSpecify the head address of the datamemory area for each ID number.The N-400 processes data as b
129AppendicesAppendicesWhen DM0200 becomes “3”, thespecified processing is performed.After processing is completed, enter “2”in DM0200.When DM0300 bec
Appendices130AppendicesProgram for the KV seriesSpecify the head address of the datamemory area for each ID number.Specify the data memory flag for ea
131AppendicesAppendicesAppendix D TroubleshootingIf an abnormal condition occurs while operating this unit, check the following points.If you cannot s
Chapter 1 Overview of The N-40017 Terminator switch1 READER port3 I/O terminals4 RS-485 terminals5 Power supply terminals2 POWER LED6 Communicatio
Appendices132Appendices3) Check the N-400’s settings for the following points:1 Check if the ID numbers of all connected BL series have been registere
133AppendicesAppendicesAppendix E Indications on the N-400The N-400 displays the following codes: Status indicationThese codes indicate that the N-40
Appendices134AppendicesAppendix F ASCII Code Table012345670000 0001 0010 0011 0100 0101 0110 01110 0000 DLE (SP) 0 @ P ' p1 0001 SOH DC1 ! 1 A Q
135AppendicesAppendicesAppendix G Checksum Calculation MethodYou can add a checksum to transmitted data. (The checksum cannot be added to acommand or
Appendices136AppendicesConvert the calculated hexadecimal number into an ASCII code in two digits. Theresult obtained is the checksum.Therefore, the c
137AppendicesAppendicesAppendix H Setup Parameter ListHOST MODETRIGGER SETUP (Effective in multi-head mode only)PROTOCOL SETUPMode ❑ Multi-drop link m
Appendices138AppendicesID SETUPRS-232C SETUPRS-485 SETUP❑ 01 ❑ 08 ❑ 14 ❑ 20 ❑ 26❑ 02 ❑ 09 ❑ 15 ❑ 21 ❑ 27❑ 03 ❑ 10 ❑ 16 ❑ 22 ❑ 28❑ 04 ❑ 11 ❑ 17 ❑ 23 ❑
139AppendicesAppendicesAppendix I Default Setting ListHOST MODEPROTOCOL SETUPID SETUP RS-232C SETUPRS-485 SETUPMode Multi-drop linkPLC link DisableHan
Appendices140AppendicesAppendix J Sample Printout of Setting List/ / / New setting data [Untitled] / / /[X] selected[X] - - - - - -=> Changed1)
141WARRANTIES AND DISCLAIMERS: (1) KEYENCE warrants the Products to be free of defects in materials andworkmanship for a period of one (1) year fr
Chapter 1 Overview of The N-40011 OK/NG LED2 TIMING LED3 Communication status indicator LEDs4 POWER LED5 I/O terminal block6 Power switch7 Po
N-400 User's ManualUser's ManualMulti-Drop Controller for BL SeriesN-40096M0353POWER SD RDREADERTERMINATORONOFFSD RDSDTERMINATORRS-232CRDCS
Chapter 1 Overview of The N-40018
Chapter 2Installation Procedure2.1 Installing the N-400 ...102.2 Connecting N-400 and Wiring
Chapter 2 Installation Procedure1022.1 Installing the N-400 Equipment used• N-400 multi-drop controller• BL series bar code readersThe N-400 can
Chapter 2 Installation Procedure1122) Setting the N-400Prepare the N-400, the RS-232C cable for the N-400, and a personal computer.Set up the N-40
iSoftware License AgreementPlease read this license agreement carefully and be sure you accept its termsbefore you use the software. By using the soft
Chapter 2 Installation Procedure1222.2 Connecting N-400 and WiringThis section describes the procedure for connecting the N-400 to external equip-
Chapter 2 Installation Procedure132Connecting trigger inputTo use multi-head scan mode, connect the trigger input to the N-400 only, insteadof to
Chapter 2 Installation Procedure142 Connecting KV series/Handheld programmer portUse the optional cable manufactured by KEYENCE. Connecting KV-L
Chapter 2 Installation Procedure1522Link unitSDRDRSCSSG3457211N-400SDFGFGRDRSCSSG3457D-sub 25-pin (male)M2.6 screwD-sub 25-pin (male)M2.6 screw2PL
Chapter 2 Installation Procedure1622.3 Connecting N-48 and Wiring2.3.1 Connecting the BL seriesConnect the BL series to the READER port of the N-4
Chapter 2 Installation Procedure172• The following I-type clips can be used for connections.Connecting power supplyConnect a 24 VDC power supply t
Chapter 2 Installation Procedure182Connecting trigger inputThe trigger input allows the BL series to start reading bar codes (turn on the laserbea
Chapter 2 Installation Procedure1922.3.3 Connecting RS-485For the RS-485 connections, use the “RS-485 +” and “RS-485 -” terminals providedon the t
Chapter 2 Installation Procedure202• The diagram on the previous page shows the connections to supply 24 VDCpower to the N-48 from the power suppl
Chapter 2 Installation Procedure2122.4 Connecting BL-U1 and WiringTo use the BL-U1 AC power supply, connect it as described below.2.4.1 Connecting
CAUTIONiiSafety PrecautionsThis instruction manual describes the operation and function of the N-400. Readthis manual carefully to ensure safe use and
Chapter 2 Installation Procedure2222.4.3 Setting BL-U1 DIP switchesSwitch the interface setting to “RS-485 multi-drop” using the BL-U1 DIP switche
Chapter 2 Installation Procedure232TIM +12V OUT– COM OK NG SDA SDB SG RDA RDBTrigger inputPower supply for sensors (12 VDC, 300 mA)OK/NG outputRS-
Chapter 2 Installation Procedure242Connecting OK/NG outputThe OK/NG output is used to differentiate between acceptable and unacceptableresults bas
Chapter 2 Installation Procedure2522.4.5 Connecting RS-485For the RS-485 connections, use the “SDA” and “SDB” terminals provided on theterminal bl
Chapter 2 Installation Procedure2622.5 Using Connection Test ModeThis section describes the procedure for performing a connection test after the N
Chapter 2 Installation Procedure2722.6 Mounting Procedure2.6.1 Operating environment precautionsThis unit is a precision instrument and you must
Chapter 2 Installation Procedure282SD RDSDTERMINATORRDCS RSTESTRS-232CRS-455POWER TIMINGN-400ONOFF401004 x ø5mounting holeSD RDSDTERMINATORRDCS RS
Chapter 2 Installation Procedure2924 x ø515098AB2.6.4 Mounting BL-U1To mount the BL-U1, you can use one of the following two methods:Positions of
Chapter 2 Installation Procedure302
Chapter 3N-400 Setup Procedure3.1 Installing Setup Software ...323.2 Setup Software Operating Procedur
iiiList of Package ContentsThe N-400 includes the following equipment and accessories. Before using theunit, ensure that all of these items are includ
Chapter 3 N-400 Setup Procedure3233.1 Installing Setup SoftwareThe N-400 includes the setup software for the Windows version only.The operating en
Chapter 3 N-400 Setup Procedure3334. The N-400 setup software installer starts. Follow the instructions in the installwindow. (Typically, the inst
Chapter 3 N-400 Setup Procedure3433.2 Setup Software Operating Procedure3.2.1 Operating procedureTo set up the N-400 using the setup software, fol
Chapter 3 N-400 Setup Procedure3533.2.2 Description on each setup screenHOST MODE:• Sets auto-polling mode (multi-drop link) and multi-head scan m
Chapter 3 N-400 Setup Procedure3633.2.3 Outline of operationThis section describes the basic operations of the N-400 setup software.To enter setti
Chapter 3 N-400 Setup Procedure373Entering a valueAfter clicking in the frame, enter a value using the keyboard.If the entered value exceeds the s
Chapter 3 N-400 Setup Procedure3833.3 Details of Operating Procedure3.3.1 Setting procedureHOST MODEIn the HOST MODE, select “Multi-drop link” or
Chapter 3 N-400 Setup Procedure3935. When you click on [Trigger setup], you can set the trigger input in multi-headmode.➮MULTI-DROP LINK (Multi-dr
Chapter 3 N-400 Setup Procedure403PROTOCOL (when "Use PLC" is disabled)The PROTOCOL screen is used to set “Handshaking protocol” and var
Chapter 3 N-400 Setup Procedure413S018 PROTOCOL (when "Use PLC" is enabled)To enable the "Use PLC", set each item as follows:1
ivContentsChapter 1 Overview of the N-4001.1 Functions of the N-400 ...21.2 Sys
Chapter 3 N-400 Setup Procedure423ID SETUPThe ID SETUP screen is used to register the ID numbers of the connected BLseries. When you register the
Chapter 3 N-400 Setup Procedure433RS-485The RS-485 screen is used to set the RS-485 communication parameters for theN-400. Set these parameters so
Chapter 3 N-400 Setup Procedure4433.3.2 Reading/Saving/Printing FileThe FILES screen is used to save updated settings in a file, to read a saved s
Chapter 3 N-400 Setup Procedure453Saving updated settings in a file1. To save updated settings in a file, click on [Save]. The following screen wi
Chapter 3 N-400 Setup Procedure463Comparing the settings currently edited with a saved file1. To compare the settings currently edited with the se
Chapter 3 N-400 Setup Procedure473Printing contents of a setting file1. To print settings, click on [Print]. The following screen will appear.2. A
Chapter 3 N-400 Setup Procedure4833.4 Sending/Receiving Settings Sending updated settings to the N-400To send updated settings to the N-400, perfo
Chapter 3 N-400 Setup Procedure4934. If the settings were successfully sent to the N-400, the following messageappears.If the host computer failed
Chapter 3 N-400 Setup Procedure503Reading the current settings of the N-400To read the current settings of the N-400, perform the following proced
Chapter 3 N-400 Setup Procedure5134. If the settings of the N-400 were successfully read, the following messageappears.If the host computer failed
vChapter 4 Multi-Drop Link Mode Control Procedure4.1 Multi-Drop Link Mode ...58
Chapter 3 N-400 Setup Procedure5233.5 Using MonitorThis setup software provides the “Monitor” program to check if the N-400 can senddata properly.
Chapter 3 N-400 Setup Procedure5335. When you enter a command in the “Send command” field, you can sendthe command to the N-400 (or BL series). Th
Chapter 3 N-400 Setup Procedure5432. Send the test mode command to the BL series to be tested. When the testmode is started, data read by the BL s
Chapter 3 N-400 Setup Procedure553ErrorsduringsetupErrorscommuni-cation“Accessing file duringrejected. [OK]”“Block number incorrect.[OK]”Error mes
Chapter 3 N-400 Setup Procedure563
Chapter 4Multi-Drop Link Mode Control Procedure4.1 Multi-Drop Link Mode ...584.1.1. Controlling
Chapter 4 Multi-Drop Link Mode Control Procedure5844.1 Multi-Drop Link Mode4.1.1. Controlling multi-drop link modeMulti-drop link mode can control
59Chapter 4 Multi-Drop Link Mode Control Procedure4Setting the Baud Rate of the BL SeriesIn order to increase the response speed of the BL-500/180
Chapter 4 Multi-Drop Link Mode Control Procedure6044.1.2 Setup procedureFor setup and connection procedures, see p. 10. This section describes the
61Chapter 4 Multi-Drop Link Mode Control Procedure44.2 Data Communication in Multi-Drop Link ModeIn multi-drop link mode, the bar code data read b
viChapter 6 PLC Link6.1 PLC Link ...1026.1.1 List of PLCs us
Chapter 4 Multi-Drop Link Mode Control Procedure6244.2.2 Manual polling Manual pollingWhen you send a polling command from the host computer to a
63Chapter 4 Multi-Drop Link Mode Control Procedure4• The polling command can be received in either of the following formats:[LF] can be added to t
Chapter 4 Multi-Drop Link Mode Control Procedure644 Transmission buffer of BL seriesThe BL-500/BL-180 series provides a transmission buffer that
65Chapter 4 Multi-Drop Link Mode Control Procedure44.2.4 Handshaking protocolThe N-400 supports the following four types of data communication mod
Chapter 4 Multi-Drop Link Mode Control Procedure664• The “PASS” and “RTRY” commands can be received in either of the followingformats:PASS [CR], o
67Chapter 4 Multi-Drop Link Mode Control Procedure44.3 Command Transmission To BL SeriesAll the serial commands that can be used for the BL series
Chapter 4 Multi-Drop Link Mode Control Procedure684•When the command format is [Command] [CR], the response format is [Re-sponse] [CR]. When the c
69Chapter 4 Multi-Drop Link Mode Control Procedure44.4 N-400 Direct Control CommandsYou can perform the following controls by sending a command to
Chapter 4 Multi-Drop Link Mode Control Procedure704Example: When the “Polling ON” command is sent to the N-400When “POLE00 [CR]” is sent to the N-
71Chapter 4 Multi-Drop Link Mode Control Procedure4● Checking individual ID numberCommand: IDCHKmm[mm = 01 to 31 (ID number)]Response:ON: Register
vii
Chapter 4 Multi-Drop Link Mode Control Procedure724● Specific ID polling ONCommand: POLEmm[mm = 01 to 31 (ID number)]Response: OKERR01: “mm” excee
73Chapter 4 Multi-Drop Link Mode Control Procedure4• The “LON” command corresponds to “Trigger input: ON”, and the “LOFF”command corresponds to “T
Chapter 4 Multi-Drop Link Mode Control Procedure744● Checking the destination ID number for command transmissionCommand: TRCOMResponse: mm[mm = 01
75Chapter 4 Multi-Drop Link Mode Control Procedure4Command ResponseCommand CR Response CRSTX Command ETX STX Response ETX4.5 N-400 Setup C
Chapter 4 Multi-Drop Link Mode Control Procedure764 Response error codesIf an incorrect setup command is sent to the N-400, the N-400 sends back
77Chapter 4 Multi-Drop Link Mode Control Procedure4Description of setup commands Saving settings/Initializing settings/Quitting SETUP mode HOST
Chapter 4 Multi-Drop Link Mode Control Procedure784 TRIGGER INPUT SETUP (Effective in multi-head scan mode only)To set the characters of the trig
79Chapter 4 Multi-Drop Link Mode Control Procedure4 PROTOCOL SETUPHandshakingprotocol 1FunctionCommandResponseDescriptionChangeWP07nOKn = 0: No h
Chapter 4 Multi-Drop Link Mode Control Procedure804 PROTOCOL SETUP (only when PLC link is used)PLC link modelFunctionCommandResponseDescriptionCh
81Chapter 4 Multi-Drop Link Mode Control Procedure4 ID SETUP RS-232C SETUPBaud rateFunctionCommandResponseChangeWP35n OKn = 5: 38400 bpsn = 6: 3
Chapter 1Overview of the N-4001.1 Functions of the N-400 ...21.2 System Configuration ...
Chapter 4 Multi-Drop Link Mode Control Procedure824 RS-485 SETUPBaud rateFunctionCommandResponseDescriptionChangeWP75n OKn = 5: 38400 bpsn = 6: 3
83Chapter 4 Multi-Drop Link Mode Control Procedure4Baud rate (for RS-485) Communication time (b)Number of data Number of data Number of datadigits
Chapter 4 Multi-Drop Link Mode Control Procedure844From the above data, the RS-485 data transmission time (“A” shown in the timingchart on the pre
85Chapter 4 Multi-Drop Link Mode Control Procedure4Baud rate (for RS-232C) Communication time (B)Command = LON Command = LOFF9600 bp 12.5 ms 13.8
Chapter 4 Multi-Drop Link Mode Control Procedure864
Chapter 5Multi-Head Mode Control Procedure5.1 Multi-head Mode ... 885.1.1 Controlling mu
Chapter 5 Multi-Head Mode Control Procedure8855.1 Multi-head Mode5.1.1 Controlling multi-head modeIf the bar code position on a product is unknown
89Chapter 5 Multi-Head Mode Control Procedure55.1.2 Setup procedureFor setup and connection procedures, see p. 10. This section describes theproce
Chapter 5 Multi-Head Mode Control Procedure905Setting the N-400Using the N-400 setup software, set the N-400 as follows:1. Set the host mode to mu
91Chapter 5 Multi-Head Mode Control Procedure55.2 Reading Operation in Multi-Head Mode5.2.1 Difference in operation depending on reading modeMulti
Kommentare zu diesen Handbüchern