EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R02CPU - CGI Object; Data Specified for CGI Object; Device Name

Mitsubishi Electric MELSEC iQ-R02CPU
416 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
158
1 FUNCTIONS
1.12 Web Server Function
CGI object
By using the CGI object, a simple and small file size user Web page can be created.
For an overview of CGI, refer to reference books on the market.
For the user Web page, the following CGI objects dedicated to read/write data from/to devices can be used.
The data acquisition from the Web server or the operation to the Web server is executed by passing it as the CGI request from
the client and returning the execution result as a response to the client.
Data specified for CGI object
The data used in the CGI object are listed below.
Device name
The following table lists the devices that can be accessed with the device read CGI and device write CGI.
When specifying a device name which includes \, such as Un\G and Jn\X, repeat \ as Un\\G and Jn\\X. (\ is an escape
sequence.)
File name Item Description Reference
RdDevRnd.cgi Device read CGI Reads the current value of the specified device. Page 160 Device read CGI
WrDevRnd.cgi Device write CGI Writes the specified value to the specified device. Page 166 Device write CGI
Type Device
Bit device X, Y, M, L, B, F, SB, V, DX, DY, SM, Jn\X, Jn\Y, Jn\B, Jn\SB, BL, BLn\S
Word device T (Current value), ST (Current value), C (Current value), D, W, SW, SD, Jn\W, Jn\SW, Un\G, U3En\G, U3En\HG, Z, R,
ZR, RD
Double-word device LT (Current value), LST (Current value), LC (Current value), LZ

Table of Contents

Related product manuals