Eventcallback_Ii_Srec_St_Uint32_Eppet_Uint32 - Siemens Simatic S7-1500 Function Manual

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

Advertisement

7.8.2.11

EventCallback_II_SREC_ST_UINT32_EPPET_UINT32

Description
Table 7- 369 EventCallback_II_SREC_ST_UINT32_EPPET_UINT32 - Native C++
Syntax
Parameters
Return values
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
typedef void (*EventCallback_II_SREC_ST_UINT32_EPPET_UINT32)(
IInstance* in_Sender,
ERuntimeErrorCode in_ErrorCode,
SYSTEMTIME in_SYSTEMTIME,
UINT32 in_HardwareIdentifier,
EPullOrPlugEventType in_PullOrPlugEventType,
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
pull/plug event.
EPullOrPlugEventType in_PullOrPlugEventType:
A value from the list of predefined types of events for S7 modules, see EPul-
lOrPlugEventType (Page 344).
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
User interfaces (API)
7.8 Data types
289

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents