HTTP server functions/web pages
108
FP Web-Server V2.810 EN
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)
Command
Fix command in the
<input NAME> tag
<input VALUE> tag
Notes, Samples
Change default PLC address for
subsequent plcpost commands with
the
AA
command
{AA_999_9_770_%i} PLC address number
Any PLC address from
1..99 or 0 (for EE)
The complete command
can be used in e.g. with
the AJAX technology:
{
AA
_999_9_770_%i}=
2
Change default PLC interface for
subsequent plcpost commands with
the
II
(uppercase of ii) command
{II_999_9_770_%i} Interface number
()
The complete command
can be used in e.g. with
the AJAX technology:
{
II
_999_9_770_%i}=
2
Set the system time of the FP
Web-Server
{TT_99_9_999_%i}
timeValue (UNIX time
value: 0= 1.1.1970)
{TT_99_9_999_%i}=
1234567890)
sets the date
14.02.2009
System reboot of the FP Web-Server {SR_999_9_770_%i} Any value
{
SR
_999_9_770_%i}=
0
Get a list of existing file names from
the log files folder (as plain text, file
names separated by <cr><lf> )
{GF_999_9_8192_%
S}
* (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.
{GF_999_9_8192_%
S}=
*
{GF_999_9_8192_%
S}=
MyName.CSV
{GF_999_9_8192_%
S}=
LogFiles(????-
??*).CSV
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:
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 11=11y 123=123y
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
unsigned 16-bit integer
N o t e