Getconfiguredprocessevent - Siemens Simatic S7-1500 Function Manual

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

Advertisement

7.6.8.9

GetConfiguredProcessEvent

GetConfiguredProcessEvents()
With this API method, the process events configured in the TIA Portal can be read out during
runtime.
If no process events are present,
Table 7- 258 GetConfiguredProcessEvents() - Native C++
Syntax
Parameters
Return values
Table 7- 259 GetConfiguredProcessEvents() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
SREC_OK
ERuntimeErrorCode GetConfiguredProcessEvents(
UINT16* out_EventsCount,
);
SConfiguredProcessEvents* inout_ProcessEvents:
Pointer or reference to a user-defined memory which contains the field with the
downloaded configured process events. The structure SConfiguredProcessEv-
ents (Page 323) contains information about these process events.
UINT16* out_EventsCount:
Pointer or reference to a tag which contains the number of configured process
events.
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
SConfiguredProcessEvents [] GetConfiguredProcessEvents(
);
None
Field with configured process events and field size provide the number of config-
ured process events.
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
is returned. The value for
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
User interfaces (API)
7.6 API IInstances
is then 0.
EventsCount
241

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents