HTTP server functions/web pages
Command
Change default PLC address for
subsequent plcpost commands with
the AA command
Change default PLC interface for
subsequent plcpost commands with
the II (uppercase of ii) command
Set the system time of the FP
Web-Server
System reboot of the FP Web-Server
Get a list of existing file names from
the log files folder (as plain text, file
names separated by <cr><lf> )
N o t e
dd
Defines the PLC memory type or a special command. Valid memory types are: DT, FL, LD.
x
Is the high part (decade) of the PLC register address. For example: 9=9y
y
Is the low part of the PLC register address. Range 0...9. For example: 7=x7
z
Defines the type of PLC register. This is binary coded: bit 0...7 is the number of bytes
bit 8=signed/unsigned bit 9=integer bit 10=long bit 11=real bit 12=string bit 13=char.
arrays
Possible values are:
514
108
In the standard definition each PLC data value is defined by a special data
tag "{dd_x_y_z_f}". Multiple data tags can be combined by using the "&"
character (up to 440 characters)
Fix command in the
<input NAME> tag
{AA_999_9_770_%i} PLC address number
{II_999_9_770_%i} Interface number
{TT_99_9_999_%i}
{SR_999_9_770_%i} Any value
{GF_999_9_8192_%
S}
The commands TT and SR have to be enabled in the advanced settings of
the web tab. Set Configuration via HTML to "Full Access".
The parameters of the data tag "{dd_x_y_z_f}" has the following coding:
<input VALUE> tag
Any PLC address from
1..99 or 0 (for EE)
()
timeValue (UNIX time
value: 0= 1.1.1970)
* (asterisk): Read all
files
name: Read a
specified name e.g. to
test if it is existing
name in combination
with * or ? to get a
group of files.
11=11y 123=123y
unsigned 16-bit integer
FP Web-Server V2.810 EN
Notes, Samples
The complete command
can be used in e.g. with
the AJAX technology:
{AA_999_9_770_%i}=
2
The complete command
can be used in e.g. with
the AJAX technology:
{II_999_9_770_%i}=2
{TT_99_9_999_%i}=
1234567890)
sets the date
14.02.2009
{SR_999_9_770_%i}=
0
{GF_999_9_8192_%
S}=*
{GF_999_9_8192_%
S}=MyName.CSV
{GF_999_9_8192_%
S}=LogFiles(????-
??*).CSV
Need help?
Do you have a question about the FP Web-Server2 and is the answer not in the manual?