EasyManuals Logo

Festo CECX-X-C1 Series User Manual

Festo CECX-X-C1 Series
631 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #503 background imageLoading...
Page #503 background image
The library Ethernet.lib
The library Ethernet.lib
The functions of the Ethernet library support the handling of IP configurations. Similar to the settings in
'Network Configuration', the network settings can be made per function call.
Functions
The Ethernet library contains the following functions:
ï‚· EthGetIPConfig: For reading of the IP configuration
ï‚· EthSetIPConfig: For setting of the IP configuration
EthGetIPConfig
This function reads out the IP configuration values set per 'Network Configuration'.
In/Out Variable Data type Description
pIPConfig T_IPConfig *)
*) T_IPConfig
The structure contains the following variables:
Variable Data type Description
Name STRING(15) Name of the control, e.g. 'myPLC'
IP STRING(15) IP address, e.g. '192.168.5.20'
SubnetMask STRING(15) Subnet mask, e.g. '255.255.255.0'
Gateway STRING(15) Gateway address, e.g. '192.168.5.1'
DHCP BOOL If TRUE then the IP address is automatically polled
by the DHCP server. The current IP address of the
control can then be differently from the configured
one.
See also the topic 'Ethernet connection' in the system manual.
Output variable Data type Description
EthGetIPConfig BOOL Return value:
TRUE ... Function successfully executed,
FALSE ... Function was not successfully
completed.
CECX-III 1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Festo CECX-X-C1 Series and is the answer not in the manual?

Festo CECX-X-C1 Series Specifications

General IconGeneral
BrandFesto
ModelCECX-X-C1 Series
CategoryController
LanguageEnglish

Related product manuals