Mewtocol Communication Via Http Server - Panasonic FP Web-Server2 Hardware And Configuration Manual

Table of Contents

Advertisement

N o t e

12.2.1.2 MEWTOCOL communication via HTTP server

FP Web-Server V2.810 EN
User names and passwords of the configuration will not be displayed.
In case of full access the programmer is responsible for checking the
new settings before they will be written to the configuration file. The
settings will not be validated by the FP WEB-Server unit.
Some parameters are blocked and cannot be modified (passwords, IP
addresses...)
We recommend to use an AJAX (Javascript) program to validate the
parameters before writing the data.
As an option, MEWTOCOL communication with the PLC can be carried out
via port 80 and the HTTP server. This is especially useful for Internet
systems and PLC access via proxy gateways. Also enhanced Web pages
(Java applet, Ajax scripting) can directly communicate with the PLC.
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. 120) 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)
HTTP server functions/web pages
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp web-server

Table of Contents