Rockwell Automation 1768-EWEB User Manual

EtherNet/IP Web Server Module
1756-EWEB, 1768-EWEB
User Manual

Important User Information

Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://literature.rockwellautomation.com
) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING
Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property damage, or economic loss.
IMPORTANT
ATTENTION
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence
SHOCK HAZARD
Labels may be located on or inside the equipment, for example, a drive or motor, to alert people that dangerous voltage may be present.
BURN HAZARD
Labels may be located on or inside the equipment, for example, a drive or motor, to alert people that surfaces may be at dangerous temperatures.
Allen-Bradley, ControlLogix, RSLinx, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.

Summary of Changes

This document describes how to use the EtherNet/IP Web server module. Revision bars in the margin identify updated information. Changes for this version of the document include the addition of the 1768-EWEB module and related information.
Enhanced Web Server Module User Manual Changes
Topic Chapter Page No.
Browser Requirements Chapter 1 - Getting Started 17
1768-EWEB Installation Chapter 1 - Getting Started 18
1768-EWEB Flash File Space Chapter 7 - Access Files in the
Web Server Module
CIP Connected Messaging Limits Appendix A - Use the Web
Server Module To Connect Over Ethernet
CIP Unconnected Messaging Limits
Appendix A - Use the Web Server Module To Connect Over Ethernet
83
122
122
3 Publication ENET-UM527E-EN-P - October 2006
4 Summary of Changes
Notes:
Publication ENET-UM527E-EN-P - October 2006
Getting Started

Table of Contents

Preface
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Who Should Use This Publication . . . . . . . . . . . . . . . . . . . . 11
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
About the Enhanced Web Server Module . . . . . . . . . . . . . . . 13
Enhanced Web Server Module Applications . . . . . . . . . . 14
Features of EtherNet/IP Web Server Module in a Control
System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1756-EWEB Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1768-EWEB Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Access the Module Using Your Web Browser. . . . . . . . . . . . 19
Navigate the Web Server Module. . . . . . . . . . . . . . . . . . . . . 22
Use the Web Server Module . . . . . . . . . . . . . . . . . . . . . . . . 23
Create a Data View . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Access a Data View . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configure Email. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Configure the Time Server . . . . . . . . . . . . . . . . . . . . . . . 27
Enable/disable Other Services . . . . . . . . . . . . . . . . . . . . 28
Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Configure a Network Address For a Web Server Module
Chapter 2
How to Use This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Determine Which Network Parameters Are Required . . . . . . 31
Assign Network Parameters When the Network Has a DHCP
Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Assign Network Parameters Without A DHCP Server . . . . . . 35
Use the Rockwell Automation BOOTP/DHCP Utility . . . . 36
Use RSLinx Software to Configure the IP Address . . . . . . 38
Use RSLogix 5000 Software to Configure the IP Address . 39
Duplicate IP Address Detection . . . . . . . . . . . . . . . . . . . . . . 40
Duplicate Detection Scenarios . . . . . . . . . . . . . . . . . . . . 42
IP Address Swapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
DNS Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Verify Network Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
5 Publication ENET-UM527E-EN-P - October 2006
6 Table of Contents
Manage Module Settings
Use Data Views to Access Controller Data
Chapter 3
How to Use This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Manage Module Information . . . . . . . . . . . . . . . . . . . . . . . . 47
Define Module-specific Information For the Home Page . 48
Modify Network Parameters . . . . . . . . . . . . . . . . . . . . . . 49
Enable and Disable Communication Services . . . . . . . . . 50
Manage Server Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Customize Server Settings. . . . . . . . . . . . . . . . . . . . . . . . 51
Configure the Time Server . . . . . . . . . . . . . . . . . . . . . . . 53
Display the Server Log . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Chapter 4
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Data Views Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Tags Supported In Data Views . . . . . . . . . . . . . . . . . . . . 56
Performance Estimates . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Create a Data View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Add Tags to a Data View . . . . . . . . . . . . . . . . . . . . . . . . 58
Monitor Data Views and Tag Data . . . . . . . . . . . . . . . . . . . . 59
Sort Data Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Interface with the Logix Controller . . . . . . . . . . . . . . . . . 60
Edit a Data View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Create Data Views Offline . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Use an External Application to Access Data Views . . . . . . . . 63
Read a Data View with an External Application. . . . . . . . 63
Change Data In a Data View with an External Application 63
Example: Data View XML . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Example: Data View XML with Tag Values. . . . . . . . . . . . . . 65
Example: Data View XML with Tag Errors . . . . . . . . . . . . . . 66
Send Email
Publication ENET-UM527E-EN-P - October 2006
Chapter 5
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Configure the Web Server to Send Email . . . . . . . . . . . . . . . 69
Send an Email Via the Web Page . . . . . . . . . . . . . . . . . . . . . 70
Send an Email with a Controller-initiated Message Instruction 71
Create String Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Enter the Ladder Logic . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Configure the MSG Instruction . . . . . . . . . . . . . . . . . . . . 73
Enter the Text of the Email. . . . . . . . . . . . . . . . . . . . . . . 75
Possible Email Status Codes . . . . . . . . . . . . . . . . . . . . . . 75
Manage User Accounts and Access Levels
Access Files in the Web Server Module
Create Custom Web Pages
Table of Contents 7
Chapter 6
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
User Accounts and Privilege Classes. . . . . . . . . . . . . . . . . . . 77
Configure Access Limits For Web Pages . . . . . . . . . . . . . . . . 78
Create User Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Recover with Unknown Password . . . . . . . . . . . . . . . . . . . . 81
Chapter 7
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Access the Web Server’s File System . . . . . . . . . . . . . . . . . . 83
Connect to the Web Server Module . . . . . . . . . . . . . . . . 84
File Names and Types . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Back Up the File System On the Web Server Module . . . . . . 87
Back Up Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Restore Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Chapter 8
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Access Custom Web Pages . . . . . . . . . . . . . . . . . . . . . . . 93
Develop a Custom Web Page . . . . . . . . . . . . . . . . . . . . . . . 93
ASP Function Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Read Controller Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Read CIP Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Update Control System Data. . . . . . . . . . . . . . . . . . . . . . 96
Retrieve Information About the Web Server Module . . . . . . . 97
Javascript Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Javascript Library: Conversion.js . . . . . . . . . . . . . . . . . . . 99
Javascript Library: XMLObjectLoaderLib.js . . . . . . . . . . . 100
Web Page Forms and POST Handlers . . . . . . . . . . . . . . . . 102
ACTION="/user/system/dataviews/filename.xml". . . . . . 102
ACTION="/rokform/WriteLogixTags" . . . . . . . . . . . . . . 108
ACTION="/rokform/ReadLogixTag" . . . . . . . . . . . . . . . 110
ACTION="/rokform/CIPMessage" . . . . . . . . . . . . . . . . . 111
Monitor Diagnostics
Chapter 9
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Web Server Module Diagnostics. . . . . . . . . . . . . . . . . . . . . 113
Diagnostics Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Network Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Message Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Ethernet Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Publication ENET-UM527E-EN-P - October 2006
8 Table of Contents
Use the Web Server Module To Connect Over Ethernet
Socket Interface
Appendix A
About This Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
CIP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
CIP Connected Messaging Limits. . . . . . . . . . . . . . . . . . 122
CIP Unconnected Messaging Limits. . . . . . . . . . . . . . . . 122
TCP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Appendix B
About This Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Socket Interface Architecture . . . . . . . . . . . . . . . . . . . . . . . 126
Number and Type of Sockets . . . . . . . . . . . . . . . . . . . . 126
Typical Sequence of Transactions For a TCP Client . . . . 128
Typical Sequence of Transactions For a TCP Server. . . . 129
Typical Sequence of Transactions For UDP Without
OpenConnection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Typical Sequence of Transactions For UDP With
OpenConnection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Communicate With the Socket Object Via a MSG Instruction 132
Message Transfer Sizes. . . . . . . . . . . . . . . . . . . . . . . . . 133
Service Timeouts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
MSG Instruction Timeouts . . . . . . . . . . . . . . . . . . . . . . . . . 134
Socket Instance Timeouts . . . . . . . . . . . . . . . . . . . . . . . . . 134
Programming Considerations . . . . . . . . . . . . . . . . . . . . . . . 135
TCP Connection Loss . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Web Server Module Reset. . . . . . . . . . . . . . . . . . . . . . . 135
Change Controller Mode Between Run and Program . . . 136
Application Messages and TCP . . . . . . . . . . . . . . . . . . . 137
Partial Reads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Partial Writes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Socket Object Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
CreateSocket. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 141
OpenConnection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 143
AcceptConnection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 146
Read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 148
Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 151
DeleteSocket. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 153
DeleteAllSockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Publication ENET-UM527E-EN-P - October 2006
Index
Table of Contents 9
MSG Configuration Parameters . . . . . . . . . . . . . . . . . . . 154
Possible Error Codes for Socket Services . . . . . . . . . . . . . . 155
Socket Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Socket Object Class Attributes. . . . . . . . . . . . . . . . . . . . 158
Socket Object Instance Attributes . . . . . . . . . . . . . . . . . 159
Troubleshoot Socket Applications . . . . . . . . . . . . . . . . . . . 160
Debugging Hints and Tips . . . . . . . . . . . . . . . . . . . . . . 160
Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Publication ENET-UM527E-EN-P - October 2006
10 Table of Contents
Publication ENET-UM527E-EN-P - October 2006

