Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 5 of 15

N-400 User's Manual: Multi-Drop Controller for BL Series, pages 41 to 50

Pages 41 to 50 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 41

Chapter 3

N-400 Setup Procedure

4. The N-400 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\N400 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.

3 7. For Windows 3.1, double-click on the [N400] icon in the [KEYENCE] group to start the setup software. For Windows 95, start the program from the "Start" menu.

33

Page 42

Chapter 3

3.2

N-400 Setup Procedure

Setup Software Operating Procedure

3.2.1 Operating procedure To set up the N-400 using the setup software, follow the procedure below. 1. Connect the N-400 to the host computer using the RS-232C cable. ➮ For the recommended cable, see 2.2.2 Connecting RS-232C.

2. Start the N-400 setup software. 3. Select a setup item, and set it to the desired condition. 4. Before sending the updated settings to the N-400, click on [COM PORT] to match the communication parameters of the personal computer with the current settings of the N-400.

3

The default settings of the N-400 are as follows: • Baud rate: 9600 bit/s • Data length: 7 bit • Parity: Even • Stop bit length: 1 bit Immediately after you purchase the N-400, set [COM PORT] to the above settings. If you do not know the current settings of the N-400, press the N-400 test switch for approximately 5 seconds. When the N-400 displays “S0(50)”, the N-400 is automatically set to the above settings. The N-400 can communicate with the host computer if the “COM PORT” settings are same as the above. 5. Click on [Transfer] to send the updated settings to the N-400. (The current settings of the N-400 can also be read.) 6. Select [FILES] to save or print the settings, as required. 7. After the setup procedure is completed, click on [Exit] to close the setup software.

34

Page 43

Chapter 3

N-400 Setup Procedure

3.2.2 Description on each setup screen ▼

▲

Displays the name of the setup file currently being edited. If the file has been read from the setup file, the file name is specified as “File: ...”. If the file has been read from the N-400, the file name is marked with “N-400”. If the file name is the initial setting, “default” is displayed. If the file name has been changed from the initial setting (the condition immediately after it is read from the file), “changed” is displayed.

3 HOST MODE: • Sets auto-polling mode (multi-drop link) and multi-head scan mode • Sets the interference suppression function in multi-head mode • Sets read mode, measuring method and trigger input in multi-head mode • Sets a read error code and trigger ON/OFF commands in multi-head mode PROTOCOL: • Sets the handshaking protocol • Sets the header and delimiter • Sets the PLC link ID SETUP: • Registers the ID number of the connected BL Bar Code Reader RS-232C: • Sets the baud rate, data length, stop bit length and parity for the RS-232C communication • Setting the RTS/CTS protocol RS-485: • Sets the baud rate, data length, stop bit length and parity for the RS-485 communication FILES: • Saves, reads or prints settings COM PORT: • Sets the communication parameters (baud rate, etc.) of the host computer according to the settings of the N-400 before communication starts between the N-400 and host computer. TRANSFER: • Sends updated settings to the N-400, or reads the current settings of the N-400. MONITOR: • Checks if the N-400 can operate normally. EXIT: • Quits the N-400 setup software.

35

Page 44

Chapter 3

N-400 Setup Procedure

3.2.3 Outline of operation This section describes the basic operations of the N-400 setup software. To enter settings, place the mouse pointer on the item to be changed, and click the left mouse button.

Mouse pointer

Clicking on

• • •

Used to select the item to be changed.

3 Clicking on Used to select any of several options. The selected item is marked with • .

Clicking on 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 checked with “x”.)

➞

Clicking on

Used to select any of several options.

36

Page 45

Chapter 3

N-400 Setup Procedure

Entering a value After clicking in the frame, enter a value using the keyboard. If the entered value exceeds the setting range, an error message is displayed. (➮ See p. 55.)

Entering characters When you click in the frame labeled “ASC”, you can enter characters using the keyboard. When you click in the frame labeled “HEX”, you can enter characters using hexadecimal numbers (00 to 7F). This function is used to enter control characters (00 to 21h ASCII codes, such as [CR] and [STX]).

37

3

Page 46

Chapter 3

3.3

N-400 Setup Procedure

Details of Operating Procedure

3.3.1 Setting procedure HOST MODE In the HOST MODE, select “Multi-drop link” or “Multi-head scan”.

3

1. If you select “Multi-head scan” mode, the following setup items appear. The following steps are effective for “Multi-head scan” mode only.

2. To use the “Interference Suppression” function, the following setup items appear.

“TIMER” indicates the reading time of each BL series in the interference suppression mode. Enter a value using the keyboard. 3. “Data-send” is displayed only when “Read mode” is set to “Single”. 4. Enter a read error code using the keyboard. The read error code can be changed to any eight character string. Set this code so that it conforms to the read error code of the connected BL series. Normally, you should use the default setting (ERROR) without changing it (as well as the BL series’ read error code).

38

Page 47

Chapter 3

N-400 Setup Procedure

5. When you click on [Trigger setup], you can set the trigger input in multi-head mode.

Tips

➮

MULTI-DROP LINK (Multi-drop link mode): p. 58

➮

MULTI-HEAD SCAN (Multi-head scan mode): p. 86

➮

Interference Suppression: p. 95

➮

Read mode: pp. 89 to 90

➮

Data-send: p. 92

➮

Read error code: p. 93

TRIGGER SETUP (only when Multi-head scan is selected) The Trigger Setup screen is used to set the trigger input for Multi-head scan mode.

3

1. Set “Trigger Input/Signal Type” to “Level” or “One-shot”. If you select “One-shot”, the one shot input time is displayed.

2. Enter the “Command for Trigger ON” and “Command for Trigger OFF” using the keyboard. These commands can be changed to any eight character string. Set these commands so that they conform to the trigger ON/OFF commands of the connected BL series. Normally, you should use the default settings (LON and LOFF) without changing them (as well as the BL series’ trigger ON/OFF commands).

Tips

➮

Trigger Input/Signal Type: p. 91

➮

Command for Trigger ON, Command for Trigger OFF: p. 72

39

Page 48

Chapter 3

N-400 Setup Procedure

PROTOCOL (when "Use PLC" is disabled) The PROTOCOL screen is used to set “Handshaking protocol” and various items to enable the "Use PLC".

3 1. When “Use PLC” is disabled, set the “Handshaking protocol” as shown above. 2. Select “Header” and “Delimiter” from the displayed items. You can change the read data format by setting these items. If you select “Custom”, the following screen appears. These items can be set to any five character string using the keyboard.

Note: When customizing the header and delimiter, you modify them based on the previously selection. When selecting "custom," if you currently use "CR", "0D" appears in hex and "." in ASCII (It is not a period but stands for "CR"). If "none" was used previously, nothing appears. 3. Normally, the ID number of the BL series that executed reading is not added to the read data in multi-head scan mode. However, you can set “Add ID” so that the ID number is added to the read data. 4. “Checksum” can be added to read data to check incompatible data translation between the N-400 and the host computer. Normally, this function is not necessary.

Tips

40

➮

Handshaking protocol: pp. 65 and 66

➮

Header, Delimiter: p. 61

➮

Checksum: pp.133 and 134

Page 49

Chapter 3

N-400 Setup Procedure

PROTOCOL (when "Use PLC" is enabled) To enable the "Use PLC", set each item as follows:

S018 The setting of the station number is not displayed when “KV Series” is selected. ▼

▼

The setting of the file register is displayed only when “MELSEC-A” is selected.

1. Set “Connected PLC”, “DM head address” and “Station No.”. To set “DM head address”, enter a value (0000 to 9900) using the keyboard. 2. To send a trigger signal to the BL series when the PLC link is enabled, set “PLC trigger area”. 3. 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.

Enter the block number (000 to 255) of the file register using the keyboard.

Tips

➮

PLC link: p. 100

➮

PLC trigger area: p. 106

➮

DM head address: p. 106

➮

File register: p. 101

41

3

Page 50

Chapter 3

N-400 Setup Procedure

ID SETUP The ID SETUP screen is used to register the ID numbers of the connected BL series. When you register the ID numbers in multidrop link mode, polling automatically starts when the N-400 starts up. To perform manual polling, skip the ID SETUP.

3

Tips

➮

Auto polling: p. 61

➮

Manual polling: p. 62

RS-232C The RS-232C screen is used to set the RS-232C communication parameters for the N-400. Set these parameters so that they conform to those of the host computer or PLC.

1. Setting “RTS/CTS” is disabled when “Use PLC” is selected.

Tips

42

➮

RTS/CTS: p. 66