HTTP server functions/web pages
FP Web-Server V2.810 EN
107
12.1.12.3
Comments on defining input fields for PLC data on HTML
In the current version, DT, FL, LD values as well as R and Y can be
defined in input fields.
In the definition of the input field
NAME="DT205_6_d"
, only numbers
from 0 to 9, letters from A to Z and the underscore are permitted! Do
not use special characters like * - < > $ % / ' & and so on!
To send Boolean values from the type R and Y, use this syntax:
NAME="R123_100_u"
. Only the register address can be defined by
the user. The characters
_100_u
are fixed.
The data type and address part
TTxxxy
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}
.
In the current version, octal numbers cannot be entered, i.e. format
specifier _o has not been implemented yet!
The "default" MEWTOCOL address of the PLC cannot be modified by the
calling parameter "Address Modifier"
&A=x
for input fields!
If you send several input fields to a PLC with a button (see "Defining
input fields for PLC data on HTML pages" on p. 101), the maximum
number of characters is limited to 300 for all NAME="..." and
VALUE="..." commands.
You can limit the PLC write access with the function [Add. Range].
For programming examples in C++ and Java to send PLC data via the http
submit function to the PLC, refer to the online help under the keyword
"Appendix K) Programming Samples: Access to the FP Web-Server / PLC
via TCP".
12.1.12.4
Extended Http POST functions
Additionally to processing input fields for HTML data on HTML pages (see
"Data fields for displaying PLC data on HTML pages" on p. 88) some helpful
functions are implemented.