Table 7- 251 Pullorplugevent() - .Net (C#) - Siemens Simatic S7-1500 Function Manual

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

Advertisement

Table 7- 251 PullOrPlugEvent() - .NET (C#)

Syntax
Parameters
Return values
Exceptions
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
void PullOrPlugEvent(
ushort in_HardwareIdentifier,
EPullOrPlugEventType in_PullOrPlugEventType,
Out ushort out_SequenceNumber
);
ushort in_HardwareIdentifier:
The hardware identifier of the module or submodule which generates the
pull/plug event.
The identifier must belong to a hardware component in the currently loaded
project.
EPullOrPlugEventType in_PullOrPlugEventType:
A value from the list of predefined types of pull/plug events, see EPullOr-
PlugEventType (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
ERuntimeError-
Code.WrongModuleState
ERuntimeError-
Code.WrongModuleType
ERuntimeErrorCode.DoesNotExist
ERuntimeError-
Code.NotSupportedByModule
ERuntimeErrorCode.Timeout
User interfaces (API)
7.6 API IInstances
Condition
The instance is not registered in Runtime
Manager.
The module is currently unplugged.
The wrong module type was selected.
For example, if an onboard IO of a com-
pact CPU is to be pulled.
No hardware identifier of the module.
The module is not supported by this user
action.
The function does not return on time.
237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents