Email Client page

To transfer files by email, you either need a PLC to control the file transfer or you can use the script function.

A PLC provides more flexibility:

Using the script function

Using a PLC

  • Sending of emails with log files attached

  • Transmission at regular intervals

  • Flexible transmission times (e.g. via time stamp, event, or digital input)

  • Sending and receiving of text with separate subject, body, and attachments

  • Sending of files generated from PLC data to the FP-I4C unit

  • Sending of files to a PLC (e.g. recipe data)

  • Ready-made function blocks are available for Control FPWIN Pro7. To download these function blocks or a programming example, select the buttons at the end of the configuration page.

Make email client settings

Enable the email client function and make the file transfer settings.

Enable the email client and make PLC settings

  • Use email client: Use this toggle switch to enable the email client function.

  • First control register: Specify the start address of the control registers used in the PLC to trigger an action.

  • Last control register: This address is calculated based on the specified control register.

  • Polling time: Set the interval in seconds to poll the PLC's control registers.

    A low value (e.g. 1s) will cause high data traffic. We recommend a value between 3s and 7s.

Configure the email client

  • Encryption method: We recommend that you use the TLS method.

    The SSL/TLS protocol involves a handshake where the version is negotiated. The server and the client will agree on the newest version that both support.

  • Data storage location: To store transmitted files in the location specified on the Data Logger page, select Use storage location set in data logger.

    Files in the storage location are not automatically deleted. Monitor memory usage, especially when file names change and existing files are not overwritten.

  • SMTP server (IP address or host name): Enter the IP address or host name of the server (mandatory).

  • SMTP port (0 for autodetect): Set the port number of the server. If 0 is set, the system uses the default port for the selected encryption method.

  • POP3 server (IP address or host name): Enter the IP address or host name of the server. If no POP3 login is used, you can leave this field blank.

  • POP3 port (0 for autodetect): Set the port number of the server. If 0 is set, the system uses the default port for the selected encryption method.

  • Login user name: Enter the user name to log into your email server (max. 40 characters, can be left empty).

  • Login password: Enter the password to log into your email server (max. 40 characters, can be left empty).

  • Subject: Enter the subject of your email (max. 128 characters, can be left empty).

  • Sender email address: Enter the email address of your account in < > brackets or leave the field empty (depending on your email server authorization process).

    Example: <name@email.com>

  • Recipient email address(es): Enter your email recipients in < > brackets, separated with commas.

    Example: <name1@email1.com>,<name2@email2.com>

  • Use CA verification: Usually official certificates must be signed by a certificate authority (CA). If you use a local email server, turn the toggle switch off (no CA verification is requested).

    If official certificates are used, turn the toggle switch on. To upload a certificate from the PC to the FP-I4C unit, drag a file onto the drag and drop area or select a file with the + icon and then select the cloud icon. You can upload all three certificates at the same time.

    The following certificates are supported:

    Certificate

    File names

    CA certificate of the certificate authority (.crt, .csr, .pem)

    ca.crt, ca.csr, ca.pem

    Client certificate (.crt, .csr, .pem)

    client.crt, client.csr, client.pem

    Key file (.key, .pem)

    key.key, key.pem

Save your configuration.

When you have changed any settings, a Save button appears in the upper right corner of the screen. You can make changes on multiple pages and then save your settings.

Reset your configuration

To reset all settings on the current page to the default configuration, select the Reset button at the bottom of the page.

Modified on: 2024-10-02Feedback on this pagePanasonic hotline