Panasonic FP Web-Server2 Hardware And Configuration Manual page 91

Table of Contents

Advertisement

HTTP server functions/web pages
90
The setup of the field for PLC data display always has the format
{TTxxxy_aa_bb} (for FP7 {TTxxxxy_aa_bb}) with the following
parameters:
TT
PLC Data Type. Implemented PLC data identifiers: DT, FL, LD, WI, R, X, Y
xxxy
Address of the PLC Data, e.g. DT200 or Y7.
The address range supported by the FP Web-Server is 0–32765.
For internal flags, the last position of the address is a hexadecimal number
from 0–F, e.g. R2F
For FP7, the supported address range is 0–999424. MEWTOCOL 7 must be
xxxxy
set for addresses above 32765.
aa
Numbers: Number of characters reserved in HTML. The rest will be cut off.
Internal flags: Text that should be displayed at internal flag state 0, e.g. OFF.
bb
Numbers: Number format, i.e. type of the display. See below.
Internal flags: Text that should be displayed at internal flag state 1, e.g. ON.
The data type and address part TTxxx(x)y can be replaced by the
corresponding variable name (see p. 96) from the FPWIN Pro project, e.g.
{'VarName'_aa_bb} or {'name'_5_i}.
There is no space allowed between the curly bracket and the first
character. For example { DT3_4_u} or { 'name'_5_i} is not allowed.
It will be interpreted as a Java Script command and copied unchanged into
the final HTML file.
The setup of the format specification bb for numbers is
[flags][width][.precision][l]type
Only the specification 'type' is obligatory. The other inputs are optional. In
the following list the corresponding FPWIN Pro types are listed in brackets:
Type
d = decimal, whole-numbered (16-bit, INT)
i
= decimal, whole-numbered (16-bit, INT)
u = unsigned decimal, whole-numbered (16-bit, WORD)
o = unsigned octal (16-bit, WORD) (only display, not for data entry)
x = unsigned hexadecimal, lower case (16-bit, WORD)
X = unsigned hexadecimal, upper case (16-bit, WORD)
f
= floating point number without exponent (32-bit, REAL)
e = floating point number with exponent (small e for exponent,
REAL)
E = floating point number with exponent (capital E for exponent,
REAL)
g = either e or f, depending on what seems to be more compact
(REAL)
G = like g, but the exponential display also taken into account
(REAL)
s = FPWIN Pro strings with current string length in the "Header"
FP Web-Server V2.810 EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp web-server

Table of Contents