Sie sind auf Seite 1von 21

Setting up Ethernet IP via 1761 NET ENI Connection to a SLC 5_03

Channel 0

Introduction:
This document is a brief introduction to the configuration of the QuickPanel View to
an Allen Bradley SLC 5/03 DH485 port.
For the AB Programming, you will need:
1 copy of Proficy Machine Edition v5.7 SP 1
1 QuickPanel View
1 - copy of RSLogix 500 programming software
1 - copy of RSLinx Lite industrial communications software
1 - 1747-CP3, SER A rs232 programming cable
1 SLC 5/03 CPU, SLC 500 rack and a SLC 500 power supply
1 1761-CBL-PM02
1 - 1761-NET-ENI
1 copy of ENI/ENIW Utility
1 either a crossover Ethernet cable or a standard Ethernet cable connected through
a Hub

References:
GFK-2075
1761-um004_-en-p.pdf
1747-in062_-mu-p.pdf
Proficy Machine Edition v5.7 SP 1 online Help
Sample project and screen shots created with Proficy Machine Edition v5.7 SP1
Screen shots from RSLogix 500 are from v5.50.00
Screen shots from RSLinx are from v2.40.01

Setting up the Allen Bradley SLC 5/03


Upon boot up of your PC or upon going to
Start-> Programs-> Rockwell Software->
RSLinx-> RSLinx

Once the RSLogix is up and running you will see 2 new


icons in your system tray.
Left click on the RSLinx Communication Service system tray Icon

Once the RSLinx Gateway screen is up, go to the Communications menu and select
Configure Drivers.

To connect to the processor via DF1 Channel 0, we need to set up a driver for this.
Use the drop down menu and select the RS-232 DF1 devices click on Add New.

An Add New RSLinx Driver pop-up


window will appear. You will be
prompted to name the new driver.
Then click OK.

Upon clicking OK: a Configure RS-232 DF1 Devices screen will appear. Ensure that
your 1747-CP3, SER A - rs232 programming cable is plugged into a communication
port and Channel 0 9-pin port on the processor. Take note of the port you are
connected to.

Set your communication


port with the dropdown.

Left click on AutoConfigure.

Once the Auto-Configure is configured you will see:

If there is a failure to Auto-Configure you will see:

Once you have a successful Auto-Configure, take note of the settings and click on
the OK button.
You will see the Configure Drivers screen once again. Note that there is now a driver
and the status is Running.

Click Close. And then close the RSLinx Gateway screen.


Start the RSLogix 500 software.

Go to File and choose New.

A Select Processor Type screen will appear. Choose a 5/03 CPU and press OK. Do
not worry if you dont have the exact processor type, the download will correct this
for you.

Double click on the Project Tree item


named IO Configuration.

Ensure that the correct rack is selected and any I/O cards you have are inserted.
Close the IO Configuration screen.

Double click on the Project Tree item named


Channel Configuration.
Please note that there are
two tabs that we need to
look at in this Channel
Configuration window.
Q
On the Chan. 0 - System
tab, ensure that the settings
here reflect the setting
noted
in the Configure RS-232
DF1 Devices screen.

Click on the OK button.

Next, go to the Comms menu and choose System Comms

Find your
processor in
the list and
choose to
download.

RSLogix will prompt you to save the file.


If (as mentioned earlier) you dont
have the correct processor
configured you will see the
following window. Click on OK.

You will be asked if you want to go online. Please click


Yes.

You will know if you are online by the Remote


PROG highlighted and the presence of a spinning
yellow ladder.
Go Offline and unplug the 1747-CP3, SER A rs-232 programming cable.
This concludes configuration of the AB SLC 5/03 PLC.

Configure the 1761-NET-ENI with Allen Bradleys ENI/ENIW Utility


Next we will configure the 1761-NET-ENI with Allen Bradleys ENI/ENIW Utility,
connect the SLC 5/03 and go online. In our example we must just set the IP and
subnet that you have determined to use.
To set the IP addresses etc. to the 1761-NET-ENI you will need to do this serially. To do
this you will need a 1761-CBL-PM02. Connect the 8 pin din to the port 2 on the ENI
and the 9 pin female D-shell to your computer com port.
Choose the Utility Settings tab, select the COM port on you PC that the utility will be
using and a baud rate.

In the ENI IP Addr tab, ensure that select the correct ENI Series from the
dropdown. Ensure to fill in the ENI IP Address, Subnet Mask and Gateway if
needed.

Once we are completed this, we are ready to save the configuration to the ENI.
Notice that there are separate memory areas to save the
configuration to: ENI/RAM & ENI/ROM.
Ram is for temporary configurations, ROM is for a permanent
configuration.
Make your selection to load the configuration.

While loading you will see the 2 following screens:

If you have chosen a incompatible IP or subnet, you will have a flashing Fault LED
on the 1761-NET-ENI unit.
At this point you should be able to connect an Ethernet cable is going through a hub
or a cross over cable is you are connecting directly from your PC to ENI.
Try to ping the IP address assigned to the ENI. You should get a reply.

.
Connect the 1761-CBL-PM02 from the SLC 5/03 Channel 0 to your 8 pin din on the
1761-NET-ENI.
Left click on the RSLinx Communication Service system tray Icon

Once the RSLinx Gateway screen is up, go to the Communications menu and select
Configure Drivers.

Use the drop down menu and select the Ethernet devices click on Add New.

An Add New RSLinx Driver pop-up


window will appear. You will be prompted
to name the new driver. Then click OK.

Enter in the IP of the ENI


convertor and click on OK.

To verify that the network is in fact seeing the SLC 5/03, open the
RSLinx Gateway.

RSWho with the

A node should appear indicating that the SLC 5/03 can be seen via the IP you set on
the ENI.

Now in RSLogix 500, go to the Comms menu and choose


System Comms

You will see Ethernet device. Choose Online.

Setting up Ethernet IP via 1761 NET ENI Connection to a SLC 5_03


Channel 0
This document assumes that you have already started a View project with an HMI
component added.
Navigate to the PLC Access Drivers, right click on View OPC Drivers and add a
New Channel named ControlLogix Ethernet.

Give the New Channel a name and click Next.

hoose Default, click Next.

Make a choice for Optimization Method and click Next.

You are presented with the


New Channel Summary.
Click on Finish.

Once you see your New Channel appear under your View OPC Drivers, right click
on the Channel and choose a New Device.

Give your New Device a name and click Next.

You can choose from


ControlLogix 5500,
CompactLogix 5300,
FlexLogix 5400, Softlogix
5800, DH+ Gateway PLC-5,
DH+ Gateway SLC 5/04,
ControlNet Gateway PLC-5,
ENI ControLogix 5500, ENI
CompactLogix 5300, ENI
FlexLogix 5400, ENI
MicroLogix, ENI SLC 500
Fixed I/O, ENI SLC 500
Modular I/O, ENI PLC 5,
MicroLogix 1100.
Please choose ENI SLC 500 Fixed I/O for Via 1761-NET-ENI and click Next.

The Device ID is used to


specify the IP address of the
1761-NET-ENI. Since the
device supports only Full
Duplex DF1, no node ID is
required. Click on Next

Choose your
communication timing
parameters and click Next.

Default values work fine for


this application.

Summary of the driver


settings are displayed. Left
click on Finish

Note that the New Channel properties can still be accessed. Right click on Channel
1, choose Properties. In the Inspector, left click on the Click Here and then left
click on the elipse.

Note that the New Device properties can still be accessed. Right click on Device 1,
choose Properties. In the Inspector, left click on the Click Here and then left click
elipse.
on the

Variable Addressing
The variables to address are the variables available in the data files in the SLC 5/-3
processor.
Please note that there are limited variables configured by default in the Allen Bradley
processors.
O0 - OUTPUT 0 elements by default
I1 INPUT 0 elements by default
S2 STATUS 82 read only elements by default
B3 - INTEGER 0 elements by default
T4 TIMER 1 element by default
C5 COUNTER 1 element by default
R6 CONTROL 1 element by default
N7 - INTEGER 1 element by default
This means that you are very limited to what may be addressed with a default
configuration Allen Bradley processor.
If you have variables in the QuickPanel View Project that do not exist in the Allen
Bradley Processor, you will need to edit existing Data Tables and/or create new
ones.
In my example I set up 8 different variables.
Name
DataType DataSource
B3_0_0
BOOL PLC Access
C5_0
LREAL PLC Access
N7_0
LREAL PLC Access
R6_0
DINT PLC Access
S2_System_Clock_40 LREAL PLC Access
S2_System_Clock_41 LREAL PLC Access
S2_System_Clock_42 LREAL PLC Access
T4_0_PRESET
DINT PLC Access

Device
Device1
Device1
Device1
Device1
Device1
Device1
Device1
Device1

IOAddress
B3:0/0
C5:0.PRE
N7:0
R6:0
S2:40
S2:41
S2:42
T4:0.PRE

For more information to on addressing to sub-elements for the QuickPanel View,


please refer to the Help files in Machine Edition.

Connection Diagram

Tyler Holm
GE Fanuc Intelligent Platforms
Senior Customer Support Professional
1-800-gefanuc
Visit our Knowledgebase @ www.gefanuc.com/support

Das könnte Ihnen auch gefallen