Siemens Simatic S7-1500 Function Manual page 121

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

Advertisement

Table 7- 64
Syntax
Parameters
Return values
Exceptions
GetRemoteConnectionsCount()
Supplies the number of open remote connections.
Table 7- 65
Syntax
Parameters
Return values
GetRemoteConnectionInfoAt()
Returns information about an open connection.
Table 7- 66
Syntax
Parameters
Return values
RemoteConnectionInfo { get; }
Returns an array of information about all open connections.
Table 7- 67
Syntax
Parameters
Return values
Exceptions
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
Port { get; } - .NET (C#)
UInt16 Port { get; }
None
The open port. 0, if no port is open.
UInt16:
None
GetRemoteConnectionsCount() - Native C++
UINT32 GetRemoteConnectionsCount();
None
: Number of open remote connections.
UINT32
GetRemoteConnectionInfoAt()- Native C++
ERuntimeErrorCode GetRemoteConnectionInfoAt(
UINT32 in_Index,
SConnectionInfo* out_ConnectionInfo
);
UINT32 in_Index:
Index of the connection information that is expected.
SConnectionInfo
The connection information for this index.
Runtime error code
SREC_OK
SREC_TIMEOUT
SREC_INDEX_OUT_OF_RANGE
RemoteConnectionInfo { get; } - .NET (C#)
SConnectionInfo[] RemoteConnectionInfo { get; }
None
SConnectionInfo[]:
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeErrorCode.Timeout
7.5 API ISimulationRuntimeManager
*
out_ConnectionInfo:
Condition
The function is successful.
The function does not return on time.
Connection information for this index
does not exist.
An array of information about all open connections.
Condition
The function does not return on time.
User interfaces (API)
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents