Eventcallback_Ii_Srec_St_Uint32_Uint32_Epet_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.12

EventCallback_II_SREC_ST_UINT32_UINT32_EPET_UINT32

Description
Table 7- 370 EventCallback_II_SREC_ST_UINT32_UINT32_EPET_UINT32 - Native C++
Syntax
Parameters
Return values
290
typedef void (*EventCallback_II_SREC_ST_UINT32_UINT32_EPET_UINT32)(
IInstance* in_Sender,
ERuntimeErrorCode in_ErrorCode,
SYSTEMTIME in_SystemTime,
UINT32 in_HardwareIdentifier,
UINT32 in_Channel,
EProcessEventType in_ProcessEventType,
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 IO module that sends the process event.
UINT32 in_Channel:
The channel of the IO module which sends the process event.
EProcessEventType in_ProcessEventType:
A value from the list of predefined types of events for S7 modules, see EPro-
cessEventType (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
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents