1 examples on plc data entries via html page – Panasonic Web-Server FP User Manual
Page 100

FP Web-Server V2.11
7.1 Details on the FP Web-Server's Web Page Functions
89
The 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="
opensubwin(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.
7.1.12.1 Examples on PLC Data Entries via HTML Page
a) 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)
DT202_16_f
1.2e4
DDT202=12000 (463B8000 hex)
b) Strings
Entry format
User entry
Data in PLC register
DT602_16_S 1234
DT602-DT603="1234"
DT602_16_S
123
DT602-DT603="123?" (? is unchanged)
DT600_16_s
1234
DT601=4 DT602-DT603="1234" (DT600 > 3)
DT602_16_c
ABC
DT602="A?" (? is unchanged)
c) Hex
entries:
In the latest version also the format type characters 'x' and 'X' are allowed for
hexadecimal PLC data entries. Hex data entries are possible for 16-bit
(name="DT200_6_X") and 32-bit (name="DT300_16_lx") PLC data registers:
Entry format
User entry
Data in PLC register
DT201_16_X
7b
DT201= 123 (007B hex)