Email Function Used For Communication Tests - Panasonic FP Web-Server User Manual

Fp series programmable controller, hardware / configuration
Hide thumbs Also See for FP Web-Server:
Table of Contents

Advertisement

Email Setup
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
+ 0
Tag must start on line with '{A_'
+ 3
PLC register type: D=DT F=FL L=LD
+ 5
First PLC register address to read
TXT: Start of FPWIN Pro string header
+11
CSV: Number of PLC registers to read
TXT: Always indicator "00001_"
+17
CSV: Cell terminator K=',' S=';'
TXT: Always indicator "T"
+18
CSV: Number of CSV columns
TXT: Always indicator "01_"
+21
Attachment file name up to the '}'
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.
60
FP Web-Server V2.11
Example
{A_
D_
00200_
00066_
00001_
S
T
04_
01_
filename.xxx

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp-webFp-web2

Table of Contents