Ethernet IP - HMS Networks

14
SG-gateway Getting Started: EtherNet/IP STARTUP GUIDE 4.02.0400.22004 1.0 en-US ENGLISH

Transcript of Ethernet IP - HMS Networks

Page 1: Ethernet IP - HMS Networks

SG-gatewayGetting Started: EtherNet/IP

STARTUP GUIDE4.02.0400.22004 1.0 en-US ENGLISH

Page 2: Ethernet IP - HMS Networks

Important User InformationDisclaimerThe information in this document is for informational purposes only. Please inform HMS Industrial Networks of anyinaccuracies or omissions found in this document. HMS Industrial Networks disclaims any responsibility or liabilityfor any errors that may appear in this document.

HMS Industrial Networks reserves the right to modify its products in line with its policy of continuous productdevelopment. The information in this document shall therefore not be construed as a commitment on the part ofHMS Industrial Networks and is subject to change without notice. HMS Industrial Networks makes no commitmentto update or keep current the information in this document.

The data, examples and illustrations found in this document are included for illustrative purposes and are onlyintended to help improve understanding of the functionality and handling of the product. In view of the wide rangeof possible applications of the product, and because of the many variables and requirements associated with anyparticular implementation, HMS Industrial Networks cannot assume responsibility or liability for actual use based onthe data, examples or illustrations included in this document nor for any damages incurred during installation of theproduct. Those responsible for the use of the product must acquire sufficient knowledge in order to ensure that theproduct is used correctly in their specific application and that the application meets all performance and safetyrequirements including any applicable laws, regulations, codes and standards. Further, HMS Industrial Networks willunder no circumstances assume liability or responsibility for any problems that may arise as a result from the use ofundocumented features or functional side effects found outside the documented scope of the product. The effectscaused by any direct or indirect use of such aspects of the product are undefined and may include e.g. compatibilityissues and stability issues.

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 3: Ethernet IP - HMS Networks

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Table of Contents Page

1 How to Use the Getting Started ......................................................................................... 3

2 Protocol Specific Features and Restrictions....................................................................... 3

3 Configuring the Device........................................................................................................ 43.1 Setting IP Address of the EtherNet/IP Ports ..........................................................................4

3.2 WEB-PLC Settings.............................................................................................................4

3.3 Defining Inputs and Outputs ..............................................................................................6

4 Configuring the EtherNet/IP Communication.................................................................... 74.1 Creating a New Project in Studio 5000 .................................................................................7

4.2 Adding a Module ........................................................................................................... 10

4.3 Configuring a Program .................................................................................................... 11

Page 4: Ethernet IP - HMS Networks

This page intentionally left blank

Page 5: Ethernet IP - HMS Networks

How to Use the Getting Started 3 (12)

1 How to Use the Getting StartedThis Getting Started shows how to configure an Ixxat SG-gateway for EtherNet/IP with the IxxatWEB-PLC and the Rockwell Software Studio 5000. The Getting Started accompanies the tutorialvideo that can be found on www.ixxat.com/energy-video.

2 Protocol Specific Features and RestrictionsFeatures

• 2 x RJ-45 EtherNet/IP 100 Mbit/s via integrated dual port cut-through switch

• generic device profile

• device Level Ring (DLR) Beacon-based

• QuickConnect class B

• CIP energy object support

• customized identity information

• explicit messaging up to 1500 bytes using Large Forward Open

• multiple I/O assembly support

• modular device support

• module status LED and network status LED

Restrictions

• up to 1448 bytes of process data in each direction

• up to 1500 bytes of explicit messaging

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 6: Ethernet IP - HMS Networks

Configuring the Device 4 (12)

3 Configuring the Device3.1 Setting IP Address of the EtherNet/IP Ports

► Open Rockwell Studio 5000 standard DHCP tool.

► In menu Start, select the Rockwell standard DHCP tool.

► Connect the SG-gateway to power supply.

→ During the boot up the SG-gateway appears with its MAC address in the DHCP tool.

► Select the MAC address of the connected SG-gateway in the list and set the IP address ofthe EtherNet/IP ports. DHCP is activated by default.

Fig. 1 Studio 5000 DHCP tool

► Access the SG-gateway WEB-PLC (see WEB-PLC Settings, p. 4).

3.2 WEB-PLC Settings

Observe that changes in the configuration are only saved after clicking button OK andrebooting with button Reboot .

► Observe SG-gateway User Manual for information how to install the device and how toconfigure the IP address of the device.

► Enter IP address of the device in use into a web browser.

→ Log in window is opened.

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 7: Ethernet IP - HMS Networks

Configuring the Device 5 (12)

► Enter user name and password.

→ Home page of the WEB-PLC is opened.

Fig. 2 EtherNet/IP settings

► Click button Settings .

► Open tab Settings (1) and expand I/O in the configuration tree.

► Select EtherNet/IP Adapter (2) in the configuration tree.

► Activate checkbox Store changes from external tools (3) to keep changes that are made inexternal tools after a reboot.

HMS recommends to work with the default DHCP IP settings for the EtherNet/IP ports during theconfiguration.

► Define desired inputs and outputs (see Defining Inputs and Outputs, p. 6).

► Click button OK (4) and button Reboot to apply the changes.

► Click button Download (5) to download the EDS file.

→ Generated ESD file contains all defined modules and values.

► To configure the communication between the SG-device and the PLC, import the ESD file inan external tool (e.g. Rockwell Studio 5000, see Configuring the EtherNet/IP Communication,p. 7).

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 8: Ethernet IP - HMS Networks

Configuring the Device 6 (12)

3.3 Defining Inputs and OutputsIn the group list, groups can be defined and values can be added to the groups.

► To add inputs select line input in the device list and click button Add Group.

► To add outputs select line output in the device list and click button Add Group.

→ Window Edit Group is opened.

► In the Window Define a name for the group (1-64 printable ASCII characters). Each groupname can only be used once.

► Click button OK.

→ Groups are entered in the device list.

► To add a value to a group, select the group in the device list and click button Add Value (2).

→ Window Edit value is opened.

Fig. 3 Example: edit value

► Configure the value parameters and click button OK.

Value parameter Description

Name Name of value (1-64 printable ASCII characters). Name is shown in the external tools (e.g.Studio 5000). Each value name can only be used once inside a group.

Data type Data type of the value

Length If length is more than 1, an array is defined. Arrays can have up to 255 elements

► Add all desired input and output groups including the desired values.

→ Groups and values are entered in the device list.

→ Each group and each value gets an index (5) that is used internally to address themodules and values.

► To modify an input, output, or value double click on the respective list entry.

► Click button OK (3) and button Reboot to apply the changes.

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 9: Ethernet IP - HMS Networks

Configuring the EtherNet/IP Communication 7 (12)

4 Configuring the EtherNet/IP CommunicationTo configure the communication between the PLC and the SG-gateway the Rockwell SoftwareStudio 5000 can be used.

4.1 Creating a New Project in Studio 5000► Open Studio 5000.

► In the quick start menu click New Project to create a new project.

→ Window to create a project is opened.

► Select the controller in use.

► Define name and path of project.

► Click button Next.

► If necessary modify the controller settings and click button Next.

→ Project is created.

Fig. 4 Project in Rockwell Studio 5000

► Open menu Tools and select EDS Hardware Installation Tool.

→ EDS wizard is opened.

► Start the wizard.

► Select Register an EDS file and click button Next.

► Select Register a single file and click button Browse to select the created ESD file (see WEB-PLC Settings, p. 4 for information how to create an ESD file).

► Click button Next.

→ Window that shows the active installed EDS files is opened.

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 10: Ethernet IP - HMS Networks

Configuring the EtherNet/IP Communication 8 (12)

► Click button Next.

→ Window that shows the active communications adapters is opened.

► Select the SG-gateway and click button Next.

► To confirm the registration of the SG-gateway, click button Next.

► Finish the EDS wizard.

► In the Windows taskbar click on icon RSLinx Classic Activation.

→ Window RSLinx Classic is opened.

Fig. 5 RSLinx Classic

► In menu Communications (1) select Configure Drivers.

→ Window Configure Drivers is opened.

► In drop down menu Available Driver Types (2) select EtherNet/IP Driver.

► Click button Add New (3) and define a name for the driver.

► Select the controller in use and click button OK.

→ Driver is added to the list (4).

► Click button Close.

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 11: Ethernet IP - HMS Networks

Configuring the EtherNet/IP Communication 9 (12)

► In the toolbar, click button to see who is active.

Fig. 6 Window Who active

► In opened window Who Active expand the newly configured driver in the configuration tree(1) and click button Refresh (2).

► Select the driver (3) and click button Go Online (4).

→ Window Connected To Go Online is opened.

► To download the configuration to the PLC, click button Download.

► In opened window Download click button Download.

→ Configuration is downloaded to the PLC.

► Confirm the download.

→ If the connection and the driver are working, the control lights are shown in green.

Fig. 7 Connection and driver are working correctly

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 12: Ethernet IP - HMS Networks

Configuring the EtherNet/IP Communication 10 (12)

4.2 Adding a Module► Disconnect the device in Rockwell Studio 5000 to set the configuration offline.

► In the configuration tree open folder I/O Configuration and right-click on the entry Ethernet.

Fig. 8 Select a module type

► In the opened context menu select New Module (1).

→ Window Select Module Type is opened.

► Search for the SG-gateway (2).

► Select the SG-gateway entry in the list (3) and click button Create (4).

→ Window New Module is opened.

Fig. 9 Add a new module

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 13: Ethernet IP - HMS Networks

Configuring the EtherNet/IP Communication 11 (12)

► Define a name for the module in field Name (1).

► Enter the IP address of the EtherNet/IP port (2).

► To change the module definition click button Change (3).

→ Window Module Definition is opened.

► Define the data type and size of the input and output size.

► Click button OK and confirm the change.

► Close the window Select Module Type.

Fig. 10 Go online

► To check if the module is working correctly, click on the Offline symbol (1) and select GoOnline.

→ Window Connected To Go Online is opened.

► To download the configuration to the PLC, click button Download.

► In opened window Download click button Download.

→ Configuration is downloaded to the PLC.

► Confirm the download.

→ If the module is running correctly, the Status changed to Running.

► Configure a program (see Configuring a Program, p. 11).

4.3 Configuring a Program► Go offline and configure your program in Studio 5000.

► For a configuration of an example loopback program see tutorial video onwww.ixxat.com/energy-video.

► Download the configured program to the PLC and go online.

► To check the state of the running program, access the WEB PLC editor and activate the LiveView function.

SG-gateway Startup Guide 4.02.0400.22004 1.0 en-US

Page 14: Ethernet IP - HMS Networks

last page

© 2020 HMS Industrial NetworksBox 4126300 04 Halmstad, Sweden

[email protected] 4.02.0400.22004 1.0 en-US / 2020-04-30 / 18281