View Issue Details

IDProjectCategoryView StatusLast Update
000276510000-003: Address SpaceSpecpublic2020-09-29 20:16
ReporterMatthias Damm Assigned Tojeffhardingabb  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Summary0002765: 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 0003792 closedjeffhardingabb 10000-003: Address Space Support for additional information about method arguments 
related to 0002995 closedjeffhardingabb 10000-003: Address Space Meta data indicating that method call requires encryption 
related to 0003577 closedKarl Deiretsbacher 10000-010: Programs Table 8 – ProgramType causes 
related to 0003664 closedMatthias Damm 10000-004: Services Support for optional method arguments or default parameters 
related to 0006103 closedMatthias Damm 10000-004: Services Amendment 3 Method Metadata is flawed - DefaultInputValues is not used and new mechanism to provide Default values not described 
related to 0006102 closedjeffhardingabb 10000-003: Address Space Amendment 3 Method Metadata is flawed - DefaultInputValues is not used and new mechanism to provide Default values not described 

Activities

Jim Luth

2014-03-11 17:19

administrator   ~0005314

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

Matthias Damm

2014-07-21 21:03

developer   ~0005374

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

cpipero

2016-11-21 14:19

reporter   ~0007350

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:25

developer   ~0007621

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

Jim Luth

2017-01-12 16:57

administrator   ~0007728

agreed to changes in telecon.

Jim Luth

2017-06-20 16:19

administrator   ~0008235

Backed out changes and reopened this issue to fix in a more comprehensive way in a future release.

jeffhardingabb

2018-03-27 16:16

developer   ~0008960

Fixed in Part 3 version 1.04 Amendment 1 by Adding DescribesArgument reference types to allow optional Metadata which can be used to identify optional arguments and default parameter values

Jim Luth

2018-04-03 15:11

administrator   ~0008968

Agreed to amendment in telecon.

Issue History

Date Modified Username Field Change
2014-03-06 16:24 Matthias Damm New Issue
2014-03-11 17:19 Jim Luth Note Added: 0005314
2014-03-11 17:19 Jim Luth Status new => acknowledged
2014-07-21 21:03 Matthias Damm Note Added: 0005374
2014-08-26 15:41 Jim Luth Target Version => 1.03
2014-08-27 12:25 Karl Deiretsbacher Category (No Category) => Spec
2015-01-16 18:32 Wolfgang Mahnke Target Version 1.03 => 1.04
2015-03-11 09:48 Matthias Damm Relationship added related to 0002995
2016-10-19 10:19 Matthias Damm Relationship added related to 0003577
2016-11-21 14:19 cpipero Note Added: 0007350
2016-12-16 15:25 Matthias Damm Note Added: 0007621
2016-12-16 15:25 Matthias Damm Assigned To => jeffhardingabb
2016-12-16 15:25 Matthias Damm Status acknowledged => assigned
2016-12-16 15:33 Jim Luth Issue cloned: 0003664
2016-12-16 15:33 Jim Luth Relationship added related to 0003664
2017-01-04 21:24 jeffhardingabb Status assigned => resolved
2017-01-04 21:24 jeffhardingabb Fixed in Version => 1.04
2017-01-04 21:24 jeffhardingabb Resolution open => fixed
2017-01-12 16:57 Jim Luth Note Added: 0007728
2017-01-12 16:57 Jim Luth Status resolved => closed
2017-06-20 16:19 Jim Luth Note Added: 0008235
2017-06-20 16:19 Jim Luth Status closed => feedback
2017-06-20 16:19 Jim Luth Resolution fixed => reopened
2017-06-20 16:20 Jim Luth Status feedback => acknowledged
2017-06-20 16:20 Jim Luth Target Version 1.04 => ?.??
2017-06-20 16:23 Matthias Damm Relationship added related to 0003792
2018-03-27 16:16 jeffhardingabb Note Added: 0008960
2018-03-27 16:16 jeffhardingabb Status acknowledged => resolved
2018-03-27 16:16 jeffhardingabb Resolution reopened => fixed
2018-04-03 15:11 Jim Luth Note Added: 0008968
2018-04-03 15:11 Jim Luth Status resolved => closed
2020-09-29 20:15 Jim Luth Relationship added related to 0006103
2020-09-29 20:16 Jim Luth Relationship added related to 0006102