EIP Step by Step
-
Upload
sheng-cheng-chen -
Category
Documents
-
view
227 -
download
0
Transcript of EIP Step by Step
-
8/4/2019 EIP Step by Step
1/31
Automation andNetwork Solutions
EtherNet/IP Profile SwitchStep by Step
-
8/4/2019 EIP Step by Step
2/31
Automation andNetwork Solutions
Agenda
Commercial Information
Integrating the EtherNet/IP Profile Switch Assign IP address Enable EtherNet/IP and register EDS files Using RSLogix5000 sample files (v16 required)
Using RSView Studio sample files
-
8/4/2019 EIP Step by Step
3/31
Automation andNetwork Solutions
Commercial Information
The EtherNet/IP Profile is available in the3.0 firmware release for all Open Railswitches (RS20/30/40 and MS20/30)
This functionality allows the switch to beintegrated directly into the RSLogix5000 I/Otree
There is no additional cost
Switches already in the field can be flashedto this firmware level (firmware can befound at ftp.hirschmann-usa.com/firmwareor send e-mail to firmware@hirschmann-
usa.com) 3.1 release (June) will add support for
MACH, PowerMICE and Octopus families
-
8/4/2019 EIP Step by Step
4/31
Automation andNetwork Solutions
Integrating the EtherNet/IP Profile SwitchStep 1 Assigning IP Address to a new switch
Use HiDiscovery to set the switchs IP address & subnetmask
HiDiscovery is on the product CD or can be downloaded atftp.hirschmann-usa.com/software
-
8/4/2019 EIP Step by Step
5/31
Automation andNetwork Solutions
Step 2 Enable EtherNet/IP and register EDS files
Connect to the switch with your web browser answer Yeswhen prompted
-
8/4/2019 EIP Step by Step
6/31
Automation andNetwork Solutions
Step 2 - continued
Login as Admin, default password is private
-
8/4/2019 EIP Step by Step
7/31
Automation andNetwork Solutions
Step 2 - continued
Expand the Advanced menu item, and select IndustrialProtocols
-
8/4/2019 EIP Step by Step
8/31
Automation andNetwork Solutions
Step 2 - continued
Click the box to enable EtherNet/IP
Click the Set button at the bottom of the page
*** Be sure to go to the Load/Save screen, and Save yourconfiguration to make this change permanent.***
-
8/4/2019 EIP Step by Step
9/31
Automation andNetwork Solutions
Step 2 - continued
Click on the Download EDS File button (the EDS file is generateddynamically based on the switchs product code, then transferredto your PC)
Register the EDS file using the EDS Hardware Installation Tool(Start > All Programs > Rockwell Software > RSLinx Tools > EDSHardware Installation Tool)
Alternately, all EDS files areincluded on the product CD. Youcan register them all at once fromthere.
-
8/4/2019 EIP Step by Step
10/31
Automation andNetwork Solutions
Step 3 using RSLogix5000 sample files
Sample files are available athttp://samplecode.rockwellautomation.com (search TitleHirschmann) or at ftp.hirschmann-usa.com/EthernetIP
Version 16 is required for this file it takes advantage ofthe new Add-On Instruction functionality
Version 16 is NOT required for the EtherNet/IP functionalityof the switch to work only to use these sample files
-
8/4/2019 EIP Step by Step
11/31
Automation andNetwork Solutions
Step 3 - continued
You can use the base sample file orimport the Add-On Instruction from theXML file into an existing project (right clickon Add-On Instructions, and import)
-
8/4/2019 EIP Step by Step
12/31
Automation andNetwork Solutions
Step 3 - continued
Add a Generic Ethernet module to the I/O tree
Enter the IP address
Set the Connection Parameters as shown below
Set the RPI to 100
-
8/4/2019 EIP Step by Step
13/31
Automation andNetwork Solutions
Step 3 - continued
Click the Add-On tab on the Instruction Bar
Add the Hirschmann Instruction to your ladder program
-
8/4/2019 EIP Step by Step
14/31
Automation andNetwork Solutions
Step 3 - continued
Enter a name for this switch in the Hirschmann_Switch field (datatype =Hirschmann_Switch)
Map the Switch_Inputs and Switch_Output as shown below:
Switch_InputsName of the switch created:I.Data
Switch_OutputName of the switch created:O.Data[0]
Enter & create tags as shown below:
Switch_Parameters (Datatype = Switch_All)
GetMessage (Datatype = Message)
Set Message (Datatype = Message)
Storage fields (Datatype = SINT[200]
-
8/4/2019 EIP Step by Step
15/31
Automation andNetwork Solutions
Step 3 - continued
Your instruction should now look something similar to this
-
8/4/2019 EIP Step by Step
16/31
Automation andNetwork Solutions
Step 3 - continued
Configure the GetMessage as shown below
-
8/4/2019 EIP Step by Step
17/31
Automation andNetwork Solutions
Step 3 - continued
Configure the SetMessage as shown below
-
8/4/2019 EIP Step by Step
18/31
Automation andNetwork Solutions
Step 3 - continued
For both Message instructions, click on the Communicationtab, then click browse
Select the appropriate switch from the I/O tree
-
8/4/2019 EIP Step by Step
19/31
Automation andNetwork Solutions
Step 4 Using RSView Studio sample files
Open your RSView Studio application Make sure the communication path is set up to your PLC
Right click on Global Objects then select Import andExport
Click No do not backup displays, then click next
Select Multiple Displays Import File, then click next Click on the to open the file browser and point to the file
called BatchImport_Hirschmann Switch.xml
Make sure that create new objects is selected
Click Finish
-
8/4/2019 EIP Step by Step
20/31
Automation andNetwork Solutions
Step 4 - continued
Your project tree should nowshow a number of new globalobjects
-
8/4/2019 EIP Step by Step
21/31
Automation andNetwork Solutions
Step 4 - continued
Right click on Parameters and select New Enter an expression similar to the one shown below
[Switch_Text] is the RSLinx Enterprise shortcut to the PLC
My RailSwitchParams is the name of the tag in the SwitchParameters field of the RSLogix5000 Add-On Instruction
RSLinx Enterprise shortcut to the PLC
Tag name from RSLogix5000
-
8/4/2019 EIP Step by Step
22/31
Automation andNetwork Solutions
Step 4 - continued
Save and close the parameter file Creating the graphics
You will have 1 overview screen for each switch in yourapplication
You only need to create the Pop Up screens once, they willrepresent the appropriate information using the Parameterfiles
Create the 5 pop up displays Diagnostics
Configure IGMP
Configure Ports
Switch Information
Port Stats
-
8/4/2019 EIP Step by Step
23/31
Automation andNetwork Solutions
Step 4 - continued
To create a Switch OverviewDisplay:
Select the appropriate Global Objectfor your particular switch
Edit the 5 buttons so that theappropriate Parameter file is used for
the Pop Up screens Save the file (but leave it open) Create a new display On the Global Object file, click Edit >
Select All, then drag the objects toyour new display
Save your new display Make sure to include the Parameter
file in the button that calls the SwitchOverview screen
-
8/4/2019 EIP Step by Step
24/31
Automation andNetwork Solutions
Step 4 - continued
Before running your project, you will need to create 2 HMImemory tags
Name: PLC_Port_Number and PC_Port_Number Type: Analog Initial Value: 0
These tags are used on the Ports screen You will get error messages if they are not created
-
8/4/2019 EIP Step by Step
25/31
Automation andNetwork Solutions
Step 4 - continued
The result should look similar to the following screenshots HINT: The Parameter files dont initialize in Test Run
mode you have to actually run the project to test yourscreens
Overview Screen for an RS20-16
-
8/4/2019 EIP Step by Step
26/31
Automation andNetwork Solutions
Step 4 - continued
Diagnostics Screen
Read OnlyProvides information found on the Diagnostics screen in the
web interface. Some of these alarms are disabled bydefault.
-
8/4/2019 EIP Step by Step
27/31
Automation andNetwork Solutions
Step 4 - continued
Switch Information Screen
Read OnlyProvides information found on the Main screen in the web
interface.
-
8/4/2019 EIP Step by Step
28/31
Automation andNetwork Solutions
Step 4 - continued
IGMP Settings Screen
Read/WriteProvides information found on the Multicast screen in theweb interface. Users can Enable/Disable IGMP snooping
and querier mode and set the IGMP protocol version(default is 2).
-
8/4/2019 EIP Step by Step
29/31
Automation andNetwork Solutions
Step 4 - continued
Port Settings Screen
Read/WriteUsers can Enable/Disable each port of the switch
individually. If you click the PLC Port button, you can
enter a port number that cannot be disabled.
-
8/4/2019 EIP Step by Step
30/31
Automation andNetwork Solutions
Step 4 - continued
Port Statistics Screen
Read OnlyProvides information on an individual port. Click on the Port
button to select the port that you want information on.
-
8/4/2019 EIP Step by Step
31/31
Automation andNetwork Solutions
Step 4 - continued
Disclaimer
Please keep in mind that these are sample files provided tomake it easier for users to integrate the HirschmannEtherNet/IP Profile Switches into their applications.
Careful thought should be given as to how to integrate thesefiles. It is recommended that you password protect ordisable some screens to prevent unauthorized access.
The applications should be thoroughly tested and verifiedbefore being deployed in a production environment.