Connection example [Logix5550]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Allen Bradley > Connection Procedure (Ethernet) > ControlLogix >

Connection example [Logix5550]

overview

This is an example of setting up an Ethernet connection to Logix5550.

 

Model used

item

Model etc.

PLC

Logix5571

Communication Unit

1756-ENET

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

tool

BOOTP/DHCP Server 2.3


RSLinx Classic Lite Rev3.51.01 CPR 9 SR 5.1


Studio5000 Var21.00

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Set with tools

IP address

192.168.0.100



Port number

44818 (fixed)

PC settings

Unit Settings

IP address

192.168.0.1



Port number

Automatic

Folder and communication test settings

SlotNo

00

PortNo

01

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

hint

"BOOTP/DHCP Server" can be installed during the Studio5000 installation, but it can also be downloaded free of charge from the Rockwell Automation knowledge base.
The setting method is described in "ControlLogix System" UserManual.

 

 

PLC communication settings

The IP address and other settings for PLC are set using "Studio5000", "RSLinx", "BOOTP/DHCP", etc. If an IP address has already been set, it is not necessary to set it in BOOTP/DHCP. In addition, when using each tool, it is recommended that you "run as administrator".

 

1.Connect directly to the PLC Ethernet unit with a LAN cable and start BOOTP/DHCP.
 

2.After startup, a list of devices that do not have IP addresses set is displayed at regular intervals.
c_plc_0550
 

3.Double-click the target device to display the setting screen and set a temporary IP address.
Please identify the target device by its MAC address.
c_plc_0551
 

setting

Setting contents

IP Addres

192.168.0.100

 

4.If the settings are successful, the settings you made will be displayed in "Relation List".
c_plc_0552

 

5.Select the added setting and enable it from "Disable BOOTP/DHCP".
c_plc_0553
 

6.Issue a PING command from the command prompt to check that the IP address has been set correctly.

 

7.Start RSLinx
 

8.Click "Configure drivers"
c_plc_0554
 

9.From the connection driver selection screen, select "Ethernet/IP Driver". After selecting, click "Add New".
c_plc_0555

 

10.Set the name of the driver to be added.
Please specify any name according to your situation. Here, the default name is specified.
c_plc_0556
 

11.Select the Ethernet adapter on the computer you are using and click "OK".
c_plc_0557
 

12.When the added driver is displayed, close the dialog with the "Close" button.
c_plc_0558
 

13.Click on "RS Who"
c_plc_0559

 

14.After expanding the added adapter from the tree, select the Ethernet unit and select "Module Configuration" from the right-click menu.
c_plc_0560
 

15.Select the "Port Configuration" tab from the settings screen and perform the following settings.
c_plc_0561

 

setting

Setting contents

Network Configuration Type

Static

IP Address

192.168.0.100

Neteork Mask

255.255.255.0

*Please set other settings such as "Gateway Address" according to your environment.

 

16.After completing the settings, click "OK".

 

 

Tag settings on PLC side

To check the connection, set a tag on the PLC side. If you do not need to perform a tag communication test, the following settings are not necessary.

 

1.Start Studio 5000
 

2.Start a new project from the Create item "New Project"
c_plc_0562
 

3.Select the controller you want to use, and set the project name and save location. After setting, click "Next".
c_plc_0563
 

4.Configure other settings such as chassis according to your environment, and click "Finish" after completing the settings.
c_plc_0564
 

5.Select "Controller setting" - "Controller Tags" in the tree and select "New Tag..." from the right-click menu.
c_plc_0569
 

6.Set the following two tags for testing:
c_plc_0566  c_plc_0567

 

Name

DataType

TAG_REAL

REAL

TAG_STRING

STRING

 

7.After setting up the tag, select "Communications" - "Who Active" from the menu.
 

8.Select the CPU unit and click "Download" to reflect the settings.
c_plc_0568
 

 

Communication settings on the computer

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click "Application" - "Driver" in the tree and select Add Driver.
 

2.Select the following units from the displayed driver list and add them:
c_plc_0570
 
 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0571
 

4.Configure the following in "PC Settings"
c_plc_0572
 

setting

Setting contents

Computer IP address

192.168.0.1

Computer port number

Automatic

 

5.Set the following in "Unit side settings"
c_plc_0573

 

setting

Setting contents

Unit IP Address

192.168.0.100

Unit Port Number

44818 (fixed)

 

6.Select "Ping Test" to check if the ping goes through normally.
If you see a message like "Ping test is success~", the test was successful.
 

7.Perform a connection test to check the connection
c_plc_0574
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.
 

 

Tag settings on the computer

Set the tag to check the connection. If you do not need to perform a tag communication test, the following checks are not necessary.

 

1.Add a folder under a unit
c_plc_0575
 

 

2.Add the following tag:
 
■REAL type
c_plc_0576 c_plc_0577
 
■STRING type
c_plc_0578 c_plc_0579
 

Tag Name

Tag communication parameters

T01

TAG_REAL

T02

TAG_STRING

 

3.Start online communication
c_plc_0580

 

4.Verify that you can read and write tags

 
■ Server Application side

c_plc_0581
 
■Studio 5000 side

c_plc_0582