Sunteți pe pagina 1din 13

www.infoPLC.

net

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.

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

Overview
Sample Files

1.DNET.tsm 2.CX1500B520.acd 3.CX1500-B520.eds

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

Procedure
Initialization

This procedure is completed in two steps. The first step is to configure the CX. The second 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 connector is used.

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

TwinCAT Configuration

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

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

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

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

Once "Search Ethernet" is selected, select "Broadcast Search". This sends out a broadcast 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".

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

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

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

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.

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

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.

4 October 2007

Beckhoff Application Notes

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

Configuration of the Rockwell Devices

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

4 October 2007

Beckhoff Application Notes

10

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

Right click the unknown device and register it.

4 October 2007

Beckhoff Application Notes

11

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

4 October 2007

Beckhoff Application Notes

12

Gateway from Beckhoff to AB via DeviceNet

www.infoPLC.net

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.

4 October 2007

Beckhoff Application Notes

13

S-ar putea să vă placă și