PLC-integration via Ethernet/IP (Allen-Bradley) PLC-integration via Ethernet/IP (Allen-Bradley) | HBM

Demo configuration for PMX to read/write consistent data via Ethernet/IP to Allen-Bradley PLC CompaxtLogix LE24ER

This is an introduction on how to setup an Allen-Bradley-PLC which communicates via EtherNet with a PMX System.

Introduction

Required Hardware

In order to run the example given in this instruction the following hardware components are required:

  • 1x PMX System (incl.supply)
  • 1x Card PX01EP
  • 1x Allen-Bradely PLC – CompactLogix L24ER QBFC1B (incl. supply and an USB-connection cable)
  • 2x Ethernet cable
  • 1x Computer


Connection

PMX and the CompactLogix PLC are connected via the EtherNet-cable. Further the PMX System is connected to the computer with EtherNet, while the PLC is connected to the computer with the USB-Cable. Finally the PLC and the PMX are connected to their supplies.

Software

  • RSLogix5000
  • Webbrowser

Setup - Default Settings in the Webbrowser

Access the PMX in the browser (in Administrator Mode) and choose “Fieldbus” in the menu. Set an IP Address (Config.Control = STATIC).

Setup a project in RSLogix5000

Start a new project in RSLogix

The following overview will show up.

Rightkclick on Ethernet to add a „New Module“.

Choose the module type you want to setup (here: PMX) and select „Create“.

 

Assign the IP-Address according to the default settings with the PMX, further name the device.

The PMX is added to the overview.

Select Controller Tags and define the number of Calculated Channels under “PMX C” (here: 8).
PMX C = Configuration
PMX I = Inputs (from PMX)
PMX O = Outputs (to PMX)

Doubleclick on PMX in the structure for the settings.

A click on „Change…“ (see above) opens the window „Module Definition“, in which the Calculated Channels must be setup according to the defined number within the Controller Tags (here: 8).

Choose a communication path (Path: Communications \ Select Recent Path). Confirm your selection with „Go Online“.

After downloading to the device…

…the programm can be started by „Go online“.

The measured values are shown under Controller Tags \ PMX I (Input).

TIP

Further information regarding the channel-settings and the data-structure can be found in the PMX handbook starting at page 202 within the chapters 11.8.2 and 11.8.3.

Disclaimer

These examples are simply for the purpose of illustration. They cannot be used as the basis for any warranty or liability claims.