Fpweb Script Function Of The Fp Web-Server - Panasonic FP Web-Server2 Hardware And Configuration Manual

Table of Contents

Advertisement

10.2 FPWEB Script function of the FP Web-Server

Main script rules:
Variables:
FP Web-Server V2.810 EN
The FP Web-Server can process an internal script as a user program. With
this program it is possible e.g. to use the unit without a PLC to send
e-mails or a file to a specified destination automatically.
The script is running continuously in a cycle like a PLC program.
The script syntax is similar to the PLC's Structured Text
A script is a plain text file (multibyte text)
The "white space characters" will be ignored and have no influence on
the program (space, horizontal tab, new line, vertical tab, and form
feed)
Each line with functions or operations must be terminated with a
semicolon ";" (but not the comments)
Each line ends with at least the LF (line feed) character (Windows
systems usually use CR+LF)
Comments start with the character "#" and terminate at the end of a
line
The script can handle variables. There are two different types of
variables available: "Flags" and "Data registers"
"Flags" are designed for two status: FALSE and TRUE. Each flag starts
with the character "R" and a number in square brackets: e.g. R[1C]
Valid range of flags: 0000–255F. Note that the value is written as a
hexadecimal value.
"Data registers" are designed as 16-bit unsigned integer. Each data
register starts with the characters "DT" and a number in square
brackets: e.g. DT[1]
Valid range of data registers: 0–32599 and the PLC system registers
90000–90099. The PLC system registers are only used for compatibility
and have no effect and no relevant content.
The data registers 32600–32767 are reserved for internal use only.
DT and R are PLC interface related data. Use WI instead of DT if the
FPWEB internal data should be used explicitly.
FPWEB Script
73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp web-server

Table of Contents