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.
Unzip the downloaded library and sample files.
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.
Go to
.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