Step 3: Set up the programming examples

The programming examples use ready-made function blocks for the HTTP client service to collect data from a weather server and forward it to a dashboard server.

Download the FP‑I4C library and the programming example for Control FPWIN Pro7 on the HTTP Client page.

  1. Unzip the downloaded library and sample files.

  2. Double-click the file HTTPC_example.pce to open the sample project in Control FPWIN Pro7.

    The library is automatically installed when the project is opened.

    The project contains different sample POUs. These POUs contain all settings required to establish a connection with a weather server.

  3. Go to Online > Communication parameters... .

    Make the following settings:

    Connection type: Ethernet

    Configuration name: Enter a name for your Ethernet connection.

    Use ET-LAN unit: Disabled

    IP address: Enter the IP address of the FP‑I4C unit.

    Port number: Enter the port number of the FP‑I4C unit (in this example 9096).

    Select Options and make the following settings:

    • Communication timeout (s): 15s

    • Connection timeout (s): 60s

Letzte Änderung: 2024-02-20Feedback zu dieser SeitePanasonic Hotline