Preface

About This Publication

Who Should Use This Publication

Conventions

Use this manual as a reference when installing, using, and troubleshooting your EtherNet/IP Web Server Module.
This manual explains the use of the following EtherNet/IP Web Server modules:
1756-EWEB
1768-EWEB
This manual is intended for anyone who accesses, configures, or manages the web pages EWEB module.
Text that is Identifies
Bold A value that you must enter exactly as shown
Italic A variable that you replace with your own text or value
courier Example programming code, shown in a monospace font so
you can identify each character and space
enclosed in brackets A keyboard key
11 Publication ENET-UM527E-EN-P - October 2006
12
Publication ENET-UM527E-EN-P - October 2006

Getting Started

Chapter
1

Introduction

This chapter describes procedures for getting started with your EtherNet/IP Web Server module. It includes information about the module and quick start procedures.
Topic Page
About the Enhanced Web Server Module 13
Enhanced Web Server Module Applications 14
Features of EtherNet/IP Web Server Module in a Control System
1756-EWEB Installation 17
1768-EWEB Installation 18
Access the Module Using Your Web Browser 19
Access the Module Using Your Web Browser 19
Use the Web Server Module 23
Create a Data View 23
Access a Data View 24
Configure Email 26
Configure the Time Server 28
Enable/disable Other Services 28
15

About the Enhanced Web Server Module

13 Publication ENET-UM527E-EN-P - October 2006
Both the 1756-EWEB and 1768-EWEB modules, known as Enhanced Web Server modules, provide access to information from the control system using a web browser.
Using an EWEB module, you can monitor and modify control system data remotely using XML web pages.
14 Getting Started

Enhanced Web Server Module Applications

The following features and applications are available with your Enhanced Web Server Module.
Remote access to controller data using a standard web browser
Use a standard web browser to monitor live controller data in two ways: use data views that you create in the web server module, or custom-develop your own web pages.
For example, create a custom web page for managers to monitor production processes directly from their desks. Use data views or custom web pages for OEMs to remotely monitor controller data and reduce support costs.
Deliver data initiated by the control system
System data and information can be sent via email when initiated by a controller in the system. The controller uses a message instruction to initiate an email. Use the email to notify a maintenance person or an engineer of an alarm or alert so that corrective actions can be done in a timely fashion.
The system can also send system status or production reports. The module supports all email clients, such as email applications and text pagers.
Share system data with external applications
The module stores data in its data views in XML files. This generic XML data presentation allows external applications to easily access and manipulate system data.
XML support is also platform and operating system neutral, so you can share data between different applications. For example, design a database application to obtain controller data from the web server module to streamline the data acquisition process.
In addition, the module supports an open-socket interface that lets a Logix controller communicate with Ethernet devices that do not support the EtherNet/IP application protocol, such as bar code scanners or RFID readers.
Publication ENET-UM527E-EN-P - October 2006
Getting Started 15

Features of EtherNet/IP Web Server Module in a Control System

The module provides the following features and services in the control system.
Bridging and routing of messages
Like other EtherNet/IP modules, you can route messages, upload/download programs, and flash upgrade modules using the web server module as part of the communication path to access the target device.
Data access (read and write) to controllers
Access the XML pages in the Enhanced Web Server module to view and modify data that resides in a controller that is in the same chassis as the EWEB module.
Custom web pages
Create custom web pages that are tailored to your application. Use ASP functions to populate your web pages with live controller data.
Email capability
You can initiate email messages from the embedded email composer in the module. You can also use the module to send an email initiated by a Logix controller via a MSG instruction.
Open-socket interface
You can open TCP or UDP communication links to other standard Ethernet devices via the module.
Publication ENET-UM527E-EN-P - October 2006
16 Getting Started
The following diagram shows how EWEB modules might fit in your control system on an EtherNet/IP network.
1768-L43 CompactLogix Controller with 1768-EWEB Module
Power
OUT
L1
L2/N
Computer with RSLogix, RSLinx, and Web Browser Software
PowerMonitor 300 With Ethernet Card
Firewall/Router
ControlLogix Controller With 1756-EWEB Module
PanelView Terminal
Ethernet Switch
FLEX I/O System with
MicroLogix Controller
1794-AENT Adapter
with 1761-NET-ENI
1769-L35E CompactLogix Controller
If both the ControlLogix and CompactLogix chassis in this sample system contain an EWEB module, you could access either module to monitor and modify data in the controllers using a computer with standard Web browser software.
Publication ENET-UM527E-EN-P - October 2006
Getting Started 17

1756-EWEB Installation

To install a ControlLogix Enhanced Web Server Module (1756-EWEB), follow these steps.
1. Align the module with a slot in the 1756 chassis.
2. Slide the module back into the chassis until it snaps into place.
3. Connect the module to the network.
The RJ-45 connector is on the bottom, front of the module.
1756-EWEB, Bottom
RJ-45 EtherNet/IP Connector
Connect the cable here.
4. Obtain an IP address.
For more information, see chapter 2.
By default, the web server module is DHCP enabled. If you connect the web server module to a network that has a DHCP server, that server will assign a dynamic IP address to the web server module and the four-digit display on the front of the web server module will display each of the four numbers of the IP address.
If your network does not have a DHCP server, use one of the methods described in chapter 2 to assign an IP address to the web server module.
Publication ENET-UM527E-EN-P - October 2006
18 Getting Started

1768-EWEB Installation

To install a CompactLogix Enhanced web Server module, complete the following steps.
1. Open the DIN rail latches on the module.
2. Align and press the module onto the DIN rail to the left of the
controller.
3. Slide module snugly against the controller.
Publication ENET-UM527E-EN-P - October 2006
4. Install a power supply and other modules.
5. Close all the DIN rail latches.
6. Obtain an IP address.
For more information, see chapter 2.
Getting Started 19

System Requirements

Access the Module Using Your Web Browser

Browser Requirements
The following table describes browser requirements for specific tasks related to the Enhnaced Web Server module.
To You Need
Access web pages generated by the Enhanced Web Server module
Create and edit data view web pages on the Enhanced Web Server module
View sample code Internet Explorer 5.5 or 6
Any standard web browser
Internet Explorer 5.5 or 6 with XML support
Display Size
The supported display size is 640 x 480 or greater. Smaller display sizes work but might require extensive scrolling to view the information.
Use the following steps to access your EWEB module using you web browser.
Specify the IP address of the web server module in the Address window of your web browser.
The module’s home page displays.
1. In the address field of your web browser, enter the IP address of the module to access the module’s home page.
Publication ENET-UM527E-EN-P - October 2006
20 Getting Started
2. Log into the module.
Default Access:
User Name: Administrator (not case sensitive)
Password: (leave blank, no password)
TIP
Many of the features of the web server module require you to log in with appropriate access. If you select a feature such as New Data View, the web server module prompts you to enter your user name and password.
3. If logging into the module for the first time, enter the default user name ’Administrator’ and leave the Password field blank.
4. Click OK.
TIP
You can set up as many as 25 user accounts. Each account can have read, read and write, or administrator access.
For more information, see chapter 6.
5. In the organizer on the left, select Administrative Settings > Device Configuration > Network Configuration.
Publication ENET-UM527E-EN-P - October 2006
Getting Started 21
6. Confirm the network configuration by verifying the IP address and other network settings.
Expand Administrative Settings to Network Configuration.
Confirm network settings in these fields.
For more information, see chapter 2.
Publication ENET-UM527E-EN-P - October 2006
22 Getting Started

Navigate the Web Server Module

Use the organizer to navigate folders.
You navigate the web server’s web pages using the organizer on the left of the screen. You can also use the tabs across the top to navigate the sections within folders.
Use tabs to navigate pages within folders.
Publication ENET-UM527E-EN-P - October 2006
Getting Started 23

Use the Web Server Module

To help familiarize yourself with the web server module, perform these basic tasks.
If You Want To See Page
Create a Data View 23
Access a Data View 24
Configure Email 26
Configure the Time Server 27
Enable/disable Other Services 28

Create a Data View

Before you can create a data view in the web server, the tags you want to view must exist in the local controller (that is, the controller in the same chassis as the EWEB module) program.
To complete these example, use programming software to create a tag with the following:
Expand Data View to New Data View.
– Alias: TEST
Type: DINT Controller-scope Value: 12345
Create a Data View
To create a data view, you need Administrator or Write access.
1. In the organizer on the left, select Data Views > New Data View.
Publication ENET-UM527E-EN-P - October 2006
24 Getting Started
2. In the Create Data View box, specify a name for the data view and enter an optional description.
3. Specify the:
slot number of the controller.tag name (case sensitive; must be exactly as it is specified in
the controller).
type of tag.how to display the tag data.access limit of the data view.
4. Click on the Add button to add the tag to the data view.
Continue adding as many tags as you want to configure.
5. Click Create View.
For more information, see chapter 4.

Access a Data View

1. In the organizer on the left, select Data Views > Data View.
-OR-
Click the Data Views tab.
Publication ENET-UM527E-EN-P - October 2006
2. Click on the filename of the Data View you just created.
The created tags appear.
Getting Started 25
TIP
To change a data value, you need Administrator or Write access.
3. If you want to change a tag value, enter the new value in the Value field the tag and click the Update button.
This changes the value in the controller. You can use RSLogix5000 software to monitor tags and verify that the value changed.
For more information, see chapter 4.
Publication ENET-UM527E-EN-P - October 2006
26 Getting Started

Configure Email

To configure the SMTP server that manages email, follow this procedure.
1. In the organizer on the left, select Administrative Settings > Device Configuration > Email Configuration.
2. In the organizer, select Send an Email to create and send email.
TIP
You can have a controller execute a MSG instruction that initiates email through the web server module.
For more information, see chapter 5.
Publication ENET-UM527E-EN-P - October 2006
Getting Started 27

Configure the Time Server

Configuring the Time Server helps ensure that files you save to the web server module have accurate date and time stamps.
Complete the following steps to configure the time server.
1. In the organizer on the left, select Administrative Settings > Server Management > Time Settings.
2. Click the radio button to specify the time/date source according to your system.
To Sel ec t
Get the date and time from an SNTP server on the network.
Get the time and date from the local controller
Specify your own date and time Manual Time Entry
SNTP Time Server
Query Controller
For more information, see chapter 3.
Publication ENET-UM527E-EN-P - October 2006
28 Getting Started

Enable/disable Other Services

Use this procedure to enable other services.
1. In the organizer, select Administrative Settings > Device Configuration > Device Services.
2. Select the services you want to use by checking the appropriate checkboxes.
Use the following table as a reference.
To Enable
Allow file tyransfers to and from the web server module
Use SNMP management software (if your system has it)
Service email Simple Mail Transfer Protocol (SMTP)
Allow Ethernet/IP devices to bridge through the web server module to devices in the chassis
Allow web access to control system data Extended Markup Language/Active
File Transfer Protocol (FTP)
Simple Network Mangament Protocol (SNMP)
Common Industrial Protocol (CIP) bridge backplane to EtherNet/IP service
Server Page (XML/ASP)
For more information, see chapter 3.
Publication ENET-UM527E-EN-P - October 2006
Getting Started 29

Additional Resources

Topic Publication Title Publication No.
Creating controller tags using RSLogix5000
EtherNet/IP network EtherNet/IP Modules in Logix5000 Control Systems
1756-EWEB module installation EtherNet/IP Web Server Module Installation
1768-EWEB module installation EtherNet/IP Web Server Module Installation
Consult the following publications for more information.
Logix5000 Controllers Common Procedures 1756-PM001
ENET-UM001
User Manual
1756-IN588
Instructions
1768-IN007
Instructions
You can view or download publications at http://www.literature.rockwellautomation.com
. To order paper copies of technical documentation, contact your local Rockwell Automation distributor or sales representative.
Publication ENET-UM527E-EN-P - October 2006
30 Getting Started
Publication ENET-UM527E-EN-P - October 2006
Loading...
+ 140 hidden pages