Infoplc Net CX AppNote 001

Embed Size (px)

Citation preview

  • 7/28/2019 Infoplc Net CX AppNote 001

    1/13

    Application Notes

    Gateway from Beckhoff to AB via DeviceNet

    CX-AppNote-001

    1.0

    4 October 2007

    This document explains how to connect a CX1500-B520 to an AB Controller and configure it for

    the first time. This document assumes the reader is familiar with the TwinCAT System Manager

    software and as well as the AB PLC software, RS Logix5000.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    2/13

    4 October 2007 Beckhoff Application Notes 2

    Gateway from Beckhoff to AB via DeviceNet

    Overview

    Sample Files

    1.DNET.tsm

    2.CX1500B520.acd

    3.CX1500-B520.eds

    www.infoPLC.net

    ftp://Customer:[email protected]/Application%20Notes/web/cx-appnote-001/DNet.tsmftp://Customer:[email protected]/Application%20Notes/web/cx-appnote-001/CX1500B520.acdftp://Customer:[email protected]/Application%20Notes/web/cx-appnote-001/CX1500-B520.edsftp://Customer:[email protected]/Application%20Notes/web/cx-appnote-001/CX1500-B520.edsftp://Customer:[email protected]/Application%20Notes/web/cx-appnote-001/CX1500B520.acdftp://Customer:[email protected]/Application%20Notes/web/cx-appnote-001/DNet.tsm
  • 7/28/2019 Infoplc Net CX AppNote 001

    3/13

    4 October 2007 Beckhoff Application Notes 3

    Gateway from Beckhoff to AB via DeviceNet

    Procedure

    Initialization

    This procedure is completed in two steps. The first step is to configure the CX. The sec-

    ond is to configure the AB DeviceNet scanner card along with RSLogix 5000. In this

    example one DeviceNet cable with an external terminating resistor built into the connec-

    tor is used.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    4/13

    4 October 2007 Beckhoff Application Notes 4

    Gateway from Beckhoff to AB via DeviceNet

    TwinCAT Configuration

    Open TwinCAT System Manager and open a new, blank session.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    5/13

    4 October 2007 Beckhoff Application Notes 5

    Gateway from Beckhoff to AB via DeviceNet

    Then, select "Choose Target", and "Search Ethernet".

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    6/13

    4 October 2007 Beckhoff Application Notes 6

    Gateway from Beckhoff to AB via DeviceNet

    Once "Search Ethernet" is selected, select "Broadcast Search". This sends out a broad-

    cast ADS search. All ADS devices on the network will reply. Select the CX, click "IP

    Address", then "Add Route". Type your username and password. (By default the WINce

    username is "Administrator" and the password is left blank. The WINxpe username is

    "Administrator" and the password is: 1.) Click "Close", select the device, and click "OK".

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    7/13

    4 October 2007 Beckhoff Application Notes 7

    Gateway from Beckhoff to AB via DeviceNet

    Now scan in the IO. Right click on "I/O Devices" and choose "Scan Devices".

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    8/13

    4 October 2007 Beckhoff Application Notes 8

    Gateway from Beckhoff to AB via DeviceNet

    You will receive the following message: Hint: Not all devices will be found automatically.

    Click "OK". Now choose the devices you wish to scan into the System Manager. This

    exercise will only use the CX1500-B520 and the local CX1100. Click "OK".

    Choose "Yes" to scan for boxes, then choose "OK" for the selected Baudrate.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    9/13

    4 October 2007 Beckhoff Application Notes 9

    Gateway from Beckhoff to AB via DeviceNet

    After scanning devices the System Manager should look similar to the one below. The

    CX1500-B520 will have 8 bytes in and 8 bytes out. This is important to know because

    later it will be scanned with the Rockwell controller.

    Activate this configuration and put this system into run mode.

    TwinCAT setup is now complete.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    10/13

    4 October 2007 Beckhoff Application Notes 10

    Gateway from Beckhoff to AB via DeviceNet

    Configuration of the Rockwell Devices

    Open a new instance of RSNetworx and scan the network. Be sure the correct EDS file

    has been downloaded.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    11/13

    4 October 2007 Beckhoff Application Notes 11

    Gateway from Beckhoff to AB via DeviceNet

    Right click the unknown device and register it.

    www.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    12/13

    4 October 2007 Beckhoff Application Notes 12

    Gateway from Beckhoff to AB via DeviceNetwww.infoPLC.net

  • 7/28/2019 Infoplc Net CX AppNote 001

    13/13

    4 October 2007 Beckhoff Application Notes 13

    Gateway from Beckhoff to AB via DeviceNet

    Right click the scanner card, click "properties", and "Download".

    Save this file and open a new RSLogix 5000 session. Add a DeviceNet card and point it

    to the RSNetworx file you just saved. Apply and go online.

    www.infoPLC.net