
FP Web-Server V2.11
6.1 Email Functions of the FP Web-Server
61
For continuous Internet connections (Router, VPN, GPRS ...) it is sometimes necessary to test
the communication, i.e. to test the availability of radio connections or to distribute the end unit's
IP address after a restart in case bridges or routers are used. In such cases the
DNS request
function for email sending can be used. The PLC should periodically try to send an email ... but
the email recipient address should not be set (empty string). Then a DNS request is sent by FP
Web-Server (after an optional Internet dialup), which tests the communication. Do not forget to
set up the FP Web-Server with a valid email server name and existing DNS server IP address.
For further information, refer to the online help under the keyword "Periodic communication
tests".
6.1.4 PLC Program with Function Block from the Library M_CE_LIB
The following procedure describes how to design a PLC program that sends out an email when
you activate a PLC input.
This PLC sample program is thought of as an example for individually developed PLC
programs. You can find the library and the program in the installation path
"Programs/Panasonic MEW Control/Configurator/FP-WEB2/FPWIN Pro_Example" of the
Configurator. For creating the following PLC program the file "M_CE_Tst.asc" (program) and
the file "M_CE_Lib.sul" (library) are required.
1. Copy the files "M_CE_Tst.asc" and "M_CE_Lib.sul" into a new folder
2. Start FPWIN Pro and create a new project
3. Select the "Library Pool" in the FPWIN Pro Navigator
4. Select and install "M_CE_Lib.sul" from the new folder by pressing [Edit],
[User Library] and [Install/Create]
5. Import the project M_CE_Tst.asc with [Project] and [Import Project]
Now the project should already be faultlessly translatable. Do not forget to save it.
6. Double-click "Libraries" in the FPWIN Pro Navigator to open the Library Pool
7. Click with right mouse button on "M_CE_Lib" and select "Open" from
context menu
Do not enter a password. Open the library with [OK].
Summary of Contents for FP Web-Server
Page 3: ......
Page 11: ......
Page 12: ...Chapter 1 Getting Started...
Page 21: ...Getting Started FP Web Server V2 11 10 1 6 FP Web Server Block Diagram...
Page 23: ......
Page 24: ...Chapter 2 Hardware Description...
Page 41: ......
Page 42: ...Chapter 3 First Steps...
Page 55: ......
Page 56: ...Chapter 4 Configurator Software...
Page 61: ......
Page 62: ...Chapter 5 Base Configuration...
Page 66: ...Chapter 6 Email Setup...
Page 80: ...Chapter 7 Http Server Functions Web Pages...
Page 113: ......
Page 114: ...Chapter 8 Ethernet RS232C Ports...
Page 119: ......
Page 120: ...Chapter 9 Dial In Setup for PPP Server...
Page 125: ...Dial In Setup for PPP Server FP Web Server V2 11 114...
Page 127: ...Dial In Setup for PPP Server FP Web Server V2 11 116...
Page 139: ......
Page 140: ...Chapter 10 Dial Out Setup for PPP Client...
Page 150: ...Chapter 11 NTP Server for PLC Clock Synchronization...
Page 153: ......
Page 154: ...Chapter 12 Modbus Functions...
Page 162: ...Chapter 13 IEC 60870 Functions of the FP Web Server...
Page 168: ...Chapter 14 Java Applet Library MEW JAR...
Page 170: ...Chapter 15 Additional Information...