View Issue Details

IDProjectCategoryView StatusLast Update
000366410000-004: ServicesSpecpublic2020-06-16 15:14
ReporterJim Luth Assigned ToMatthias Damm  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Summary0003664: Support for optional method arguments or default parameters
Description

At the moment the methods in OPC UA require the exact number of input arguments like defined by the InputArguments property.

There is no way to specify optional arguments or to provide default values.

It is also no simple way to provide overloads.

Part of the solution could be an additional property containing such information about possible valid variations of the method call.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0002765 closedJeff Harding 10000-003: Address Space Support for optional method arguments or default parameters 

Activities

Jim Luth

2016-12-16 15:33

administrator   ~0007622

Let's discuss at a Face-to-Face.

Matthias Damm

2016-12-16 15:33

developer   ~0007623

Another requirement would be to have just the Method name defined on a base type and to define the parameters on a specific type or instance.

Example are the method browse name defined in OPC UA to create instances or the Start and Stop method browse names defined in the PLCopen model. There is currently no way to provide such Methods in a NodeSet.

We need these features in the companion working groups

  • MDIS
  • FDI
  • AutoID

Costantino Pipero

2016-12-16 15:33

reporter   ~0007624

This feature request recently surfaced in the Open-SCS working group and it's also of interest for the ISA 95 models.
Would be good to report an update on this request. Please let me know if there is anything I can help (requirements, tests, etc).

Matthias Damm

2016-12-16 15:33

developer   ~0007625

Add optional property DefaultInputValues to Table 10 – Method NodeClass.
DataType: BaseDataType[]
Shall have the same size as the InputArguments array if present.

Matthias Damm

2017-01-05 12:21

developer   ~0007699

Added description for handling of optional input arguments based on new property DefaultInputValues.

Made changes in document version OPC UA Part 4 - Services 1.04 Specification Draft 07.docx

Jim Luth

2017-01-09 14:45

administrator   ~0007700

Agreed to text edited in telecon.

Matthias Damm

2017-06-20 16:31

developer   ~0008236

The feature was removed from Part 3 1.04 release.

Removed the following text from
Table 65 – Call Service Parameters
inputArguments []
If a Method has optional input arguments, these optional input arguments are indicated by the method’s DefaultInputValues Property. In this case fewer arguments than the total number of input arguments defined may be passed by the Client. The InputArguments and DefaultInputValues Property are defined in Part 3.

Matthias Damm

2020-06-16 12:43

developer   ~0012333

This feature was added with OPC 10001-3 - UA Specification 1.04 Amendment 3 - Method Metadata.

This is already integrated in OPC UA 1.05

Jim Luth

2020-06-16 15:14

administrator   ~0012338

Agreed to close - feature is already in 1.04 amendment.

Issue History

Date Modified Username Field Change
2016-12-16 15:33 Jim Luth New Issue
2016-12-16 15:33 Jim Luth Status new => assigned
2016-12-16 15:33 Jim Luth Assigned To => Jeff Harding
2016-12-16 15:33 Jim Luth Issue generated from: 0002765
2016-12-16 15:33 Jim Luth Relationship added related to 0002765
2016-12-16 15:33 Jim Luth Assigned To Jeff Harding => Matthias Damm
2016-12-16 15:34 Jim Luth Project 10000-003: Address Space => 10000-004: Services
2017-01-05 12:21 Matthias Damm Note Added: 0007699
2017-01-05 12:21 Matthias Damm Status assigned => resolved
2017-01-05 12:21 Matthias Damm Resolution open => fixed
2017-01-09 14:45 Jim Luth Note Added: 0007700
2017-01-09 14:45 Jim Luth Status resolved => closed
2017-01-09 14:45 Jim Luth Fixed in Version => 1.04
2017-06-20 16:31 Matthias Damm Note Added: 0008236
2017-06-20 16:31 Matthias Damm Status closed => feedback
2017-06-20 16:31 Matthias Damm Resolution fixed => reopened
2017-06-20 16:32 Matthias Damm Status feedback => acknowledged
2017-06-20 16:32 Matthias Damm Fixed in Version 1.04 => ?.??
2017-06-20 16:32 Matthias Damm Target Version => ?.??
2020-06-16 12:43 Matthias Damm Status acknowledged => resolved
2020-06-16 12:43 Matthias Damm Resolution reopened => fixed
2020-06-16 12:43 Matthias Damm Note Added: 0012333
2020-06-16 15:14 Jim Luth Status resolved => closed
2020-06-16 15:14 Jim Luth Fixed in Version ?.?? => 1.05
2020-06-16 15:14 Jim Luth Note Added: 0012338