User interfaces (API)
7.6 API IInstances
GetControllerIP() / ControllerIP { get; }
Returns a configured IP address of the instance.
Table 7- 109 GetControllerIP() - Native C++
Syntax
Parameters
Return values
Table 7- 110 ControllerIP { get; } - .NET (C#)
Syntax
Parameters
Return values
Exceptions
GetControllerIPSuite4() / ControllerIPSuite4 { get; }
Returns the IP suite instance. If the "Softbus" communication interface is used, the subnet
mask and default gateway are 0.
Table 7- 111 GetControllerIPSuite4() Native C++
Syntax
Parameters
Return values
Table 7- 112 ControllerIPSuite4 { get; } - .NET (#)
Syntax
Parameters
Return values
Exceptions
138
UIP GetControllerIP();
UIP GetControllerIP(
UINT32 in_Index
);
•
WCHAR in_Index:
The index of the IP address you want to receive. The index must be less
than the value you receive from
ting is 0.
IP address of the virtual controller. If the function fails, the return value is 0.
UIP:
string[] ControllerIP { get; }
None
All downloaded IP addresses of the virtual controller. If the function
string:
fails, the field is empty.
None
SIPSuite4 GetControllerIPSuite4();
SIPSuite4 GetControllerIPSuite4(
UINT32 in_Index
);
•
WCHAR in_Index:
The index of the IP address you want to receive. The index must be less than
the value you receive from
: The IP suite of the virtual controller. If the function fails, the return
SIPSuite4
values are 0.
SIPSuite4[] ControllerIPSuite4 { get; };
None
: All downloaded IP suites of the virtual controller. If the function fails,
SIPSuite4[]
the field is empty.
None
GetControllerIPCount()
GetControllerIPCount()
Function Manual, 12/2017, A5E37039512-AB
. The default set-
. The default setting is 0.
S7-PLCSIM Advanced