Panasonic FP Web-Server2 Hardware And Configuration Manual page 106

Table of Contents

Advertisement

FP Web-Server V2.810 EN
Entry format
User entry
DT202_16_f
1.2e4
Strings
Entry format
User entry
DT602_16_S
1234
DT602_16_S
123
DT600_16_s
1234
DT602_16_c
ABC
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
DT201_16_X
7b
DT201_16_X
8000
DT202_16_lx
01E240
Complete example to enter a 16-bit hex value for DT210:
<form action="/plcpost" method="POST" target="SUBWIN"
onsubmit="opensubwin(200,100);">
Enter DT210 <input SIZE="6" name="DT210_6_X"> in hex</form>
Format specification for integer values
With the latest version the '.precision' (range 1...9) format specification
for integer values is also valid for PLC data entry via the HTML submit
function. It is now possible to enter a floating-point value with a
decimal point, which is stored as a 16-bit or 32-bit integer in the PLC
data register. Examples for entering integers with a decimal point:
Entry format
User entry
DT201_6_.2d
12.3
DT201_6_.2i
-1
DT201_6_.1u
12.345
DT201_16_.5li
123.4567
HTTP server functions/web pages
Data in PLC register
DDT202=12000 (463B8000 hex)
Data in PLC register
DT602-DT603="1234"
DT602-DT603="123?"
DT601=4 DT602-DT603="1234" (DT600
> 3)
DT602="A?"
(? is unchanged)
Data in PLC register
DT201= 123 (007B hex)
DT201= -32768 (8000 hex)
DDT202= 123456 (0001E240
hex)
Data in PLC register
DT201= 1230 (04CE hex)
DT201= -100 (FF9C hex)
DT201=
123 (007B hex)
DDT201=12345670 (00BC6146
hex)
(? is unchanged)
105

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp web-server

Table of Contents