Table 7- 236 Overwrittenminimalcycletime_Ns { Get; Set; } - .Net (C#) - Siemens Simatic S7-1500 Function Manual

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

Advertisement

User interfaces (API)
7.6 API IInstances
OverwrittenMinimalCycleTime_ns { get; set; }
Returns or sets the overwritten minimum cycle time in nanoseconds that is used in the
SingleStep_CT
A value between 0 and 6000000000 is valid. The default setting is 100 ms.
A change in the value during runtime only takes effect at the cycle control point.

Table 7- 236 OverwrittenMinimalCycleTime_ns { get; set; } - .NET (C#)

Syntax
Parameters
Return values
Exceptions
RunToNextSyncPoint()
If the virtual controller is running in a SingleStep operating mode, it is stopped at the
synchronization point (Freeze state). The
state. The virtual controller continues to run until the next synchronization point.
Table 7- 237 RunToNextSyncPoint() - Native C++
Syntax
Parameters
Return values
Table 7- 238 RunToNextSyncPoint() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
226
and
operating modes.
SingleStep_CPT
Int64 OverwrittenMinimalCycleTime_ns { get; set; }
None
The overwritten minimum cycle time in nanoseconds.
Int64:
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
ERuntimeErrorCode.WrongArgument
ERuntimeErrorCode RunToNextSyncPoint();
None
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
SREC_INSTANCE_NOT_RUNNING
void RunToNextSyncPoint();
None
None
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
ERuntimeError-
Code.InstanceNotRunning
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
The value is outside the limits.
function cancels the freeze
RunToNextSyncPoint()
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.
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.
Function Manual, 12/2017, A5E37039512-AB
S7-PLCSIM Advanced

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents