Javascript libraries – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual

Page 98

Advertising
background image

Publication ENET-UM527E-EN-P - October 2006

98 Create Custom Web Pages

Javascript Libraries

The web server module provides built-in Javascript functions designed to
help manage control system data in custom web pages.

“if_in_octets”“if_in_ucast”
“if_in_nucast”“if_in_discards”
“if_in_errors”“if_in_unknown_protos”
“if_out_octets”“if_out_ucast”
“if_out_nucast”“if_out_discards”
“if_out_errors”“media_alignment_errors”
“media_fcs_errors”“media_single_collisions”
“media_multiple_collisions”“media_sqe_test_errors”
“media_deferred_trans”“media_late_collisions”
“media_excessive_collisions”“media_mac_trans_errors”
“media_carrier_sense_errors”“media_frame_too_long”
“media_mac_receive_errors”

The diagnostic information on the Diagnostics

Ethernet

Statistics page.

See page 119 for more information.

“time”

“asc_local_time”

Time in seconds since January 1, 1970

ASCII string of time and date

These values display the time the web page is accessed.

Value

Description

Use This Javascript Library

To

See Page

conversion.js

Convert values in the string returned from CIPMessage and
CIPMessageUnconnected

functions using the STRING

data type into atomic, numeric or string values.

99

XMLObjectLoaderLib.js

Convert the string returned from a GET_ATTRIBUTE_ALL service
into a Javascript object which lets you refer to the object or
instance attributes by name.

100

Advertising
This manual is related to the following products: