This Method adds entries to the ExceptionSchedule Property. Even if one entry cannot be added, the other entries are still processed and added, if possible. The signature of this Method is specified below. Table 12 and Table 13 specify the Arguments and AddressSpace representation, respectively.

Signature

AddExceptionScheduleElements (

[in] SpecialEventType[] SpecialEvents

[out]0:Int32[] EntryResults

);

Table 12 – AddExceptionScheduleElements Method Arguments

Argument

Description

SpecialEvents

An array of special events to be added to the ExceptionSchedule Property.

EntryResults

An array of results, one entry per entry in SpecialEvents, indicating if the individual entry could be added. Each result <> 0 indicates, that adding this special event entry was not successful.

0 – OK

-1 – Duplicate – Entry already in ExceptionSchedule

-2 – Invalid Format – The entry contains an invalid format, e.g. an invalid range

Values larger 0 can be used for vendor-specific errors.

Method Result Codes (defined in Call Service)

Result Code

Description

BadNodeIdUnknown

See OPC 10000-4 for a general description.

BadNotWritable

See OPC 10000-4 for a general description.

BadOutOfMemory

See OPC 10000-4 for a general description.

Table 13 – AddExceptionScheduleElements Method AddressSpace definition

Attribute

Value

BrowseName

AddExceptionScheduleElements

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

0:InputArguments

0:Argument[]

0:PropertyType

0:Mandatory

0:HasProperty

Variable

0:OutputArguments

0:Argument[]

0:PropertyType

0:Mandatory