User manual

HTTP server functions/web pages
FP Web-Server V.2.8 119
For example, to read register DT200 via HTTP-'Get', the MEWTOCOL
command should look like this:
"http://199.199.26.52/plc?%01_RDD0020000200**".
Please note that the '#' sign is replaced by a '_' character. The HTTP
response holds the raw MEWTOCOL data such as "%01$RD375D63". In
case of access limitations or other problems, the error code "%01!94**" is
returned. To avoid security problems, PLC access can be completely
disabled or reduced to read-only access. For more security, use the HTTPS
Web Server (see p. 119) of the FP-WEB2 unit.
For MEWTOCOL7 communication use the following syntax:
plc?%@EEE00_00MMRDDG2DT250000000001052C0
%@: fixed
EEE: Station number (e.g. station number 1 001)
00_00MMRD: Mewtocol7 command (read in this case). The '_' sign will be
replaced internally by '#'.
DG2: D for type data, G is fixed and 2 for Words (read data register in
word format)
DT: DT area
250000: Start register
000001: Number of registers
52C0: CRC
12.3 Https server
Under the tab 'Web', an HTTPS server can be switched on. This is possible
in addition or alternatively to the standard HTTP server. MEWTOCOL
communication (see p. 118) is also possible via the HTTPS server.
The HTTPS server uses TCP port number 443. A warning is displayed if one
of the TCP port servers is configured to listen on port number 443. The
secure HTTPS communication is based on X.509 certificates. The default
HTTPS certificates are copied into the configuration project folder. These
certificates can be replaced by customer-specific certificate files.
The HTTPS Web server supports SSL 3.0 and TLS 1.0 protocol versions.