32324 - PanelView Plus Communications with MicroLogix
32324 - PanelView Plus Communications with MicroLogix
32324 - PanelView Plus Communications with MicroLogix
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>32324</strong> - <strong>PanelView</strong> <strong>Plus</strong> <strong>Communications</strong> <strong>with</strong> <strong>MicroLogix</strong><br />
What is the procedure to set up communications between a <strong>PanelView</strong> <strong>Plus</strong> and a<br />
<strong>MicroLogix</strong>?<br />
This document contains a step-by-step guide for setting up a <strong>PanelView</strong> <strong>Plus</strong> and<br />
<strong>MicroLogix</strong> application, and includes:<br />
• Example projects for your <strong>PanelView</strong> <strong>Plus</strong> and your <strong>MicroLogix</strong>.<br />
• Summary: instructions on how to setup communications between a<br />
<strong>PanelView</strong> <strong>Plus</strong> and a <strong>MicroLogix</strong>.<br />
• Uses a <strong>PanelView</strong> <strong>Plus</strong> 1000 and a <strong>MicroLogix</strong> 1500 LRP.<br />
How to Communicate between a <strong>PanelView</strong> <strong>Plus</strong> and a <strong>MicroLogix</strong><br />
This technote details how to communicate between a <strong>PanelView</strong> <strong>Plus</strong> 1000 and a<br />
<strong>MicroLogix</strong> 1500 LRP.<br />
High Level Steps<br />
This procedure can be broken down into the following high level steps.<br />
• Set up your hardware<br />
• Set up your <strong>MicroLogix</strong><br />
• Set up your <strong>PanelView</strong> <strong>Plus</strong><br />
Each of these steps is described in a separate topic below.<br />
Set Up Your Hardware<br />
This is a recommended configuration of the system, and the one used in this<br />
technote.<br />
The parts used in this configuration are:<br />
• 2711P-B10C4B2 <strong>PanelView</strong> <strong>Plus</strong> 1000<br />
• 1764-LRP <strong>MicroLogix</strong> 1500 LRP<br />
• PC <strong>with</strong> one Ethernet and one COMM port<br />
• Crossover Ethernet cable<br />
• 2711-NC13 Straight-Through RS-232 Serial Cable*<br />
• 1761-CBL-PM02 PC to <strong>MicroLogix</strong> Cable<br />
* Please note that a Straight-Through serial cable must be used to communicate<br />
<strong>with</strong> the COMM port of a <strong>PanelView</strong> <strong>Plus</strong>. This is because the <strong>PanelView</strong> <strong>Plus</strong> is<br />
considered a Data Communication Equipment (DCE) device.
If you want to connect your <strong>PanelView</strong> <strong>Plus</strong> to the 8 pin mini DIN port (channel 0)<br />
found on any of the <strong>MicroLogix</strong>, then you can use the cable 2711-NC21, which is an 8<br />
pin mini DIN to 9 pin D-Shell straight-through cable.<br />
This technote uses a <strong>MicroLogix</strong> 1500 LRP because the two COMM ports of the<br />
<strong>MicroLogix</strong> means the user can go online to the <strong>MicroLogix</strong> while it is still connected to<br />
the <strong>PanelView</strong> <strong>Plus</strong>.<br />
For more detailed information on different cabling connections for a <strong>MicroLogix</strong><br />
and a <strong>PanelView</strong> <strong>Plus</strong>, please see technote 18955, titled <strong>PanelView</strong>, <strong>MicroLogix</strong> & SLC<br />
RS232 Cables.
Set Up Your <strong>MicroLogix</strong><br />
RSLinx:<br />
1. Open RSLinx.<br />
2. Go to the following screen:<br />
<strong>Communications</strong> -> Configure Drivers…<br />
3. Stop and delete all of your DF1 drivers.<br />
4. From the available drivers, select RS232 DF1 devices, "Add New…"<br />
5. Press the Auto-Configure button.<br />
6. Press OK.<br />
You now should have a link to your <strong>MicroLogix</strong>.<br />
RSLogix 500:<br />
1. Open RSLogix 500.<br />
2. Open the .RSS project you wish to use for your <strong>MicroLogix</strong>.<br />
3. Go to the following dialog:<br />
Comms -> Who Active Go Online<br />
4. Select the <strong>MicroLogix</strong> you wish to download to.<br />
5. Download your program.<br />
6. Go online.<br />
7. Leaving the <strong>MicroLogix</strong> in Remote Run Mode, close RSLogix 500.<br />
8. In RSLinx, go to the following location:<br />
<strong>Communications</strong> -> Configure Drivers…<br />
9. Stop the DF1 driver. This allows RSView Studio to communicate <strong>with</strong> the<br />
<strong>MicroLogix</strong> via its own, built in RSLinx Enterprise.<br />
Set Up Your <strong>PanelView</strong> <strong>Plus</strong><br />
<strong>PanelView</strong>:<br />
1. The <strong>PanelView</strong> <strong>Plus</strong> needs an IP address in the same subnet as the PC.<br />
To obtain your PC's IP address, go to the following location:<br />
Start -> Run<br />
2. Press OK.<br />
3. Type cmd and press OK.<br />
4. At the command prompt, type ipconfig and press ENTER.
5. Make a note of your IP address and subnet mask.<br />
6. On your <strong>PanelView</strong> <strong>Plus</strong>, go to the main configuration screen.<br />
7. Go to the following location:<br />
Terminal Settings -> Networks and <strong>Communications</strong> -> Network Connections -><br />
Network Adaptors -> Built in Ethernet Controller.<br />
8. Press the IP Address Button.<br />
9. You will enter your PC's IP Address that you located in step 5 above,<br />
EXCEPT for the last digit.<br />
If there is any other device on the network, make sure it has a different IP address to<br />
these by changing its final digit to one that is not already in use.<br />
10. For Subnet Mask, do the same procedure as you did in step 9, using<br />
Subnet Mask you located in step 5.<br />
11. For the Gateway, leave the default (0.0.0.0)/<br />
12. To apply the changes to your IP address and Subnet Mask, reset your<br />
<strong>PanelView</strong> <strong>Plus</strong>.<br />
RSView Studio:<br />
Open the RSView ME project you wish to use, or create a new one.<br />
1. First, set up communications.<br />
In the Application Explorer, double-click on the following:<br />
RSLinx Enterprise -> Communication setup.<br />
<strong>Plus</strong>.<br />
2. Select the Create a New Configuration option.<br />
3. Delete any drivers except the Ethernet driver.<br />
4. Under the Local Tab, create a Serial DF1 driver by doing the following:<br />
a. Right-click on the name of your computer.<br />
b. Select Add Driver.<br />
5. Select the Comm Port you're using.<br />
6. Under the Device field, select SLC or <strong>MicroLogix</strong>.<br />
7. Select Auto-Configuration.<br />
8. Press OK.<br />
9. Verify as follows::<br />
a. Open the new driver. You should see our <strong>MicroLogix</strong> Device.<br />
b. Under the Ethernet driver, you should be able to see the <strong>PanelView</strong><br />
If you see both, skip to step 10.<br />
c. If not, for either device, do the following:
� Make sure that RSLinx has still stopped the driver.<br />
� Check the cabling.<br />
� Check that the devices have power.<br />
� Recheck your IP settings.<br />
10. The Local tab is now configured. That means it has the settings for<br />
connecting the PC to the other devices.<br />
Now you need to configure the Target tab, which has settings for connecting the<br />
<strong>PanelView</strong> <strong>Plus</strong> to its devices.<br />
On the Target tab, right-click on the Computer icon.<br />
11. Select Add Driver.<br />
Use the Serial DF1 driver again.<br />
12. The device is again a SLC or <strong>MicroLogix</strong>. Use Auto-Configure.<br />
13. Unlike the Local tab, on the Target tab, you must add devices yourself.<br />
Right-click on the DF1 driver.<br />
14. Select Add device.<br />
15. The <strong>MicroLogix</strong> is located under the following:<br />
PCCC DH485 devices -> SLC DH485 Devices -> 1761-xxxx xA <strong>MicroLogix</strong> 1500<br />
LRP, <strong>MicroLogix</strong> 1500 LRP<br />
You can call it whatever you want, but unless you changed the node number of the<br />
<strong>MicroLogix</strong>, the node number will still be 1.<br />
16. While still in the Communication setup, you must create shortcuts so the<br />
program knows how to access its variables. To do this, complete the following:<br />
a. Click the Add button. This adds a shortcut for our application which we<br />
can link to different devices.<br />
General practice is to give it the same name as you named your processor in RSLogix<br />
500.<br />
b. With the new shortcut selected, in the Target tab, also select the<br />
<strong>MicroLogix</strong>.<br />
well.<br />
c. To save the link, press the Apply button. Repeat this for the Local tab as<br />
d. Select your shortcut name and your <strong>MicroLogix</strong> at the same time.<br />
e. Click Apply.<br />
f. Click OK.<br />
17. In the Application Explorer, right-click on Displays.<br />
18. Select New.<br />
19. For the <strong>MicroLogix</strong> application above, the addresses the <strong>PanelView</strong> wants<br />
to communicate <strong>with</strong> are:
o B9:0/0<br />
o N7:0<br />
o N7:1<br />
o N7:2<br />
Create the following:<br />
• Momentary Push Button<br />
• Two Numeric Input Enables<br />
• One Numeric Display<br />
• One Shutdown Button<br />
Refer to the appropriate topic below for additional information.<br />
Create a Mementary Push Button<br />
1. Double-click the Momentary Push Button.<br />
2. Select the Connections Tab.<br />
3. Click the ellipse (…) next to Value.<br />
4. If PANELTST isn't available:<br />
a. From the list of Folders , right-click and select Refresh.<br />
b. From the list select the following:<br />
PANELTST -> Online -> B9 -> B9:0<br />
This isn't the exact bit address, so it needs to be edited. Continue to c.<br />
c. Hit OK.<br />
d. Double-click on the Tag/Expression info for Value.<br />
e. To the end of the bit address, add /0, resulting in an address similar to the<br />
following example:<br />
{::[PANELTST]B9:0/0}<br />
If you also want to implement this feature for the Indicator connection, you can repeat<br />
this procedure.<br />
5. Using a process similar to that described in step 20 of the previous topic,<br />
titled RSView Studio, Add Connections to N7:0 and N7:1 for the two Numeric Input<br />
Enables, and a connection to N7:2 for the Numeric Display. To display the Numeric<br />
value on the Numeric Inputs, under the Label tab, select the following:<br />
insert variable -> numeric -> ellipse (…) -> N7:0 -> OK<br />
6. To test your screen, click the Play button. Note that the Shutdown button<br />
shouldn't do anything in Test mode.<br />
7. Save the new display as Main.
8. In the Application Explorer, complete the following:<br />
a. Double-click Startup.<br />
b. Select Initial Graphic.<br />
c. From the enabled dropdown list, select Main.<br />
9. From the Menu Bar, select the following:<br />
Application -> Create Runtime Application…<br />
Save it as whatever you like.<br />
10. Hit the Transfer Utility Icon, then do the following:<br />
a. Select the file you want to download.<br />
b. From the bottom window, from the Ethernet Driver, select the <strong>PanelView</strong>.<br />
c. Hit the Download Button.<br />
11. On the <strong>PanelView</strong>, load the application and run it.