FP Web-Server V2.11

7.1 Details on the FP Web-Server's Web Page Functions

 

 

the SIZE="x" command. Secondly, this string can be shortened even further with the format command .xs. Thirdly, the maximum memory permitted (Header 1st Word) has to be taken into account. After the transmission of the string to the PLC, the "header" (2nd Word) with the new length will be updated.

-Un-initialized String: If a string variable is not initialized by the FPWIN Pro project, the 1st Word (maximum string length) is zero. With this the FP Web-Server cannot store any character in this string because no memory is reserved for storing!

-Null-String: If such a string has the length 0 (zero) the current length of the string (2nd Word) is also set to 0, i.e. the string is deleted.

A string (s or S) of an input field (determined by MEWTOCOL) can only be 48 characters long! Compare to display fields for strings that are 52 characters long!

The special characters < and > are transcribed as ¼ and ¾ characters when the strings are displayed. If the special characters ¼ and ¾ are used in input fields, they will be transcribed into the characters < and > before they are transmitted to the PLC.

Only 7-bit ASCII characters (see page 99) are supported when strings are displayed or entered in HTML.

7.1.12.3Comments on Defining Input Fields for PLC Data on HTML

In the current version only DT, FL and LD values can be defined in input fields. The input of internal relay values (R, Y) has to be realized via hyperlinks in the format, as it is described under Calling Parameter (see page 73).

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! Please do not use special characters like

*- < > $ % / ' & and so on!

The data type and address part TTxxxy can be replaced by the corresponding variable name (see page 82) 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!

In case "A) Send Input with Button" where several input fields can be sent to the PLC with a button, the maximum number of characters of all NAME="..." commands is limited to 300. The number of characters of all VALUE="..." commands is limited to 300 as well.

You can limit the PLC write access with the function [Add. Range].

For programming examples in C++ and Java to send PLC data via 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".

91