You are on page 1of 6

193073

SR-G100 + SR-LR1 AU TO - I D T ECH N I CA L G U I D E

Rockwell ControlLogix

Connection Guide: EtherNet/IP Communication


This manual explains how to use EtherNet/IP communication to connect
to the SR-G100 + SR-LR1 and the Rockwell ControlLogix Series.
This manual explains how to use EtherNet/IP communication to CHAPTER
CONFIGURING KEYENCE COMMUNICATION UNIT SR-LR1
connect to the SR-LR1 and the Rockwell ControlLogix Series.
3 SETTINGS
Use the AutoID Network Navigator to configure the communication settings
TABLE OF CONTENTS for the SR-LR1.

CHAPTER 1 EQUIPMENT USED

CHAPTER 2 CONNECTION METHODS

CHAPTER 3 CONFIGURING KEYENCE COMMUNICATION UNIT SR-LR1


1 Use an USB cable to connect the PC and
the SR-LR1.
SETTINGS PC
SR-LR1 (AutoID Network Navigator)
CHAPTER 4 CONFIGURING ROCKWELL
CONTROLLOGIX SERIES SETTINGS
CHAPTER 5 TRNSMITTING SETTINGS AND MONITORING READING DATA

USB Cable OP-51580


CHAPTER

1 EQUIPMENT USED

Prepare the following equipment.

ControlLogix (*1) USB Cable


2 Start AutoID Network Navigator.

OP-51580 (2 m) When you start AutoID Network Navigator, it will automatically search for
the SR-LR1 on the network.

Code Reader Communication unit


SR-G100 SR-LR1
When the connection completes successfully, the below image is
displayed.

(*1) Chassis is 1753-A4, Power unit is 1756-PA72/C, CPU unit is 1756-L61, EIP Master unit is
1756-EN2T.
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 SR-LR1 as shown below.

SR-LR1 ControlLogix Series

Ethernet cable

24V DC or
dedicated AC adapter
4 Click the “Start the setup wizard”, and set as shown below. 2 New module Registration

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


“New Module”.

5 Send configuration

Click the send settings button in the upper right of AutoID Network
Navigator to send the settings to the SR-LR1.

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

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].
f. Configuration Settings
3 Registration of SR-LR1 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)

This will populate the bit descriptions like the following.

Set the ETHERNET-MODULE parameters:


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 SR Series code reader.
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
CHAPTER When the sample code is read, the data read is stored in the “Result
TRNSMITTING SETTINGS AND
5 MONITORING READING DATA
Data” area as shown below.

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.

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]

Sample code

Checking the CPU status after download is completed. KEYENCE

2 Monitoring Reading data

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

Pull the SR-G100’s trigger to read a code.


Copyright (c) 2015 KEYENCE CORPORATION. All rights reserved. 193073E 1125-1 193073 Printed in Japan

You might also like