Mitsubishi MELSEC-Q Series User Manual page 348

Web server module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

7 USER SCREEN CREATION FUNCTION
7 - 19
(3) Sample screen for comment display part
The following provides an example of creating the sample screen that displays
the comment display parts.
The sample screen (SMPCMTEN.HTM) is stored in the USER directory of the
Web server module.
(a)
Tag setting (refer to Section 6.3.3)
1)
Set the component setting No. 1 of the tag setting No. 1.
2)
Click on the "Update" button on the Setting update screen to update
the setting.
(b)
Creation of HTML file (File name: SMPCMTEN.HTM)
The HTML source is indicated below.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Pragma" content="no-cache">
<title>Sample screen for comment display part</title>
</head>
<body>
<h1>Sample screen for comment display part</h1>
<!-- Communication part -->
<applet code="WSCom.class" codebase="/PARTS/" width="0" height="0">
<param name="INTERVAL" value="1">
</applet>
<!-- Comment display part -->
<applet code="WSCmt.class" codebase="/PARTS/" width="500" height="50">
<param name="TAGNO"
<param name="ELMNO"
<param name="FONTSIZE"
<param name="DEFCMT"
<param name="DEFCOLOR" value="Black">
<param name="BKCOLOR"
<param name="RANGENO" value="1">
<param name="LOW1"
<param name="HIGH1"
<param name="CMT1"
<param name="COLOR1"
</applet>
</body>
</html>
(c)
Storage of HTML file
Transfer the HTML file to the Web server module by performing FTP
operation.
File storage destination: [/ROM/WWW/USER/SMPCMTEN.HTM]
value="1">
value="1">
value="30">
value="Ready ...">
value="White">
value="-32768">
value="0">
value="A trouble occurs in device A.">
value="Red">
MELSEC-Q
7 - 19

Advertisement

Table of Contents
loading

Table of Contents