Ethernet IP via 1761 NET ENI to SLC503

  • Upload
    benito1

  • View
    294

  • Download
    7

Embed Size (px)

Citation preview

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    1/21

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

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    2/21

    Introduction:

    This document is a brief introduction to the configuration of the QuickPanel View toan Allen Bradley SLC 5/03 DH485 port.

    For the AB Programming, you will need:1 copy of Proficy Machine Edition v5.7 SP 11 QuickPanel View1 - copy of RSLogix 500 programming software1 - copy of RSLinx Lite industrial communications software1 - 1747-CP3, SER A rs232 programming cable1 SLC 5/03 CPU, SLC 500 rack and a SLC 500 power supply1 1761-CBL-PM021 - 1761-NET-ENI1 copy of ENI/ENIW Utility1 either a crossover Ethernet cable or a standard Ethernet cable connected through

    a Hub

    References:GFK-20751761-um004_-en-p.pdf1747-in062_-mu-p.pdf

    Proficy Machine Edition v5.7 SP 1 online HelpSample project and screen shots created with Proficy Machine Edition v5.7 SP1Screen shots from RSLogix 500 are from v5.50.00Screen shots from RSLinx are from v2.40.01

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    3/21

    Setting up the Allen Bradley SLC 5/03

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

    Once the RSLogix is up and running you will see 2 newicons 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 selectConfigure Drivers.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    4/21

    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-upwindow will appear. You will beprompted 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 communicationport and Channel 0 9-pin port on the processor. Take note of the port you areconnected to.

    Set your communicationport with the dropdown.

    Left click on Auto-Configure.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    5/21

    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 onthe OK button.

    You will see the Configure Drivers screen once again. Note that there is now a driverand the status is Running.

    Click Close. And then close the RSLinx Gateway screen.

    Start the RSLogix 500 software.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    6/21

    Go to File and choose New.

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

    Double click on the Project Tree itemnamed IO Configuration.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    7/21

    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 namedChannel Configuration.

    Please note that there aretwo tabs that we need tolook at in this ChannelConfiguration window.

    QOn the Chan. 0 - Systemtab, ensure that the settingshere reflect the settingnoted

    in the Configure RS-232DF1 Devices screen.

    Click on the OK button.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    8/21

    Next, go to the Comms menu and choose System Comms

    Find yourprocessor in

    the list andchoose todownload.

    RSLogix will prompt you to save the file.

    If (as mentioned earlier) you dont

    have the correct processorconfigured you will see thefollowing window. Click on OK.

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

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    9/21

    You will know if you are online by the RemotePROG highlighted and the presence of a spinningyellow ladder.

    Go Offline and unplug the 1747-CP3, SER A rs-232 programming cable.

    This concludes configuration of the AB SLC 5/03 PLC.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    10/21

    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 andsubnet 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 dothis you will need a 1761-CBL-PM02. Connect the 8 pin din to the port 2 on the ENIand 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 beusing and a baud rate.

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

    Once we are completed this, we are ready to save the configuration to the ENI.

    Notice that there are separate memory areas to save theconfiguration to: ENI/RAM & ENI/ROM.

    Ram is for temporary configurations, ROM is for a permanentconfiguration.

    Make your selection to load the configuration.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    11/21

    While loading you will see the 2 following screens:

    If you have chosen a incompatible IP or subnet, you will have a flashing Fault LEDon the 1761-NET-ENI unit.

    At this point you should be able to connect an Ethernet cable is going through a hubor 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 the1761-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 selectConfigure Drivers.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    12/21

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

    An Add New RSLinx Driver pop-upwindow will appear. You will be promptedto name the new driver. Then click OK.

    Enter in the IP of the ENIconvertor and click on OK.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    13/21

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

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

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

    You will see Ethernet device. Choose Online.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    14/21

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

    This document assumes that you have already started a View project with an HMIcomponent added.

    Navigate to the PLC Access Drivers, right click on View OPC Drivers and add aNew Channel named ControlLogix Ethernet.

    Give the New Channel a name and click Next.

    hoose Default, click Next.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    15/21

    Make a choice for Optimization Method and click Next.

    You are presented with theNew Channel Summary.Click on Finish.

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

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    16/21

    Give your New Device a name and click Next.

    You can choose fromControlLogix 5500,CompactLogix 5300,FlexLogix 5400, Softlogix5800, DH+ Gateway PLC-5,DH+ Gateway SLC 5/04,ControlNet Gateway PLC-5,ENI ControLogix 5500, ENICompactLogix 5300, ENI

    FlexLogix 5400, ENIMicroLogix, ENI SLC 500Fixed I/O, ENI SLC 500Modular I/O, ENI PLC 5,MicroLogix 1100.

    Please choose ENI SLC 500 Fixed I/O for Via 1761-NET-ENI and click Next.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    17/21

    The Device ID is used tospecify the IP address of the1761-NET-ENI. Since thedevice supports only FullDuplex DF1, no node ID isrequired. Click on Next

    Choose yourcommunication timingparameters and click Next.

    Default values work fine forthis application.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    18/21

    Summary of the driversettings are displayed. Leftclick on Finish

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

    click on the elipse.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    19/21

    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

    on the elipse.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    20/21

    Variable Addressing

    The variables to address are the variables available in the data files in the SLC 5/-3processor.

    Please note that there are limited variables configured by default in the Allen Bradleyprocessors.O0 - OUTPUT 0 elements by defaultI1 INPUT 0 elements by defaultS2 STATUS 82 read only elements by defaultB3 - INTEGER 0 elements by defaultT4 TIMER 1 element by defaultC5 COUNTER 1 element by defaultR6 CONTROL 1 element by defaultN7 - INTEGER 1 element by defaultThis 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 AllenBradley Processor, you will need to edit existing Data Tables and/or create newones.

    In my example I set up 8 different variables.

    Name DataType DataSource Device IOAddress

    B3_0_0 BOOL PLC Access Device1 B3:0/0

    C5_0 LREAL PLC Access Device1 C5:0.PRE

    N7_0 LREAL PLC Access Device1 N7:0

    R6_0 DINT PLC Access Device1 R6:0

    S2_System_Clock_40 LREAL PLC Access Device1 S2:40

    S2_System_Clock_41 LREAL PLC Access Device1 S2:41

    S2_System_Clock_42 LREAL PLC Access Device1 S2:42

    T4_0_PRESET DINT PLC Access Device1 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.

  • 8/10/2019 Ethernet IP via 1761 NET ENI to SLC503

    21/21

    Connection Diagram

    Tyler HolmGE Fanuc Intelligent PlatformsSenior Customer Support Professional1-800-gefanucVisit our Knowledgebase @ www.gefanuc.com/support