Device Write Cgi - Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual

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

Advertisement

Device write CGI

Writes the specified value to the specified device.
■Access method and access information
Item
Access method
Access destination information (URL)
■Request specifications
The following table lists the parameters used for the request.
Parameter
Data type
name
NUM
string
DEV1
string
TYP1
string
DATA1
string
The format of the request data is the query string.
Ex.
Writing FFFFH to D0
NUM=1&DEV1=D0&TYP1=W&DATA1=FFFF
When writing the device value which is input to the Web page in the real number format, the input data needs
to be converted to the hexadecimal format by using JavaScript (1). For the device size, D: Double word needs
to be specified and performing a request (2) are required as well.
1 FUNCTIONS
166
1.12 Web Server Function
Description
POST
/cgi/WrDev.cgi
Description
Number of write device points (1)
Device name
Device size
Write value
D0
Web page
DATA1
D0
D1
Setting range
Set 1.
(Set this parameter so that the total number of device points specified to read/write
per Web page is within 32 points.)
Up to 16 alphanumeric characters
(This parameter is not case-sensitive. The indirect specification, bit specification,
digit specification, or index modification cannot be performed.)
Page 158 Device name
B: Bit
W: Word
D: Double word
Q: Quad word
Page 159 Device size
Hexadecimal string
Single-precision
1.234568E-06
real number
(1)
"35a5b36f"
(2)
B36FH
35A5H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents