Eventcallback_Ii_Srec_St_Uint32_Uint32 - Siemens Simatic S7-1500 Function Manual

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

Advertisement

User interfaces (API)
7.8 Data types
7.8.2.14

EventCallback_II_SREC_ST_UINT32_UINT32

Description
Table 7- 372 EventCallback_II_SREC_ST_UINT32_UINT32 - Native C++
Syntax
Parameters
Return values
292
typedef void (*EventCallback_II_SREC_ST_UINT32_UINT32)(
IInstance* in_Sender,
ERuntimeErrorCode in_ErrorCode,
SYSTEMTIME in_SystemTime,
UINT32 in_HardwareIdentifier),
UINT32 in_SequenceNumber
);
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_HardwareIdentifier:
The hardware identifier of the module or submodule which sends the diag-
nostics event.
UINT32 in_SequenceNumber:
PLCSIM Advanced assigns a unique consecutive number to each interrupt
event.
According to PROFINET standard the sequence number is 10 bits wide (1 to
7FF
). When the highest number is reached the numbering starts again at 1.
H
Note
In a real hardware system the IO controller uses the sequence number to
check if it has lost a hardware interrupt.
During the simulation, the sequence number creates the relation between in-
terrupt request and the associated acyclic alarm.
None
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents