166
1 FUNCTIONS
1.12 Web Server Function
Device write CGI
Writes the specified value to the specified device.
■Access method and access information
■Request specifications
The following table lists the parameters used for the request.
The format of the request data is the query string.
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.
Item Description
Access method POST
Access destination information (URL) /cgi/WrDev.cgi
Parameter
name
Data type Description Setting range
NUM string Number of write device points (1) Set 1.
(Set this parameter so that the total number of device points specified to read/write
per Web page is within 32 points.)
DEV1 string Device name 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
TYP1 string Device size B: Bit
W: Word
D: Double word
Q: Quad word
Page 159 Device size
DATA1 string Write value Hexadecimal string
D0 B36FH
D1 35A5H
DATA1 "35a5b36f"
1.234568E-06D0
(1)
(2)
Single-precision
real number
Web page