User interfaces (API)
7.8 Data types
Table 7- 417 SOnSyncPointReachedResult - .NET (C#)
Syntax
Member
320
struct SOnSyncPointReachedResult
{
ERuntimeErrorCode ErrorCode;
DateTime SystemTime;
UInt32 PipId;
Int64 TimeSinceSameSyncPoint_ns;
Int64 TimeSinceAnySyncPoint_ns;
UInt32 SyncPointCount;
}
•
ERuntimeErrorCode ErrorCode:
A possible error code (Page 327). If no event was triggered during the de-
fined time interval:
ERuntimeErrorCode.Timeout
•
DateTime DateTime:
The virtual system time of the virtual controller at the time when this event
was triggered.
•
UInt32 PipId:
The ID of the process image partition (PIP) that triggers this event.
0 for the cycle control point (End of cycle).
•
Int64 TimeSinceSameSyncPoint_ns:
The virtual time (in nanoseconds) since the last synchronization point of the
same process image partition ID was reached.
For the time-controlled operating modes:
The runtime since the last call of the
•
Int64 TimeSinceAnySyncPoint_ns:
The virtual time (in nanoseconds) since the last synchronization point of any
process image partition ID was reached.
For the time-controlled operating modes:
The runtime since the last call of the
•
UInt32 SyncPointCount:
The number of synchronization points since the last event. If the events are
triggered faster than they are received, multiple events are combined into
one event. In this case, this value contains the number of cycles since the
last event was received.
.
function.
StartProcessing()
function.
StartProcessing()
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB