Buckles-Smith's Tech Blog

How to Backup an Allen-Bradley Logix Controller Program - Part II

How to Backup an Allen-Bradley Logix Controller Program - Part II

Your guide to backing-up your Logix Controller Program

Welcome to Part II of our "How to Backup an Allen-Bradley Logix Controller Program". In Part II, we will go over backing up your Logix Controller Program for your Ethernet/USB Controllers. If you are connecting to your device via a serial connection, go ahead and read Part I for detailed instructions on how to backup your program when connecting to a serial controller.

  1. Connecting to Controllers via Ethernet
  2. Connecting to Controllers via USB
  3. Establishing a RSLinx Connection – Ethernet
  4. Establishing a RSLinx Connection – USB
  5. Launching Studio 5000 and Backing-up your Logix Controller Program
  6. Launching RSLogix 5000 and Backing-up your Logix Controller Program
Models Covered Required Materials
Ethernet/USB Controllers Serial Cables
  • Standard Ethernet patch cable, such as 1585J-M8TBJM-1M9
  • Any standard USB A-B cable (USB Printer Cable)
Programing Software
  • CompactLogix: RSLogix/Studio 5000 Mini edition or better
  • ControlLogix: RSLogix/Studio 5000 Service edition or
  • RSLinx Classic Lite or better, included with RSLogix/Studio 5000

  • Windows-based PC
  1. Connecting to Controllers via Ethernet
    • Connect RJ45 cable to controller and Ethernet port on PC or Ethernet card in the Rack (ControlLogix, CompactLogix L4x).
    • PC must be on same network (IP Address range) as the controller. For example, if the IP address of the controller is 192.168.1.1 with a subnet mask of 255.255.255.0, the PC must have an IP address of 192.168.1.x, subnet mask of 255.255.255.0, where x = 0 to 254, and cannot be the same as the controller.
    • To change the IP address on your computer’s Ethernet port, follow this article:
      https://support.microsoft.com/en-us/help/15089/windows-change-tcp-ip-settings
    • CAUTION! If you set your IP address to one that is already being used on the network, you will cause IP address conflicts and may knock devices off the network.
    • If you do not know your controller’s IP address, see Step 2: Connecting to Controllers via USB below.
    • If you are connected via Ethernet, skip to Step 3: Establish RSLinx Connection - Ethernet below.

  2. Connecting to Controllers via USB
    • Connect the square end of the USB A-B cable to the USB port on the controller.
    • Insert the flat USB end of the cable into a USB port on your computer.
    • USB Success
    • You should see a message that your computer is installing USB hardware, followed by a message that the Rockwell USB CIP device was installed successfully.
    • You can now connect to the controller using RSLinx, either to obtain/change the unit’s IP address, or to upload the program in controller memory.

  3. Establish RSLinx Connection - Ethernet
    • Launch RSLinx Classic, Start > All Programs > Rockwell Software > RSLinx > RSLinx Classic.
    • Go to Communications > Configure Drivers.
    • Under Available Driver Types, select "EtherNet/IP Driver" and click the "add new" button.
    • Optionally, give the driver a name, or select "OK" to use the default name (typically AB_ETHIP-1).
    • The "Configure driver: AB_ETHIP-1" window will pop up.
    • Keep the selection "Windows Default", or you can select the description that matches your Ethernet card in your PC. Click OK.
    • Device Properties
    • In the Configure Drivers window, click the Close button.
    • If the RSWho window is not already open, open it by going to Communications > RS Who.
    • In RSWho, expand the AB_ETHIP-1 driver by clicking the plus symbol to the left.
    • If your settings are correct, the controller should appear in the right-hand side of the RSWho window.
    • Minimize RSLinx Classic.

  4. USB RSLinx

    Device Properties

    Device Properties
  5. Establish RSLinx Connection - USB
    • Launch RSLinx Classic, usually Start > All Programs > Rockwell Software > RSLinx > RSLinx Classic
    • If the RSWho (network browser) window is not open, go to Communications > RSWho.
    • In RSWho, expand the USB driver by clicking the plus (+) symbol to the left.
    • Your Controller should show up under the USB Driver.
    • From here, you can directly upload your program (skip to step 5), or find/change your controller’s IP Address.


      • To see which version of firmware is in the controller, right click on the controller under the USB driver and select "Device Properties".


      • To see or change the IP address of the controller, right click on the controller and select "Module Configuration".
        • From the "Module Configuration" Screen, select the "Port Configuration" tab. From here you can note down the IP address.

  6. Studio 5000 Launcher

    Studio 5000 Upload
  7. Launch Studio 5000 – usually in Start Menu (for firmware version 21 and up). If your controller is running firmware version 20 or below, skip to Step 6: Launch RSLogix 5000.
    • The Studio 5000 launcher page will open.
    • Under "Open", select "From Upload" – if you’re using version 29, see note.
      • NOTE: Version 29 does not have an open "From Upload". You must create a new project, go online with the controller, and upload the program from the controller.
    • The "Upload from Controller or Terminal" window will open.
    • Expand the EtherNet/IP driver (usually AB_ETHIP-1, Ethernet) by clicking the plus (+) sign next to it.
    • Navigate to the controller you wish to upgrade. If you have a rack or chassis-based network card, you will need to further expand it by clicking the plus sign next to it, until you can highlight the controller.
    • The upload button will become active, click Upload.
    • Studio 5000 Logix Designer will launch, and the "Connected to Upload" window will open.
    • Click the "Select File" button.
    • The "Enter New or Select Existing File" window will open. Browse to where you would like to save the file, enter a file name, and hit the "Select" button.
    • Logix will respond "Create Project File ‘xxxxx.ACD’ and upload?" Select Yes.
    • You have now uploaded and saved your controller program, and can safely disconnect from the controller.

  8. 6 - Create and upload

    7 - Run Mode
  9. Launch RSLogix 5000 - usually Start > All Programs > Rockwell Software > RSLogix 5000
    • Go to "Communications" and select "Who Active".
    • The RSLinx Who Active browser will pop up.
    • Expand the EtherNet/IP driver (usually AB_ETHIP-1, Ethernet) by clicking the plus (+) sign next to it.
    • Navigate to the controller you wish to upgrade. If you have a rack or chassis-based network card, you will need to further expand it by clicking the plus (+) sign next to it, until you can highlight the controller.
      • The upload button will become active, click Upload.
    • The "Connected to Upload" window will appear. RSLogix will ask you to find the corresponding offline project file. Let’s assume you are backing up the file because you do not have an offline file.
      • Click "Select File".
      • Type in a file name and select where to save the file.
      • RdSLogix will respond "Create project file ‘xxxxx.ACD’ and upload?".
      • Click yes.
    • The controller will upload the file to the PC, and save it in the directory you selected. You will now be online with the controller, which means you are looking at what the controller is doing in real time, and you can make on-line edits, change values, etc.
    • The software may ask if you want to change to "Run" mode, which is the mode where the controller is scanning its I/O, executing the program logic, and then enabling outputs and sending any data or messages.  Otherwise, you can change the mode by clicking the controller mode dropdown in the upper left corner.
    • Disconnect the programming cable and exit RSLogix 5000.

For more information:
ControlLogix User Manual
CompactLogix (Serial versions) User Manual
RSLinx Classic Getting Results Guide

Buckles-Smith's Tech Team provides automation, control & power application support for machine builders, end-users & contractors throughout the San Francisco Bay Area.
Print
Posted: May 4, 2017,
Categories: Automation Systems,
Comments: 1,
Chris Gerbing

Chris GerbingChris Gerbing

Chris Gerbing is one of the Tech Team’s Automation Application Engineers and Product Specialists - Chris can help answer your PLC, HMI, Software, and Ethernet questions.

Other posts by Chris Gerbing

1 comments on article "How to Backup an Allen-Bradley Logix Controller Program - Part II"

angel, 10/11/2018 12:09 PM

excelente guía rápida para conocer un bakup

Leave a comment

Name:
Email:
Comment:
Add comment