Panasonic FP Server User Manual


 
Http Server Functions/ Web Pages
FP Web-Server V2.11
80
Format PLC value Display
{DT201_6_+d} 12345 (3039hex) "+12345"
b) Spaces and zeros
Format PLC value Display
{DT201_6_i } DT201=17 "17 " (HTML suppresses multiple spaces)
{DT201_6_06i} DT201=17 "000017"
{DT201_6_ 6i} DT201=17 " 17" (HTML suppresses multiple spaces)
{DT201_6_6.0i} DT201=17 " 17" (HTML suppresses multiple spaces)
c) Hex display
Format PLC value Display
{DT201_4_4X} DT201=17 " 11" (HTML suppresses multiple spaces)
{DT201_4_04X} DT201=17 "0011"
{DT202_8_08lX} DDT202=123456 "0001E240" (lower case L before X)
{DT202_8_8lx} DDT202=123456 "1e240" (lower case L before X)
d) Float (real value) display
Format PLC value Display
{DT202_8_f} DDT202=6.7
(40D66666hex)
"6.700000"
{DT202_8_7.2f} DDT202=12345
(4640E400hex)
"12345.00"
{DT202_8_7.2f} DDT202=23.456
(41BBA5E3hex)
" 23.46 "
{DT202_8_+7.2f} DDT202=1234.56
(449A51EChex)
"+1234.56"
{DT202_13_e} DDT202=123.4
(42F6CCCDhex)
"1.234000e+002"
{DT202_13_E} DDT202=1234000
(4996A280hex)
"1.234000E+006"
{DT202_10_g} DDT202=123.4
(42F6CCCDhex)
"123.4 "
{DT202_10_g} DDT202=1234000
(4996A280hex)
"1.234e+006"
e) Display strings
Format PLC value Display
{DT602_5_S} DT602-DT606="ABCDEFGHIJ" "ABCDE"
{DT602_5_.3S} DT602-DT606="ABCDEFGHIJ" "ABC "
{DT600_12_s} DT600=34 DT601=10
DT602-DT606="ABCDEFGHIJ"
"ABCDEFGHIJ "
{DT600_6_s} DT600=34 DT601=10
DT602-DT606="ABCDEFGHIJ"
"ABCDEF"
{DT602_5_c} DT602-DT606="ABCDEFGHIJ" "A "
{DT602_1_c} DT602-DT606="ABCDEFGHIJ" "A"
f) Examples of displaying integers with a decimal point
With the latest version the '.precision' (range 1...9) format specification can be used