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:
Содержание FP Web-Server
Страница 3: ......
Страница 11: ......
Страница 12: ...Chapter 1 Getting Started...
Страница 21: ...Getting Started FP Web Server V2 11 10 1 6 FP Web Server Block Diagram...
Страница 23: ......
Страница 24: ...Chapter 2 Hardware Description...
Страница 41: ......
Страница 42: ...Chapter 3 First Steps...
Страница 55: ......
Страница 56: ...Chapter 4 Configurator Software...
Страница 61: ......
Страница 62: ...Chapter 5 Base Configuration...
Страница 66: ...Chapter 6 Email Setup...
Страница 80: ...Chapter 7 Http Server Functions Web Pages...
Страница 104: ...FP Web Server V2 11 7 1 Details on the FP Web Server s Web Page Functions 93 TEST HTM Displayed in the Browser...
Страница 113: ......
Страница 114: ...Chapter 8 Ethernet RS232C Ports...
Страница 119: ......
Страница 120: ...Chapter 9 Dial In Setup for PPP Server...
Страница 125: ...Dial In Setup for PPP Server FP Web Server V2 11 114...
Страница 127: ...Dial In Setup for PPP Server FP Web Server V2 11 116...
Страница 139: ......
Страница 140: ...Chapter 10 Dial Out Setup for PPP Client...
Страница 150: ...Chapter 11 NTP Server for PLC Clock Synchronization...
Страница 153: ......
Страница 154: ...Chapter 12 Modbus Functions...
Страница 162: ...Chapter 13 IEC 60870 Functions of the FP Web Server...
Страница 168: ...Chapter 14 Java Applet Library MEW JAR...
Страница 170: ...Chapter 15 Additional Information...