Page 1 of 1

AnalogItem lost its EngineeringUnit and InstrumentRange

Posted: 16 Oct 2014, 14:55
by Bergsteiger
In version UA SDK C++ Bundle 1.4.2 (BINARY Edition) the AnalogItemType the browse window still shows EngineeringUnit and InstrumentRange as additional properties besides the EUrange (see attachment AnalogItemType.png). Compiling a model, and in the modeler view both properties disapeared. As far as I remeber both properties were present before.

Re: AnalogItem lost its EngineeringUnit and InstrumentRange

Posted: 20 Oct 2014, 20:17
by Support Team
Hi,

OPC UA defines modelling rules used to indicate on a type that a component / property is mandatory or optional. If you check these modelling rules for the properties of the AnalogItemType, you will find out that EURange is a mandatory property but EngineeringUnit and InstrumentRange are optional properties.

If you instantiate an AnalogItemType as variable, only the mandatory properties are automatically created.

If you select the variable instance in the UaModeler you can find a button "Select optional components" where you get a dialogue to enable the optional components.

With the C++ SDK you can set the property value to create optional properties.


Best Regards,
Unified Automation Support Team