The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
SIMATIC S7-PLCSIM Advanced Share llms optimized content

Efficiently simulate SIMATIC S7 controllers with S7-PLCSIM Advanced. Test, debug, and optimize your control programs without using physical hardware.

Interface Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager

ClassList > Siemens > Simatic > Simulation > Runtime > IRemoteRuntimeManager

  • #include <SimulationRuntimeApiNet.h>

Inherits the following classes: Siemens::Simatic::Simulation::Runtime::IBaseRuntimeManager

Public Attributes

TypeName
property SIPIP = { SIP get()
Returns the IP of the PC the remote Runtime Manager is running on. Returns 0 if the function fails.
event Delegate_IRRTMOnConnectionLost
The event will be fired when the connection to the remote Runtime Manager is lost.
property UINT16Port = { UINT16 get()
Returns the open port of the PC the remote Runtime Manager is running on. Returns 0 if the function fails.
property System::StringRemoteComputerName = { System::String^ get()
Returns the name of the PC the remote Runtime Manager is running on.

Public Attributes inherited from Siemens::Simatic::Simulation::Runtime::IBaseRuntimeManager

See Siemens::Simatic::Simulation::Runtime::IBaseRuntimeManager

TypeName
property System::StringDefaultStoragePath = { System::String^ get()
property array< SNetInterfaceInfo >NetInterfaces = { array&lt;[**SNetInterfaceInfo**](structSNetInterfaceInfo.md)&gt;^ get()
property ENetworkModeNetworkMode = {[**ENetworkMode**](SimulationRuntimeApi_8h.md#enum-enetworkmode) get()
property UINT16Port = { UINT16 get()
property array< SInstanceInfo >RegisteredInstanceInfo = { array&lt;[**SInstanceInfo**](structSInstanceInfo.md)&gt;^ get()
property boolStrictMotionTiming = { bool get()
property UINT32Version = { UINT32 get()

Public Functions

TypeName
virtual voidDisconnect ()
Closes the connection to the remote Runtime Manager.
virtual voidRegisterOnConnectionLostEvent ()
When receiving the event, the registered event object is set to signaled state. There can be only one event object registered to the event. Registering a new one will automatically unregister the previous one.
virtual voidSetNetInterfaceBindings ()
Sets bindings of PLCSIM Virtual Switch to PC interfaces according to networking mode and network interface mapping configuration for the instance. This function must be called from an elevated session (admin mode).
virtual voidUnregisterOnConnectionLostEvent ()
Unregisters the event object.
virtual boolWaitForOnConnectionLostEvent ()
The function will block until the registered event object is in the signaled state or the timeout interval elapses.
virtual boolWaitForOnConnectionLostEvent (UINT32 in_Time_ms)
The function will block until the registered event object is in the signaled state or the timeout interval elapses.

Public Functions inherited from Siemens::Simatic::Simulation::Runtime::IBaseRuntimeManager

See Siemens::Simatic::Simulation::Runtime::IBaseRuntimeManager

TypeName
virtual IInstanceCreateInterface (INT32 in_InstanceID)
virtual IInstanceCreateInterface (System::String^ in_InstanceName)
virtual IInstanceRegisterCustomInstance (System::String^ in_VplcDll)
virtual IInstanceRegisterCustomInstance (System::String^ in_VplcDll, System::String^ in_InstanceName)
virtual IInstanceRegisterInstance ()
virtual IInstanceRegisterInstance (System::String^ in_InstanceName)
virtual IInstanceRegisterInstance (ECPUType in_CPUType)
virtual IInstanceRegisterInstance (ECPUType in_CPUType, System::String^ in_InstanceName)
virtual IInstanceRegisterInstance (System::String^ in_ArticleNumber, System::String^ in_InstanceName)
virtual voidResetNetInterfaceBindings ()
virtual voidSetNetInterfaceBindings ()
virtual voidSetNetInterfaceBindings (DWORD in_PCInterfaceIndex)
voidset (bool)
voidset (System::String^)
voidset (ENetworkMode)

Public Attributes Documentation

variable IP

Returns the IP of the PC the remote Runtime Manager is running on. Returns 0 if the function fails.

virtual property SIP Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::IP;

variable OnConnectionLost

The event will be fired when the connection to the remote Runtime Manager is lost.

virtual event Delegate_IRRTM Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::OnConnectionLost;

variable Port

Returns the open port of the PC the remote Runtime Manager is running on. Returns 0 if the function fails.

virtual property UINT16 Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::Port;

variable RemoteComputerName

Returns the name of the PC the remote Runtime Manager is running on.

virtual property System::String Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::RemoteComputerName;

Public Functions Documentation

function Disconnect

Closes the connection to the remote Runtime Manager.

virtual void Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::Disconnect () 

function RegisterOnConnectionLostEvent

When receiving the event, the registered event object is set to signaled state. There can be only one event object registered to the event. Registering a new one will automatically unregister the previous one.

virtual void Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::RegisterOnConnectionLostEvent () 

function SetNetInterfaceBindings

Sets bindings of PLCSIM Virtual Switch to PC interfaces according to networking mode and network interface mapping configuration for the instance. This function must be called from an elevated session (admin mode).

virtual void Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::SetNetInterfaceBindings () 

Implements Siemens::Simatic::Simulation::Runtime::IBaseRuntimeManager::SetNetInterfaceBindings

function UnregisterOnConnectionLostEvent

Unregisters the event object.

virtual void Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::UnregisterOnConnectionLostEvent () 

function WaitForOnConnectionLostEvent [½]

The function will block until the registered event object is in the signaled state or the timeout interval elapses.

virtual bool Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::WaitForOnConnectionLostEvent () 

function WaitForOnConnectionLostEvent [2/2]

The function will block until the registered event object is in the signaled state or the timeout interval elapses.

virtual bool Siemens::Simatic::Simulation::Runtime::IRemoteRuntimeManager::WaitForOnConnectionLostEvent (
    UINT32 in_Time_ms
) 

Parameters:

  • in_Time_ms The value for the timeout limit in milliseconds.