Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual page 170

Ethernet
Hide thumbs Also See for MELSEC iQ-RJ71EN71:
Table of Contents

Advertisement

■Application example
An example for writing a value by using the device write CGI is shown below.
• Display of HTML
(4)
(1)
(1) Set DEV1.
(2) Set TYP1.
(3) Set VAL1.
(4) Click it to call the WriteDeviceBlockTbl function of JavaScript. (Set the table ID, the line number where the write starts, and the number of write points 1 for
the arguments.)
• HTML example
<form id="devform" name="readdev" method="post">
<table id="devtbl" class="devtbl" border="1">
<tr>
<th>Device Name</th><th>Data Type</th><th>Value</th>
</tr>
<tbody>
<tr>
<td><input type="text" id="DEV1" name=" DEV1" class="input"value='D10'/ ></td>
<td><input type="text" id="TYP1" name=" TYP1" class="input"value='32-bit Integer'/ ></td>
<td><input type="text" id="DATA1" name=" DATA1" class="input"value='3'/></td>
</tbody>
</table>
<input type="button" value="Write" class="input" onclick=" WriteDeviceBlockTbl(devtbl,1,1)"/>
</form>
1 FUNCTIONS
168
1.12 Web Server Function
(2)
(3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents