HTTP server functions/web pages
104
FP Web-Server V2.810 EN
Individual HTML commands can be entered (exactly as described above)
into the HTML code of the page and then adjusted respectively. Some
HTML editors provide additional help and automatic generation for creating
submit fields. The commands have the following significance:
ACTION="
/plcpost
"
Enter precisely like this. CGI function of the FP Web-Server.
METHOD="
POST
"
Enter precisely like this. Method of the CGI call.
TARGET="
SUBWIN
"
Enter precisely like this. Display the result in a separate
window.
ONSUBMIT="
opensubw
in(200,100)
"
Enter precisely like this. Java Script call and window size.
Enter DT204
Variable text will be displayed as seen.
NAME="
DT204_5_u
"
Specification of the memory address in the PLC and
interpretation of the input format.
SIZE="
6
"
Width of the input window in number of characters.
VALUE="
{DT204_5_u}
"
Initial value of the input field. Pre-allocation of the Edit field.
Only for the definition of buttons in case A):
TYPE="
submit
"
Enter precisely like this. Function of the [SUBMIT] buttons.
NAME="
Button
"
Enter precisely like this. Name of the [SUBMIT] button.
VALUE="
set
"
Variable labeling of the [SUBMIT] buttons.
Only for the definition of buttons in case C):
TYPE="
hidden
"
Enter precisely like this, if the value to send is hidden.
NAME="
DT204_5_u
"
Specification of the memory address in the PLC. The
interpretation of the input format is unused for hidden send
values.
NAME="
R1A_100_u
"
Besides 16-bit register addresses, R and Y are also allowed.
For BOOL values, the interpretation of the input format must
be entered precisely like this example.
VALUE="
1
"
Value to send. Send BOOL commands as the values 0 (FALSE)
or 1 (TRUE).
12.1.12.1
Examples on PLC data entries via HTML page
Decimal numbers
Entry format
User entry
Data in PLC register
DT201_16_u
12
DT201= 12 (0C hex)
DT201_16_d
-32768
DT201= -32768 (8000hex)
DT202_16_ld
1234567
DDT202=1234567 (12D687hex)
DT202_16_f
123.4
DDT202=123.4 (42F6CCCD hex)