Panasonic FP Server User Manual


 
Http Server Functions/ Web Pages
FP Web-Server V2.11
74
Http Address Function
http://199.199.26.52/plc?yyy Downloads HTML page yyy.MTM including PLC data. The
file format .MTM is equivalent to the .HTM format plus PLC
data. The .MTM file is generated by the Configurator.
http://199.199.26.52/plc?yyy&U=xx With automatic reload/ update after xx seconds. The
maximum refresh rate is reached with the input &U=0.
For rapidly changing PLC data, we recommend using Java
Applets (see page
158), which can handle a much higher
data update/display rate.
http://199.199.26.52/plc?yyy&A=xx All following PLC data displayed (including yyy.MTM) are
addressed to the PLC with the C-Net/MEWTOCOL
Address xx (0..32). 0 is equivalent to the universal address
EE. The default address (if no &A parameter is used) can
be determined in the base configuration setting PLC
MEWTOCOL Address. The &A operator does not affect
the default addressing for input fields.
http://199.199.26.52/plc?yyy&Rxxy=w Before downloading the page yyy, the internal relay with
the address Rxxy is set (w=1) or reset (w=0). (xx=0...999
y=0...F w=0/1)
http://199.199.26.52/plc?yyy&Yxxy=w Before downloading the page yyy, the output with the
address Yxxy is set/ reset. (xx=0...999 y=0...F w=0/1)
http://199.199.26.52/plc?yyy&Y0=1&A=5&Y
0=1
Composed types of commands are also possible!
Comments:
http://199.199.26.52/' can be omitted for relative hyperlinks in an .HTM (or .MTM).
Only when the http server is turned on can the modification of PLC data (via &Y and &R
commands) be temporarily turned off. If an error occurs, writing to the PLC may be
prevented. Therefore the functioning of the Ys and Rs is also affected.
The functions &Y and &R can be limited with [Add. Range].
The name of the CGI function must be in small letters, i.e.
"http://199.199.26.52/PLC?yyy" will not work.
The PLC address of the &R and &Y commands cannot be replaced by a variable name,
i.e. "http://199.199.26.52/plc?yyyeR'name'=1" will not work. For further information,
refer to Using Variable Names Instead of Absolute PLC Addresses (see page
82).
If spaces or Japanese characters are used, an error message pops up before
transmission to the FP Web-Server.
All file names have to correspond to the DOS 8.3 format, i.e. the name may only have up
to 8 characters and the extension (type) only up to 3 characters after the period.
(FP-WEB2 (see page
15): Long file names without special characters can be used.)
For programming examples in C++ and Java to control PLC relays via the http function, please
refer to the online help under the keyword "Appendix K) Programming Samples: Access to the
FP Web-Server / PLC via TCP".
7.1.5 Configurator Settings Concerning the Http Server
Please refer to the online help for the following descriptions: