Sipsuite4 - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

7.8.6.11
SIP
Description
This structure contains an IPv4 address.
Table 7- 413 SIP - .NET (C#)
Syntax
Member
Example
7.8.6.12

SIPSuite4

Description
This structure contains an IPv4 suite.
Table 7- 414 SIPSuite4 - Native C++
Syntax
Member
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
struct SIP
{
byte[] IPArray { get; set; }
UInt32 IPDWord { get; set; }
string IPString { get; set; }
}
UInt32 IPDWord:
The IP address in a single DWORD
byte[] IPArray:
The four elements of IP in descending order
string IPString:
The IPv4 address as a string
Example for an IP address: 192.168.0.1
SIP.IPDWord = 0xC0A80001
SIP.IPArray[3] = 192, SIP.IPArray[2] = 168, SIP.IPArray[1] = 0, SIP.IPArray[0] =
1
SIP.IPString = "192.168.0.1"
struct SIPSuite4
{
UIP IPAddress;
UIP SubnetMask;
UIP DefaultGateway;
};
UIP IPAddress:
The IP address
UIP SubnetMask:
The subnet mask
UIP DefaultGateway:
The standard gateway
User interfaces (API)
7.8 Data types
317

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents