HTTP server functions/web pages
FP Web-Server V2.810 EN
93
Format
PLC value
Display
GHIJ"
{DT602_5_c}
DT602-DT606="ABCDEF
GHIJ"
"A "
{DT602_1_c}
DT602-DT606="ABCDEF
GHIJ"
"A"
Examples of displaying integers with a decimal point
With the latest version the '.precision' (range 1–9) format specification
can be used to insert a decimal sign into an integer display.
Format
PLC value
Display
{DT201_7_.3i}
DT201=1234
1.234
{DT201_6_.4d} DT201= -12
-0.0012
{DT201_7_05.2d
}
DT201= 17
000.17
{DT201_16_.4lu
}
DDT201= 12
0.0012
{DT201_5_.2X} DT201= 12
0.0C
Flag register (1-bit) display:
Format
Display FALSE
Display TRUE
{R901D_0_1}
"0"
"1"
{R901D_off_on}
"off"
"on"
{R901D_0_1_2_3}
"0"
"1_2_3"
{R901D_<img
SRC="icn1.gif">_O
N}
Image icn1.gif
"ON"
Note:
Do not use spaces
or the character '_' in file
names
System time (UTC) in seconds since January 1, 1970 of the FP
Web-Server unit:
Format
FP Web-Server value
Display
{TTxxx_10_li}
"1352283301"
"1352283301"
Further examples:
Additional basic format examples can be found in
the online help under
"Example - Web pages and e-mail".
For PLC data entry (see p. 104) the same tags are used for formatting.