Asp function calls, Develop a custom web page, Access custom web pages – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual
Page 93

Publication ENET-UM527E-EN-P - October 2006
Create Custom Web Pages 93
Access Custom Web Pages
Once a custom web page is copied into the web server module, you
can display that page from your web browser:
Develop a Custom Web
Page
Custom web pages can contain standard web content, such as a
company logo, contact information, and links to other web pages. In
addition, you can use ASP functions and other features that come with
the web server module to display and manipulate live controller data.
An ASP file is essentially the same as an HTML file, with embedded
scripting constructs supported by ASP. An ASP file has the file
extension .asp. When an ASP file is requested by a browser, the web
server interprets the ASP file and executes the ASP-specific scripts.
The browser sees only the resulting HTML, not the embedded ASP
scripts.
ASP Function Calls
The web server module provides these ASP functions
.
If You Custom Web Page Is
In Your Web Browser
Configured as the default home
Enter the IP address of the web server module.
The web browser accesses the defined web page for the web server module.
If you specify a custom page as the default home page, you can still access the predefined
home page by entering: http://ip_address/index.html
Not configured as the default home page,
but is copied into the /user/Web directory
Enter: http://ip_address/user/Web/my_file.html
The web browser displays any custom file if you specify the complete URL to that file.
Use To
See
Page
ASP function calls
Display controller data
Javascript libraries
Manipulate the controller data returned by ASP function calls
Web page forms and POST handlers
Change controller data
To
Use This ASP Function
See Page
Read controller tags
ReadLogixTag
ReadLogixTagUnconnected
Read CIP data
CIPMessage
CIPMessageUnconnected
Retrieve information about the module
GetSetting
97