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

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

Advertisement

IsSendSyncEventInDefaultModeEnabled { get; set; }
Returns or sets the
event is triggered after each cycle end for every operating mode. If the event is also to be
received in the Default operating mode, set the return value to
OnSyncPointReached (Page 247).

Table 7- 233 IsSendSyncEventInDefaultModeEnabled { get; set; } - .NET (C#)

Syntax
Parameters
Return values
Exceptions
GetOverwrittenMinimalCycleTime_ns()
Returns the overwritten minimum cycle time (in nanoseconds) that is used in the
SingleStep_CT
Table 7- 234 GetOverwrittenMinimalCycleTime_ns() - Native C++
Syntax
Parameters
Return values
SetOverwrittenMinimalCycleTime_ns()
Sets the overwritten minimum cycle time (in nanoseconds) that is used in the
and
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- 235 SetOverwrittenMinimalCycleTime_ns() - Native C++
Syntax
Parameters
Return values
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
SendSyncEventInDefaultMode
bool IsSendSyncEventInDefaultModeEnabled { get; set;}
None
false:
The event is triggered after every cycle.
true:
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
and
SingleStep_CPT
INT64 GetOverwrittenMinimalCycleTime_ns();
None
The overwritten minimum cycle time in nanoseconds.
INT64:
operating modes.
SingleStep_CPT
ERuntimeErrorCode SetOverwrittenMinimalCycleTime_ns(
INT64 in_CycleTime_ns
);
INT64 in_CycleTime_ns:
The overwritten minimum cycle time in nanoseconds.
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
SREC_WRONG_ARGUMENT
mode.
The event is not triggered (unless the Sync-Freeze mode is active).
operating modes.
User interfaces (API)
7.6 API IInstances
In this mode the
OnSyncPointReached
. See
true
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
SingleStep_CT
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
The value is outside the limits.
225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents