Rackorstationfaultevent - Siemens Simatic S7-1500 Function Manual

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

Advertisement

User interfaces (API)
7.6 API IInstances
7.6.8.10

RackOrStationFaultEvent

Description
This function is used to trigger the RackOrStationFault event OB (OB 86). These events are
only supported for distributed devices.
Table 7- 260 RackOrStationFaultEvent() - Native C++
Syntax
Parameter
Return values
Table 7- 261 RackOrStationFaultEvent() - .NET (C#)
Syntax
Parameter
Exceptions
242
ERuntimeErrorCode RackOrStationFaultEvent(
UINT16 in_HardwareIdentifier,
ERackOrStationFaultType in_EventType
);
UINT16 in_HardwareIdentifier:
The hardware identifier of the device that sends the event.
ERackOrStationFaultType in_EventType:
A value from the list of predefined types of events, see ERackOrStation-
FaultType (Page 346).
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_WRONG_MODULE_TYPE
SREC_WRONG_MODULE_STATE
SREC_DOES_NOT_EXIST
SREC_TIMEOUT
void RackOrStationFaultEvent(
ushort in_HardwareIdentifier,
ERackOrStationFaultType in_EventType
);
ushort in_HardwareIdentifier:
The hardware identifier of the device that sends the event.
ERackOrStationFaultType in_EventType:
A value from the list of predefined types of events, see ERackOrStation-
FaultType (Page 346).
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.DoesNotExist
ERuntimeError-
Code.WrongModuleType
ERuntimeError-
Code.WrongModuleState
ERuntimeErrorCode.Timeout
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The specified HW identifier is not that of a
distributed device.
The device with the specified HW identifier
already reports the status Fault/Return.
The specified HW identifier of the device
does not exist.
The function does not return on time.
Condition
The instance is not registered in Runtime
Manager.
The specified HW identifier of the device
does not exist.
The specified HW identifier is not that of a
distributed device.
The device with the specified HW identifier
already reports the status Fault/Return.
The function does not return on time.
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents