Table 7- 249 Processevent() - .Net (C#) - Siemens Simatic S7-1500 Function Manual

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

Advertisement

Table 7- 249 ProcessEvent() - .NET (C#)

Syntax
Parameters
Return values
Exceptions
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
void ProcessEvent(
ushort in_HardwareIdentifier,
ushort in_Channel,
EProcessEventType in_ProcessEventType,
Out ushort out_SequenceNumber
);
ushort in_HardwareIdentifier:
The hardware identifier of the module or submodule which generates the pro-
cess event.
The identifier must belong to a hardware component in the currently loaded
project.
ushort in_Channel:
The channel of the IO module which generates the process event.
EProcessEventType in_ProcessEventType:
A value from the list of predefined types of events for S7 modules, see EPro-
cessEventType (Page 344).
Out ushort out_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
None
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.DoesNotExist
ERuntimeError-
Code.NotSupportedByModule
ERuntimeErrorCode.Timeout
User interfaces (API)
7.6 API IInstances
Condition
The instance is not registered in Runtime
Manager.
No hardware identifier of the module.
The module is not supported by this user
action.
The function does not return on time.
235

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents