You are on page 1of 7

058127

N-L20
AUTO - ID TECHNICAL GUIDE

Rockwell ControlLogix
Connection Guide: EtherNet/IP Communication
This manual explains how to use EtherNet/IP communication to connect
to the N-L20 and the Rockwell ControlLogix Series.
This manual explains how to use EtherNet/IP communication to Chapter
CONFIGURING KEYENCE COMMUNICATION
connect to the N-L20 and the Rockwell ControlLogix Series.
3 UNIT N-L20 SETTINGS
Use the AutoID Network Navigator to configure the communication settings
TABLE OF CONTENTS
for the N-L20.
Chapter 1 EQUIPMENT USED
Chapter 2 CONNECTION METHODS
Chapter 3 CONFIGURING KEYENCE COMMUNICATION UNIT N-L20
SETTINGS 1 Use an USB cable to connect the PC and
the N-L20.
Chapter 4 CONNECTING AND SETTING UP THE CODE READER
PC
Chapter 5 CONFIGURING ROCKWELL CONTROLLOGIX SERIES N-L20 (AutoID Network Navigator)

SETTINGS
Chapter 6 TRNSMITTING SETTINGS AND MONITORING READING
DATA
USB Cable OP-51580

Chapter

1 EQUIPMENT USED

Prepare the following equipment.


2 Start AutoID Network Navigator.
When you start AutoID Network Navigator, it will automatically search for
the N-L20 on the network.

ControlLogix (*1) USB Cable


OP-51580 (2 m)

When the connection completes successfully, the below image is


displayed.
N-L20 SR-700 Series BL-1300 Series

USB cable
OP-51580 (2 m)
General purpose
Ethernet cable
3 Change the settings to those of the desired fixed IP
address.

[ETHERNET]

Chapter

2 CONNECTION METHODS

OVERALL CONNECTION DIAGRAM


Connect the ControlLogix and the N-L20 as shown below.

N-L20 ControlLogix Series

Ethernet cable

2
When the message below is shown the connection
4 Click the “Start the setup wizard”, and set as shown
below. 2 was successful. Configure the SR-700 settings.
* The read screen cannot be displayed when settings are
configured via N-L20.

■ For the BL-1300 Series


Align the N-L20 communication settings with the BL-1300.

Align the N-L20 head RS-232C settings (settings list)


1 with the BL-1300 initial communication settings, and
send the settings.

5 Send configuration

Click the send settings button in the upper right of AutoID Network
Navigator to send the settings to the N-L20.

Chapter
CONNECTING AND SETTING UP THE CODE
4 READER
Connect N-L20 and the BL-1300 Series. Press the

■ For the SR-700 Series


2 head connection button and select BL-1300.

Connect N-L20 and the SR-700 Series. Press the head


1 connection button and select SR-700.

3
3 When the message below is shown the connection
was successful. Configure the BL-1300 settings. 2 New module Registration

* AGC cannot be lifted and tuning cannot be performed using Right-click [Controller Organizer] ➞ [I/O Configuration], and select
AutoID Network Navigator. To perform tuning, use N-UB or N-R2 “New Module”.
and AutoID Navigator.

Chapter
CONFIGURING ROCKWELL
5 CONTROLLOGIX SERIES SETTINGS
Select module opens, then expand the tree and select the unit to register.

1 Use RSLogix5000 software to create a new project

Connect the PC installed with RSLogix5000 and 1756-EN2T with USB


cable. Start RSLogix5000, and the select [File] ➞ [New] to create a new
project. Configure the new project PLC model settings, set as shown
below.

The new module window opens. Select [Name] and [IP address]
and [Slot].

4
f. Configuration Settings
3 Registration of N-L20 to RSLogix5000 Assembly instance is 1(fixed) and Size is 0(fixed).

Right-click [Controller Organizer] ➞ [I/O Configuration]


➞ [1756 Backplane] ➞ [1756-EN2T], and select “New Module”.

4 How to load TAG Description

You can download the Tag Description CSV file on the WEB
(barcodereader.com). Once you receive this just save it to your computer,
then you will be ready to load it into your Allen-Bradley software. To do
this go to [Tool] ➞ [IMPORT] ➞ [Tags and Logic Comments] and choose
the file you were provided.

Once the new module is created click the [+] next to Communication and
select General Ethernet Module.

(ETHERNET-MODULE)

Set the ETHERNET-MODULE parameters: This will populate the bit descriptions like the following.

a. Name
Optional Setting, use “SR” if using Keyence Tag Description File (CSV file).
b. Comm Format
Optional Setting, choose from Data-INT(integer- 2Bytes),
Data-SINT(Single integer- 1Byte), or Data-DINT(Double integer- 4Bytes).
c. IP Address
IP address of the N-L20.
d. Input and Output Assembly Instance
100 and 101 respectively (fixed)
e. Input and Output Size
Assembly size, Input and Output should be the SAME for both
Suggested Sizes:
1. DINT 100, 100
2. INT 200, 200
3. SINT 400, 400
5
Chapter
TRNSMITTING SETTINGS AND MONITORING
6 READING DATA

1 Transfer settings to CPU unit

Set the CPU mode key of the CPU unit to “REM” (center position).
Select [Communications] ➞ [Who Active] from the RSLogix5000 window.

When the sample code is read, the data read is stored in the “Result
Data” area as shown below.
In this example, select [USB] ➞ [1756-EN2T] ➞ [Backplane]
➞ [1756-L61], and execute[Download].

Change the data stalye Decimal to ASCII.

[Success to read the sample code]

[Fail to read the sample code]

Checking the CPU status after download is completed.

2 Monitoring Reading data Sample code

In [Controller Organizer], double click [Controller Tags].

Switch “SR:O.Data[0].8” (Read Request) bit from 0(OFF) to 1(ON) to start


reading. To complete reading without reading the code, switch “SR:O.
Data[0].8” bit from 1 to 0.
KEYENCE

6
„ BarcodeReader.com
http://www.barcodereader.com/
You can download technical documents useful for BL/SR/HR introduction
and operation.
Download the latest manual from this Web page.

Copyright (c) 2015 KEYENCE CORPORATION. All rights reserved. 058127E 1086-2 058127 Printed in Japan

You might also like