Panasonic FP Server User Manual


 
Email Setup
FP Web-Server V2.11
60
or for a text attachment is:
{A_D_00200_00001_T01_filename.txt}
The parameters in this tag have the following meanings:
Char. Offset Description Example
+ 0
Tag must start on line with '{A_' {A_
+ 3
PLC register type: D=DT F=FL L=LD D_
+ 5
First PLC register address to read
TXT: Start of FPWIN Pro string header
00200_
+11
CSV: Number of PLC registers to read
TXT: Always indicator "00001_"
00066_
00001_
+17
CSV: Cell terminator K=',' S=';'
TXT: Always indicator "T"
S
T
+18
CSV: Number of CSV columns
TXT: Always indicator "01_"
04_
01_
+21
Attachment file name up to the '}' filename.xxx
CSV Example:
In "Example2" we used the following email text to define an attachment containing PLC data
read from the PLC's memory starting at DT200...DT266. It is sent to the email recipient in a CSV
compatible file named 'file.csv':
TXT Example:
The text to send as an email attachment is stored in the PLC memory as an FPWIN Pro string.
The string begins with a 2-word header that defines the maximum and current string lengths.
From the third word on, the ASCII character text begins.
For example, a string with the text "message" is stored at DT200:
DT200 = 1000
DT201 = 7
DT202 ...DT205 = "message"
The tag must start at the first position of the email text after the lines "SUBJECT"
and "TO" and before the email text starts.
6.1.3 Email Function Used for Communication Tests
Communication tests can be used with empty emails for a DNS request.