Document of AB Software
Document of AB Software
Table of Contents
TABLE OF CONTENTS___________________________________________________________3
STRATIX 8000 - THE NEXT GENERATION ETHERNET SWITCH - BEST OF BOTH WORLDS _________5
ABOUT THIS HANDS-ON LAB __________________________________________________5
WHAT YOU WILL ACCOMPLISH IN THIS LAB _______________________________________5
WHO SHOULD COMPLETE THIS LAB _____________________________________________5
BEFORE YOU BEGIN ________________________________________________________5
LAB MATERIALS ___________________________________________________________5
DOCUMENT CONVENTIONS ____________________________________________________7
LAB 1: STRATIX 8000 HARDWARE FAMILIARIZATION ___________________________________8
ABOUT THIS LAB ___________________________________________________________8
STRATIX 8000 BASE MODULE _________________________________________________8
STRATIX 8000 PORT NUMBERING ______________________________________________10
LAB 2: CONFIGURING YOUR SWITCH USING EXPRESS SETUP _________________________12
RUNNING EXPRESS SETUP ___________________________________________________12
CONNECTING YOUR LAB STATION _____________________________________________17
LAB 3: INTRODUCTION TO CISCO NETWORK ASSISTANT ________________________________19
ABOUT THIS LAB __________________________________________________________19
CREATING A COMMUNITY ____________________________________________________19
LAB 4: DEVICE MANAGER ______________________________________________________33
ABOUT THIS LAB __________________________________________________________33
LAUNCHING THE DEVICE MANAGER ____________________________________________33
USING DEVICE MANAGER TO CONFIGURE THE STRATIX 8000 _________________________35
USING DEVICE MANAGER TO MONITOR THE STRATIX 8000 ___________________________46
USING DEVICE MANAGER TO MAINTAIN THE STRATIX 8000___________________________49
LAB 5: GOING ON-LINE WITH LOGIX 5000 __________________________________________51
ABOUT THIS LAB __________________________________________________________51
ADDING THE STRATIX 8000 TO THE I/O TREE _____________________________________51
THE STRATIX 8000 PROFILE _________________________________________________55
STRATIX 8000 RSLOGIX 5000 TAGS ___________________________________________65
CONTROLLING INPUT AND OUTPUTS WITH LADDER LOGIC____________________________67
LAB 6: STRATIX 8000 DIAGNOSTIC FACEPLATES _____________________________________71
ABOUT THIS LAB __________________________________________________________71
ADDING THE AOI TO THE PROJECT_____________________________________________71
STRATIX 8000 FACTORYTALK VIEW FACEPLATE __________________________________78
AW1EN.doc
5/27/2009
Page 3 of 84
Lab Materials
For this Hands-On lab, we have provided you with the following materials that will
allow you to complete the labs in this workbook.
AW1EN.doc
5/27/2009
Page 5 of 84
Hardware
This hands-on lab uses the following hardware:
Software
This hands-on lab uses the following software:
RSLinx Classic
Version 2.52.00.17 (CPR9)
RSLinx Enterprise
Version 5.00.00.99 (CPR9)
RSLogix 5000
Version 17.00.00
Internet Explorer
Version 6.0
Files
This hands-on lab uses the following files:
Stratix8000 Lab.acd
There is a shortcut to the project on the desktop
Stratix8000.cli
FactoryTalk View client application located on the desktop
Document Conventions
Throughout this workbook, we have used the following conventions to help guide you
through the lab materials.
This style or symbol:
Indicates:
Any item or button that you must click on, or a menu name
from which you must choose an option or command. This will
be an actual name of an item that you see on your screen or
in an example.
Note: If the mouse button is not specified in the text, you should click on the left
mouse button.
AW1EN.doc
5/27/2009
Page 7 of 84
There are two power connectors on the top left of the switch.
You can connect the switch to two separate power sources for redundancy.
Additional connections on the power connectors provide hardwired contacts
for major and minor alarms.
The Console port is a serial connection available on all Cisco hardware. The
console port allows direct access to the switch via Ciscos Command Line
Interface (CLI)
The System LEDs are next to the console port. They give an indication of the
state of the switch.
LED
EIP Mod
EIP Net
Setup
Power A
Power B
Description
Indicates the status of the switch
Indicates the status of the I/O connection to the switch
Indicates the switch is in Express Setup Mode
Indicates the status of power connection A
Indicates the status of power connection B
The 10/100 Base-TX ports are located on the right side of the switch. The
Stratix 8000 is available with either four or eight 10/100 ports on the base
module. The eight port version is used in this lab.
The grounding lug is located at the lower right corner of the switch.
The following image shows a copper expansion module and a fiber expansion
module connected to a 10 port base unit, giving a total of 26 ports.
AW1EN.doc
5/27/2009
Page 9 of 84
The switch can support up to two expansion modules. You can only
have one 100 Base-FL fiber optic expansion module installed in the
switch.
3. Look at the bottom of the switch.
The clear plastic tab on the bottom of the switch is the Compact Flash card. The
Stratix 8000 stores the configuration and Operating System on the Compact
Flash card. In the event of a hardware failure the Compact Flash card can be
moved to the replacement switch. The replacement switch will boot with the
correct configuration and Operating System.
The Stratix 8000 uses the Cisco Internetworking Operating System
(IOS). At boot-up the switch copies the configuration and IOS into
RAM. The Compact Flash card can be removed while the switch is
running. However, you will not be able to save the configuration or
boot the switch without the Compact Flash card installed.
Interface Type
Gigabit Ethernet
Fast Ethernet
Fast Ethernet
Fast Ethernet
Fast Ethernet
Module
1
1
1
2
3
Port
1
1
5
3
7
AW1EN.doc
5/27/2009
Page 11 of 84
2. Open the network settings for your PC and configure the network adapter to
receive an IP address automatically by DHCP:
When Express Setup is initiated it will act as DHCP server and provide
your PC with an IP address. Then it will serve up a web page to your
PC that you can use to begin configuration of the switch.
3. To start Express Setup, press the button on the front of the switch using a
paperclip.
4. When one of the port status indicator lamps starts to flash, connect the network
port of your computer to that port using an Ethernet patch cable
5. Confirm that your network adapter gains the IP address similar to 169.254.0.2
(your IP address may be slightly different)
What if I have a different IP Address?
The switch assigns IP addresses based on a pool of addresses, all
similar to 169.254.0.2. Although 169.254.0.2 is the most common
address, your PC may be allocated a different address for example
169.254.0.3. This is nothing to worry about the rest of the exercise
will continue to work as intended.
6. Open internet explorer. Your browser should automatically open the Express
setup page. If nothing happens after a couple of minutes, attempt to browse to a
web page (e.g. http://www.ab.com). You should see the address below:
AW1EN.doc
5/27/2009
Page 13 of 84
7. If for any reason this does not happen, browse to http://169.254.0.1 which will
take you to the Express Setup home page, as shown:
8. Enter the Network Settings specified on the sheet provided (IP address, subnet
mask, default gateway, password and hostname) for your lab station. Also set
the correct time.
9. Enter the password as rockwell
10. Click the submit button, to display the Device Manager screen.
11. Confirm that the Host Name and IP Address match the values that you have
set, and that they match the information on the sheet provided.
12. If these values are not correct, go to Configure-> Express Setup and correct
them on the following screen. Click Submit when you are done.
13. Disconnect the network cable to your PC to turn off Express setup and reconnect
again.
14. Since the subnet of the switch has been changed, the computer IP address must
be changed again to match. Return to the network settings of the PC, and set the
IP address, subnet mask and default gateway settings to the original values
specified for your station.
AW1EN.doc
5/27/2009
Page 15 of 84
15. Click OK
16. In Internet Explorer, browse to the IP address of your switch.
17. Enter the Password you entered earlier: rockwell. Do not enter a user name.
Thats it. You have configured the Stratix 8000 switch using Express Setup. We only
configured a small number of items, but the switch undertook a number of other
operations behind the scenes including automatic optimization for EtherNet/IP.
End of Express Setup
14
10
13
20
12
22
15
AW1EN.doc
5/27/2009
Page 17 of 84
1. The table and diagram also summarize the devices which you will be using in this
lab. Connect your devices according to the table shown below.
ETHERNET NODES
172.16. Station XX.YY
1
PC
3
top 1756-ENBT
5
VVCE 1000
7
PF 70 EC
13
1734-AENT
22
1791-ES safety switch
Cisco 3750
Cable no.
1
3
5
7
13
22
Stratix 8000
Port no.
gi1/2
fa1/3
fa1/5
fa1/7
fa2/5
fa2/2
gi1/1
ENBT
Fa1/5
Fa2/5
Fa1/3
Fa2/2
G1/1
G1/2
Fa1/7
Creating a Community
1. Launch Cisco Network Assistant by clicking on the following icon, which you will
find on the desktop:
2. The software package will open, and you will see the following screen which will
prompt you for a device to which to connect. Here, we will create what is known
as a community of devices. Creating a community allows us to configure and gain
diagnostic information from a group of devices rather than just a single network
device. Click OK to create your community.
3. Enter a name for your community e.g Stratix Lab - and select devices using
a seed IP address in the Discover field. Enter the IP address of your switch as
the seed IP address. Then click Start.
AW1EN.doc
5/27/2009
Page 19 of 84
4. You will then be prompted for a password for your switch. Enter the password
you defined when you set up the switch (rockwell) and leave the username
blank.
In this lab, all of the devices have been defined with the same
password so you will not be promoted for a password again. If you are
working with a network in which there are devices configured with
different passwords then you may be prompted to enter additional
passwords.
5. After a few minutes, you will see the devices which your switch has discovered.
6. Click on OK to view your Community. You will see a number of devices and an
image similar to that shown below. The number of devices you see will depend
on the status of other people working in the lab. At the very least, you should see
and the
AW1EN.doc
5/27/2009
Page 21 of 84
7. Identify your station by the hostname you assigned to your switch in Express
Setup. Right click on your switch to view the options available in that device:
8. Select Hostname. This will bring up a new window which allows you to change
the name of your switch. Enter a new name (appropriate to your station) and
select OK. After a few seconds, you will see the main CNA community display
updated to reflect the new name:
9. Now open the Configure section in the toolbar at the left of the screen and select
the Port Settings option.
This gives you an overview of the configuration which has been applied to the
ports of your switch. On this screen, you can see whether a port is enabled or
disabled, its duplex and speed settings and whether or not the Port Fast feature
is enabled or disabled. We will learn about the Port Fast feature later in the lab.
AW1EN.doc
5/27/2009
Page 23 of 84
10. Now click on the arrow in the Hostname field at the top of the screen and select
one of the other switches in your community. For example, you can view the
settings of the Cisco 3750. As you can see, it is very easy to view and access the
configurations of a number of switches (and other network devices) with a few
clicks of your mouse.
11. We will now take a look at how we can configure our switch using CNA. From the
Configure section of the toolbar at the left of the screen, select Smartports.
12. Now click on the Suggest button. The following window will appear. This shows
the recommended smartports for each of the switches in your community. In the
example below, you can see that CNA has identified that port Gi1/1 is connected
to a switch, and that a switch smartport should be applied. Click OK.
AW1EN.doc
5/27/2009
Page 25 of 84
13. Now look at the Smartports screen again. You will see a switch icon flashing on
port Gi1/1
14. Click on port Gi1/1 and then click on the Modify button. Confirm that the Switch
role is already selected and set the Native VLAN to default(1). Click OK.
15. You will be prompted to accept the change you have made. CNA is asking you to
confirm that you have applied the same smartport to the corresponding port at the
other end of the wire. This has already been done for you, so you can click on
Yes. You will then return to the Smartports window where you can see that the
icon which was previously flashing is now fixed.
17. Now look at your switch community again. You should notice a symbol on the link
between your switch and the 3750 which looks like this:
This symbol indicates that the link between the two switches has been defined as
a trunk, or a network link which can carry traffic on several VLANs. This
configuration took place when you applied the switch smartport to your switch
you applied the command to allow this link to carry multiple VLANs.
18. Now right click on your switch and select the Bandwidth Graphs in order to see
how much traffic is passing through the switch. You will see that at present, the
level of traffic is very low.
AW1EN.doc
5/27/2009
Page 27 of 84
19. Open a Command Prompt and send a ping to the central 3750 using the syntax
ping n 100 l 10000 172.16.0.1. This sends a series of large ping packets to the
intended device and places some load on the network. The n (N) modifier
increases the number of ICMP packets sent and the l (L) modifier increases the
size of each ICMP packet to10000 bytes each. This simulates load on the
network. Return to the bandwidth graph and see the difference.
20. Close the bandwidth graph window, right click on your switch again and select
Properties. You will see the following window which gives you the hostname,
device type, IP address and MAC address. You can also see easily what version
of software the switch is running.
You will also see that when you right click on the switch, there are
fewer management and diagnostic options available. If you wish to
add your switch into your community again, simply right click on it and
select Add to Community.
AW1EN.doc
5/27/2009
Page 29 of 84
21. Right click again on your switch and select Telnet. A command window will open
allowing you to gain access to the switch for configuration by Command Line
Interface (CLI). CLI configuration will not be covered in this lab, but you can ask
your instructor if you would like any additional information.
22. So far, you have been using the hostname alone to identify your switch. CNA
does however allow you to include additional information to allow you to
document where a switch or network device is located. Right click on your switch
and select Annotation. The window will allow you to enter your documentation.
When you have entered your annotation, your switch will look like this:
23. You have explored most of the options within your switch. Now we will go on to
investigate the link between your switch and the Cisco 3750. Right click on the
link and you will see the following menu:
Select Properties This will bring up a window similar to that you saw for the
switch. Here, it indicates which port on the Stratix 8000 is connected to the Cisco
3750. It also shows that the link state is Forwarding indicated by the letters
FWD. This gives you diagnostic information about Rapid Spanning Tree
processes running in the switch. We will see this again later in the lab.
24. Click OK to close the window and right click on the link again and select Link
Graphs followed by your switch.
This allows you to obtain more detailed information about traffic on a particular
interface for example, the following screenshot shows the traffic level on port
Gi1/1 of the switch Stratix99_CNA.
The link graph screen allows you to choose different devices (by selecting names
in the Hostname field) and different ports (by changing the selection in the
Interface field). If you click on the
button to the right of the Interface field
you will see the following screen, which will allow you to click on the port you wish
to monitor. Note that the Link Graphs screen also allows you to select both how
AW1EN.doc
5/27/2009
Page 31 of 84
the data is displayed (by changing settings in the Type field) or the nature of the
data (in the Data field).
Cisco Network Assistant includes many other features, such as the ability to manage
the firmware versions in multiple switches, as well as a mechanism to back up
configurations in the complete network. You can explore these operations in the
Maintenance section at the left side of the screen if you wish.
As you have seen, Cisco Network Assistant is a valuable tool for managing a network
containing a number of Stratix and Cisco switches. You will see Cisco Network
Assistant again as you do some of the other Stratix labs, so you can minimize the
window and leave it running.
AW1EN.doc
5/27/2009
Page 33 of 84
The Toolbar
The Toolbar is at the top of the screen. It allows you to manually refresh the
screen, print the screen, access the help file, and access the legend. The
legend is a handy reference that describes the meaning of all of the indicator
lights on the switch.
Clicking on the switch a second time will shrink the Front Panel view. If you
hold the mouse over any of the ports on the switch a pop-up will appear
giving your details for that port:
Smartports are preset port configurations that have been optimized by Rockwell
Automation and Cisco for EtherNet/IP networks. The following Smartports are
currently available:
Automation Device
Desktop
Switch
Router
AW1EN.doc
5/27/2009
Page 35 of 84
IP Phone + Desktop
Wireless
Port Mirroring
None
Port g1/1 = Switch (Should be visible if you applied the switch smartport in
CNA)
The Customize button allows you to assign VLANs to the ports. We will not be
configuring VLANs in this lab.
The Switch role automatically configures the port to use IEEE802.1Q
VLAN trunking (also known as Dot1Q). Dot1Q tags the Ethernet
frames with the VLAN number. This allows a VLAN to exist across
multiple switches. Dot1Q also uses a native VLAN. The Ethernet
frames that are a part of the native VLAN are not tagged. This allows
backward compatibility to devices that do not understand trunking.
Ports that only have single device connected to them are configured in
access mode. Ports in access mode are restricted to a single VLAN.
8. Click Port Settings in the Menu. The port settings screen allows you to configure
the speed, duplex and Auto-MDIX settings. If you look at the settings for the
gigabit ports then you will that that you also have the option to select whether the
gigabit port uses the fiber or copper connection. Clearly, this is only relevant if an
SFP module is plugged into the port.
AW1EN.doc
5/27/2009
Page 37 of 84
You can insert any text in the Description field you like. It is generally
used to list what device is supposed to be connected to the port. You
can also use it to explain why a port is in a given state. For example, if
you detect a virus infected PC you can shut the port down to contain
the threat. You could use a description of port shutdown virus to
indicate to other administrators that the port should not be enabled
until the virus has been removed.
Normally you need to use a cross-over cable to connect two switches
together. Auto-MDIX eliminates the need to use a cross over cable to
connect switches together.
9. Click Express Setup in the Menu.
This page allows you to add and delete VLANs. The Advanced button allows you
to enable/disable RSTP (Rapid Spanning Tree) or IGMP Snooping on an
individual VLAN.
Rapid Spanning Tree is a protocol that allows redundant connections,
or loops, between switches. RSTP blocks ports to create a loop free
path through the network. If one of the paths is broken, RSTP will
unblock one or more alternate paths to restore network connectivity.
IGMP Snooping is used to control multicast traffic. Without IGMP
Snooping multicast traffic is forwarded out every port on the switch.
IGMP Snooping allows the switch to only send the multicast traffic to
the ports that need it. IGMP Snooping requires an IGMP Querier to
function properly.
Express Setup configures RSTP, IGMP Querier, and IGMP Snooping
for you.
11. Click SNMP in the Menu.
AW1EN.doc
5/27/2009
Page 39 of 84
AW1EN.doc
5/27/2009
Page 41 of 84
24. Add ports fa3/7 and fa3/8 to your Etherchannel by selecting the In Group box as
shown in the following screen. Leave the Group number set to 1 and ensure that
the mode remains set at 802.3ad (LACP).
25. Click Done. You will see details of your Etherchannel and also see that your
Etherchannel is currently down.
29. Now return to Cisco Network Assistant and update the topology by clicking on
Refresh.
30. You should see an updated topology similar to that shown here
Your Etherchannel is indicated by the striped link between the two Stratix
switches. You will also see that one of the links - possibly your Etherchannel
itself is colored Gray rather than Green. This is because in adding the link
between the two Stratix switches and without removing the uplink to the Cisco
3750, we created a loop in our network. By default, Stratix and Cisco switches
are configured to run the Rapid Spanning Tree Protocol which detects the
presence of a loop in the network, and shutting down one of the links in the loop
to prevent broadcast storms. The link which is to be shut down is determined by
the network configuration used in the lab.
AW1EN.doc
5/27/2009
Page 43 of 84
32. If your Etherchannel links are colored grey then right click on the link and select
Properties. Alternatively, if your Etherchannel is green then click on OK to close
the window and select one of the gray links in your topology. You will see that the
state of the link will be shown as BLK, or blocking. This indicates that the link is
available, and will automatically become active if the primary link fails.
33. Close the Link Properties window by clicking OK. Click Reset/Restart in the
Menu.
This page allows you to reboot the switch. It also gives you the option of
restoring the configuration to factory defaults before rebooting.
You should re-run Express Setup after restoring the switch to factory
defaults. NOTE: It is not necessary to restart or reset the switch in this
lab as it was already restored to factory defaults prior to the start of the
lab.
34. Remove the extra Ethernet cables that you fitted between your station and your
neighboring station.
AW1EN.doc
5/27/2009
Page 45 of 84
The trends page gives and overall view of bandwidth utilization and error rate.
You can also graph the utilization and error rate for each port. There are several
time scales available ranging from 60 seconds to 14 days.
Traffic rates in the lab are too low to appear on the graphs.
3. Click Port Status in the Menu.
The port status page shows the link status, VLAN setting, speed, and duplex for
each port.
This page provides detailed statistics on a per port basis. The Transmit Detail
and Receive Details tabs provide additional stats. You can reset the counters by
selecting the checkbox next to the port and clicking the Clear Counters button.
5. Click Alert Log in the Menu.
The Alert Log shows switch errors, warnings, and other messages.
6. Click CIP Status in the Menu.
AW1EN.doc
5/27/2009
Page 47 of 84
This page shows the health of the CIP connection to the controller.
CIP is the Common Industrial Protocol. It is the application layer
protocol that is used by DeviceNet, ControlNet, and EtherNet/IP.
The page is blank since the controller has not yet established an I/O
connection to the switch. You may want to revisit this page once the
I/O connection is up
8. Hover your mouse over the yellow port. You will see a message indicating that
the port has been error disabled
9.
AW1EN.doc
5/27/2009
Page 49 of 84
11. Change the connections to g1/1 and g1/2 to return to the original configuration.
This page allows you to upgrade the version of IOS running on the switch.
The IOS downloads are available from the current Rockwell
Automation Support website.
13. Minimize Internet Explorer.
To save time the project and tags have already been created for you.
AW1EN.doc
5/27/2009
Page 51 of 84
The Stratix 8000 has three sets of tags, configuration, input, and
output. All controllers can read the configuration and input tags. Only
one controller can own the I/O and write to the output tags. Setting
the connection to Data causes the controller to own the I/O.
9. Click the Set Password for I/O Functionality button.
10. Type rockwell in the password field and confirm fields.
11. Cick OK.
12. Click OK to close the Module Definition window.
13. Click Yes to confirm the module definition change.
14. Select the Connection tab.
AW1EN.doc
5/27/2009
Page 53 of 84
4. Click Download.
5. Click the drop-down in the online bar and select Run Mode.
AW1EN.doc
5/27/2009
Page 55 of 84
Notice that the information you configured during Express Setup will be visible
here. This tab can be used to configure there parameters for example the IP
address of the switch.
10. Select the Switch Status tab.
This tab displays basic information about the switch such as up time, IOS
release, and active alarms.
11. Select the Port Configuration tab.
This tab allows you to enable/disable ports and configure the speed and duplex of
the ports.
12. Select the Advanced Port Config tab.
AW1EN.doc
5/27/2009
Page 57 of 84
This tab provides information on smartports which have been assigned to the
ports. You will see that the configuration corresponds to the parameters you
configured from Device Manager. This tab allows you to change Smartport and
VLAN assignments, and also to define an Authorized MAC ID on that port.
Setting an Authorized MAC ID ensures that only the device with the MAC address
configured on that port is able to communicate through that port. An attempt to
connect any other device will shut down the port and generate an alarm.
This tab allows you to configure traffic thresholds for broadcast, unicast, and
multicast traffic on a per port basis. The thresholds can be configured as packets
per second, percent utilization, or bits per second. Any traffic that exceeds the
threshold will be dropped. If traffic is exceeded on a port then an alarm condition
will be triggered.
14. Configure the broadcast, unicast and multicast threshold values on the port to
which your controller is connected, as shown in the image and click Set.
This tab displays link status, fault status, and bandwidth utilization for the ports.
18. Click the Port Diagnostics button for fa1/3.
AW1EN.doc
5/27/2009
Page 59 of 84
This window gives detailed Ethernet errors and statistics for the port.
19. Close the Port Diagnostics window.
20. Select the Save/Restore tab.
This tab allows you to save the current switch configuration to the RSLogix 5000
project. Once the configuration has been saved to the project you can download
it to the switch or export it to the local hard drive.
21. Click on Upload. When prompted, enter the password.
You will see confirmation that the configuration has been uploaded successfully.
Click OK.
22. Now click on Export to transfer the configuration data from the Logix project
into a text file.
23. Select a location for your configuration file (for example, the desktop) and click
Export to save the Stratix_8000_Config file.
24. Now click Export again to save your VLAN configuration information. Note that
you will need to check that you are saving the file in the correct location.
AW1EN.doc
5/27/2009
Page 61 of 84
The config.text file is a text file that contains the configuration for the
switch.
The vlan.dat file is a binary file that contains the VLAN configuration
for the switch.
25. Click OK to close the Module Properties window.
26. Now locate the Stratix_8000_Config file and right click to open it with Wordpad
(the file will also open with notepad but the text will not include the line breaks).
AW1EN.doc
5/27/2009
Page 63 of 84
27. Confirm that you can read the switch configuration information in the file. This file
can be stored for backup purposes or sent to technical support.
2. Browse the tags until you find the input and output tags for the Stratix 8000:
If they are not visible then click Show and ensure that the Module Defined
check box is selected.
AW1EN.doc
5/27/2009
Page 65 of 84
.
3. Expand the Stratix_8000:I tags.
The input tags allow you to read link status, port security alarms and threshold
alarms for each port
4. Expand the Stratix_8000:O tags.
The output tags allow you to enable/disable individual ports on the switch.
If your connection type is set to Input Data you will not see the
Stratix_8000:O tags. In this situation, you can obtain diagnostic
information from the switch but cannot control any functions.
5. Close the Controller tags window.
AW1EN.doc
5/27/2009
Page 67 of 84
3. Double-click on MainRoutine.
You are going to add two rungs of ladder logic to read and set tags on the Stratix
8000.
4. Add a new rung to the project.
This rung uses the link status of port fa1/7 to control the light labeled DO1.
5. Add a second new rung to the project.
This rung uses the state of the Port_Disabled tag to enable/disable port fa1/7.
The value of the Port_Disabled tag is controlled by the green button labeled DI2.
6. Click the Who Active button in the toolbar.
9. Click Download.
AW1EN.doc
5/27/2009
Page 69 of 84
Thats it. You have seen how easy it is to bring port status from your switch into your
controller and to use that information in your program.
Optional Step: Configure a MAC address on one of your ports using the module
profile and observe what happens when you connect an unauthorized device to that
port. Ask your instructor if you would like any assistance.
18. Right Click on Add-On Instructions and select Import Add-On Instruction.
AW1EN.doc
5/27/2009
Page 71 of 84
The AOI file is located on your Desktop in a folder Called Stratix 8000 AOI.
The file downloaded from the sample code library contains an add on
instruction for each variant of the Stratix 8000 family
21. Notice that two add-on instructions have been imported. The AB_1783MS26 uses
the IP_Address_to_String instruction in order to process information received
from the switch and so the second AOI was imported automatically.
AW1EN.doc
5/27/2009
Page 73 of 84
26. Right-click on MySwitch and select New MySwitch. The new tag window will
open. Confirm that the Scope is set to Controller.
You can also use define this tag to have program scope. However, in
order to maintain consistency in this lab, all tags should be defined to
have controller scope.
AW1EN.doc
5/27/2009
Page 75 of 84
54. Click on the Communication tab and set the communication path by typing
Stratix_8000. Also ensure that the Connected and Cache Connections check
boxes are selected. When you have finished, click OK.
55. Download your program to your controller and return to Run mode, as before.
AW1EN.doc
5/27/2009
Page 77 of 84
The faceplate introduction screen for the lab will open. You can take several
actions from this screen:
You can also see an alarm and events banner which is currently configured to
give indication when a port becomes active, is disabled or is in an error state.
2. Click the Stratix 8000 Diagnostic Faceplate button, and the click on the
button.
3. This is the main window for the Diagnostic faceplate. The switch graphic shows
the state of the ports. You will see that the main display for the switch shows
information about the switch such as the hostname, IP address, subnet mask,
temperature and uptime. Also shown on the display are the active ports. Confirm
that the active ports visible on your switch correspond to those indicated on your
faceplate.
4. Click on port fa1/3 to select it. The name of the selected port will appear in the
selected field.
in the toolbar.
AW1EN.doc
5/27/2009
Page 79 of 84
6. This screen shows the settings for the selected port. You will see the speed and
duplex values. If you select port fa1/3, you will see the threshold values which
you configured on the port in one of the previous exercises. Note that the values
which you configured are the rise thresholds. The fall thresholds are derived
automatically from these values.
7. Click on the In button at the bottom of the faceplate. This will show ingress traffic
stats. The Out button will show egress traffic stats. The counters update
periodically.
8. Click on the Settings button to take you back to the Port Settings screen.
9. Select port fa1/5 by clicking on the port shown here and confirm that port fa1/5 is
visible in the Selected field
10. Now click on the Disable Port button. Confirm that the link lamp for that port is no
longer active, and that the port is shown as Disabled on the faceplate.
11. Take a look at your alarms and events banner. You should see a new message in
the banner indicating that your port has been disabled. If you do not see the
message, click on the
banner.
AW1EN.doc
5/27/2009
Page 81 of 84
12. Click on the Enable Port button to turn on the port again. You will see that the
alarm and events banner indicates that the port is active again.
You have seen how easy it is to control the status of a port from the
faceplate. Off course, if you do not wish this feature to be available
then you can delete the Enable Port from your FactoryTalk View
project, or alternatively set a bit to hide the button.
13. Now select port fa1/3
14. Click the Trend button in the toolbar.
This screen shows a graph of the percent utilization of the selected port as well
as the temperature of the switch. It also allows you to see how these values have
changed over a period of time by scrolling the trend forwards or backwards. You
can change the port for which the traffic level is displayed by clicking on the
appropriate port.
Traffic rates in the lab are too low to appear on the graph.
15. By default, the trend axes are set to a minimum of 0 and a maximum of 100.
However, these values can be changed. Click on the trend configuration button
which will bring up the following screen. Type new values in the fields and
press the enter key to submit your changes.
16. Return to your trend by clicking the trend button. You can toggle between the
trends by clicking the colored indicators indicated below.
in the toolbar.
AW1EN.doc
5/27/2009
Page 83 of 84
This screen shows any current alarms on the switch. The faceplate will show any
ports with unauthorized devices or thresholds exceeded.
18. Close all open applications.
CONGRATULATIONS!
YOU HAVE COMPLETED THE STRATIX 8000 LAB!