AnalogItem lost its EngineeringUnit and InstrumentRange

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
Sr. Member
Sr. Member
Posts: 16
Joined: 07 Jul 2014, 16:11

AnalogItem lost its EngineeringUnit and InstrumentRange

Post 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.

User avatar
Support Team
Hero Member
Hero Member
Posts: 2529
Joined: 18 Mar 2011, 15:09

Re: AnalogItem lost its EngineeringUnit and InstrumentRange

Post by Support Team »


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

Post Reply