Table 7- 239 Startprocessing() - Native C - Siemens Simatic S7-1500 Function Manual

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

Advertisement

StartProcessing()
If the virtual controller is running in a TimespanSynchronized operating mode, it is stopped at
the synchronization point (Freeze state). The
state. The virtual controller will now run for at least the requested time before it changes to
Freeze state at the next synchronization point.

Table 7- 239 StartProcessing() - Native C++

Syntax
Parameters
Return values
Table 7- 240 StartProcessing() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
Additional information
For further information, see sections Virtual time response (Page 73), Stop simulation
(Page 76).
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
ERuntimeErrorCode StartProcessing(
INT64 in_MinimalTimeToRun_ns
);
INT64 in_MinimalTimeToRun_ns:
The minimum virtual time (in nanoseconds) that the virtual controller runs be-
fore it changes to Freeze state.
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
SREC_INSTANCE_NOT_RUNNING
SREC_WRONG_ARGUMENT
void StartProcessing(
Int64 in_MinimalTimeToRun_ns
);
Int64 in_MinimalTimeToRun_ns:
The minimum virtual time (in nanoseconds) that the virtual controller runs be-
fore it changes to Freeze state.
None
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
ERuntimeError-
Code.InstanceNotRunning
ERuntimeErrorCode.WrongArgument
function cancels the freeze
StartProcessing()
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
The process of the virtual controller is not
running.
The value is less than 0.
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
The process of the virtual controller is not
running.
The value is less than 0.
User interfaces (API)
7.6 API IInstances
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents