Panasonic FP Web-Server2 Hardware And Configuration Manual page 55

Table of Contents

Advertisement

FTP client and SD memory card control setup
The parameters in this tag have the following meanings:
Parameter
Char. offset
Parameter
+0
Start code
+3
PLC register type
+5
Pointer 1 to start
of data 1
+11
Number of
registers
or
Pointer 2 to start
of data 2
+17
Operation mode
54
To replace the contents of a line of a stored file, the following syntax can
be used (00200: string start address of the text to find, 00300: address of
the new text)
{A_D_00200_00300_m01_filename.txt}
To read the contents of a line of a stored file, the following syntax can be
used (00200: string start address of the text to find, 00300: address of the
new text)
{A_D_00200_00300_r01_filename.txt}
To test if a file exists, the following syntax can be used:
{A_D_00200_00000_P01_filename.txt}
No data will be written to the PLC if the number of PLC registers is set to 0.
Description
Tag must start with '{A_'
PLC register type: D=DT, F=FL, L=LD
CSV: First PLC register address to read
TXT: Start of Control FPWIN Pro string header
CSV: Number of PLC registers to read
TXT:
Indicator "00001_" to transmit data or "00000_" for
a test command with P
TXT function 'm' or 'r':
Start of Control FPWIN Pro string header of
read/replace data
CSV:
K,k*: Cell terminator ',' (comma)
S,s*: Cell terminator ';' (semicolon)
P: Restore a file/recipe from SD card to the PLC
TXT:
– T,t*: Write and forward
– a*: Append to existing file. If the file does not
exist, it will be created automatically.
– r*: Search for a line of a file for the text specified
by data 1.
Each line must be terminated with LF (line feed
control code). If the text of data 1 is starting with *
(asterisk), the search text can be at any position
within the line.
The read result or error information is stored in data
Example
{A_
D_
00200_
00066_
00001_
S
FP Web-Server V2.810 EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp web-server

Table of Contents