You are on page 1of 7

32324 - PanelView Plus Communications with MicroLogix

What is the procedure to set up communications between a PanelView Plus and a MicroLogix? This document contains a step-by-step guide for setting up a PanelView Plus and MicroLogix application, and includes:

Example projects for your PanelView Plus and your MicroLogix.

Summary: instructions on how to setup communications between a PanelView Plus and a MicroLogix. Uses a PanelView Plus 1000 and a MicroLogix 1500 LRP.

How to Communicate between a PanelView Plus and a MicroLogix This technote details how to communicate between a PanelView Plus 1000 and a MicroLogix 1500 LRP. High Level Steps This procedure can be broken down into the following high level steps.

Set up your hardware Set up your MicroLogix Set up your PanelView Plus

Each of these steps is described in a separate topic below. Set Up Your Hardware This is a recommended configuration of the system, and the one used in this technote. The parts used in this configuration are:

2711P-B10C4B2 PanelView Plus 1000 1764-LRP MicroLogix 1500 LRP PC with one Ethernet and one COMM port Crossover Ethernet cable 2711-NC13 Straight-Through RS-232 Serial Cable* 1761-CBL-PM02 PC to MicroLogix Cable

* Please note that a Straight-Through serial cable must be used to communicate with the COMM port of a PanelView Plus. This is because the PanelView Plus is considered a Data Communication Equipment (DCE) device.

If you want to connect your PanelView Plus to the 8 pin mini DIN port (channel 0) found on any of the MicroLogix, then you can use the cable 2711-NC21, which is an 8 pin mini DIN to 9 pin D-Shell straight-through cable. This technote uses a MicroLogix 1500 LRP because the two COMM ports of the MicroLogix means the user can go online to the MicroLogix while it is still connected to the PanelView Plus. For more detailed information on different cabling connections for a MicroLogix and a PanelView Plus, please see technote 18955, titled PanelView, MicroLogix & SLC RS232 Cables.

Set Up Your MicroLogix RSLinx: 1. 2. Open RSLinx. Go to the following screen:

Communications -> Configure Drivers 3. 4. 5. 6. Stop and delete all of your DF1 drivers. From the available drivers, select RS232 DF1 devices, "Add New" Press the Auto-Configure button. Press OK.

You now should have a link to your MicroLogix. RSLogix 500: 1. 2. 3. Open RSLogix 500. Open the .RSS project you wish to use for your MicroLogix. Go to the following dialog:

Comms -> Who Active Go Online 4. 5. 6. 7. 8. Select the MicroLogix you wish to download to. Download your program. Go online. Leaving the MicroLogix in Remote Run Mode, close RSLogix 500. In RSLinx, go to the following location:

Communications -> Configure Drivers 9. Stop the DF1 driver. This allows RSView Studio to communicate with the MicroLogix via its own, built in RSLinx Enterprise. Set Up Your PanelView Plus PanelView: 1. The PanelView Plus needs an IP address in the same subnet as the PC.

To obtain your PC's IP address, go to the following location: Start -> Run 2. 3. 4. Press OK. Type cmd and press OK. At the command prompt, type ipconfig and press ENTER.

5. 6. 7.

Make a note of your IP address and subnet mask. On your PanelView Plus, go to the main configuration screen. Go to the following location:

Terminal Settings -> Networks and Communications -> Network Connections -> Network Adaptors -> Built in Ethernet Controller. 8. Press the IP Address Button. 9. You will enter your PC's IP Address that you located in step 5 above, EXCEPT for the last digit. If there is any other device on the network, make sure it has a different IP address to these by changing its final digit to one that is not already in use. 10. For Subnet Mask, do the same procedure as you did in step 9, using Subnet Mask you located in step 5. 11. For the Gateway, leave the default (0.0.0.0)/ 12. To apply the changes to your IP address and Subnet Mask, reset your PanelView Plus. RSView Studio: Open the RSView ME project you wish to use, or create a new one. 1. First, set up communications.

In the Application Explorer, double-click on the following: RSLinx Enterprise -> Communication setup. 2. 3. 4. a. b. 5. 6. 7. 8. 9. a. b. Plus. If you see both, skip to step 10. c. If not, for either device, do the following: Select the Create a New Configuration option. Delete any drivers except the Ethernet driver. Under the Local Tab, create a Serial DF1 driver by doing the following: Right-click on the name of your computer. Select Add Driver. Select the Comm Port you're using. Under the Device field, select SLC or MicroLogix. Select Auto-Configuration. Press OK. Verify as follows:: Open the new driver. You should see our MicroLogix Device. Under the Ethernet driver, you should be able to see the PanelView

Make sure that RSLinx has still stopped the driver. Check the cabling. Check that the devices have power. Recheck your IP settings. 10. The Local tab is now configured. That means it has the settings for connecting the PC to the other devices. Now you need to configure the Target tab, which has settings for connecting the PanelView Plus to its devices. On the Target tab, right-click on the Computer icon. 11. Select Add Driver.

Use the Serial DF1 driver again. 12. 13. The device is again a SLC or MicroLogix. Use Auto-Configure. Unlike the Local tab, on the Target tab, you must add devices yourself.

Right-click on the DF1 driver. 14. 15. Select Add device. The MicroLogix is located under the following:

PCCC DH485 devices -> SLC DH485 Devices -> 1761-xxxx xA MicroLogix 1500 LRP, MicroLogix 1500 LRP You can call it whatever you want, but unless you changed the node number of the MicroLogix, the node number will still be 1. 16. While still in the Communication setup, you must create shortcuts so the program knows how to access its variables. To do this, complete the following: a. Click the Add button. This adds a shortcut for our application which we can link to different devices. General practice is to give it the same name as you named your processor in RSLogix 500. b. With the new shortcut selected, in the Target tab, also select the MicroLogix. c. well. d. e. f. 17. 18. Select your shortcut name and your MicroLogix at the same time. Click Apply. Click OK. In the Application Explorer, right-click on Displays. Select New. To save the link, press the Apply button. Repeat this for the Local tab as

19. For the MicroLogix application above, the addresses the PanelView wants to communicate with are:

o o o o

B9:0/0 N7:0 N7:1 N7:2 Momentary Push Button Two Numeric Input Enables One Numeric Display One Shutdown Button

Create the following:


Refer to the appropriate topic below for additional information. Create a Mementary Push Button 1. 2. 3. 4. a. b. Double-click the Momentary Push Button. Select the Connections Tab. Click the ellipse () next to Value. If PANELTST isn't available: From the list of Folders , right-click and select Refresh. From the list select the following:

PANELTST -> Online -> B9 -> B9:0 This isn't the exact bit address, so it needs to be edited. Continue to c. c. d. Hit OK. Double-click on the Tag/Expression info for Value.

e. To the end of the bit address, add /0, resulting in an address similar to the following example: {::[PANELTST]B9:0/0} If you also want to implement this feature for the Indicator connection, you can repeat this procedure. 5. Using a process similar to that described in step 20 of the previous topic, titled RSView Studio, Add Connections to N7:0 and N7:1 for the two Numeric Input Enables, and a connection to N7:2 for the Numeric Display. To display the Numeric value on the Numeric Inputs, under the Label tab, select the following: insert variable -> numeric -> ellipse () -> N7:0 -> OK 6. To test your screen, click the Play button. Note that the Shutdown button shouldn't do anything in Test mode. 7. Save the new display as Main.

8. a. b. c.

In the Application Explorer, complete the following: Double-click Startup. Select Initial Graphic. From the enabled dropdown list, select Main. 9. From the Menu Bar, select the following:

Application -> Create Runtime Application Save it as whatever you like. 10. a. b. c. 11. Hit the Transfer Utility Icon, then do the following: Select the file you want to download. From the bottom window, from the Ethernet Driver, select the PanelView. Hit the Download Button. On the PanelView, load the application and run it.

You might also like