12: W EB S ERVER12-10 WEB S ERVER CPU MODULE U SER ’S M ANUAL FC9Y-B1278Monitoring FunctionIn the user web pages, data register values can be monitored without directly using JavaScript or CGI. To enablemonitoring function, check Enable data register monitoring in Web Server settings in the Function Area Settings dialogbox.Note: When the ladder program is converted in WindLDR, WindLDR inserts links to the system JavaScript library files of the Web serverCPU module in the head section of the imported htm or html files. In order to disable the links for the library files, uncheck Enable dataregister monitoring in Web Server settings in the Function Area Settings dialog box and import the files again.Numerical Display/InputWhen data register monitoring is enabled, and the following string is included in html page, that string is replaced withthe value read from the Web server CPU module. Since the system library is responsible for reading or writing data viaCGI, 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 newvalue 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 witha form button and the button text is updated according to the bit state read from the Web server CPU module. Thesystem 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 StateString}}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 theform 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.Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com