User interfaces (API)
7.8 Data types
7.8.2.5
EventCallback_II_SREC_ST_UINT32_INT64_INT64_UINT32
Description
Table 7- 363 EventCallback_II_SREC_ST_UINT32_INT64_INT64_UINT32 - Native C++
Syntax
Parameters
Return values
284
typedef void
(*EventCallback_II_SREC_ST_UINT32_INT64_INT64_UINT32)(
IInstance* in_Sender,
ERuntimeErrorCode in_ErrorCode,
SYSTEMTIME in_SystemTime,
UINT32 in_PipId,
INT64 in_TimeSinceSameSyncPoint_ns,
INT64 in_TimeSinceAnySyncPoint_ns,
UINT32 in_SyncPointCount
);
•
IInstance* in_Sender:
An interface of the instance that receives this event.
•
ERuntimeErrorCode in_ErrorCode:
A possible error code.
•
SYSTEMTIME in_SystemTime:
The virtual system time of the virtual controller at the time when this event
was triggered.
•
UINT32 in_PipId:
The ID of the process image partition (PIP) that triggers this event.
0 for the cycle control point (End of cycle).
•
INT64 in_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 (Page 80):
The runtime since the last call of the
•
INT64 in_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 in_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.
None
function.
StartProcessing()
function.
StartProcessing()
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB