Email Setup
FP Web-Server V2.11
62
8. Double-click "Global Variables" under "M_CE_Lib"
9. The following variables have to be compared and adjusted (where
necessary) to the settings of the configurator project
a)
MAIL_PLC_CTR_srt R20
MAIL_PLC_CTR_err R21
b)
MAIL_PLC_POI_rec DT100
MAIL_PLC_POI_txt DT101
c)
Server_Timeout 50
50 * 0,2 = 10s This value needs to significantly exceed the value defined in the poll
time delay of the Configurator project! If the FP Web-Server sends an email via
Internet dialup the value should be set about 1000s (3 minutes).
d)
The email text stored at the variable 'email_txt' in the PLC can contain theoretically
up to 32.000 7-bit ASCII characters but FPWIN Pro allows only a maximum string
length of 255 characters. This string length can also be set in the Global Variable
List.
10. Select the program "Email Test" in the "POU Pool" and open the "Body"
It is absolutely necessary to adjust the recipient's email address in network 4.
Please use your own email address and do not forget to put the <> brackets around
the address.
11. Please make sure that the RS232C parameter of the PLC for the
communication with the FP Web-Server is set correctly