OPC Foundation
  • Documents
  • NodeSets
  • Search
7.5.1.3 GetCurrentFaultSituation Method

The GetCurrentFaultSituation Method returns all log entries which occurred since the last acknowledge as LogEntries array. Starting with the most recent one, all log entries without valid EventAcknowledged timestamp are returned. Method invocation shall be possible for all users (read-only).

Signature

GetCurrentFaultSituation (

[out] LogEntryDataType[] CurrentLogEntries

);

Argument

Description

CurrentLogEntries

Array containing the log entries occurred since the last acknowledge. An empty array is returned if no logbook entry matches the filter criteria.

The Method Result Codes (defined in Call Service) are defined in Table 25.

Table 25 – Possible Method Result Codes

Result Code

Description

Good

The Method execution was successful.

Bad_Locked

The parent EncoderChannelType Object is locked by a different Client’s Session.

Bad_RequiresLock

The parent EncoderChannelType Object is not locked. Clients must lock the parent EncoderChannelType Object before invoking a Method.

Bad_UnexpectedError

The Server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

Please report errors or issues with the site to webmaster.

Copyright © 2025 - OPC Foundation