Monitoring function, Monitoring function -10 – IDEC MicroSmart Pentra User Manual

Page 118

Advertising
background image

12: W

EB

S

ERVER

12-10

W

EB

S

ERVER

CPU M

ODULE

U

SER

S

M

ANUAL

FC9Y-B1278

Monitoring Function

In the user web pages, data register values can be monitored without directly using JavaScript or CGI. To enable
monitoring function, check Enable data register monitoring in Web Server settings in the Function Area Settings dialog
box.

Note: When the ladder program is converted in WindLDR, WindLDR inserts links to the system JavaScript library files of the Web server
CPU module in the head section of the imported htm or html files. In order to disable the links for the library files, uncheck Enable data
register monitoring
in Web Server settings in the Function Area Settings dialog box and import the files again.

Numerical Display/Input

When data register monitoring is enabled, and the following string is included in html page, that string is replaced with
the value read from the Web server CPU module. Since the system library is responsible for reading or writing data via
CGI, there is no need to create any programs.

{{Read/Write, Device Type, Device Number, Driver Number, Network Number, Data Type}}

Example: {{R,D,123,0,0,DEC-W}}

Read/Write: Specify R or W. When R is selected, value read from the CPU module is shown. When W is selected, a new
value can be written to the CPU module.
Device Type: Specify the device type. D (data register) can be specified.
Device Number: Specify the device number in decimal.
Driver Number: Reserved for the system. Specify 0.
Network Number: Reserved for the system. Specify 0.
Data Type: Specify the data type to show the device data in desired format.

Bit Button (Form Button)

When data register monitoring is enabled, and the following string is included in an html page, that string is replaced with
a form button and the button text is updated according to the bit state read from the Web server CPU module. The
system library is responsible for reading or writing data via CGI.

{{Read/Write, Device Type, Device Number, Driver Number, Network Number, Data Type, Off State String, On State
String}}

Example: {{R,m,123,0,0,BIT_FORM,BITOFF,BITON}}

Read/Write: Specify R or W. When R is selected, the state of the specified bit read from the CPU module is shown on the
form button. When W is selected, the bit state can be toggled by clicking on the form button.
Device Type: Specify the device type. m (internal relay) can be specified.
Device Number: Specify the device number in decimal.
Driver Number: Reserved for the system. Specify 0.
Network Number: Reserved for the system. Specify 0.
Data Type: Specify BIT_FORM.
Off State String: Specify the string to show on the form button when the bit state is off.
On State String: Specify the string to show on the form button when the bit state is on.

Advertising