Engineering Units to scale values

Introduction

Hello and welcome to a new guide on how to best use Movicon.NExTâ„¢.
This technote introduces you to the Engineering Unit concept with the aim to help you understand how to use this item to scale values deriving from field devices in Movicon.NExT.

Engineering Units

Engineering Units are normalizations applied to Tags used in Movicon.NExT to obtain scaled values.
A tag that obtains a value from a field device by means of a communication driver will be scaled using an engineering unit according to the Raw Range settings, being the device range, and the Scaled Range settings, being the value range in the project's I/O Data Server.
Let's analyze this to get a better idea by using a demo project.

Example

We shall create an engineering unit named Div10 which will scale a value deriving from a field device with a 0-1000 range to a 0-100 range within the I/O Data Server according to the TagValue = DeviceValue/10 formula.

Creating the Engineering Unit

After opening the project within the Movicon.NExT editor, you should:

Save the project by clicking the Save All icon on the editor's toolbar.

Inserting and configuring the Modbus TCP-IP driver

Insert a driver in the project.  Since we have Modbus TCP ModRS_Sim simulator at our disposition, add the Modbus TCP-IP driver in this way by also making sure to have already opened the I/O Data Server:

Creating tags

Once you have created the engineering unit and configured the driver, select the I/O Data Server's Tag List tab to create a normal tag and one with an engineering unit.
Open the Tag List and create two new tags:

Save the project by clicking on the Save All icon located on the editor's toolbar.

Runtime Test

Start ModRS_Sim simulator by double clicking on its icon.
Start the Movicon.NExT project's Server-side only by clicking on the Start Server button.
Once the Server has started up, click on Tags in the OPC UA Browser window.
Change the value of the MbtcpTag tag and the value of the MbtcpTagEU tag will automatically be divided by a factor of 10 according to the engineering unit configured in the project.