HTTP server functions/web pages
FP Web-Server V2.810 EN
109
770
signed 16-bit integer
1028
unsigned 32-bit long integer
1284
signed 32-bit long integer
2052
32-bit floating point number (IEEE format)
4096
+ add number of characters for FPWIN Pro
strings (having a 2-word header)
8192
+ add number of characters for a character
array string (no header)
f
Formatting flag as specified with the receiving data tag (plus a leading % character).
Valid format identifiers are (details see manual or FP Web Configurator online help):
%ld %li %d %i %lu %lo %lx %lX %u %o %x %X %f %e %E %g %G %s %S %c
If DT204 (unsigned 16-bit integer) should be set to 123 and DT205
(signed 16-bit integer) to -456, the following data packet is to be sent to
the FP Web-Server:
POST /plcpost\r\nContent-Length:
42\r\n\r\n{DT_20_4_514_%u}=123&{DT_20_5_770_%d}=-456
See also the code examples for some programming languages which are
using the syntax above.
12.1.13
Example on formatting display and input fields
The file TEST.HTM of the "Example - Web pages and e-mail" project shows
a multitude of formatting methods:
E x a m p l e
N o t e